BloodHound - Six Degrees Of Domain Admin
BloodHound is a monolithic web application composed of an embedded React frontend with Sigma.js and a Go based REST API backend. It is deployed with a Postgresql application database and a Neo4j graph database, and is fed by the SharpHound and AzureHound data collectors.
BloodHound uses graph theory to reveal the hidden and often unintended relationships within an Active Directory or Azure environment. Attackers can use BloodHound to easily identify highly complex attack paths that would otherwise be impossible to identify quickly. Defenders can use BloodHound to identify and eliminate those same attack paths. Both blue and red teams can use BloodHound to easily gain a deeper understanding of privilege relationships in an Active Directory or Azure environment.
BloodHound CE is created and maintained by the BloodHound Enterprise Team. The original BloodHound was created by @_wald0, @CptJesus, and @harmj0y.
The easiest way to get up and running is to use our pre-configured Docker Compose setup. The following steps will get BloodHound CE up and running with the least amount of effort.
- Install Docker Compose and ensure Docker is running. This should be included with the Docker Desktop installation
- Run
curl -L https://ghst.ly/getbhce | docker compose -f - up
- Locate the randomly generated password in the terminal output of Docker Compose
- In a browser, navigate to
http://localhost:8080/ui/login
. Login with a username ofadmin
and the randomly generated password from the logs
NOTE: going forward, the default docker-compose.yml
example binds only to localhost (127.0.0.1). If you want to access BloodHound outside of localhost, you'll need to follow the instructions in examples/docker-compose/README.md to configure the host binding for the container.
Installation Error Handling
- If you encounter a "failed to get console mode for stdin: The handle is invalid." ensure Docker Desktop (and associated Engine is running). Docker Desktop does not automatically register as a startup entry.
- If you encounter an "Error response from daemon: Ports are not available: exposing port TCP 127.0.0.1:7474 -> 0.0.0.0:0: listen tcp 127.0.0.1:7474: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted." this is normally attributed to the "Neo4J Graph Database - neo4j" service already running on your local system. Please stop or delete the service to continue.
# Verify if Docker Engine is Runningdocker info# Attempt to stop Neo4j Service if running (on Windows)Stop-Service "Neo4j" -ErrorAction SilentlyContinue
- A successful installation of BloodHound CE would look like the below:
https://github.com/SpecterOps/BloodHound/assets/12970156/ea9dc042-1866-4ccb-9839-933140cc38b9
Useful Links
- BloodHound Slack
- Wiki
- Contributors
- Docker Compose Example
- BloodHound Docs
- Developer Quick Start Guide
- Contributing Guide
Contact
Please check out the Contact page in our wiki for details on how to reach out with questions and suggestions.
Via: www.kitploit.com