Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select rules for ANSSI R37 #6540

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions controls/anssi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,17 @@ controls:

- id: R37
level: minimal
title: Executables with setuid and/or setgid bits
# rules: TBD
title: Executables with setuid and setgid bits
notes: >-
Only programs specifically designed to be used with setuid or setgid bits can have these privilege bits set.
This requirement considers apropriate for setuid and setgid bits the binaries that are installed from
recognized and authorized repositories (covered in R15).
The remediation resets the sticky bit to intended value by vendor/developer, any finding after remediation
should be reviewed.
automated: yes
rules:
- file_permissions_unauthorized_suid
- file_permissions_unauthorized_sgid

- id: R38
level: enhanced
Expand All @@ -600,9 +609,7 @@ controls:
Setuid executables should be as small as possible. When it is expected
that only the administrators of the machine execute them, the setuid bit
must be removed and prefer them commands like su or sudo, which can be monitored
yuumasato marked this conversation as resolved.
Show resolved Hide resolved
rules:
- file_permissions_unauthorized_suid
- file_permissions_unauthorized_sgid
# rules: TBD

- id: R39
level: intermediary
Expand Down