SV-99101r1_rule
V-88451
SRG-OS-000064-GPOS-00033
VROM-SL-000320
CAT II
10
Add the following to "/etc/audit/audit.rules":
-a exit,always -F arch=b64 -S swapon -F exit=-EACCES
-a exit,always -F arch=b64 -S creat -F exit=-EACCES
-a exit,always -F arch=b64 -S open -F exit=-EACCES
-a exit,always -F arch=b64 -S swapon -F exit=-EPERM
-a exit,always -F arch=b64 -S creat -F exit=-EPERM
-a exit,always -F arch=b64 -S open -F exit=-EPERM
Or run the following command to implement all logging requirements:
# /etc/dodscript.sh
To check that the SLES for vRealize audit system collects unauthorized file accesses, run the following commands:
# grep EACCES /etc/audit/audit.rules
-a exit,always -F arch=b64 -S swapon -F exit=-EACCES
-a exit,always -F arch=b64 -S creat -F exit=-EACCES
-a exit,always -F arch=b64 -S open -F exit=-EACCES
# grep EPERM /etc/audit/audit.rules
-a exit,always -F arch=b64 -S swapon -F exit=-EPERM
-a exit,always -F arch=b64 -S creat -F exit=-EPERM
-a exit,always -F arch=b64 -S open -F exit=-EPERM
If either command lacks output, this is a finding.
V-88451
False
VROM-SL-000320
To check that the SLES for vRealize audit system collects unauthorized file accesses, run the following commands:
# grep EACCES /etc/audit/audit.rules
-a exit,always -F arch=b64 -S swapon -F exit=-EACCES
-a exit,always -F arch=b64 -S creat -F exit=-EACCES
-a exit,always -F arch=b64 -S open -F exit=-EACCES
# grep EPERM /etc/audit/audit.rules
-a exit,always -F arch=b64 -S swapon -F exit=-EPERM
-a exit,always -F arch=b64 -S creat -F exit=-EPERM
-a exit,always -F arch=b64 -S open -F exit=-EPERM
If either command lacks output, this is a finding.
M
3461