A system administration or post-exploitation script to automatically extract the bitlocker recovery keys from a domain.
A system administration or post-exploitation script to automatically extract the bitlocker recovery keys from a domain.
A system administration or post-exploitation script to automatically extract the bitlocker recovery keys from a domain.
[!WARNING] Please do not store this backup in an online SMB share of the domain. You should prefer to print it and store it physically in a locked safe.
To extract Bitlocker recovery keys from all the computers of the domain domain.local you can use this command:
./ExtractBitlockerKeys.py -d 'domain.local' -u 'Administrator' -p 'Podalirius123!' --dc-ip 192.168.1.101You will get the following output:
To extract Bitlocker recovery keys from all the computers of the domain domain.local you can use this command:
.\ExtractBitlockerKeys.ps1 -dcip 192.168.1.101 -ExportToCSV ./keys.csv -ExportToJSON ./keys.jsonYou will get the following output:
…Pull requests are welcome. Feel free to open an issue if you want to add other features.
No open issues yet, or sync has not completed.