TMAegis
Weitere Regeln für vmware

TMA-ESXI9-2.8

Host must require TPM-based configuration encryption

MittelStufe 1Automatisiertvmware

Beschreibung

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.

So wird geprüft

Prüfmethode: Shell-Befehl

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
Erwartete Ausgabe
compliant

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

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

Eigenschaften

Betriebssysteme
Beliebig
Tags
vmwareesxibase
Referenz
CIS VMware ESXi 9.0 Benchmark v1.0.0 - 2.8 Host must require TPM-based configuration encryption

Diesen Host prüfen

Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.

shell
tmaegis scan --target vmware