TMAegis
Više pravila za vmware

TMA-ESXI9-2.8

Host must require TPM-based configuration encryption

SrednjaNivo 1Automatskavmware

Opis

The host should enforce TPM-based configuration encryption to secure its configuration files, notably within the /etc/ directory or other namespaces. From vSphere 7.0 Update 2 onwards, configuration files archived are encrypted, leveraging a Trusted Platform Module (TPM) to "seal" the configuration to the host, thereby enhancing security against offline attacks. The audit runs esxcli system settings encryption get and requires "Mode: TPM". Runs in the ESXi Shell (busybox sh) as root.

Kako se proverava

Metod provere: Komanda ljuske

shell
out=$(esxcli system settings encryption get 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | awk -F': *' 'tolower($1) ~ /^ *mode$/ {print $2; exit}' | tr 'A-Z' 'a-z' | sed 's/ *$//')
if [ "$v" = tpm ]; then echo compliant; else echo "Mode: ${v:-not reported}"; fi
Očekivani izlaz
compliant

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

1. Ensure TPM 2.0 and Secure Boot are enabled. 2. Take a backup of the ESXi recovery key 3. Configure the host to use TPM-backed configuration encryption using the supported ESXi secure-configuration procedure. 4. Reboot if required with the reboot command 5. Re-run esxcli system settings encryption get

Svojstva

Operativni sistemi
Bilo koji
Oznake
vmwareesxibase
Referenca
CIS VMware ESXi 9.0 Benchmark v1.0.0 - 2.8 Host must require TPM-based configuration encryption

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