mapping-attack-paths-with-bloodhound-ce
यह क्या करती है
यह टूल कंप्यूटर नेटवर्क में उन छिपे रास्तों को ढूंढने में मदद करता है जिनका इस्तेमाल हैकर महत्वपूर्ण सिस्टम तक पहुंचने के लिए कर सकते हैं। यह दिखाता है कि users और computers आपस में कैसे जुड़े हैं और उनके पास कौन-सी permissions हैं।
कब इस्तेमाल करें
- ✓जब आप अनुमति के साथ किसी नेटवर्क की security testing कर रहे हों।
- ✓यह पता लगाने के लिए कि हमलावर और ज़्यादा access कैसे पा सकता है।
- ✓local और cloud सिस्टम मिले हुए नेटवर्क में जोखिम समझने के लिए।
Skill का लिंक
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/mapping-attack-paths-with-bloodhound-ce/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे administrator बनने के सबसे छोटे रास्ते दिखाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह local और cloud नेटवर्क में users और permissions की जानकारी इकट्ठा करने वाले प्रोग्राम चलाता है। फिर इस जानकारी को एक visual map में व्यवस्थित करता है, जिससे संभावित attack routes साफ़ दिखते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Mapping Attack Paths with BloodHound CE
Legal Notice: This skill is for authorized security testing, red-team engagements, and educational purposes only. Active Directory and Entra ID reconnaissance reveals privilege-escalation chains that lead to full domain/tenant compromise. Use only against environments you own or have explicit written authorization (rules of engagement) to test. Unauthorized use violates the Computer Fraud and Abuse Act and equivalent laws.
Overview
BloodHound Community Edition (CE) is SpecterOps's graph-based attack-path-management platform. It models security principals (users, computers, groups, OUs, GPOs, Entra ID users/groups/apps/roles) as nodes and the permissions, group memberships, sessions, trusts, and ACLs between them as edges. By framing Active Directory and Entra ID as a directed graph, BloodHound turns the question "can this low-privileged account reach Domain Admins / Global Administrator?" into a shortest-path query that finds escalation chains a human reviewer would miss.
BloodHound CE replaced the legacy Neo4j-only BloodHound with a containerized stack: a Go API server, a PostgreSQL relational store, and a Neo4j graph database, all behind a modern web UI and REST API. Data is gathered by two collectors maintained by SpecterOps:
- SharpHound (the CE/.NET collector, run on or against a domain-joined Windows host) gathers on-prem AD: objects, group membership, ACLs, sessions, local-admin rights, trusts, GPOs, certificate services (ADCS), and LAPS readability. It emits a ZIP of JSON.
- AzureHound (a cross-platform Go binary) gathers Entra ID and Azure Resource Manager data via the Microsoft Graph and Azure REST APIs: users, groups, app registrations, service principals, directory roles, subscription/role assignments, and key vaults. It emits a single JSON file.
As of recent CE releases, when both an AD domain and its synced Entra ID tenant are ingested, BloodHound automatically renders Hybrid Attack Paths — chains that cross the on-prem/cloud boundary (for example, an on-prem user synced to a cloud account that holds a privileged Entra role). Mapped to MITRE ATT&CK, the core activity is T1069 – Permission Groups Discovery, supported by T1087 (Account Discovery), T1482 (Domain Trust Discovery), and T1018 (Remote System Discovery).
When to Use
- During an authorized internal penetration test or red-team engagement after obtaining any domain foothold or Entra credentials
- When you need to prioritize escalation routes from owned principals to Tier-0 assets (Domain Admins, Global Administrator)
- When assessing hybrid identity risk where on-prem AD is synced to Entra ID
- During purple-team exercises to validate that detections fire on collection and on path-execution steps
- When producing attack-path evidence and remediation guidance for a defensive client
Prerequisites
- Authorized scope covering AD/Entra reconnaissance
- A foothold: any valid domain user (for SharpHound) and/or valid Entra credentials or a token (for AzureHound)
- Docker + Docker Compose on the analysis workstation
- The collectors:
# Deploy BloodHound CE (pulls Postgres, Neo4j, and the BloodHound API) curl -L https://ghst.ly/getbhce -o docker-compose.yml docker compose pull docker compose up -d # Reveal the randomly generated initial admin password docker compose logs bloodhound | grep -i "Initial Password" # AzureHound (download the release binary for your OS from the GitHub releases page) # https://github.com/SpecterOps/AzureHound/releases chmod +x ./azurehound # SharpHound CE collector: download SharpHound.zip from the BloodHound CE # web UI (Administration -> Download Collectors), transfer to a domain-joined host.
Objectives
- Deploy BloodHound CE and authenticate to the web UI and API
- Collect AD data with SharpHound and Entra data with AzureHound
- Ingest both datasets and mark compromised principals as Owned
- Run built-in analysis (Shortest Path to Domain Admins, Kerberoastable accounts, ADCS abuse)
- Author custom Cypher queries for bespoke and hybrid attack paths
- Prioritize and document escalation routes for the engagement report
MITRE ATT&CK Mapping
| ID | Technique | Application in this skill |
|---|---|---|
| T1069 | Permission Groups Discovery | Enumerating AD/Entra group memberships and the permissions between principals to build the attack graph |
…
अक्सर पूछे जाने वाले सवाल
'attack paths' क्या होते हैं?
ये वे steps होते हैं जिन्हें हमलावर सीमित access से शुरू करके किसी सिस्टम या नेटवर्क पर पूरा नियंत्रण पाने के लिए एक के बाद एक अपना सकता है।
क्या इसे इस्तेमाल करने के लिए security expert होना ज़रूरी है?
नेटवर्क और security की बुनियादी जानकारी होना अच्छा रहता है, क्योंकि यह टूल अधिकृत security testing के लिए बनाया गया है।
क्या मैं इसे किसी भी नेटवर्क पर इस्तेमाल कर सकता हूं?
नहीं, इस टूल को सिर्फ़ उन्हीं नेटवर्क पर इस्तेमाल करें जो आपके अपने हों या जिनकी जांच के लिए आपके पास लिखित अनुमति हो।
जानकारी
लेखक का मूल विवरण
Collect Active Directory data with SharpHound and Entra ID data with AzureHound, ingest into BloodHound Community Edition, and analyze on-prem, cloud, and hybrid attack paths using built-in queries and custom Cypher. Use during authorized red-team or penetration-test engagements to map privilege-escalation chains toward domain/tenant compromise.
लोकप्रियता
- GitHub स्टार
- 35k
- रैंकिंग में स्थान
- #8158
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 31/8/2026
कमेंट
- …
इस repository की और skills
abusing-dpapi-for-credential-access
35kआपके AI एजेंट को किसी खास काम के लिए तैयार instructions देता है, ताकि वह उसे बेहतर और तेज़ी से कर सके।
abusing-shadow-credentials-for-privesc
35kआपके AI एजेंट को साफ़ और अच्छी तरह से व्यवस्थित लिखना सिखाता है।
achieving-cmmc-level-2-compliance
35kयह आपके एजेंट को CMMC Level 2 compliance के लिए environment तैयार करने में मदद करता है। यह security requirements लागू करता है और ज़रूरी documentation संभालता है।
acquiring-disk-image-with-dd-and-dcfldd
35kआपके एजेंट को hard drives की exact copies बनाने में मदद करता है। जाँच के दौरान किसी भी जानकारी के खोने या बदलने से बचाने के लिए यह उपयोगी है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।