Check: PHTN-67-000046
VMware vSphere 6.7 Photon OS STIG:
PHTN-67-000046
(in versions v1 r6 through v1 r2)
Title
The Photon operating system must audit all account disabling actions. (Cat II impact)
Discussion
When operating system accounts are disabled, 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 disabling actions.
Check Content
At the command line, execute the following command: # auditctl -l | grep "^-w /usr/bin/passwd" Expected result: -w /usr/bin/passwd -p x -k passwd 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/bin/passwd -p x -k passwd At the command line, execute the following command: # /sbin/augenrules --load
Additional Identifiers
Rule ID: SV-239117r816631_rule
Vulnerability ID: V-239117
Group Title: SRG-OS-000240-GPOS-00090
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001404 |
The information system automatically audits account disabling actions. |
Controls
Number | Title |
---|---|
AC-2 (4) |
Automated Audit Actions |