Skip to content
StrikeOps

Credentials in Group Policy Preferences (cpassword)

HighTypical severity Active DirectoryCWE-260ATT&CK T1552.006

01Description

Group Policy Preferences XML files containing a 'cpassword' attribute were found in the SYSVOL share. These passwords are encrypted with an AES key that Microsoft published, so any domain user can decrypt them.

02Impact

Any authenticated user can recover the stored credentials. These are often local administrator or service account passwords, providing privilege escalation and lateral movement.

03Severity

Typically

High

Typically High. High, as any domain user can read and decrypt the password. Critical if the recovered account is privileged and still active.

04How to verify

  1. 1Search SYSVOL for XML files containing cpassword.
  2. 2Decrypt the recovered values with a standard tool such as gpp-decrypt.
  3. 3Confirm whether the recovered credentials are still valid, without locking accounts.

Testing note: only test systems you are authorized to test, within the agreed scope and rules of engagement. Verification steps are written for professional testers and avoid destructive techniques.

05Remediation

  1. 1Delete the Group Policy Preferences items containing passwords and remove the XML files from SYSVOL.
  2. 2Change the passwords of every account whose credentials were stored.
  3. 3Use Windows LAPS for local administrator passwords instead.

06References

Draft findings like this from your own evidence

Book a demo
Book a demo