exploiting-active-directory-certificate-services-esc1

Exploit AD CS ESC1 misconfigurations to forge certificates and escalate domain privileges.

1|1|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Yenn503/Net-Runners --skill exploiting-active-directory-certificate-services-esc1-yenn503
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: exploiting-active-directory-certificate-services-esc1
Source: https://github.com/Yenn503/Net-Runners/tree/main/.netrunner/skills/infra/exploiting-active-directory-certificate-services-esc1
Command: npx skills add https://github.com/Yenn503/Net-Runners --skill exploiting-active-directory-certificate-services-esc1-yenn503

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? During authorized red team engagements, testers need a repeatable procedure to identify and exploit ESC1 misconfigurations in Active Directory Certificate Services, where templates with "Supply in Request" enabled allow low-privileged users to request certificates as Domain Admins. ## Core Features & Use Cases - AD CS Enumeration: Enumerate Certificate Authorities and vulnerable certificate templates using Certify or Certipy, verifying ENROLLEE_SUPPLIES_SUBJECT flags and enrollment rights. - Certificate Forgery and PKINIT Authentication: Request certificates with arbitrary Subject Alternative Names, convert PEM to PFX, and authenticate via PKINIT with Rubeus or Certipy to obtain a Domain Admin TGT. - Use Case: A red team operator with standard domain user credentials runs Certipy against the domain controller, finds a vulnerable template, requests a certificate with the administrator UPN, and uses the resulting TGT to perform a DCSync and validate Domain Admin access. ## Quick Start Ask the agent to enumerate AD CS certificate templates with Certipy against the target domain controller and identify any templates vulnerable to ESC1.

Frequently Asked Questions about exploiting-active-directory-certificate-services-esc1

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

FAQPage Schema
How do I exploit ESC1 in Active Directory Certificate Services?▼

Enumerate templates with Certify or Certipy to find ones with ENROLLEE_SUPPLIES_SUBJECT enabled and client authentication EKU. Then request a certificate specifying a Domain Admin UPN in the SAN and authenticate via PKINIT to obtain a TGT.

What tools are used for AD CS ESC1 exploitation?▼

Certify and Certipy handle enumeration and certificate requests on Windows and Linux respectively. Rubeus performs PKINIT authentication with the forged certificate, while Mimikatz or secretsdump.py handle post-escalation credential dumping.

What makes a certificate template vulnerable to ESC1?▼

A template is vulnerable when it has the ENROLLEE_SUPPLIES_SUBJECT flag, an EKU permitting client authentication, enrollment rights granted to low-privileged groups like Domain Users, and no manager approval requirement.

Can Certipy exploit ESC1 from Linux?▼

Yes, Certipy supports the full ESC1 workflow from Linux: finding vulnerable templates with certipy find, requesting a certificate with an arbitrary UPN via certipy req, and authenticating with certipy auth to recover the NT hash.

How can defenders detect ESC1 certificate abuse?▼

Monitor Windows Events 4886 and 4887 on the CA for certificate requests where the SAN differs from the requester, and Event 4768 for certificate-based PKINIT pre-authentication. LDAP query monitoring can also catch mass template enumeration.