Alpha Cyber
BlogTLP:CLEAR

Setting Up and Using BloodHound for Active Directory Security

BloodHound is a powerful tool for identifying and mapping attack paths within Active Directory environments.

Alpha Cyber Research3 min readupdated 3 Nov 2025
Bloodhound

Guide to Installing and Playing with BloodHound

BloodHound is a powerful tool for identifying and mapping attack paths within Active Directory environments. It helps security professionals understand potential escalation paths that an attacker could exploit to gain privileged access in a network. This guide will walk you through the process of installing and using BloodHound for Active Directory enumeration, as well as how to collect data using SharpHound and BloodHound Python.

1. Update and Upgrade Your System

Before installing any tools, it’s always a good idea to ensure that your system is up to date. Run the following commands to update and upgrade your system:

sudo apt update -y && sudo apt full-upgrade -y

This ensures that your system has the latest security patches and updates.

Bloodhound APT Installation

2. Install Docker

BloodHound can be easily set up using Docker, which simplifies the installation and running of the tool in an isolated environment. To install Docker, use the following command:

sudo apt install docker.io docker-compose

After installation, start and enable the Docker service to ensure it runs after a reboot:

sudo systemctl start docker
sudo systemctl enable docker

Bloodhound Starting Docker

3. Download and Install BloodHound

Once Docker is set up, create a directory and download the latest release of BloodHound CLI:

mkdir bloodhound && wget https://github.com/SpecterOps/bloodhound-cli/releases/latest/download/bloodhound-cli-linux-amd64.tar.gz
tar -xzf ./bloodhound-cli-linux-amd64.tar.gz
rm bloodhound-cli-linux-amd64.tar.gz

This will extract the BloodHound CLI and remove the tarball to keep things tidy.

4. Install and Run BloodHound

Now, you’re ready to install BloodHound using Docker. Simply run:

sudo ./bloodhound-cli install

Bloodhound Install

This will spin up the BloodHound container, and you can access the web interface via http://localhost:8080.

5. Web Interface Access

To interact with BloodHound through the web interface, open your browser and go to:

http://localhost:8080

The default credentials for logging into the interface are:

username: admin

password: check the console

Bloodhound Login

6. Data Collection with SharpHound

BloodHound relies on SharpHound for data collection, which is responsible for gathering information about the Active Directory environment. On your Windows machine, you can run SharpHound with the following command to collect data:

.\SharpHound.exe -d windomain.local -c All --Stealth --OutputDirectory C:\temp\ -v

This command performs a full enumeration (-c All), making it stealthy and saving the output to C:\temp\.

7. Remote Data Collection with BloodHound Python

You can also collect data remotely using BloodHound Python. Here’s how to collect data from a remote Kali machine:

bloodhound-python -u Administrator -p 'AdministratorPass' -d windomain.local -dc winserver.windomain.local -c All

This command uses your provided username and password to collect data about the Active Directory from a remote server (winserver.windomain.local).

Bloodhound Admin Pass

8. Uploading Data Collection via the BloodHound UI (Administration)

After collecting data with SharpHound or bloodhound-python, the next step is importing that data into the BloodHound web UI for visualization and analysis. Here’s how to upload the data and what to expect:

Accepted formats

  • SharpHound produces .zip archives (recommended) or individual .json files. BloodHound accepts both; .zip is the easiest for multi-file uploads.

Steps to upload:

  1. Navigate to the Administration section in the top navigation bar.

  2. Select Upload Data (this may also appear as Ingest or Import depending on the UI version).

  3. Either:

    • Drag-and-drop the SharpHound .zip file into the upload area, or

    • Click Choose File and select the .zip / .json file(s).

  4. Click Upload (or Ingest). The UI will display the progress and provide success or failure feedback upon completion.

  5. Once uploaded, navigate to the Queries or Database view and refresh (or re-log in) to view the newly ingested nodes/edges and start your analysis.

Boodhound Admin page

What you’ll see after upload:

  • Uploaded nodes (users, computers, groups, trusts) will appear in the graph and database.

  • New collection timestamps and source metadata will be shown in the dataset list.

  • You can immediately run pre-built queries (e.g., “Shortest Paths to High Value Targets,” “Find Domain Admins,” “Kerberoastable Accounts”).

  • All Active Directory domain Admins

BloodHound Domain Admins

Recommended Immediate Actions:

  • Run the “All Paths to Domain Admins” query or equivalent high-value queries to prioritize risk quickly.

  • Use filters to focus on high‑privilege or recent findings (e.g., accounts with delegated rights or unconstrained delegation).

  • Export critical findings (CSV/graph) for your reports or remediation tracking.

Keep reading

Related research

Meta AI Glasses Privacy Scandal
Blog

Meta AI Oakley Glasses Privacy Fiasco

For years, cybersecurity professionals warned that the biggest privacy threats wouldn’t look like threats at all. They would look like convenience. Smart speakers. Smart cameras.

3 min read

Contact

Talk to someone who has seen this before.

You speak directly to the people doing the work, wherever in the world you operate.

Or email [email protected]