GEN002750 - The audit system must be configured to audit account creation - 'passwd'

Information

If the system is not configured to audit certain activities and write them to an audit log, it is more difficult to detect and track system compromises, and damages incurred during a system compromise.

Solution

Configure execute auditing of the useradd and groupadd executables.
Add the following to audit.rules:
-w /usr/sbin/useradd -p x -k useradd
-w /usr/sbin/groupadd -p x -k groupadd
Configure append auditing of the passwd, shadow, group, and gshadow files. Add the following to audit.rules:
-w /etc/passwd -p a -k passwd
-w /etc/shadow -p a -k shadow
-w /etc/group -p a -k group
-w /etc/gshadow -p a -k gshadow
Restart the auditd service.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_5_V2R1_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-2(4), CAT|III, CCI|CCI-000018, Rule-ID|SV-218394r603259_rule, STIG-ID|GEN002750, STIG-Legacy|SV-64267, STIG-Legacy|V-22376, Vuln-ID|V-218394

Plugin: Unix

Control ID: 09cae80f749f408eea1136547f9d98a74a92c977b941167260510cc5baf68ff5