Skip to main content
Version: 3.0.0-preview

AD-USER-09 - Password-not-required user count should be retrievable

Overviewโ€‹

Accounts that do not require passwords are a severe security weakness. Even if rarely used, they represent a misconfiguration that can undermine core authentication protections.

Control Typeโ€‹

Detective

Security Recommendationโ€‹

Investigate every account with PasswordNotRequired set. Require passwords, rotate credentials, and validate that no workflow depends on this unsafe configuration.

How the Test Worksโ€‹

This test retrieves Active Directory user data from Get-MtADDomainState and counts accounts where PasswordNotRequired = $true. The output shows the total count and percentage of affected users.

  • Test-MtAdUserPasswordNeverExpiresCount
  • Test-MtAdUserNoPreAuthCount
  • Test-MtAdUserReversibleEncryptionCount

Test Metadataโ€‹

FieldValue
Test IDAD-USER-09
SeverityInfo
SuiteActive Directory
CategoryActive Directory - Users
PowerShell testTest-MtAdUserPasswordNotRequiredCount
ServicesActiveDirectory
TagsAD, AD-USER-09, AD.User

Sourceโ€‹