VMware vSphere 6.7 Photon OS STIG Version Comparison
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide
Comparison
There are 18 differences between versions v1 r1 (March 9, 2021) (the "left" version) and v1 r3 (April 27, 2022) (the "right" version).
Check PHTN-67-000044 was added to the benchmark in the "right" version.
This check's original form is available here.
Text Differences
Title
The Photon operating system must audit all account modifications.
Check Content
At the command line, execute the following command: # auditctl -l | grep -E "(usermod|groupmod)" Expected result: -w /usr/sbin/usermod -p x -k usermod -w /usr/sbin/groupmod -p x -k groupmod 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.
Discussion
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 modify an existing account. Auditing account modification actions provides logging that can be used for forensic purposes.
Fix
Open /etc/audit/rules.d/audit.STIG.rules with a text editor and add the following lines: -w /usr/sbin/usermod -p x -k usermod -w /usr/sbin/groupmod -p x -k groupmod At the command line, execute the following command: # /sbin/augenrules --load