TMAegis
Više pravila za vmware

TMA-VMWARE-3.20

Host must enable lockdown mode

VisokaNivo 1Automatskavmware

Opis

Implementing lockdown mode restricts direct access to ESXi hosts, mandating management via vCenter Server to uphold defined roles and access controls, mitigating risks associated with unauthorized or insufficiently audited activities. Exception Users list serves as an override mechanism, permitting specified users direct access even in lockdown mode. The audit runs vim-cmd -U dcui vimsvc/auth/lockdown_mode and requires lockdownNormal or lockdownStrict. Running the shell during lockdown requires the scanning account on the Exception Users list. Runs in the ESXi Shell (busybox sh) as root.

Kako se proverava

Metod provere: Komanda ljuske

shell
out=$(vim-cmd -U dcui vimsvc/auth/lockdown_mode 2>/dev/null) || out=$(vim-cmd -U dcui vimsvc/auth/lockdown_is_enabled 2>/dev/null) || exit 1
case "$out" in *lockdownNormal*|*lockdownStrict*|true) echo compliant ;; *) echo "lockdown: $out" ;; esac
Očekivani izlaz
compliant

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

To enable lockdown mode, perform the following from the vSphere web client: 1. From the vSphere Web Client, select the host. 2. Select Configure then expand System and select Security Profile. 3. Across from Lockdown Mode click on Edit. 4. Click the radio button for Normal or Strict. 5. Click OK. Alternately, run the following PowerCLI command: # Enable lockdown mode for each host Get-VMHost | Foreach { $_.EnterLockdownMode() }

Svojstva

Operativni sistemi
Bilo koji
Oznake
vmwareesximanagement
Referenca
CIS VMware ESXi 8.0 Benchmark v1.4.0 - 3.20 Host must enable lockdown mode

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target vmware