SYSVOL - GPP cpassword¶
Some Group Policy Preferences (GPP) items include a password. In the underlying XML, that password is stored as cpassword
. It is encrypted with a known static key (effectively plaintext). These XML files reside in SYSVOL on domain controllers.
- Search Domain Controller SYSVOL SMB shares for
cpassword
.
Decrypt cpassword
¶
Locations¶
\\<domain_fqdn>\SYSVOL\<domain_fqdn>\Policies\{GPO-GUID}\Machine\Preferences\*
\\<domain_fqdn>\SYSVOL\<domain_fqdn>\Policies\{GPO-GUID}\User\Preferences\*
Search SMB SYSVOL for cpassword¶
MANSPIDER¶
KRB5CCNAME=<ccache> manspider <dc_or_cidr> -d <domain> -k --sharenames SYSVOL -e xml -c cpassword -n