Skip to content
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
Comment thread
yuumasato marked this conversation as resolved.
rules:
- file_permissions_unauthorized_suid
- file_permissions_unauthorized_sgid
# rules: TBD

- id: R39
level: intermediary
Expand Down