Skip to main content

Overview

Group Policy Preferences (GPP) stored credentials in cpassword field in XML files on SYSVOL. AES key was published by Microsoft → any domain user can decrypt.

Find GPP Files

Manual

Look in:
  • Groups.xml — local admin passwords
  • Services.xml — service account passwords
  • Scheduledtasks.xml — scheduled task credentials
  • DataSources.xml — database credentials
  • Drives.xml — mapped drive credentials
  • Printers.xml — printer credentials

CrackMapExec

Metasploit


Decrypt cpassword

gpp-decrypt

Python


Get-GPPPassword (PowerSploit)


Notes

  • MS14-025 patched creation of new GPP passwords (2014)
  • Existing GPP passwords NOT removed by patch
  • Old domains often still have them in SYSVOL
  • Any authenticated domain user can read SYSVOL

Quick Reference