SV-100453r1_rule
V-89803
SRG-OS-000392-GPOS-00172
VRAU-SL-001245
CAT II
10
Configure the system 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-89803
False
VRAU-SL-001245
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
3459