Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
ExtractBitlockerKeys — 一个系统管理或后渗透脚本,用于从域中自动提取 BitLocker 恢复密钥。 | Kitploit
工具/GitHubGitHub/p0dalirius/extractbitlockerkeys
加密/解密工具数据泄露信息收集后渗透利用
GitHubp0dalirius/extractbitlockerkeys

ExtractBitlockerKeys

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

查看仓库网站
40259467个月前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

一个用于自动从域中提取 BitLocker 恢复密钥的系统管理或后渗透脚本。
GitHub release (latest by date) YouTube Channel Subscribers

功能特性

  • 自动从域控制器的 LDAP 获取所有计算机列表。
  • 多线程连接,从 LDAP 提取 BitLocker 密钥。
  • 迭代 LDAP 结果页面,获取域中所有计算机,无论规模大小。

[!WARNING] 请勿将此备份存储在该域的在线 SMB 共享中。建议打印并物理存放在保险柜中。

  • 以 JSON 格式导出结果,包含计算机 FQDN、域、恢复密钥、卷 GUID、创建时间和组织单位。
  • 以 XLSX 格式导出结果,包含计算机 FQDN、域、恢复密钥、卷 GUID、创建时间和组织单位。
  • 以 SQLITE3 格式导出结果,包含计算机 FQDN、域、恢复密钥、卷 GUID、创建时间和组织单位。

在 Linux 上使用 Python 演示

要从域 domain.local 的所有计算机中提取 BitLocker 恢复密钥,可以使用以下命令:

root@kitploit:~
./ExtractBitlockerKeys.py -d 'domain.local' -u 'Administrator' -p 'Podalirius123!' --dc-ip 192.168.1.101

您将获得如下输出:


在 Windows 上使用 PowerShell 演示

要从域 domain.local 的所有计算机中提取 BitLocker 恢复密钥,可以使用以下命令:

root@kitploit:~
.\ExtractBitlockerKeys.ps1 -dcip 192.168.1.101 -ExportToCSV ./keys.csv -ExportToJSON ./keys.json

您将获得如下输出:


用法

root@kitploit:~
$ ./ExtractBitlockerKeys.py -h
ExtractBitlockerKeys.py v1.1 - by Remi GASCOU (Podalirius)

usage: ExtractBitlockerKeys.py [-h] [-v] [-q] [-t THREADS] [--export-xlsx EXPORT_XLSX] [--export-json EXPORT_JSON] [--export-sqlite EXPORT_SQLITE] --dc-ip ip address [-d DOMAIN] [-u USER]
                               [--no-pass | -p PASSWORD | -H [LMHASH:]NTHASH | --aes-key hex key] [-k]

options:
  -h, --help            show this help message and exit
  -v, --verbose         Verbose mode. (default: False)
  -q, --quiet           Show no information at all.
  -t THREADS, --threads THREADS
                        Number of threads (default: 4).

Output files:
  --export-xlsx EXPORT_XLSX
                        Output XLSX file to store the results in.
  --export-json EXPORT_JSON
                        Output JSON file to store the results in.
  --export-sqlite EXPORT_SQLITE
                        Output SQLITE3 file to store the results in.

Authentication & connection:
  --dc-ip ip address    IP Address of the domain controller or KDC (Key Distribution Center) for Kerberos. If omitted it will use the domain part (FQDN) specified in the identity parameter
  -d DOMAIN, --domain DOMAIN
                        (FQDN) domain to authenticate to
  -u USER, --user USER  user to authenticate with

Credentials:
  --no-pass             Don't ask for password (useful for -k)
  -p PASSWORD, --password PASSWORD
                        Password to authenticate with
  -H [LMHASH:]NTHASH, --hashes [LMHASH:]NTHASH
                        NT/LM hashes, format is LMhash:NThash
  --aes-key hex key     AES key to use for Kerberos Authentication (128 or 256 bits)
  -k, --kerberos        Use Kerberos authentication. Grabs credentials from .ccache file (KRB5CCNAME) based on target parameters. If valid credentials cannot be found, it will use the ones specified in the command line.

贡献

欢迎提交拉取请求。如果您想添加其他功能,请随时提出问题。

参考

  • 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
下载工具