STIGUI
V-258791CAT II — Medium severitySV-258791r933434_rule

The ESXi host must not be configured to override virtual machine (VM) configurations.

Rule version ESXI-80-000236 · STIG v1 · 2023-10-11

Discussion

Each VM on an ESXi host runs in its own "vmx" process. Upon creation, a vmx process will look in two locations for configuration items, the ESXi host itself and the per-vm *.vmx file in the VM storage path on the datastore. The settings on the ESXi host are read first and take precedence over settings in the *.vmx file.

This can be a convenient way to set a setting in one place and have it apply to all VMs running on that host. The difficulty is in managing those settings and determining the effective state. Since managing per-VM vmx settings can be fully automated and customized while the ESXi setting cannot be easily queried, the ESXi configuration must not be used.

Check

From an ESXi shell, run the following command:

# stat -c "%s" /etc/vmware/settings

Expected result:

0

If the output does not match the expected result, this is a finding.

Fix

From an ESXi shell, run the following command:

# echo -n >/etc/vmware/settings

Identifiers

Group ID
V-258791
Group title
SRG-OS-000480-VMM-002000
Rule ID
SV-258791r933434_rule
Check ID
C-62531r933432_chk
Fix ID
F-62440r933433_fix