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 |
| Product | Active Directory |
| Feature | Group Policy |
| Area | Authentication |
| Resource type | GroupPolicy |
| User impact | Low |
| Implementation cost | Medium |
| MITRE ATT&CK | T1552.001 Credentials In Files, T1552.006 Group Policy Preferences |
| Supports controls | nist-800-53-r5:IA-5(1), nist-800-53-r5:SC-28 |
| PowerShell test | Test-MtAdGpoDefaultPasswordFoundCount |
| Services | ActiveDirectory |
Sourceโ
- Test:
tests/ad/gpo-state/Test.AD-GPOREP-19.ps1 - Documentation:
tests/ad/gpo-state/Test.AD-GPOREP-19.md
