百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

ExtractBitlockerKeys

> 编程语言
开源

一个系统管理或后续利用脚本,可自动从域中提取 BitLocker 恢复密钥。

400 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一个系统管理或后续利用脚本,可自动从域中提取 BitLocker 恢复密钥。

A system administration or post-exploitation script to automatically extract the bitlocker recovery keys from a domain.

Features

  • Automatically gets the list of all computers from the domain controller's LDAP.
  • Multithreaded connections to extract Bitlocker keys from LDAP.
  • Iterate on LDAP result pages to get every computer of the domain, no matter the size.

[!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.

  • Export results in JSON with Computer FQDN, Domain, Recovery Key, Volume GUID, Created At and Organizational Units.
  • Export results in XLSX with Computer FQDN, Domain, Recovery Key, Volume GUID, Created At and Organizational Units.
  • Export results in SQLITE3 with Computer FQDN, Domain, Recovery Key, Volume GUID, Created At and Organizational Units.

Demonstration from Linux in Python

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.101

You will get the following output:


Demonstration from Windows in Powershell

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.json

You will get the following output:


Usage

…

Contributing

Pull requests are welcome. Feel free to open an issue if you want to add other features.

References

  • https://learn.microsoft.com/en-us/windows/win32/adschema/a-msfve-keypackage
  • https://learn.microsoft.com/en-us/windows/win32/adschema/a-msfve-recoveryguid
  • https://learn.microsoft.com/en-us/windows/win32/adschema/a-msfve-recoverypassword
  • https://learn.microsoft.com/en-us/windows/win32/adschema/a-msfve-volumeguid

Issues· 2 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonactive-directorybitlockerdomainpost-exploitation

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言