TMAegisБета
Другие правила для vmware

VMware ESXi

TMA-ESXI9-3.13

Host must unlock accounts after a specified timeout period

СреднийУровень 1Автоматическаяvmware

Описание

Ensuring that user accounts on the ESXi host are automatically unlocked after a specified period contributes to a balance between security and operational usability. This mechanism reactivates idle accounts promptly while mitigating potential unauthorized access risks. The audit reads Security.AccountUnlockTime with esxcli and requires 900 seconds. Runs in the ESXi Shell (busybox sh) as root.

Как проверяется

Метод проверки: Команда оболочки

shell
out=$(esxcli system settings advanced list -o /Security/AccountUnlockTime 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | awk '$1=="Int" && $2=="Value:" {print $3; exit}')
case "$v" in ''|*[!0-9-]*) echo '/Security/AccountUnlockTime: no integer value'; exit 1 ;; esac
if [ "$v" -eq 900 ]; then echo compliant; else echo "/Security/AccountUnlockTime = $v (expected 900)"; fi
Ожидаемый вывод
compliant

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

To set the account lockout to 15 minutes, perform the following: 1. From the vSphere Web Client, select the host. 2. Click Configure then expand System. 3. Select Advanced System Settings then click Edit. 4. Enter Security.AccountUnlockTime in the filter. 5. Set the value for this parameter to 900. Alternately, use the following PowerCLI command: Get-VMHost | Get-AdvancedSetting -Name Security.AccountUnlockTime | Set- AdvancedSetting -Value 900

Свойства

Операционные системы
Любая
Теги
vmwareesximanagement
Источник
CIS VMware ESXi 9.0 Benchmark v1.0.0 - 3.13 Host must unlock accounts after a specified timeout period

Проверить этот хост

Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.

shell
tmaegis scan --target vmware