reverse-skill Active Directory Security Assessment Capabilities: A Technical Deep Dive

reverse-skill provides a dedicated Windows/Active Directory skill that orchestrates authorized AD security engagements through automated enumeration, credential exploitation, and privilege escalation pathways while maintaining strict scope enforcement and evidence journaling.

The zhaoxuya520/reverse-skill repository delivers a comprehensive framework for conducting authorized Active Directory security assessments. Its dedicated Windows/AD skill integrates routing intelligence, tool verification, and automated evidence collection to guide penetration testers through complex enterprise environments. This article examines the seven core capabilities that enable reverse-skill to automate discovery, exploitation, and documentation phases of AD security testing.

Scope-Driven Authorization Controls

reverse-skill implements mandatory authorization checks before executing any Active Directory operation. According to skills/windows-ad/SKILL.md, the framework enforces domain controller (DC) scoping, validates poisoning and relay permissions, and requires explicit case-init enforcement at lines 10-13. This ensures every engagement respects predefined boundaries and maintains audit compliance throughout the assessment lifecycle.

Comprehensive AD Enumeration

The framework automates host and identity discovery using a multi-tool approach. As implemented in skills/windows-ad/SKILL.md (lines 31-38), reverse-skill leverages:

  • Impacket (nxc smb) for SMB share and user enumeration
  • Native PowerShell commands for host reconnaissance
  • BloodHound/SharpHound for harvesting user, group, and trust relationships

# Enumerate SMB shares and domain users with Impacket

nxc smb 192.168.1.0/24 -u administrator -p 'Password123'

# Collect comprehensive AD data with BloodHound

bloodhound-python -d corp.local -u admin -p password -c All -ns 192.168.1.10

Attack Path Visualization and Prioritization

reverse-skill integrates BloodHound to visualize lateral-movement routes and identify high-value attack vectors. The system prioritizes Kerberoasting targets, ACL abuse opportunities, and delegation misconfigurations as documented in skills/windows-ad/SKILL.md (lines 39-47). This capability allows testers to map complex trust relationships and identify the shortest paths to domain dominance.

Credential-Focused Exploitation Techniques

The AD skill implements multiple credential extraction methods through integrated tooling.

Kerberoasting and AS-REP Roasting

reverse-skill identifies Service Principal Names (SPNs) and accounts lacking pre-authentication to extract crackable tickets. As detailed in skills/windows-ad/references/ad-attack-paths.md (lines 5-7), the framework supports both Rubeus for Kerberoasting and GetNPUsers for AS-REP roasting.


# Extract service tickets for offline cracking

Rubeus.exe kerberoast /target:corp.local /outfile:hashes.txt

# Identify un-pre-authenticated accounts

GetNPUsers.py corp.local/ -no-pass -usersfile users.txt

NTLM Relay and Coercion

The framework detects weak SMB signing policies and executes relay attacks using Responder and ntlmrelayx. According to skills/windows-ad/SKILL.md (lines 46-47), reverse-skill coordinates these tools to capture and relay authentication attempts against vulnerable endpoints.


# Start Responder to poison LLMNR/NBT-NS requests

responder -I eth0 -wrf

# Relay captured hashes to target systems

ntlmrelayx.py -tf targets.txt -smb2support -socks

Credential Dumping

reverse-skill integrates SecretsDump, lsassy, and Mimikatz for memory and registry extraction, requiring explicit authorization before execution as specified in skills/windows-ad/SKILL.md (lines 49-53).


# Extract secrets from remote host

secretsdump.py corp.local/administrator:'Password123'@192.168.1.10

Active Directory Certificate Services (AD CS) Abuse

The framework automates certificate template attacks against AD CS infrastructure. As documented in skills/windows-ad/SKILL.md (lines 45-46) and ad-attack-paths.md (lines 7-9), reverse-skill deploys Certipy to exploit ESC1 and ESC8 vulnerabilities.


# Request certificate using vulnerable template (ESC1)

certipy req -u administrator -p Password123 -target ca.corp.local -template VulnTemplate

# Exploit web enrollment endpoint (ESC8)

certipy relay -target http://ca.corp.local/certsrv/certfnsh.asp

Privilege Escalation Pathways

reverse-skill identifies and exploits multiple privilege escalation vectors through ACL misconfigurations and delegation abuse. According to skills/windows-ad/SKILL.md (lines 18-22), the framework targets:

  • GenericAll/WriteDacl permissions for ACL-based elevation
  • Constrained and unconstrained delegation configurations
  • Potato-style token abuse for local privilege escalation

Automated Evidence Collection and Routing Architecture

Every command execution is recorded, sanitized, and persisted to the field-journal for future reuse and reporting. The central routing engine in skills/routing.md (line 181) maps AD-related keywords to the appropriate skill handlers, while the bootstrap mechanism automatically installs missing dependencies including Impacket, Certipy, and BloodHound when absent from the target environment.

Summary

  • reverse-skill enforces mandatory authorization checks before executing any Active Directory operation through its DC scoping and case-init validation.
  • Comprehensive enumeration combines Impacket, PowerShell, and BloodHound to harvest complete domain topology and identity data.
  • Credential attacks include Kerberoasting, AS-REP roasting, NTLM relay, and memory dumping through integrated tools like Rubeus, Responder, and Mimikatz.
  • Certificate abuse capabilities target ESC1 and ESC8 vulnerabilities using Certipy automation.
  • Privilege escalation pathways exploit ACL misconfigurations, delegation trusts, and token manipulation techniques.
  • Evidence journaling automatically records all activities to field-journal while the routing engine coordinates tool deployment and dependency management.

Frequently Asked Questions

How does reverse-skill ensure authorization before running AD attacks?

reverse-skill implements mandatory checks in skills/windows-ad/SKILL.md that validate domain controller scope, poisoning permissions, and case-init enforcement before executing any potentially disruptive command. This ensures compliance with authorized engagement boundaries and prevents accidental out-of-scope testing.

What tools does reverse-skill automatically install for AD assessments?

The bootstrap mechanism automatically deploys Impacket for SMB operations, Certipy for certificate abuse, BloodHound/SharpHound for domain visualization, and Mimikatz for credential extraction when these tools are not detected on the local system, ensuring consistent capability across different testing environments.

How does reverse-skill document evidence during AD penetration tests?

Every command executed through the AD skill is automatically recorded, sanitized for sensitive data, and written to the field-journal as documented in skills/windows-ad/SKILL.md (lines 80-84). This creates an immutable audit trail suitable for compliance reporting and retest verification.

Which AD CS attacks does reverse-skill support?

According to skills/windows-ad/references/ad-attack-paths.md, reverse-skill supports ESC1 attacks against vulnerable certificate templates and ESC8 exploits targeting web enrollment endpoints, both executed through automated Certipy integration to escalate privileges via certificate forgery or relay techniques.

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →