Tool Documentation:
Running SharpHound
SharpHound CE is the official data collector for BloodHound CE. The Kali package installs the pre-built collector files in /usr/share/sharphound. The collector is a Windows executable, so run it on a Windows system in the authorized Active Directory environment.
Before starting a collection, check the options supported by the binary:
PS C:\> .\SharpHound.exe --help
To run the default collection using the current domain identity:
PS C:\> .\SharpHound.exe
By default, SharpHound discovers the current domain and a domain controller, then collects the default set of Active Directory relationships and computer information. It writes the collected records as JSON files and packages them into a ZIP archive. Import that archive into the BloodHound CE interface.
To avoid collector compatibility issues, use the version recommended by the deployed BloodHound CE instance. In BloodHound CE, open Settings → Download Collectors to obtain the matching SharpHound build.
Collecting sessions over time
User sessions change as people log on to and off different computers. During an authorized assessment, the Session collection method can be run in a loop to capture this activity over time:
PS C:\> .\SharpHound.exe --CollectionMethods Session --Loop
The default loop duration is two hours. To set a different duration, use --Loopduration with the HH:MM:SS format:
PS C:\> .\SharpHound.exe --CollectionMethods Session --Loop --Loopduration 03:00:00
SharpHound creates a ZIP archive for each completed collection cycle. Import the resulting archives into BloodHound CE to incorporate the session data into the graph.
Packages and Binaries:
sharphound
C# Data Collector for BloodHound
This package contains the pre-built SharpHound.
Installed size: 3.10 MB
How to install: sudo apt install sharphound
sharphound
root@kali:~# sharphound -h
> sharphound ~ C# Data Collector for BloodHound
/usr/share/sharphound
|-- SharpHound.exe
|-- SharpHound.exe.config
|-- SharpHound.pdb
`-- SharpHound.ps1
Learn more with OffSec
Want to learn more about sharphound? get access to in-depth training and hands-on labs:
Updated on: 2026-Nov-10