pentesting, updated

BloodHound

Graph-based AD attack path analysis tool: collects object/permission data and finds concrete paths to Domain Admin.

What it’s for

Turn raw AD enumeration into a queryable graph, so you can ask “what is the shortest path from this low-privilege account to Domain Admin” directly instead of chaining enumeration by hand.

Install

# collector (pick one):
pip install bloodhound                      # bloodhound-python, runs from Linux
# SharpHound.exe — download the matching collector release from BloodHound's GitHub

# UI (BloodHound CE):
docker compose -f docker-compose.yml up      # see the BloodHound CE repo for the compose file

Common commands

bloodhound-python -u jdoe -p Password1 -d corp.local -ns 10.10.10.5 -c All   # full collection, from Linux
SharpHound.exe -c All,GPOLocalGroup                                            # from a domain-joined host
SharpHound.exe -c All --Stealth                                                 # quieter, fewer sessions enumerated

In the UI, start with the built-in “Shortest Paths to Domain Admins” and “Find Principals with DCSync Rights” queries before writing custom Cypher.

Useful flags

Collection methodEffect
AllEvery collection method (sessions, ACLs, group membership, trusts, GPOs)
--StealthSkip the noisiest methods (session enumeration via multiple techniques)
DCOnlyCollect only from the domain controller via LDAP, no host-touching

Notes

DCOnly collection is far quieter on a monitored engagement — it misses local admin session data, but covers ACLs, group membership and most attack paths.

Used in

§ home
~/knubertus/home/
1,1 Top