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