| name | bloodhound-query |
| description | BloodHound ingestion + canonical Cypher queries for AD attack-path enumeration. Run after collector dumps zip; promotes findings into the knowledge graph. |
| metadata | {"subdomain":"active-directory","when_to_use":"bloodhound cypher query shortest path kerberoastable unconstrained delegation","mitre_attack":["T1087.002","T1018","T1482"]} |
BloodHound Query Playbook
1. Collect
bloodhound-python -u USER -p 'PASS' -d DOMAIN -c all --zip --dns-tcp \
-ns DC_IP -o /workspace/bh.zip
If bloodhound-python errors on TLS, add -gc gc.domain.local for the
global catalog FQDN.
2. Ingest into Decepticon KG
bh_ingest_zip("/workspace/bh.zip")
This populates User / Computer / Group / GPO / OU nodes with attribute
properties (hasspn, dontreqpreauth, enabled, admincount, sidhistory).
3. Canonical Cypher queries
Run via bh_cypher("<query>") or post-process kg_query(kind=...):
| Goal | Cypher |
|---|
| Owned principals | MATCH (u) WHERE u.owned=true RETURN u.name |
| Shortest path to DA |