tool_profile · jdarmy, sharphound — Claude Code rule: SharpHound and installation
tool_profile is a Claude Code rule about SharpHound, the data collector used by BloodHound. It applies to questions about Active Directory collection, the tool’s build, and detection.
MIT ★ 336 updated 2026-04-09
.claude/rules/tool_profile.mdWhat tool_profile does
The rule provides a reference for SharpHound, BloodHound’s official data collector. It covers group membership, active sessions, local administrator rights, domain trusts, ACLs, computer properties, user privileges, and Active Directory Certificate Services data.
The profile also describes LDAP, SMB, and session API enumeration, JSON and ZIP output, and a mode intended to reduce detection. It rates process creation and LDAP or SMB connections to domain controllers as high-risk detection areas. The listed build command is dotnet build; dependencies are SharpHoundCommon, SharpHoundRPC, and Costura.Fody.
What it helps with
- list the Active Directory data SharpHound collects
- identify network activity associated with SharpHound
- find SharpHound’s build command and dependencies
Example prompts for the agent
- Explain which Active Directory data SharpHound collects.
- What network activity can reveal a SharpHound run?
- How is SharpHound built, and which dependencies does it use?
How to install tool_profile
Manually: put the files in place
.claude/rules/tool_profile.mdThe paths frontmatter field limits the files
AGENTS.md
Codex reads AGENTS.md: paste the rule text there
Manually: put the files in place
.cursor/rules/tool_profile.mdcFrontmatter: description, globs, alwaysApply
Manually: put the files in place
.github/instructions/tool_profile.instructions.mdThe applyTo field sets which files it applies to
Manually: put the files in place
.devin/rules/tool_profile.mdManually: put the files in place
.clinerules/tool_profile.mdStep by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use
Questions about tool_profile
How do I install tool_profile in Claude Code?
Place the rule file at .claude/rules/tool_profile.md.
What does tool_profile do?
It documents SharpHound’s collected data, enumeration methods, output formats, build details, and detection risks.
What data does SharpHound collect for BloodHound?
It collects group membership, session details, local administrator rights, domain trusts, ACLs, computer properties, user privileges, and AD CS information.
Source text
tool_profile.md · MIT
# Tool Profile: SharpHound ## Basic Information | Attribute | Value | |-----------|-------| | Name | SharpHound | | Version | 2.11.0 | | Language | C# (.NET Framework 4.7.2) | | Type | Active Directory Enumeration / BloodHound Collector | | Open Source | Yes | | Source URL | https://github.com/SpecterOps/SharpHound | | Author | SpecterOps | | License | Custom (open) | ## Purpose SharpHound is the official data collector for BloodHound, a tool for analyzing Active Directory trust relationships. It collects information about: - **Group memberships** - User/group relationships - **Session information** - Active sessions on computers - **Local administrator** - Local admin rights - **Trust relationships** - Domain trusts - **ACLs** - Access control lists - **Computer properties** - AD computer objects - **User rights** - User privileges - **Certificate services** - AD CS information ## Key Features | Feature | Description | |---------|-------------| | LDAP Enumeration | Query Active Directory | | Session Enumeration | NetSessionEnum, NetWkstaUserEnum | | Local Group Enumeration | NetLocalGroupGetMembers | | Computer Enumeration | Port scanning, SMB enumeration | | Output | JSON files, ZIP archives | | Stealth Mode | Reduced detection footprint | ## Build System - **Project Type**: .NET Core SDK-style project - **Target Framework**: net472 - **Build Command**: `dotnet build` - **Dependencies**: SharpHoundCommon, SharpHoundRPC, Costura.Fody ## Key Files | File | Purpose | |------|---------| | `src/Sharphound.cs` | Main entry point | | `src/Options.cs` | CLI argument handling | | `src/EnumerationDomain.cs` | LDAP enumeration | | `src/Runtime/CollectionTask.cs` | Collection orchestration | | `src/Producers/*.cs` | Data producers | ## Detection Risk Assessment | Category | Risk Level | Notes | |----------|------------|-------| | Process Creation | High | Known tool name, signatures exist | | Network Connection | High | LDAP/SMB connections to DC | | File Event | Medium | JSON output files | | Registry | Low | Minimal registry access | | Process Access | Medium | Session enumeration APIs | ## Keywords for Detection Search - SharpHound - BloodHound - BloodHound CE - SpecterOps - Active Directory enumeration - Session enumeration - LDAP enumeration
© JDArmy · MIT · JDArmy/Evasion-SubAgents
Similar IDE rules
All IDE rules for Security →tool_profile by other authors comes first.