Skip to content

Bruteforce DPAPI encrypted MasterKey File from Windows Credentials Manager

License

Notifications You must be signed in to change notification settings

ProcessusT/MasterKeyBrute

Repository files navigation

MasterKeyBrute

Bruteforce DPAPI encrypted MasterKey File from Windows Credentials Manager







Usage


MasterKeyBrute uses Impacket syntax :

**************************************************
                 MASTERKEYBRUTE

                 @Processus
                    v1.0
**************************************************


usage: masterkeybrute.py [-h] -mkf MKF -sid SID -w W [--blob BLOB] [--show-prekeys SHOW_PREKEYS] [-debug]

Bruteforce DPAPI encrypted MasterKey File from Windows Credentials Manager

options:
  -h, --help            show this help message and exit
  -mkf MKF              Master Key File
  -sid SID              User SID to derivate key
  -w W                  Wordlist file

Optionnal:
  --blob BLOB           Blob file to decrypt with decrypted MasterKey
  --show-prekeys SHOW_PREKEYS
                        Show calculated prekeys

Verbosity:
  -debug                Turn DEBUG output ON


Example


python3 masterkeybrute.py -mkf d5a8f4c9-a8ab-423a-a027-601472215dff -sid S-1-5-21-2097421949-534903256-19675394-500 -w /opt/rockyou.txt --blob 5AEA058AA7D881EBF78E4BE4515E5159 -debug


About

Bruteforce DPAPI encrypted MasterKey File from Windows Credentials Manager

Topics

Resources

License

Stars

Watchers

Forks

Languages