Details
Misuse of privileged functions, either intentionally or unintentionally by authorized users, or by unauthorized external entities that have compromised information system accounts, is a serious and ongoing concern and can have significant adverse impacts on organizations. Auditing all actions by superusers is one way to detect such misuse and identify the risk from insider threats and the advanced persistent threat.
Satisfies: SRG-OS-000042-GPOS-00020, SRG-OS-000392-GPOS-00172
Solution
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
Supportive Information
The following resource is also helpful.
This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability, Maintenance.This control applies to the following type of system Unix.
References
- 800-53|AU-3(1)
- 800-53|MA-4(1)(a)
- CAT|II
- CCI|CCI-000135
- CCI|CCI-002884
- Rule-ID|SV-239084r675060_rule
- STIG-ID|PHTN-67-000012
- Vuln-ID|V-239084