offensive-active-directory
Agent skill fromSnailSploit/Claude-Red
Active Directory attack methodology for internal network red team engagements. Covers reconnaissance (BloodHound, PowerView, ADExplorer), credential abuse (Kerberoasting, ASREProasting, NTLM relay, LLMNR/NBT-NS poisoning), privilege escalation (ACL abuse, GPO abuse, unconstrained/constrained delegation), lateral movement (Pass-the-Hash, Pass-the-Ticket, Overpass-the-Hash, WMI/WinRM/PsExec), persistence (Golden/Silver/Diamond Tickets, DCSync, DCShadow, AdminSDHolder, Skeleton Key), forest trust attacks, ADCS abuse (ESC1-ESC15), and modern MDI/Defender for Identity evasion. Use when assessing on-prem AD, hybrid AD/Entra ID environments, or ADCS deployments.
How to install offensive-active-directory
npx skills add SnailSploit/Claude-Red# or add only this skill to Claude Code: copy the folder
Skills/active-directory/offensive-active-directory/
# into
~/.claude/skills/offensive-active-directory/ (all projects)
.claude/skills/offensive-active-directory/ (one project)
1# Active Directory — Offensive Testing Methodology23## Quick Workflow451. Recon AD structure offline (BloodHound, ADExplorer snapshot) — minimize live queries62. Harvest creds via poisoning, Kerberoasting, ASREProast, or LSASS where allowed73. Map attack paths to Domain Admin / Enterprise Admin / Tier 084. Execute path with lowest detection cost, validate at each hop95. Establish persistence and document every action with timestamps1011---1213## Reconnaissance1415### BloodHound Collection1617```powershell18# SharpHound (CSharp collector) — most stealthy with throttling19SharpHound.exe -c All,GPOLocalGroup --Throttle 1000 --Jitter 30 --ZipFileName recon.zip2021# Stealth collection (DC-only, avoids workstation noise)22SharpHound.exe -c DCOnly --Stealth2324# Bloodhound.py from Linux (no Windows host needed)25bloodhound-python -d corp.local -u user -p pass -ns 10.0.0.1 -c All26```2728### PowerView (No Tool Drop)2930```powershell31# Domain enumeration without binaries32$d = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain()33Get-DomainUser -SPN | Select samaccountname,serviceprincipalname34Get-DomainComputer -Unconstrained35Get-DomainGPO | ?{$_.gpcmachineextensionnames -match "Restricted Groups"}36Get-DomainObjectAcl -Identity 'Domain Admins' -ResolveGUIDs |37 ?{$_.ActiveDirectoryRights -match 'WriteDacl|GenericAll|WriteOwner'}38```3940### ADExplorer Offline4142```43# Take snapshot from any low-priv user, analyze offline44ADExplorer.exe → File → Create Snapshot45# Convert to BloodHound format46…
Excerpt shown under the repository's MIT license.
