SV-258799r959010_rule
V-258799
SRG-OS-000480-VMM-002000
ESXI-80-000245
CAT II
10
From an ESXi shell, run the following commands:
# esxcli system settings kernel set -s disableHwrng -v FALSE
# esxcli system settings kernel set -s entropySources -v 0
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
$esxcli = Get-EsxCli -v2
$arguments = $esxcli.system.settings.kernel.set.CreateArgs()
$arguments.setting = "disableHwrng"
$arguments.value = "FALSE"
$esxcli.system.settings.kernel.set.invoke($arguments)
$arguments.setting = "entropySources"
$arguments.value = "0"
$esxcli.system.settings.kernel.set.invoke($arguments)
Reboot the ESXi host after updating entropy settings.
From an ESXi shell, run the following commands:
# esxcli system settings kernel list -o disableHwrng
# esxcli system settings kernel list -o entropySources
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
$esxcli = Get-EsxCli -v2
$esxcli.system.settings.kernel.list.invoke() | Where {$_.Name -eq "disableHwrng" -or $_.Name -eq "entropySources"}
If "disableHwrng" is not set to "false", this is a finding.
If "entropySources" is not set to "0", this is a finding.
V-258799
False
ESXI-80-000245
From an ESXi shell, run the following commands:
# esxcli system settings kernel list -o disableHwrng
# esxcli system settings kernel list -o entropySources
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
$esxcli = Get-EsxCli -v2
$esxcli.system.settings.kernel.list.invoke() | Where {$_.Name -eq "disableHwrng" -or $_.Name -eq "entropySources"}
If "disableHwrng" is not set to "false", this is a finding.
If "entropySources" is not set to "0", this is a finding.
M
5562