Skip to content

Croumi/gmsaOfflineParser.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

gmsaOfflineParser.py

Small script designed to parse offline msDs-managedPassword attribute of gMSA accounts, and build their NT hash.

Installation

git clone https://github.com/mael91620/gmsaOfflineParser.py.git
cd gmsaOfflineParser.py
python3 -m venv venv
source venv/bin/activate
pip3 install impacket
pip3 install pycryptodome
pip3 install random
pip3 install binascii

Usage

Edit the value of the s variable using the integers obtained from the following powershell command

Get-AdServiceAccount -Identity "gMSA-account$" -Properties "msDs-managedPassword"

Just run the script and voila.

About

Small script designed to parse offline msDs-managedPassword attribute of gMSA accounts, and build their NT hash.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%