Rapid7 Vulnerability & Exploit Database

Windows Gather Group Policy Preference Saved Passwords

Back to Search

Windows Gather Group Policy Preference Saved Passwords



This module enumerates the victim machine's domain controller and connects to it via SMB. It then looks for Group Policy Preference XML files containing local user accounts and passwords and decrypts them using Microsofts public AES key. Cached Group Policy files may be found on end-user devices if the group policy object is deleted rather than unlinked. Tested on WinXP SP3 Client and Win2k8 R2 DC.


  • Ben Campbell <eat_meatballs@hotmail.co.uk>
  • Loic Jaquemet <loic.jaquemet+msf@gmail.com>
  • scriptmonkey <scriptmonkey@owobble.co.uk>
  • theLightCosine <theLightCosine@metasploit.com>
  • mubix <mubix@hak5.org>




Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security