Check: PHTN-67-000047
VMware vSphere 6.7 Photon OS STIG:
PHTN-67-000047
(in versions v1 r6 through v1 r2)
Title
The Photon operating system must audit all account removal actions. (Cat II impact)
Discussion
When operating system accounts are removed, user accessibility is affected. Accounts are used for identifying individual users or the operating system processes themselves. To detect and respond to events affecting user accessibility and system processing, operating systems must audit account removal actions.
Check Content
At the command line, execute the following command: # auditctl -l | grep -E "(userdel|groupdel)" Expected result: -w /usr/sbin/userdel -p x -k userdel -w /usr/sbin/groupdel -p x -k groupdel If the output does not match the expected result, this is a finding. Note: This check depends on the auditd service to be in a running state for accurate results. Enabling the auditd service is done as part of a separate control.
Fix Text
Open /etc/audit/rules.d/audit.STIG.rules with a text editor and add the following lines: -w /usr/sbin/userdel -p x -k userdel -w /usr/sbin/groupdel -p x -k groupdel At the command line, execute the following command: # /sbin/augenrules --load
Additional Identifiers
Rule ID: SV-239118r816634_rule
Vulnerability ID: V-239118
Group Title: SRG-OS-000241-GPOS-00091
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001405 |
The information system automatically audits account removal actions. |
Controls
Number | Title |
---|---|
AC-2 (4) |
Automated Audit Actions |