SV-239084r675060_rule
V-239084
SRG-OS-000042-GPOS-00020
PHTN-67-000012
CAT II
10
At the command line, execute the following commands:
# echo -a always,exit -F arch=b32 -S execve -C uid!=euid -F euid=0 -k execpriv>>/etc/audit/rules.d/audit.STIG.rules
# echo -a always,exit -F arch=b64 -S execve -C uid!=euid -F euid=0 -k execpriv>>/etc/audit/rules.d/audit.STIG.rules
# echo -a always,exit -F arch=b32 -S execve -C gid!=egid -F egid=0 -k execpriv>>/etc/audit/rules.d/audit.STIG.rules
# echo -a always,exit -F arch=b64 -S execve -C gid!=egid -F egid=0 -k execpriv>>/etc/audit/rules.d/audit.STIG.rules
# /sbin/augenrules --load
At the command line, execute the following command:
# auditctl -l | grep execve
Expected result:
-a always,exit -F arch=b32 -S execve -C uid!=euid -F euid=0 -k execpriv
-a always,exit -F arch=b64 -S execve -C uid!=euid -F euid=0 -k execpriv
-a always,exit -F arch=b32 -S execve -C gid!=egid -F egid=0 -k execpriv
-a always,exit -F arch=b64 -S execve -C gid!=egid -F egid=0 -k execpriv
If the output does not match the expected result, this is a finding.
V-239084
False
PHTN-67-000012
At the command line, execute the following command:
# auditctl -l | grep execve
Expected result:
-a always,exit -F arch=b32 -S execve -C uid!=euid -F euid=0 -k execpriv
-a always,exit -F arch=b64 -S execve -C uid!=euid -F euid=0 -k execpriv
-a always,exit -F arch=b32 -S execve -C gid!=egid -F egid=0 -k execpriv
-a always,exit -F arch=b64 -S execve -C gid!=egid -F egid=0 -k execpriv
If the output does not match the expected result, this is a finding.
M
5323