Skip to main content
rule CX Codex

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

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/tool_profile.md
Open on GitHub

What 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.md

The paths frontmatter field limits the files

Step 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.

tool_profile JDArmy tool_profile — a Claude rule that profiles Stowaway: what the Go multi-hop proxy is built from, how it compiles, and which traces it leaves on a host. CX Codex +1 ★ 336repo stars ntlm-relay-coercion yaklang ntlm-relay-coercion is a skill for capturing and relaying NTLM authentication to SMB, LDAP, HTTP and MSSQL targets, including coercion methods. CX Codex +1 3,900installs active-directory-attack-paths securityskills active-directory-attack-paths guides security assessments in Active Directory environments, covering privilege escalation paths from initial discovery to delegation and ACL abuse. CX Codex +1 561installs active-directory-attacks zebbern The active-directory-attacks skill provides reference workflows and tool syntax for Active Directory penetration testing. It helps agents guide domain enumeration, Kerberos attacks, and privilege escalation. CX Codex +1 ★ 4,719repo stars analyzing-active-directory-acl-abuse mahipal analyzing-active-directory-acl-abuse reads Domain Controller DACLs over LDAP with ldap3, parses them into SDDL and reports ACEs where non-admin accounts hold GenericAll, WriteDACL or WriteOwner. CX Codex +1 562installs active-directory-acl-abuse yaklang active-directory-acl-abuse — a Claude Code skill covering exploitation of misconfigured Active Directory ACLs. Loads as a playbook with BloodHound paths, dangerous ACEs, DCSync, shadow credentials, LAPS and GPO abuse. CX Codex +1 4,000installs ad-attacker 0xSteph ad-attacker — a subagent for Claude Code that enumerates and attacks Active Directory with BloodHound, Impacket and NetExec during authorized penetration tests. CX Codex ★ 2,482repo stars

From the same set22

The whole set →
research-agent research-agent searches GitHub for loader and evasion code patterns, analyzes their structure, and logs new entries into a local knowledge base. CX Codex ★ 336repo stars evasion-agent This subagent modifies a supplied shellcode loader with evasion techniques from a knowledge base. Its workflow includes compilation, but excludes running or testing the executable. CX Codex ★ 336repo stars loadergen-agent loadergen-agent builds shellcode loaders in C, C++ or Rust from knowledge base components and compiles with MinGW. For evasion technique research and security tool testing. CX Codex ★ 336repo stars evasion_integrate evasion_integrate adds evasion techniques to a shellcode loader you already have: it edits the source, checks which tricks fit and builds the binary. CX Codex +1 ★ 336repo stars c2_evasion c2_evasion examines C2 framework source code, locates detection rules (YARA, Sigma), and suggests modifications to bypass signatures. Takes a path to the source as an argument. CX Codex +1 ★ 336repo stars loader_generate loader_generate spawns an agent to assemble and compile C, C++, or Rust shellcode loaders from a techniques knowledge base. CX Codex +1 ★ 336repo stars rule_inventory The rule_inventory rule catalogues YARA indicators for Stowaway, including binary names, strings, paths, command-line patterns, and hashes. Use it when checking samples for those indicators. CX Codex +1 ★ 336repo stars tool_profile tool_profile — a Claude rule that profiles Stowaway: what the Go multi-hop proxy is built from, how it compiles, and which traces it leaves on a host. CX Codex +1 ★ 336repo stars

Project sponsors

Companies that keep this analytics open