Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Password complexity should be enabled

AD-PWDPOL-04MediumActive DirectoryPassword policy

Part of Active Directory · Active Directory · Password policy · All checks

Run this check
Invoke-Maester -TestId AD-PWDPOL-04

Password complexity requirements are a fundamental security control that helps prevent weak passwords:

  • Prevents common passwords: Complexity requirements block easily guessable passwords like “password123” or “companyname2024”
  • Increases entropy: Character diversity increases the search space for brute-force attacks
  • Meets compliance requirements: Most security frameworks require password complexity

Complexity alone is not sufficient—length is equally important. The best approach combines both: long passwords (14+ characters) with complexity requirements.

Preventive

Enable password complexity requirements to ensure passwords contain characters from at least three of these categories:

  • Uppercase letters (A-Z)
  • Lowercase letters (a-z)
  • Numbers (0-9)
  • Special characters (!@#$%^&*, etc.)

To configure this setting:

  1. Open Group Policy Management
  2. Navigate to the Default Domain Policy
  3. Edit: Computer Configuration > Policies > Windows Settings > Security Settings > Account Policies > Password Policy
  4. Enable Password must meet complexity requirements

This test retrieves the default domain password policy using Get-ADDefaultDomainPasswordPolicy and checks the ComplexityEnabled property. The test reports:

  • Whether complexity is currently enabled or disabled
  • Recommended setting (Enabled)
  • Whether the configuration meets security best practices
  • Test-MtAdPasswordHistoryCount - Checks password history enforcement
  • Test-MtAdPasswordMaxAge - Checks maximum password age
  • Test-MtAdPasswordMinLength - Checks minimum password length
Every attribute of this check
FieldValue
Test IDAD-PWDPOL-04
SeverityMedium
SuiteActive Directory
ProductActive Directory
FeaturePassword policy
AreaAuthentication
Resource typeTenant
User impactMedium
Implementation costLow
MITRE ATT&CKT1110 Brute Force
PowerShell testTest-MtAdPasswordComplexityRequired
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:domainDNS.pwdProperties:ReadProperty