Skip to main content
Version: 2.3.0

AD-GPOREP-19 - No GPOs should contain a default password

Overviewโ€‹

Test-MtAdGpoDefaultPasswordFoundCountโ€‹

Counts the number of GPOs that contain a default password.

Why This Test Mattersโ€‹

  • Detective control: counts GPOs where a default password is found in the report.

Control Typeโ€‹

Detective

Security Recommendationโ€‹

  • Investigate and remediate GPOs that embed default passwords.

How the Test Worksโ€‹

  • Retrieves GPO state, filters DefaultPasswordFound, and reports totals and a percentage.
  • Test-MtAdGpoDefaultPasswordFoundDetails.

Test Metadataโ€‹

FieldValue
Test IDAD-GPOREP-19
SeverityHigh
SuiteActive Directory
CategoryAD.GPOState
PowerShell testTest-MtAdGpoDefaultPasswordFoundCount
TagsAD, AD-GPOREP-19, AD.GPOState

Sourceโ€‹

  • Pester test: tests/ad/gpostate/Test-MtAdGpoDefaultPasswordFoundCount.Tests.ps1
  • PowerShell source: powershell/public/ad/gpostate/Test-MtAdGpoDefaultPasswordFoundCount.ps1