TMAegis
Más reglas para vmware

VMware ESXi

TMA-ESXI9-2.8

Host must require TPM-based configuration encryption

MediaNivel 1Automatizadavmware

Descripción

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.

Cómo se verifica

Método de auditoría: Comando de shell

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
Salida esperada
compliant

Cómo se corrige

Método de corrección: Guía o parche de infraestructura

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

Propiedades

Sistemas operativos
Cualquiera
Etiquetas
vmwareesxibase
Referencia
CIS VMware ESXi 9.0 Benchmark v1.0.0 - 2.8 Host must require TPM-based configuration encryption

Verificar este host

Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.

shell
tmaegis scan --target vmware