Skip to content

BloodHound: Mapping Active Directory Attack Paths

Last updated: 27 November 2026

BloodHound explained: how it maps Active Directory attack paths to Domain Admin, what Community Edition changed, and how defenders use it to cut paths.

Mark KissBy , Founder & CEOUpdated 15 min read

Active Directory Security AssessmentFrom $6,000Fixed scope, free retest, no hourly billing.

Get my fixed price

BloodHound is a free, open-source tool that maps Active Directory and Entra ID relationships as a graph and finds the shortest path from any account to Domain Admin. Its collector, SharpHound CE, gathers the data with collection methods such as Default, DCOnly and Session. Pentesters use it to plan; defenders use it to cut paths. Run it only where authorized.

BloodHound answers a question that is almost impossible to answer by hand: given a foothold anywhere in your Active Directory, what is the path to full control? It collects the relationships in your AD (who is an admin where, which accounts can reset which passwords, which groups nest inside which) and draws them as a graph. Then it finds the shortest path from any starting point to Domain Admin. Attackers use it to plan; defenders use it to see the paths before attackers walk them.

It is one of the most important tools in modern Active Directory security, because it exposes risk that is invisible in any other view.

The problem it solves

Active Directory in a real organization is a dense web of permissions accumulated over years: nested groups, delegated rights, service accounts, legacy access nobody remembers granting. No administrator holds this in their head, and no console shows it as a whole. The dangerous consequence is that a chain of individually reasonable permissions can add up to a path a normal user can follow all the way to Domain Admin, one privilege escalation at a time. And nobody realizes the chain exists.

BloodHound makes that chain visible. It turns “we think our AD is reasonably locked down” into a map you can actually inspect.

How it works

Collection. A collector (SharpHound, or its equivalents) gathers data from AD: users, groups, computers, sessions, permissions (ACLs), group memberships, and trust relationships. Much of this is readable by any authenticated user, which is itself part of the point: an attacker with any foothold can gather it.

Analysis. BloodHound loads that data into a graph database and represents it visually: nodes are users, groups, and computers; edges are relationships like “is a member of,” “can reset the password of,” “has admin rights on,” or “has a session on.” Each edge is a potential step in an attack. BloodHound gives every relationship a fixed edge name, such as MemberOf, AdminTo, HasSession, GenericAll and WriteDacl.

Path-finding. The decisive feature: pick any node and ask for the shortest path to Domain Admin (or any other target). BloodHound computes the route through the graph: “this ordinary user can reset that account’s password, which is in a group that admins these servers, one of which has a Domain Admin session to steal.” It finds in seconds what would take a human days, if they found it at all.

SharpHound CE collection methods and flags

SharpHound CE is SpecterOps’ official collector for BloodHound CE. Run with no flags (SharpHound.exe), it finds your domain and a domain controller itself and writes a zip of JSON files that you upload to BloodHound. Collecting is controlled by the collection method, which decides what it reads and from where. These are the ones that matter most, from the SharpHound CE flags documentation:

Collection method What it collects Notes
Default Group memberships, trusts, abusable AD and AD CS permissions, OU structure, GPO links, sites, key object properties, local groups on domain-joined Windows systems and user sessions Used when you pass no method
All Every collection method The most complete and the noisiest run
DCOnly Groups, trusts, ACLs, OUs, GPO links, sites and key properties, taken from the domain controller alone Does not touch other domain-joined systems
ComputerOnly Sessions, local groups, user rights and registry data from domain-joined systems Leaves out the DCOnly data
Session User sessions only Often paired with --Loop
LoggedOn Sessions, using the privileged method Best when you have local admin on many systems
ACL Abusable permissions on AD objects One of the data sets behind the edges below
LocalGroup Local Administrators, Remote Desktop Users, Distributed COM Users and Remote Management group members A bundle of LocalAdmin, RDP, DCOM and PSRemote
CertServices AD CS objects from Certificate Services Feeds the certificate paths covered below

The flags used most often:

Flag What it does
--CollectionMethods (-c) Chooses the method or methods above
--Domain (-d) Sets the target domain; DNS must resolve within it
--Loop (-l) Repeats the computer-based methods; --LoopDuration sets how long (default 2 hours) and --LoopInterval the pause between loops
--Stealth Touches only the systems most likely to hold the data, and drops AzureRegistry and other computer-based methods
--SearchForest (-s) Collects every domain in the forest
--ZipFileName Names the output zip

Documentation read 2026-11-27. The method list changes between releases, so check it against the SharpHound version you run.

How to map attack paths in Active Directory with BloodHound CE

The short answer for “how do I map attack paths in Active Directory”: collect, load, ask for the path, then fix and collect again.

  1. Install BloodHound CE. SpecterOps’ quickstart uses Docker Desktop and the BloodHound CLI (bloodhound-cli install); you then log in as admin at http://localhost:8080/ui/login, where the default configuration binds only to localhost.
  2. Get the collector from the Download Collectors menu in the BloodHound CE interface, and run SharpHound.exe from a domain-joined Windows system.
  3. Upload the zip with Quick Upload. BloodHound CE accepts .zip archives or JSON files.
  4. Pick a starting account and ask for the shortest path to Domain Admin or another high-value target. The edges table below says what each step means and how to break it.
  5. Remove the permission, group nesting or session exposure that appears on the most paths, collect again and compare. Repeat until the starting accounts you care about have no path.

BloodHound CE is built for time-bound engagements and manual setup. For continuous attack path management across a large environment, SpecterOps sells BloodHound Enterprise (see the comparison in the FAQ below).

Common BloodHound edges and how to fix them

These are the edges that appear most often on a path to Domain Admin. The meanings follow the BloodHound edge documentation.

Edge What it means The fix
MemberOf The user or group belongs to a group and inherits its rights Remove nesting nobody needs; keep privileged groups small
AdminTo The principal is a local administrator on the computer Remove standing local admin rights from users and broad groups
HasSession A user has a logon session on the computer, so credential material may be in memory there Keep privileged accounts off ordinary workstations and servers
ForceChangePassword The principal can reset the target user’s password without knowing the current one Remove the delegated reset right, or limit it to standard users
GenericAll Full control of the target object Remove the permission and grant only the specific right that is needed
WriteDacl The principal can change the object’s access control list and so grant itself any right on it Remove the permission and review who owns the object

An example path reads like this: a helpdesk user is MemberOf a support group; that group has ForceChangePassword over a service account; the service account is AdminTo a file server; a Domain Admin HasSession on that server. Four edges, none of them a vulnerability by itself. Breaking any one of them breaks the path.

BloodHound Community Edition: what changed

If you last looked at BloodHound years ago, the tool has moved on. The version in use today is BloodHound Community Edition (CE), maintained by SpecterOps, which also sells the commercial BloodHound Enterprise. As of 27 November 2026 the latest release is v9.10.1, published 19 November 2026 on the SpecterOps releases page, and the repository is licensed under Apache-2.0:

Original BloodHound BloodHound CE
Delivery Desktop application Web application run in Docker containers
Storage Neo4j graph database PostgreSQL application database plus a Neo4j graph database
Collectors SharpHound, AzureHound SharpHound CE for Active Directory, AzureHound CE for Entra ID and Azure
Scope Active Directory and Azure AD and Azure, extended to other platforms through OpenGraph
Status BloodHound Legacy (version 4, last updated in 2023) is deprecated and no longer maintained Actively developed, frequent releases

The practical point for defenders: collectors are edition-specific. SpecterOps’ quickstart names SharpHound CE and AzureHound CE, and community collectors publish separate CE builds, so if your team runs BloodHound internally, match the collector to the edition and keep both current. For the cloud side that AzureHound collects, our Azure guide covers Azure and Entra ID attack paths.

What its findings reveal

A BloodHound-driven finding usually describes an attack path rather than a single flaw, and each points to something specific to fix:

  • Short paths from ordinary users to Domain Admin, the headline finding. A low-privilege account should not be a few hops from total control. Each hop is a permission to review.

  • Dangerous ACLs: accounts with rights to reset passwords, modify group membership, or alter objects they have no business touching, often through forgotten delegation.

  • Excessive local admin rights: users who are administrators on far more machines than their role requires, widening every attack.

  • Kerberoastable and high-value accounts on the path: service accounts whose compromise (see Impacket’s GetUserSPNs) unlocks a step toward the goal.

  • Credential-exposure through sessions: where a high-privilege account is logged on to a machine a lower-privilege attacker can reach, and a tool such as Mimikatz can lift the credential from memory.

  • Certificate services on the path: a misconfigured certificate template can be a step toward Domain Admin as well; see AD CS attack paths with Certipy.

The value is that these are relationships, not missing patches. No vulnerability scanner finds them, because nothing is technically broken. The risk is in how the permissions combine.

From attacker’s map to defender’s tool

BloodHound is genuinely dual-use, and the defensive use is powerful. Run against your own directory, it lets you:

  • Find and cut the paths to Domain Admin before an attacker does. Domain Admin is the end state that lets an attacker forge a golden ticket and stay in the domain, so every path removed counts. Removing an ACL, un-nesting a group, or reducing local admin rights can delete an entire attack path at once.

  • Measure your AD’s exposure: how many users can reach Domain Admin, and how quickly. That is a concrete, trackable security metric.

  • Prioritize: fix the permissions that appear on the most paths first, for the greatest reduction in risk per change.

This is why an AD-focused penetration test does not just use BloodHound to attack. It hands you the graph so your team can keep closing paths after the engagement ends. Our Active Directory hardening checklist covers the settings to check alongside it.

How to detect BloodHound and SharpHound collection

Collection is quiet in the sense that it uses normal directory protocols, but it has a recognizable shape. These are the signals to build detections on:

  • LDAP query volume. One account reading every user, group, computer, permission and trust from a domain controller within minutes is not normal user behavior. Microsoft Defender for Identity raises Security principal reconnaissance (LDAP) for this kind of enumeration, and User and Group membership reconnaissance (SAMR) for the equivalent SAM-R queries.

  • Session and local group enumeration. To build HasSession and AdminTo edges, a collector has to ask many computers who is logged on and who is in the local Administrators group. One workstation opening SMB connections to hundreds of hosts in a short window is the signal.

  • Decoy accounts. Create an account that nobody uses and alert on any query for it. Defender for Identity has a built-in alert, Honeytoken was queried via LDAP. Without it, set an audit entry (SACL) on the decoy object and watch for Event ID 4662, which a domain controller logs only when an operation matches a SACL set on the object.

  • Do not rely on the file name. Catching a binary called SharpHound is easy and proves little, because the same data can be collected by other tools that speak LDAP. Detect the behavior, not the tool.

A penetration test that includes BloodHound collection is also a test of these detections. If the collection ran and nothing alerted, that belongs in the report.

How we use it in an engagement

BloodHound is central to the analysis phase of Active Directory attacks in internal network penetration testing and red team assessments. After an initial foothold, often obtained with Responder or a Kerbrute password spray, BloodHound plans the route to the objective, and tools like NetExec and Impacket walk it, one lateral movement hop at a time. In the report, the BloodHound graph is often the single most useful artifact, because it shows your team exactly which relationships to sever. BloodHound sits beside the other tools in our penetration testing tools guide.

On our engagements, collection starts from the standard user account agreed at scoping and stays inside the domain named in the rules of engagement. The graph is then checked by hand: a path only becomes a finding once we have shown it works. Fixes are ranked by how many attack paths each one breaks, so the first change you make removes the most risk.

What a BloodHound assessment delivers

A BloodHound assessment is the defensive version of the same work, run with your agreement against your own directory. It delivers:

  1. The attack paths from ordinary users to Domain Admin and other high-value targets, each one checked by hand.

  2. The specific permissions, group memberships and sessions to remove, ranked by how many paths each change breaks.

  3. The collected graph, so your team can reload it, confirm the fixes and keep measuring.

On our side this is the core of the Active Directory security assessment, which starts at $6,000.

Frequently asked questions

Is BloodHound free? BloodHound Community Edition is open source and published by SpecterOps on GitHub. SpecterOps’ documentation says it is “free, open-source, and focused on enabling penetration testers and red teams,” and the repository is under the Apache-2.0 license (read 2026-11-27). BloodHound Enterprise is SpecterOps’ commercial product. SpecterOps’ Community Edition page states no price for Enterprise.

Is it legal to run BloodHound on my own network? Yes, when you own the directory or have written authorization to test it. It reads data that any authenticated user can read, but running it without approval can breach company policy, and running it against someone else’s network without permission is unauthorized access.

What is the difference between BloodHound CE and BloodHound Enterprise? SpecterOps positions Community Edition for penetration testers and researchers, with manual setup and data collection for time-bound engagements. Enterprise is aimed at security and identity teams, with automated deployment and continuous attack path management.

What is BloodHound? A tool that uses graph theory to show the relationships in Active Directory and Entra ID that attackers can chain into a path to full control. A collector reads the directory, BloodHound CE stores the result in a graph database, and you ask it for the shortest path from any account to Domain Admin.

What is BloodHound AD? The same tool. “BloodHound AD” is how many searches name BloodHound’s Active Directory use: SharpHound CE collects from AD, and BloodHound CE shows the attack paths. AzureHound CE does the same for Entra ID and Azure.

What is SharpHound and which collection method should I use? SharpHound CE is the official collector for BloodHound CE. Use Default for most engagements, DCOnly when you want to query only the domain controller, Session with --Loop to catch where privileged users log on over time, and All only when you want everything and accept the extra noise. The methods are in the table above.

What is a BloodHound assessment? A review in which someone collects your directory data with SharpHound, loads it into BloodHound, checks the attack paths to Domain Admin by hand and hands you the graph and a ranked list of permissions to remove. What a BloodHound assessment delivers lists the output, and our Active Directory security assessment starts at $6,000.

How do I map attack paths in Active Directory? Install BloodHound CE, run SharpHound CE from a domain-joined Windows system, upload the zip, and ask for the shortest path from a starting account to Domain Admin. Then remove the permissions that sit on the most paths and collect again. The five steps above cover each stage; for continuous attack path management, SpecterOps positions BloodHound Enterprise.

Is BloodHound a virus? No. It is a legitimate open-source security tool, but threat actors use it too. MITRE ATT&CK lists BloodHound (S0521) as used by groups including Wizard Spider, APT29, Chimera, TA505, Play and Ember Bear (read 2026-11-27), so an unexpected SharpHound run on your network deserves an investigation.

Can BloodHound map Entra ID and Azure? Yes. AzureHound CE collects from Entra ID and Azure, and BloodHound CE shows those relationships in the same graph as on-premises Active Directory.

The short version

BloodHound maps the tangled web of Active Directory permissions and finds the shortest path from any foothold to Domain Admin: exposing attack paths built from individually reasonable permissions that no console shows as a whole. Its findings are relationships, not missing patches, which is precisely why they hide from scanners and why they matter. And it is a defender’s tool as much as an attacker’s: run against your own AD, it shows you exactly which permissions to cut to delete an attack path entirely.

Want to see the actual paths from an ordinary user to Domain Admin inside your network, and a map for closing them? That analysis is core to every internal penetration test we run, and it is the whole focus of our Active Directory security assessment. Both start at $6,000; see what an internal penetration test costs. Scope one here.

Sources

  • SpecterOps, BloodHound documentation: introduction: BloodHound uses graph theory to reveal relationships in Active Directory and Entra ID; CE is “free, open-source, and focused on enabling penetration testers and red teams”; Enterprise is a managed SaaS for blue teams (read 2026-11-27)
  • SpecterOps, SharpHound CE flags and collection methods: the methods and flags in the tables above (read 2026-11-27)
  • SpecterOps, SharpHound CE: the official collector for BloodHound CE; default run with no flags; output is a zip of JSON files (read 2026-11-27)
  • SpecterOps, BloodHound CE quickstart: Docker and bloodhound-cli install, login at localhost:8080, Download Collectors, Quick Upload (read 2026-11-27)
  • SpecterOps, BloodHound Community Edition: Community Edition for pen testers and researchers, manual setup, time-bound engagements; Enterprise for security, identity and risk teams; no price stated (read 2026-11-27)
  • SpecterOps, BloodHound repository: Apache-2.0 license; fed by the SharpHound and AzureHound collectors; releases: v9.10.1, 19 November 2026 (read 2026-11-27)
  • MITRE ATT&CK, BloodHound, S0521: groups that have used it (read 2026-11-27)
  • Invadel, Active Directory security assessment and pricing: $6,000 for one domain (read 2026-11-27)
Mark Kiss

Written by

Mark Kiss, Founder & CEO

15+ years in the field. Focus: Offensive security & strategy. Part of the team that scopes, tests, and reports for our clients. Full profile →

All articlesRed Teaming

Find out what an attacker sees.

Tell us what to test and see your fixed price.

Prefer the full scoping questionnaire? 
Start the conversation

Get a quick proposal

We are online