Information Gatheringbloodhoundactive-directoryenumerationcsharp

SharpHound

SharpHound is a C# data collector for BloodHound. It provides pre-built binaries to gather Active Directory enumeration data.

Description

SharpHound is a Kali Linux tool packaged as a pre-built C# data collector designed for use with BloodHound. It facilitates the collection of Active Directory data, enabling security professionals to map and analyze domain environments. The package includes essential files located in /usr/share/sharphound, such as SharpHound.exe, its configuration, PDB, and a PowerShell script.

Use cases include Active Directory penetration testing and enumeration, as highlighted in OffSec training resources like PEN-200 and PEN-300 courses. It supports automated enumeration techniques for identifying relationships and permissions within AD environments. The tool is part of broader Active Directory skill paths for hands-on labs and in-depth training.

Installation provides immediate access to the collector without compilation, making it suitable for rapid deployment in assessment scenarios.

How It Works

SharpHound operates as a C# executable that collects BloodHound-compatible data from Active Directory environments. The pre-built binaries in /usr/share/sharphound, including SharpHound.exe and SharpHound.ps1, interface with domain controllers to enumerate objects, relationships, and security descriptors using standard AD protocols like LDAP.

Installation

bash
sudo apt install sharphound

Examples

Displays the help menu for SharpHound, showing available options and usage information.
sharphound -h
Runs the primary C# executable from /usr/share/sharphound to initiate data collection.
SharpHound.exe
Executes the PowerShell wrapper script for BloodHound data collection.
SharpHound.ps1
Launches SharpHound executable from its installed directory.
./usr/share/sharphound/SharpHound.exe
Invokes the PowerShell script using pwsh for AD enumeration.
pwsh /usr/share/sharphound/SharpHound.ps1
Runs SharpHound using Mono compatibility layer if needed.
mono /usr/share/sharphound/SharpHound.exe
Updated 2026-04-16kali.org ↗