SV-99395r1_rule
V-88745
SRG-OS-000474-GPOS-00219
VROM-SL-001440
CAT II
10
Add the following to the "/etc/audit/audit.rules" file in order to capture file and directory deletion events:
-a always,exit -F arch=b64 -S rmdir -S rm
-a always,exit -F arch=b32 -S rmdir -S rm
Check SLES for vRealize audit configuration to determine if file and directory deletions are audited:
# cat /etc/audit.rules /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "rmdir"
If no results are returned or the results do not contain "-S rmdir", this is a finding.
V-88745
False
VROM-SL-001440
Check SLES for vRealize audit configuration to determine if file and directory deletions are audited:
# cat /etc/audit.rules /etc/audit/audit.rules | grep -e "-a exit,always" | grep -i "rmdir"
If no results are returned or the results do not contain "-S rmdir", this is a finding.
M
3461