
Exploiting Active Directory with BloodHound
FreeUtilize BloodHound for Active Directory reconnaissance and exploitation.
Free · Opens the source repo
What Exploiting Active Directory with BloodHound does
The Exploiting Active Directory with BloodHound skill provides a robust framework for red teams and security professionals to leverage BloodHound, a graph-based tool designed for Active Directory reconnaissance. By employing graph theory, BloodHound uncovers hidden relationships within Active Directory environments, enabling users to identify potential attack paths from compromised accounts to high-value targets like Domain Admins. This skill is particularly useful for those involved in penetration testing and security assessments, as it allows for the visualization of privilege escalation opportunities that are often overlooked in manual assessments.
Using BloodHound, practitioners can collect data on Active Directory objects, relationships, and access control lists (ACLs) through the SharpHound collector. This data is then analyzed to reveal attack paths, misconfigurations, and potential vulnerabilities within the AD environment. The skill guides users through the entire process, from data collection to exploitation planning, ensuring that all critical steps are documented and validated. This structured approach not only enhances the effectiveness of security testing but also aids in building detection capabilities based on offensive techniques.
This skill is ideal for security professionals who are familiar with red teaming concepts and are looking to deepen their understanding of Active Directory exploitation techniques. It requires a controlled environment for execution, ensuring compliance with legal and ethical standards. By employing this skill, users can systematically identify and exploit vulnerabilities in Active Directory setups, ultimately improving the security posture of their organizations.
In summary, the Exploiting Active Directory with BloodHound skill equips users with the necessary tools and methodologies to conduct thorough security assessments of Active Directory environments, making it an essential addition to any red team toolkit.
When to use it
Use this skill during authorized security assessments, red team exercises, or while analyzing malware in a controlled setting.
When not to use it
This skill is not suitable for unauthorized testing or environments where you lack proper authorization to conduct security assessments.
What you can build with it
Red Team Engagements
Utilize BloodHound to identify and exploit vulnerabilities during red team exercises, enhancing your attack simulations.
Security Assessments
Conduct thorough security assessments of Active Directory environments to uncover hidden relationships and potential attack vectors.
Malware Analysis
Analyze malware samples in a controlled environment to understand how they interact with Active Directory and identify potential attack paths.
How to install Exploiting Active Directory with BloodHound
View source1. Install with the skills CLI
npx skills add mukul975/anthropic-cybersecurity-skills/exploiting-active-directory-with-bloodhound --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by mukul975Exploiting Active Directory with BloodHound
Legal Notice: This skill is for authorized security testing and educational purposes only. Unauthorized use against systems you do not own or have written permission to test is illegal and may violate computer fraud laws.
Overview
BloodHound is a graph-based Active Directory reconnaissance tool that uses graph theory to reveal hidden and unintended relationships within AD environments. Red teams use BloodHound to identify attack paths from compromised accounts to high-value targets such as Domain Admins, identifying privilege escalation chains that would be nearly impossible to find manually. SharpHound is the official data collector that gathers AD objects, relationships, ACLs, sessions, and group memberships.
When to Use
- When performing authorized security testing that involves exploiting active directory with bloodhound
- When analyzing malware samples or attack artifacts in a controlled environment
- When conducting red team exercises or penetration testing engagements
- When building detection capabilities based on offensive technique understanding
Prerequisites
- Familiarity with red teaming concepts and tools
- Access to a test or lab environment for safe execution
- Python 3.8+ with required dependencies installed
- Appropriate authorization for any testing activities
Objectives
- Collect Active Directory relationship data using SharpHound or BloodHound.py
- Visualize attack paths from compromised accounts to Domain Admin
- Identify misconfigured ACLs, group memberships, and delegation settings
- Discover shortest attack paths to high-value targets
- Map Kerberos delegation configurations for abuse
- Document all identified privilege escalation chains
MITRE ATT&CK Mapping
- T1087.002 - Account Discovery: Domain Account
- T1069.002 - Permission Groups Discovery: Domain Groups
- T1482 - Domain Trust Discovery
- T1615 - Group Policy Discovery
- T1018 - Remote System Discovery
- T1033 - System Owner/User Discovery
- T1016 - System Network Configuration Discovery
Workflow
Phase 1: Data Collection with SharpHound
- Transfer SharpHound collector to compromised host
- Execute collection with appropriate method (All, DCOnly, Session, LoggedOn)
- Collect from all reachable domains if multi-domain environment
- Exfiltrate ZIP data files to analysis workstation
- Import data into BloodHound CE or Legacy
Phase 2: Attack Path Analysis
- Mark owned principals (compromised accounts)
- Query shortest path to Domain Admins
- Identify Kerberoastable accounts with admin privileges
- Find AS-REP Roastable accounts
- Analyze ACL-based attack paths (GenericAll, GenericWrite, WriteDACL, ForceChangePassword)
- Review GPO abuse opportunities
Phase 3: Exploitation Planning
- Prioritize attack paths by complexity and stealth
- Identify required tools for each step in the chain
- Plan OPSEC considerations for each technique
- Execute identified attack chain
- Document evidence at each step
Tools and Resources
| Tool | Purpose | Platform |
|---|---|---|
| BloodHound CE | Graph visualization and analysis | Web-based |
| SharpHound | AD data collection (.NET) | Windows |
| BloodHound.py | AD data collection (Python) | Linux/Windows |
| Cypher queries | Custom graph queries | Neo4j/BloodHound |
| PlumHound | Automated BloodHound reporting | Python |
| Max (BloodHound) | BloodHound automation | Python |
Key BloodHound Queries
| Query | Purpose |
|---|---|
| Shortest Path to Domain Admins | Find fastest route to DA |
| Find Kerberoastable Users with Path to DA | SPN accounts leading to DA |
| Find AS-REP Roastable Users | Accounts without pre-auth |
| Shortest Path from Owned Principals | Paths from compromised accounts |
| Find Computers with Unsupported OS | Legacy systems for exploitation |
| Find Users with DCSync Rights | Accounts that can replicate AD |
| Find GPOs that Modify Local Group Membership | GPO-based privilege escalation |
Validation Criteria
- SharpHound data collected from all domains
- Attack paths identified from owned accounts to DA
- ACL-based attack paths documented
- Kerberoastable and AS-REP roastable accounts identified
- Exploitation plan created with prioritized paths
- Evidence screenshots captured for report
Frequently asked questions about Exploiting Active Directory with BloodHound
Similar skills
Cloudflare Security Audit
Perform authorized security audits on codebases.
Authenticated Scan with OpenVAS
Perform deep vulnerability scans using OpenVAS with credentials.
Active Directory Penetration Test
Conduct focused AD penetration tests with ease.
Active Directory BloodHound Analysis
Visualize Active Directory attack paths and risks.
Orchestrating LLM Attacks with PyRIT
Automate multi-turn adversarial attacks against LLMs.
Operating Sliver C2
Deploy and manage Sliver C2 for red-team engagements.
