Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md Update README.md Jun 21, 2015
gpprefdecrypt.ps1 Update description Jun 20, 2015
gpprefdecrypt.py Update description Jun 20, 2015
gpprefdecrypt.rb Update description Jun 20, 2015

README.md

Windows 2008 Group Policy Preferences cpassword decryptors

The repo has 3 scripts with identical functionality written in different languages. They decrypt the cpassword attribute value embedded in the Groups.xml file stored in the domain controller's Sysvol share.

Python

Authored by: esec-pentest.sogeti.com

Updated by: Oleg Mitrofanov (reider-roque)

  • Made it work with newer versions of PyCrypto (works with Kali now)

Works only with Python 2.

Ruby

Authored by: Chris Gates (carnal0wnage)

Polished by: Oleg Mitrofanov (reider-roque)

  • Updated to take a cpassword as a command line argument

Powershell

Authored by: Oleg Mitrofanov (reider-roque)

  • Plucked out the function from PowerSlpoit's Get-GPPPassword.ps1 and made it work as a standalone script

Based on the work of: Matt Graeber (mattifestation)

You can’t perform that action at this time.