SV-239291r674802_rule
V-239291
SRG-OS-000095-VMM-000480
ESXI-67-000036
CAT II
10
From the vSphere Client, select the ESXi host and go to Configure >> System >> Services.
Under "Services", select "ESXi Shell" service and click the "Stop" button to stop the service. Use Edit Startup policy to "Start and stop manually" and click "OK".
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "ESXi Shell"} | Set-VMHostService -Policy Off
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "ESXi Shell"} | Stop-VMHostService
From the vSphere Client, select the ESXi host and go to Configure >> System >> Services.
Under "Services", select "Edit", view the "ESXi Shell" service, and verify it is stopped.
or
From a PowerCLI command prompt while connected to the ESXi host, run the following command:
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "ESXi Shell"}
If the ESXi Shell service is running, this is a finding.
V-239291
False
ESXI-67-000036
From the vSphere Client, select the ESXi host and go to Configure >> System >> Services.
Under "Services", select "Edit", view the "ESXi Shell" service, and verify it is stopped.
or
From a PowerCLI command prompt while connected to the ESXi host, run the following command:
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "ESXi Shell"}
If the ESXi Shell service is running, this is a finding.
M
5326