VMware ESXi
TMA-ESXI9-3.13
Host must unlock accounts after a specified timeout period
説明
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.
チェック方法
監査方法: シェルコマンド
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
修正方法
修正方法: ガイダンスまたは IaC パッチ
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
このホストをチェック
監査が許可されているマシンで実行してください。スキャンは読み取り専用です。
tmaegis scan --target vmware