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.
Related Testsโ
Test-MtAdGpoDefaultPasswordFoundDetails.
Related linksโ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataโ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-19 |
| Severity | High |
| Suite | Active Directory |
| Category | AD.GPOState |
| PowerShell test | Test-MtAdGpoDefaultPasswordFoundCount |
| Tags | AD, AD-GPOREP-19, AD.GPOState |
Sourceโ
- Pester test:
tests/ad/gpostate/Test-MtAdGpoDefaultPasswordFoundCount.Tests.ps1 - PowerShell source:
powershell/public/ad/gpostate/Test-MtAdGpoDefaultPasswordFoundCount.ps1
