Ensure 'Custom banned password list' is set to 'Enforce'
Description
Microsoft Azure applies a default global banned password list to all user and admin accounts that are created and managed directly in Microsoft Entra ID. The Microsoft Entra password policy does not apply to user accounts that are synchronized from an on-premises Active Directory environment, unless Microsoft Entra ID Connect is used and EnforceCloudPasswordPolicyForPasswordSyncedUsers is enabled. For increased password security, a custom banned password list is recommended.
Rationale
Implementing a custom banned password list gives your organization further control over the password policy. Disallowing easy-to-guess passwords increases the security of your Azure resources.
Impact
Increasing password complexity may increase user account administration overhead. Utilizing the default global banned password list and a custom list requires a Microsoft Entra ID P1 or P2 license. On-premises Active Directory Domain Services users who aren't synchronized to Microsoft Entra ID still benefit from Microsoft Entra ID Password Protection based on the existing licensing of synchronized users.
Audit Procedure
Using Azure Portal
- From Azure Home select the Portal Menu.
- Select
Microsoft Entra ID. - Under
Manage, selectSecurity. - Under
Manage, selectAuthentication methods. - Under
Manage, selectPassword protection. - Ensure
Enforce custom listis set toYes. - Review the list of words banned from use in passwords.
Expected Result
Enforce custom list should be set to Yes and the custom banned password list should contain organization-specific terms.
Remediation
Using Azure Portal
- From Azure Home select the Portal Menu.
- Select
Microsoft Entra ID. - Under
Manage, selectSecurity. - Under
Manage, selectAuthentication methods. - Under
Manage, selectPassword protection. - Set the
Enforce custom listoption toYes. - Click in the
Custom banned password listtext box. - Add a list of words, one per line, to prevent users from using in passwords.
- Click
Save.
Default Value
By default the custom banned password list is not 'Enabled'. Organization-specific terms can be added to the custom banned password list, such as brand names, product names, locations, company-specific terms, abbreviations, and months/weekdays with your company's local languages.
References
- https://learn.microsoft.com/en-us/entra/identity/authentication/concept-password-ban-bad-combined-policy
- https://learn.microsoft.com/en-us/entra/identity/authentication/concept-password-ban-bad
- https://learn.microsoft.com/en-us/powershell/module/azuread/
- https://www.microsoft.com/en-us/research/publication/password-guidance/
- https://learn.microsoft.com/en-us/entra/identity/authentication/tutorial-configure-custom-password-protection
- https://learn.microsoft.com/en-us/security/benchmark/azure/mcsb-identity-management#im-6-use-strong-authentication-controls
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 5.2 Use Unique Passwords | x | x | x |
| v8 | 6.7 Centralize Access Control | x | x | |
| v7 | 4.4 Use Unique Passwords | x | x |
Profile
Level 1 | Manual