βœ“
[CE]
cli v4.8.2 free

Certipy

β˜… 4,900 GitHub Stars Release v4.8.2

Comprehensive tool for Active Directory Certificate Services (AD CS) enumeration and exploitation

// At a Glance
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-KeyCredentialLink values.
  • 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_SUBJECT flags (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 .
>_ Inspect via Terminal API (ToolWar v1)
curl -fsSL https://toolwar.com/api/v1/tools/certipy/install

πŸ’¬ Discussion & Community Field Notes

0 comments
No reviews or comments yet. Be the first to share operational field notes!

Specification Matrix

Status
active
License / Model
MIT
Type
cli
Supported Platforms
Linux Windows macOS
GitHub Telemetry
β˜… 4,900 750
Latest Release
v4.8.2
Maintenance
active
Community Rating
β˜… 5.0 (26)
Total Views
201
Last Verified
Nov 2026
Curated By
ToolWar Staff

Maintainer Badge

Listed on ToolWar badge

Add this verified ToolWar badge to your repository README or project documentation.

Rate This Tool

Help fellow researchers evaluate tool effectiveness

Click a star to submit rating Registering rating... βœ“ Rating registered! Average: ( votes)