SV-258772r959010_rule
V-258772
SRG-OS-000480-VMM-002000
ESXI-80-000217
CAT I
10
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> Networking >> Virtual Switches.
On each standard switch, click "Edit" and select Security.
Set "MAC Address Changes" to "Reject". Click "OK".
For each port group, click the '...' button and select "Edit Settings" then Security.
Set "MAC Address Changes" to "Reject" and uncheck the "Override" box. Click "OK".
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
Get-VirtualSwitch | Get-SecurityPolicy | Set-SecurityPolicy -MacChanges $false
Get-VirtualPortGroup | Get-SecurityPolicy | Set-SecurityPolicy -MacChangesInherited $true
This control addresses ESXi standard switches. Distributed switches are addressed in the vCenter STIG. If there is no standard switch on the ESXi host, this is not applicable.
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> Networking >> Virtual Switches.
On each standard switch, click the '...' button next to each port group and select "Edit Settings".
Click the "Security" tab. Verify that "MAC Address Changes" is set to "Reject" and that "Override" is not checked.
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
Get-VirtualSwitch | Get-SecurityPolicy
Get-VirtualPortGroup | Get-SecurityPolicy | Select-Object *
If the "MAC Address Changes" policy is set to "Accept" (or "true", via PowerCLI) or the security policy inherited from the virtual switch is overridden, this is a finding.
V-258772
False
ESXI-80-000217
This control addresses ESXi standard switches. Distributed switches are addressed in the vCenter STIG. If there is no standard switch on the ESXi host, this is not applicable.
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> Networking >> Virtual Switches.
On each standard switch, click the '...' button next to each port group and select "Edit Settings".
Click the "Security" tab. Verify that "MAC Address Changes" is set to "Reject" and that "Override" is not checked.
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
Get-VirtualSwitch | Get-SecurityPolicy
Get-VirtualPortGroup | Get-SecurityPolicy | Select-Object *
If the "MAC Address Changes" policy is set to "Accept" (or "true", via PowerCLI) or the security policy inherited from the virtual switch is overridden, this is a finding.
M
5562