Skip to main content

Accessing the Interface

http://localhost:8080/ui/login

Container Management

Start BloodHound CE.
docker compose up -d
Stop BloodHound CE.
docker compose down
View running containers.
docker compose ps
View logs.
docker compose logs -f
View logs for a specific service.
docker compose logs -f bloodhound

Initial Credentials

Get the randomly generated admin password from logs.
docker compose logs | grep "Initial Password Set To:"

Reset Admin Password

bloodhound-cli is a standalone host binary (it drives Docker Compose from outside the containers), and the subcommand is resetpwd:
./bloodhound-cli resetpwd

Importing Data

Upload zip file via API.
curl -X POST http://localhost:8080/api/v2/file-upload/start \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json"
curl -X POST http://localhost:8080/api/v2/file-upload/<job-id> \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/zip" \
  --data-binary @BloodHound.zip
curl -X POST http://localhost:8080/api/v2/file-upload/<job-id>/end \
  -H "Authorization: Bearer <token>"

API Authentication

Get a Bearer token.
curl -X POST http://localhost:8080/api/v2/login \
  -H "Content-Type: application/json" \
  -d '{"login_method":"secret","secret":"<password>","username":"admin"}'

References