Automated Web Application Security & Vulnerability Scanner for macOS
Comprehensive tool for Active Directory Certificate Services (AD CS) enumeration and exploitation
- Category
- Penetration Testing
- Platforms
- Linux, Windows, macOS
- Pricing / License
- MIT
- Focus / Scope
- 3 MITRE Tactics
π Tool Overview & Technical Brief
Overview & Engineering Philosophy
Certipy is an offensive Python tool created by Oliver Lyak (ly4k) specifically designed to enumerate, analyze, and exploit Active Directory Certificate Services (AD CS).
AD CS misconfigurations (popularized by SpecterOps' Certified Pre-Owned whitepaper) represent some of the most critical privilege escalation vectors in enterprise domains, routinely allowing unprivileged domain users to elevate to Domain Administrator.
Key Capabilities
- Automated AD CS Enumeration: Finds Certificate Authorities (CAs), vulnerable certificate templates (ESC1 through ESC13), and misconfigured access control lists (ACLs).
- Vulnerable Template Exploitation: Crafts certificate signing requests (CSR) specifying arbitrary Subject Alternative Names (SAN) to request certificates on behalf of Domain Admins.
- PKINIT Authentication: Converts requested certificates (
.pfx) into Kerberos TGTs using PKINIT and extracts the user's NTLM hash. - Shadow Credentials (ESC9/ESC10): Abuses write permissions on target user objects to inject
msDS-KeyCredentialLinkvalues. - Golden Certificate Persistence: Extracts CA private keys from compromised Root or Intermediate CAs to forge certificates indefinitely.
Syntax & Practical Execution
# Enumerate vulnerable certificate templates in domain
certipy find -u user@corp.local -p 'Password123' -dc-ip 10.10.10.1 -vulnerable
# Exploit ESC1 (Enrollee Supplies Subject Alternative Name)
certipy req -u user@corp.local -p 'Password123' -target ca.corp.local -ca Corp-CA -template VulnerableTemplate -upn Administrator@corp.local
# Authenticate with forged certificate to receive Kerberos TGT and NTLM hash
certipy auth -pfx administrator.pfx -dc-ip 10.10.10.1
Remediation & Defensive Best Practices
- Audit certificate templates for
ENROLLEE_SUPPLIES_SUBJECTflags (CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT). - Require Certificate Authority Manager approval on all templates issuing Client Authentication EKUs.
β‘ Installation & Quick Start
pip3 install certipy-ad
git clone https://github.com/ly4k/Certipy && cd Certipy && pip3 install .
curl -fsSL https://toolwar.com/api/v1/tools/certipy/install
βοΈ Compare Certipy with Alternatives
Benchmark capabilities, deployment models, telemetry, and architecture side-by-side
π¬ Discussion & Community Field Notes
0 commentsSpecification Matrix
- Status
- active
- License / Model
- MIT
- Type
- cli
- Supported Platforms
- Linux Windows macOS
- Categories
- Penetration Testing Vulnerability Management
- GitHub Telemetry
- β 4,900 750
- Latest Release
- v4.8.2
- Maintenance
- active
- MITRE ATT&CK Matrix β
- Credential Access Privilege Escalation Persistence
- Featured in Collections
- Active Directory Domain Assessment & Identity Security Arsenal β
- Community Rating
- β 5.0 (26)
- Total Views
- 201
- Last Verified
- Nov 2026
- Curated By
- ToolWar Staff
Maintainer Badge
Add this verified ToolWar badge to your repository README or project documentation.
Rate This Tool
Help fellow researchers evaluate tool effectiveness