AD-PWDPOL-02: Password maximum age should be retrievable
| ID | AD-PWDPOL-02 |
| Severity | Info |
| Suite | Active Directory (on-premises) |
| Product | Active Directory |
| Feature | Password policy |
| Security area | Authentication |
| Resource type | Tenant |
| MITRE ATT&CK | T1110.002, T1078.002 |
| Reads from | On-premises Active Directory |
What this checks and how to fix it
Section titled “What this checks and how to fix it”Maximum password age is a critical security control that forces users to change their passwords periodically. This control is important because:
- Limits exposure window: If a password is compromised, the attacker has a limited time to use it before the password expires
- Reduces hash value: Old password hashes that may have been extracted from breaches become useless after password changes
- Forces regular hygiene: Users must create new passwords regularly, reducing the chance of long-term password reuse across services
While NIST guidelines have shifted toward longer password ages (or no expiration) when combined with other controls like MFA, many compliance frameworks still require regular password changes. The 90-day recommendation balances security with usability.
Control Type
Section titled “Control Type”Preventive
Security Recommendation
Section titled “Security Recommendation”Configure the maximum password age to 90 days or less (or 0 for never expire if using modern authentication with MFA). For environments without comprehensive MFA deployment, regular password changes remain important.
To configure this setting:
- Open Group Policy Management
- Navigate to the Default Domain Policy
- Edit: Computer Configuration > Policies > Windows Settings > Security Settings > Account Policies > Password Policy
- Set Maximum password age to 90 days or less
How the Test Works
Section titled “How the Test Works”This test retrieves the default domain password policy using Get-ADDefaultDomainPasswordPolicy and extracts the MaxPasswordAge value. The test reports:
- Current maximum password age in days
- Recommended maximum (90 days)
- Whether the configuration meets security best practices
Related Tests
Section titled “Related Tests”Test-MtAdPasswordHistoryCount- Checks password history enforcementTest-MtAdPasswordMinLength- Checks minimum password lengthTest-MtAdPasswordComplexityRequired- Checks if password complexity is enforced
Mito check. Author: soulemike. Open-source licences.
Open-source licences. CIS Benchmark material © Center for Internet Security, Inc.; CISA SCuBA baselines are public domain (CC0).
© 2026 Virtual Petals. Mito is a Virtual Petals service, hosted in Microsoft Azure UAE North.
