0xbbuddha/BashHound

GitHub: 0xbbuddha/BashHound

BashHound 是一个用 Bash 编写的 BloodHound 数据收集器,用于在 Linux 环境下采集 Active Directory 数据并生成可供 BloodHound 分析的 JSON 文件。

Stars: 14 | Forks: 1

BashHound Logo # BashHound **用 Bash 编写的适用于 BloodHound 的 Active Directory 数据收集器** [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![BashHound](https://img.shields.io/badge/Tool-BashHound-00E68E.svg)](https://github.com/0xbbuddha/BashHound) *Bash • 快速 • 隐蔽*
## 描述 BashHound 是一个用 Bash 编写的 BloodHound 数据收集器,其灵感来源于 [RustHound](https://github.com/NH-RED-TEAM/RustHound) 和 [SharpHound](https://github.com/SpecterOps/SharpHound)。它专为兼容 Linux 而设计。它能够生成所有可由 BloodHound 进行分析的 JSON 文件。 BashHound 的创建是出于技术挑战的目的,而非为了实际应用。尽管该工具可以运行,但它并不完整,对于高级用途而言也并非完全可用。我们将定期发布更新以改进它,并使其功能日益完善。 ## 使用方法 ### 标准 ``` bashhound -d -u -p -s ``` ### 选项 ``` -c, --collection METHOD Collection Methods: All - Collects all data (default) DCOnly - Collects only from the DC (no sessions) Session - Collects only sessions Trusts - Collects only trusts ACL - Collects only ACLs Group - Collects only group memberships --zip-only Deletes JSON files after creating the ZIP file --port PORT LDAP port (default: 389 for LDAP, 636 for LDAPS) --ldaps Use LDAPS (TLS) - equivalent to --port 636 --no-tls Force LDAP without TLS even on port 636 ``` ## 免责声明
所有测试均在 Hack The Box 的 DarkZero 机器上进行。代码中已添加“TODO”注释,以便使其兼容任何服务器。
## 相关项目 - [RustHound](https://github.com/NH-RED-TEAM/RustHound) - 用 Rust 编写的 BloodHound 收集器 - [SharpHound](https://github.com/SpecterOps/SharpHound) - 用 C# 编写的官方 BloodHound 收集器 - [BloodHound](https://github.com/BloodHoundAD/BloodHound) - Active Directory 关系分析工具
使用 Bash 制作
标签:Active Directory, Bash, BloodHound, Checkov, LDAP, Plaso, 应用安全