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) →

Built-in administrator password age details should be investigated

AD-USER-25InfoActive DirectoryUsers

Part of Active Directory · Active Directory · Users · All checks

Run this check
Invoke-Maester -TestId AD-USER-25

Highly privileged accounts with old passwords are prime targets for password spraying, credential theft, and persistence. Reviewing password age for built-in administrator style accounts helps validate that sensitive credentials are rotated appropriately.

  • Credential risk reduction: Long-lived privileged passwords increase exposure.
  • Control validation: Supports verification of password rotation practices.
  • Exception tracking: Highlights accounts with non-expiring privileged credentials.

Operational

  • Rotate passwords for privileged accounts on a defined schedule.
  • Avoid non-expiring passwords on privileged identities wherever possible.
  • Review break-glass or emergency accounts separately with compensating controls.

This test lists built-in administrator style accounts and reports PasswordLastSet, calculated password age in days, and PasswordNeverExpires state.

  • Test-MtAdUserBuiltInAdminCount
  • Test-MtAdUserBuiltInAdminLastLogonDetails
Every attribute of this check
FieldValue
Test IDAD-USER-25
SeverityInfo
SuiteActive Directory
ProductActive Directory
FeatureUsers
AreaPrivileged access
Resource typeUser
MITRE ATT&CKT1078.001 Default Accounts, T1110.003 Password Spraying
PowerShell testTest-MtAdUserBuiltInAdminPasswordAgeDetails
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:user:ReadProperty