TMAegis
Više pravila za vmware

TMA-ESXI9-2.11

Host must use sufficient entropy for cryptographic operations

SrednjaNivo 1Automatskavmware

Opis

Starting with vSphere 8.0, ESXi has enhanced its entropy implementation to align with FIPS 140-3 and EAL4 certifications, ensuring a robust foundation for cryptographic operations. Kernel boot options dictate the activation of entropy sources on an ESXi host. The parameter governing this behavior is disableHwrng = FALSE and entropySources = 0. The audit runs esxcli system settings kernel list -o disableHwrng and requires it to be absent or FALSE (configured and runtime). Runs in the ESXi Shell (busybox sh) as root.

Kako se proverava

Metod provere: Komanda ljuske

shell
out=$(esxcli system settings kernel list -o disableHwrng 2>/dev/null) || exit 1
set -- $(printf '%s\n' "$out" | awk '$1=="disableHwrng" {print toupper($3), toupper($4); exit}')
[ $# -eq 0 ] && { echo compliant; exit 0; }
[ "$1" = FALSE ] && [ "$2" = FALSE ] && echo compliant || echo "disableHwrng configured=$1 runtime=$2"
Očekivani izlaz
compliant

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

1. Set the kernel option with: esxcli system settings kernel set -s disableHwrng -v FALSE 2. Reboot if required by the host/build and verify the configured and runtime values are FALSE.

Svojstva

Operativni sistemi
Bilo koji
Oznake
vmwareesxibase
Referenca
CIS VMware ESXi 9.0 Benchmark v1.0.0 - 2.11 Host must use sufficient entropy for cryptographic operations

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