Skip to main content

bloodhound

The bloodhound command collects Active Directory data in BloodHound-compatible format. It integrates with both BloodHound Community Edition (CE) and BloodHound Legacy, producing the JSON files that BloodHound uses to build its attack path graph.

Usage


Subcommands

bloodhound collect

Collect BloodHound data from Active Directory.

Flags


Collection Methods

The --collection-method / -c flag controls what data is collected. Multiple methods can be specified as a comma-separated list.

Examples


BloodHound CE vs Legacy

Use --legacy if you are using BloodHound 4.x or older. Use the default (no flag) for BloodHound Community Edition.

Output Files

BloodHound collection produces several JSON files in the output directory: When --zip is specified, all files are combined into a single .zip archive ready for direct import into BloodHound.

Authentication

bloodhound collect uses the same authentication flags as all other R4t commands. The collector requires:
  • Read access to AD via LDAP (for user/group/object data)
  • Read access to SYSVOL (for GPO data)
  • SMB access to target computers (for session/local admin enumeration — optional)

Common Workflows

Quick Initial Collection

Targeted Collection (Specific Computers)

Importing Results

After collection, import the output into BloodHound:
  1. Start BloodHound CE / BHCE
  2. Navigate to Upload Data
  3. Select the .zip file or individual JSON files
  4. Click Upload and wait for processing
  5. Run queries like “Shortest Path to Domain Admin”