SV-99337r1_rule
V-88687
SRG-OS-000392-GPOS-00172
VROM-SL-001220
CAT II
10
Configure SLES for vRealize to log all commands run by "root" with the following command:
# echo "-a exit,always -F arch=b64 -F euid=0 -S execve" >> /etc/audit/audit.rules
# echo "-a exit,always -F arch=b32 -F euid=0 -S execve" >> /etc/audit/audit.rules
Restart the audit service:
# service auditd restart
Verify that all commands run by "root" are being audited with the following command:
# cat /etc/audit/audit.rules | grep execve
If the following lines are not displayed, this is a finding.
-a exit,always -F arch=b64 -F euid=0 -S execve
-a exit,always -F arch=b32 -F euid=0 -S execve
V-88687
False
VROM-SL-001220
Verify that all commands run by "root" are being audited with the following command:
# cat /etc/audit/audit.rules | grep execve
If the following lines are not displayed, this is a finding.
-a exit,always -F arch=b64 -F euid=0 -S execve
-a exit,always -F arch=b32 -F euid=0 -S execve
M
3461