Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

No GPOs should contain a cpassword

AD-GPOREP-18CriticalActive DirectoryGroup Policy

Part of Active Directory · Active Directory · Group Policy · All checks

Run this check
Invoke-Maester -TestId AD-GPOREP-18

Returns details of GPOs that contain a cpassword.

  • Detective control: detects GPOs that contain a Cpassword which could be exploited if leaked.
  • Cpasswords expose sensitive credentials and should be protected.

Detective

  • Rotate or remove the cpasswords where necessary and apply proper protection controls.
  • Uses Get-MtADGpoState to obtain GPO data, filters for reports where CpasswordFound is true, and formats a Markdown table.
  • Test-MtAdGpoCpasswordFoundCount - counts GPOs with cpasswords.
Every attribute of this check
FieldValue
Test IDAD-GPOREP-18
SeverityCritical
SuiteActive Directory
ProductActive Directory
FeatureGroup Policy
AreaAuthentication
Resource typeGroupPolicy
User impactLow
Implementation costMedium
MITRE ATT&CKT1552.006 Group Policy Preferences
Supports controlsnist-800-53-r5:IA-5(1), nist-800-53-r5:SC-28
PowerShell testTest-MtAdGpoCpasswordFoundDetails
ServicesActiveDirectory
PermissionsActiveDirectory:Ldap:groupPolicyContainer.gPCFileSysPath:ReadProperty, ActiveDirectory:File:SYSVOL:Read