OpenParable
Skip to content
← Back to skills

Cis Azure Foundations 5.8

DevOps & Security
cis-azure-foundations-5.8

Cis Azure Foundations 5.8 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Ensure 'Custom banned password list' is set to 'Enforce'

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/Microsoft_Azure/CIS_Microsoft_Azure_Foundations_Benchmark_v5.0.0/cis-azure-foundations-5.8/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-azure-foundations-5-8, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

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

  1. From Azure Home select the Portal Menu.
  2. Select Microsoft Entra ID.
  3. Under Manage, select Security.
  4. Under Manage, select Authentication methods.
  5. Under Manage, select Password protection.
  6. Ensure Enforce custom list is set to Yes.
  7. 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

  1. From Azure Home select the Portal Menu.
  2. Select Microsoft Entra ID.
  3. Under Manage, select Security.
  4. Under Manage, select Authentication methods.
  5. Under Manage, select Password protection.
  6. Set the Enforce custom list option to Yes.
  7. Click in the Custom banned password list text box.
  8. Add a list of words, one per line, to prevent users from using in passwords.
  9. 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

  1. https://learn.microsoft.com/en-us/entra/identity/authentication/concept-password-ban-bad-combined-policy
  2. https://learn.microsoft.com/en-us/entra/identity/authentication/concept-password-ban-bad
  3. https://learn.microsoft.com/en-us/powershell/module/azuread/
  4. https://www.microsoft.com/en-us/research/publication/password-guidance/
  5. https://learn.microsoft.com/en-us/entra/identity/authentication/tutorial-configure-custom-password-protection
  6. https://learn.microsoft.com/en-us/security/benchmark/azure/mcsb-identity-management#im-6-use-strong-authentication-controls

CIS Controls

Controls VersionControlIG 1IG 2IG 3
v85.2 Use Unique Passwordsxxx
v86.7 Centralize Access Controlxx
v74.4 Use Unique Passwordsxx

Profile

Level 1 | Manual