PHTN-67-000001 - The Photon operating system must audit all account creations - groupadd


Once an attacker establishes access to a system, the attacker often attempts to create a persistent method of reestablishing access. One way to accomplish this is for the attacker to create an account. Auditing account creation actions provides logging that can be used for forensic purposes.


At the command line, execute the following commands:

# echo '-w /usr/sbin/useradd -p x -k useradd' >> /etc/audit/rules.d/audit.STIG.rules
# echo '-w /usr/sbin/groupadd -p x -k groupadd' >> /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: Access Control.This control applies to the following type of system Unix.