DISA STIGS Viewer

ESX Agent Manager log files must only be modifiable by privileged users.

Overview

Finding ID Version Rule ID IA Controls Severity
V-256679 VCEM-70-000007 SV-256679r888593_rule   Medium
Description
Log data is essential in the investigation of events. The accuracy of the information is always pertinent. One of the first steps an attacker will take is the modification or deletion of log records to cover tracks and prolong discovery. The web server must protect the log data from unauthorized modification. ESX Agent Manager restricts all modification of log files by default, but this configuration must be verified. Satisfies: SRG-APP-000119-WSR-000069, SRG-APP-000120-WSR-000070
STIG Date
VMware vSphere 7.0 vCenter Appliance EAM Security Technical Implementation Guide 2023-06-15

Details

Check Text (C-60354r888591_chk)
At the command prompt, run the following command:

# find /var/log/vmware/eam/web/ -xdev -type f -a '(' -perm -o+w -o -not -user eam -o -not -group users ')' -exec ls -ld {} \;

If any files are returned, this is a finding.
Fix Text (F-60297r888592_fix)
At the command prompt, run the following commands:

# chmod o-w <file>
# chown eam:users <file>

Note: Substitute <file> with the listed file.