Post Exploitation
BloodHound uses graph theory to reveal the hidden and often unintended relationships within an Active Directory or Azure environment, allowing attackers or defenders to identify complex attack paths.
sudo apt install bloodhound
bloodhound [options]
BloodHound uses graph theory to reveal hidden and unintended relationships in Active Directory environments. It maps objects as nodes and permissions as edges, enabling security professionals to identify complex attack paths.
By collecting data from domain controllers and workstations, BloodHound visualizes the shortest path to Domain Admin, highlighting ACL abuses, group nesting issues, and privilege escalation opportunities.
bloodhoundLaunch the BloodHound graphical user interfacesudo neo4j consoleStart the Neo4j database in the foregroundsudo neo4j startStart the Neo4j database as a background servicesudo neo4j stopStop the running Neo4j database serviceSharpHound.exe -c AllCollect all AD data from a domain-joined Windows hostSharpHound.exe -c DCOnlyCollect data by querying only the domain controller (stealthier)SharpHound.exe -c ACL,Group,SessionRun a targeted collection of specific data categoriesSharpHound.exe -d corp.localSpecify the target domain to enumerateSharpHound.exe --zipfilename lootSet a custom name for the output ZIP archiveSharpHound.exe --Loop --Loopduration 02:00:00Continuously collect session data over a time windowbloodhound-python -d corp.local -u user -p pass -c AllCollect AD data remotely from Linux with the Python ingestorbloodhound-python -d corp.local -u user -p pass -ns 10.0.0.1 -c AllCollect via a specified name server (domain controller IP)AzureHound.exe -u user@tenant -p pass listCollect Azure AD / Entra ID data with AzureHoundazurehound -u user@tenant -p pass list -o output.jsonRun AzureHound on Linux and write results to JSONpython3 -m http.serverServe loot files to move the ZIP to your analysis hostVisualize AD privilege escalation paths.
Find overly permissive ACLs and delegations.
Identify AS-REP roastable and Kerberoastable users.
Map Azure AD relationships and privileges.
The tool generates an interactive visual graph. Dots represent network objects, and connecting lines show the rights they have over each other. Highlighted paths map out exact steps to escalate privileges.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.