| name | cis-azure-foundations-5.7 |
| description | Ensure account 'Lockout duration in seconds' is greater than or equal to '60' |
| category | cis-azure-foundations |
| version | 5.0.0 |
| author | cyberstrike-official |
| tags | ["cis","azure","identity","account-lockout","brute-force","password-protection"] |
| cis_id | 5.7 |
| cis_benchmark | CIS Microsoft Azure Foundations Benchmark v5.0.0 |
| tech_stack | ["azure"] |
| cwe_ids | [] |
| chains_with | ["cis-azure-foundations-5.6","cis-azure-foundations-5.8"] |
| prerequisites | [] |
| severity_boost | {} |
Ensure account 'Lockout duration in seconds' is greater than or equal to '60'
Description
The account lockout duration value determines how long an account retains the status of lockout, and therefore how long before a user can continue to attempt to login after passing the lockout threshold.
Rationale
Account lockout is a method of protecting against brute-force and password spray attacks. Once the lockout threshold has been exceeded, the account enters a locked-out state which prevents all login attempts for a variable duration. The lockout in combination with a reasonable duration reduces the total number of failed login attempts that a malicious actor can execute in a given period of time.
Impact
If account lockout duration is set too low (less than 60 seconds), malicious actors can perform more password spray and brute-force attempts over a given period of time. If the account lockout duration is set too high (more than 300 seconds) users may experience inconvenient delays during lockout.
Audit Procedure
Using Azure Portal
- From Azure Home select the Portal Menu.
- Select
Microsoft Entra ID.
- Under
Manage, select Security.
- Under
Manage, select Authentication methods.
- Under
Manage, select Password protection.
- Ensure that
Lockout duration in seconds is set to 60 or higher.
Expected Result
Lockout duration in seconds should be 60 or higher.
Remediation
Using Azure Portal
- From Azure Home select the Portal Menu.
- Select
Microsoft Entra ID.
- Under
Manage, select Security.
- Under
Manage, select Authentication methods.
- Under
Manage, select Password protection.
- Set the
Lockout duration in seconds to 60 or higher.
- Click
Save.
Default Value
By default, Lockout duration in seconds is set to 60.
References
- https://learn.microsoft.com/en-us/entra/identity/authentication/howto-password-smart-lockout#manage-microsoft-entra-smart-lockout-values