AD-GPOREP-17 - No GPOs should contain a cpassword
Overviewβ
Test-MtAdGpoCpasswordFoundCountβ
Counts the number of GPOs that contain a cpassword.
Why This Test Mattersβ
- Detective control: counts GPOs containing a cpassword which indicates potential credential exposure.
Control Typeβ
Detective
Security Recommendationβ
- Review cpassword occurrences and rotate credentials or secure storage as needed.
How the Test Worksβ
- Retrieves GPO state, filters for CpasswordFound, and reports totals and percentage of GPOs with cpasswords.
Related Testsβ
Test-MtAdGpoCpasswordFoundDetails.
Related linksβ
- Microsoft Learn - Group Policy management
- ANSSI checkpoint: https://www.anssi.gouv.fr/
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | AD-GPOREP-17 |
| Severity | Critical |
| Suite | Active Directory |
| Product | Active Directory |
| Feature | Group Policy |
| Area | Authentication |
| Resource type | GroupPolicy |
| User impact | Low |
| Implementation cost | Medium |
| MITRE ATT&CK | T1552.006 Group Policy Preferences |
| Supports controls | nist-800-53-r5:IA-5(1), nist-800-53-r5:SC-28 |
| PowerShell test | Test-MtAdGpoCpasswordFoundCount |
| Services | ActiveDirectory |
Sourceβ
- Test:
tests/ad/gpo-state/Test.AD-GPOREP-17.ps1 - Documentation:
tests/ad/gpo-state/Test.AD-GPOREP-17.md
