performing-active-directory-penetration-test

Conducts Active Directory penetration tests covering enumeration, Kerberos attacks, ADCS exploitation, and domain compromise.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill performing-active-directory-penetration-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: performing-active-directory-penetration-test
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/penetration-testing/performing-active-directory-penetration-test
Command: npx skills add https://github.com/xalgord/xalgorix --skill performing-active-directory-penetration-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Active Directory environments contain misconfigurations, weak credentials, and attack paths that let attackers escalate from a standard domain user to Domain Admin, and manual testing of every vector is slow and error-prone. This Skill provides a structured, phase-by-phase methodology to enumerate, exploit, and prove domain compromise with verifiable artifacts.

Core Features & Use Cases

  • AD Enumeration & Attack Path Mapping: Enumerate domain objects, trusts, password policies, delegation settings, and GPP passwords with NetExec and ldapsearch, then map shortest paths to Domain Admin with BloodHound.
  • Kerberos & ADCS Exploitation: Perform Kerberoasting, AS-REP roasting, delegation abuse (unconstrained, constrained, RBCD), and exploit certificate template misconfigurations (ESC1-ESC8) with Certipy.
  • Privilege Escalation & Proof of Compromise: Execute DCSync, Golden/Silver Ticket attacks, and demonstrate persistence, validating each step with concrete artifacts like cracked hashes or a krbtgt dump.
  • Use Case: A penetration tester with standard domain credentials runs the BloodHound collection and Certipy scan, discovers an ESC1-vulnerable template, mints a certificate for the administrator account, and proves domain compromise via a controlled DCSync.

Quick Start

Perform an Active Directory penetration test against the corp.local domain starting with the provided domain user credentials and enumerate attack paths with BloodHound.

Frequently Asked Questions about performing-active-directory-penetration-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform an Active Directory penetration test?

Start with domain enumeration using NetExec and ldapsearch to map users, groups, trusts, and password policies, then collect BloodHound data to find attack paths. Progress through Kerberos attacks, ADCS exploitation with Certipy, and privilege escalation via DCSync, proving each step with artifacts.

How to find Kerberoastable service accounts in a domain?

Use impacket-GetUserSPNs with valid domain credentials to list accounts with SPNs and request their TGS tickets. Crack the extracted hashes with Hashcat mode 13100, and also check for AS-REP roastable accounts using impacket-GetNPUsers.

What tools are needed for Active Directory penetration testing?

The core toolkit includes BloodHound for attack path analysis, Impacket for Kerberos and SMB attacks, Certipy for ADCS exploitation, Rubeus for Windows-side Kerberos abuse, NetExec for enumeration, and Mimikatz for credential and ticket operations.

Does BloodHound work with only standard domain user credentials?

Yes, BloodHound data collection with bloodhound-python or SharpHound works with standard domain user credentials, since AD enumeration is permitted for authenticated users by default. Use stealthy collection options and avoid lockouts by checking the password policy first.

Why is ADCS exploitation often missed in penetration tests?

ADCS attacks like ESC1-ESC8 are overlooked because testers focus on Kerberoasting and skip certificate template auditing. Running certipy find -vulnerable reveals misconfigured templates, and ESC8 pairs with NTLM relay to the CA web enrollment endpoint for fast domain escalation.

What are the prerequisites for Active Directory penetration testing?

You need standard domain user credentials as a minimum starting point and network access to domain controllers on LDAP/389, Kerberos/88, SMB/445, and DNS/53. A Kali Linux or Windows attack machine with BloodHound, Impacket, Certipy, Rubeus, NetExec, and Mimikatz installed is required.