SV-269476r1050359_rule
V-269476
SRG-OS-000037-GPOS-00015
ALMA-09-048200
CAT II
10
Configure AlmaLinux OS 9 to generate audit records upon successful/unsuccessful attempts to use the "chacl" command.
Add the following to the "/etc/audit/rules.d/audit.rules" file:
-a always,exit -F path=/usr/bin/chacl -F perm=x -F auid>=1000 -F auid!=unset -k perm_mod
Merge the rules into /etc/audit/audit.rules:
$ augenrules --load
Verify that AlmaLinux OS 9 is configured to audit the execution of the "chacl" command with the following command:
$ grep /chacl /etc/audit/audit.rules
-a always,exit -S all -F path=/usr/bin/chacl -F perm=x -F auid>=1000 -F auid!=unset -F key=perm_mod
If the command does not return an audit rule for "chacl" or any of the lines returned are commented out, this is a finding.
V-269476
False
ALMA-09-048200
Verify that AlmaLinux OS 9 is configured to audit the execution of the "chacl" command with the following command:
$ grep /chacl /etc/audit/audit.rules
-a always,exit -S all -F path=/usr/bin/chacl -F perm=x -F auid>=1000 -F auid!=unset -F key=perm_mod
If the command does not return an audit rule for "chacl" or any of the lines returned are commented out, this is a finding.
M
5664