STIGUI
V-258728CAT II — Medium severitySV-258728r933245_rule

The ESXi host must enforce the limit of three consecutive invalid logon attempts by a user.

Rule version ESXI-80-000005 · STIG v1 · 2023-10-11

Discussion

By limiting the number of failed logon attempts, the risk of unauthorized access via user password guessing, otherwise known as brute forcing, is reduced. Once the configured number of attempts is reached, the account is locked by the ESXi host.

Check

From the vSphere Client, go to Hosts and Clusters.

Select the ESXi Host >> Configure >> System >> Advanced System Settings.

Select the "Security.AccountLockFailures" value and verify it is set to "3".

or

From a PowerCLI command prompt while connected to the ESXi host, run the following command:

Get-VMHost | Get-AdvancedSetting -Name Security.AccountLockFailures

If the "Security.AccountLockFailures" setting is set to a value other than "3", this is a finding.

Fix

From the vSphere Client, go to Hosts and Clusters.

Select the ESXi Host >> Configure >> System >> Advanced System Settings.

Click "Edit". Select the "Security.AccountLockFailures" value and configure it to "3".

or

From a PowerCLI command prompt while connected to the ESXi host, run the following command:

Get-VMHost | Get-AdvancedSetting -Name Security.AccountLockFailures | Set-AdvancedSetting -Value 3

Identifiers

Group ID
V-258728
Group title
SRG-OS-000021-VMM-000050
Rule ID
SV-258728r933245_rule
Check ID
C-62468r933243_chk
Fix ID
F-62377r933244_fix