Skip to content

BloodHound

BloodHound (SpecterOps) maps attack paths in Active Directory and Entra ID from the data its SharpHound and AzureHound collectors gather; Community Edition is open source, Enterprise is hosted.

  • What DRACO uses: Tier Zero objects, the users, computers and groups with an attack path to Tier Zero (shortest paths in Community Edition, attack path findings in Enterprise) and the collected domains, read through the BloodHound API.
  • What for: Path to Tier Zero findings, Tier Zero and on-a-path facts and risk points on users and hosts in Assets, readable names in the ID directory, a severity raise of incidents on them, the BloodHound path check workflow step and the AI analyst's context.

Add it in Connectors > Add connector: pick BloodHound. See Connectors for how connectors, sign-in and tags work.

Parts

Part What DRACO uses Access Permissions
Posture: attack paths to Tier Zero BloodHound attack paths read An API token (token ID + key) of a dedicated BloodHound user with the Read-only role (graph read, changes nothing).

DRACO only reads: it never changes anything in BloodHound (no tags, no acceptance, no analysis runs).

Requirements

  • BloodHound Community Edition (self-hosted, a recent release) or BloodHound Enterprise (hosted by SpecterOps, https://<tenant>.bloodhoundenterprise.io).
  • Its address reachable from DRACO over HTTPS with a certificate from a public authority. A Community Edition on your own network must be published over HTTPS (for example behind your reverse proxy, with access limited to DRACO's outbound address, which your DRACO operator gives you). Addresses that resolve to private networks are refused.
  • Data collected by you: SharpHound for Active Directory, AzureHound for Entra ID, uploaded to BloodHound (File Ingest in Community Edition, the collector clients in Enterprise). DRACO reads what BloodHound has; it does not run collectors.

Posture: attack paths to Tier Zero

Create the API token in BloodHound

  1. Create a dedicated user for DRACO: Settings > Administration > Manage Users > Create User, role Read-only. The Read-only role reads the graph (it is meant for integrations) and cannot change anything.
  2. Allow API tokens: they are on by default; if your administrator turned them off in BloodHound's configuration, turn them back on.
  3. Generate the token for that user: Settings > Administration > Manage Users > the user's menu > Generate / Revoke API Tokens > Create Token. Give it a name such as DRACO.
  4. Copy the token ID and the token key. The key is shown once; if it is lost, revoke the token and create a new one. Token ID and key pairs do not expire: to rotate, create a second token, update the credential in DRACO, then revoke the old one.

In BloodHound Enterprise with Environment Targeted Access Control, give the user access to every environment DRACO should see; findings of other environments are not returned.

Add it in DRACO

  1. Connectors > Add connector, pick BloodHound and tick Posture under Collectors.
  2. Account: the BloodHound URL (https://bloodhound.example.com, the address you open in the browser, without /ui). Options: Raise incidents on Tier Zero or on a path (on by default), Most principals with a path (2,000) and Longest path (6 hops).
  3. Credential: an OAuth client credential with the token ID as client ID and the token key as client secret (vendor bloodhound), or a Generic JSON credential {"token_id": "...", "token_key": "..."}. The credential is sent only to the BloodHound address you saved; pointing it at another address later needs Read-Write in Credentials.
  4. Test: DRACO signs in (/api/v2/self), names the token's user and role, reads the edition, the collected domains and one small graph query. Nothing changes in BloodHound.

Each request is signed with the token key (BloodHound's HMAC request signing); the key itself never leaves DRACO.

What DRACO reads

Every hour:

What Community Edition Enterprise
Edition and version /api/version same
Domains and Entra tenants, collected or not /api/v2/available-domains same
Tier Zero members the Tier Zero zone (Privilege Zones), or the legacy admin_tier_0 asset group on older versions same
Paths to Tier Zero one bounded Cypher query per collected domain: the shortest paths over BloodHound's attack path edges from users, computers, groups and Entra principals that are not Tier Zero to a Tier Zero object its attack path findings into Tier Zero (relationship findings such as GenericWrite or Owns on Tier Zero objects)

Paths are read again once a day, or at once when the Tier Zero members or the collected domains change (a new collection). Every read is bounded: at most 25 domains, the most principals and longest path you set, at most 5,000 Tier Zero members. When a limit cuts the paths, the connection says so and DRACO keeps the earlier findings open instead of resolving them. BloodHound's rate limit is respected (DRACO waits when it answers 429).

What DRACO does with it

  • Path to Tier Zero findings: POSTURE & ASSETS > Attack Paths > Identity paths lists each principal with a path: its kind and domain, the path length, the first hops (for example MemberOf > AdminTo > HasSession), the Tier Zero target, a severity (Enterprise's own; in Community Edition critical for one hop, high for two, medium up to four, low beyond) and Open in BloodHound. The Tier Zero members are listed too. A path BloodHound no longer shows is resolved at the next full read.
  • Assets: identities and hosts get BloodHound's facts (Tier Zero, on a path to Tier Zero, path length, Tier Zero target, last seen) on the asset page. DRACO matches them by object id, UPN or e-mail, sAMAccountName and host name (full or short); a principal no asset matches gets an asset of its own. Tier Zero identities are marked privileged ("BloodHound: Tier Zero"), unless a person set the flag.
  • Readable IDs: BloodHound object ids (SIDs, Entra object ids) get their names in the ID directory.
  • Risk: a risk contribution Attack path: 40 points for a path of one or two hops, 25 up to four, 15 beyond, 30 for a Tier Zero member; recomputed after every read.
  • Incidents: an open incident whose user or host is Tier Zero or has a path to it gets the tag bloodhound:tier-zero or bloodhound:path-to-tier-zero and its severity raised by one step (low to medium, medium to high...), once; both are in the incident's history. Lowering it afterwards is kept. Turn Raise incidents on Tier Zero or on a path off on the connection to stop it.
  • Workflows: the BloodHound path check step answers whether a user or host is Tier Zero or on a path, with the length, the first hops and the link.
  • AI analyst: the analyst sees "Tier Zero" or "on a path to Tier Zero" with the first hops for the identities and hosts of the alerts and incidents it works on.

Troubleshooting

The test or a read says Fix
refused the credentials (HTTP 401) Check the token ID and key (client ID and client secret of the credential), that the token was not revoked or expired, that its user is enabled and that API tokens are allowed in BloodHound's configuration.
denied the request (HTTP 403) Give the token's user the Read-only role (or a role with graph read). In Enterprise, also give it the environments DRACO should see (Environment Targeted Access Control).
TLS certificate is not trusted BloodHound needs a certificate from a public authority: self-signed and private CA certificates are refused.
resolves to a private address Publish BloodHound over HTTPS on a public address limited to DRACO's outbound address.
No domain or tenant is collected yet Run SharpHound or AzureHound and upload the data to BloodHound.
The credential is not approved for this host A member with Read-Write in Credentials saves the connection with the new address.
Paths: only the first ... are read Raise Most principals with a path, or fix the largest paths in BloodHound first.

Not covered yet

  • BloodHound Community Edition on a private network without HTTPS from DRACO.
  • OpenGraph data (non-Active Directory, non-Entra graphs) in the paths.