UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-239378 VCEM-67-000007 SV-239378r674628_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 undertake 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 6.7 EAM Tomcat Security Technical Implementation Guide 2022-06-17

Details

Check Text ( C-42611r674626_chk )
At the command prompt, execute 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-42570r674627_fix)
At the command prompt, execute the following commands:

# chmod o-w
# chown eam:users

Note: Substitute with the listed file.