AD CS
CERTIFIED PRE-OWNED
ESC1 / ESC8
CERTIPY
TechniquePrivilege EscalationActive DirectoryOctober 11, 2026•10 min read

AD CS Abuse: When Your Certificate Authority Becomes a Backdoor

A certificate authority that trusts the wrong template will hand a low-privilege user a certificate that logs in as domain admin — and the abuse looks like normal PKI.

Scroll

Active Directory Certificate Services (AD CS) abuse turns an organisation’s own PKI into a privilege-escalation and persistence engine. The attack surface was systematised in 2021 by SpecterOps researchers Will Schroeder and Lee Christensen in their Certified Pre-Owned white paper, which catalogued a series of escalation paths labelled ESC1 through ESC8 (the community has since added more). The common thread: a misconfigured certificate template or CA setting lets a low-privileged user enrol for a certificate that authenticates as a higher-privileged account — often a domain administrator — after which the attacker holds durable, PKI-blessed access.

How It Works

Certificates can be used to authenticate to Active Directory. If a certificate template lets unprivileged users enrol and supply an arbitrary subject (the ENROLLEE_SUPPLIES_SUBJECT flag) with a client-authentication EKU, an attacker can request a certificate naming a domain administrator and then log in as them — the canonical ESC1 path. Other paths abuse dangerous EKUs, vulnerable CA ACLs, the CA’s own configuration, or relay of machine authentication to the CA’s web-enrolment endpoint (ESC8, an NTLM-relay path). Because a valid certificate can far outlive a password reset, certificate-based persistence is hard to evict. T1649 T1556 T1078

Tooling

The enumeration and exploitation are automated by open-source tools — Certify (C#) and Certipy (Python) — which find vulnerable templates, request malicious certificates and convert them into Kerberos tickets or NTLM material. Defensive enumeration is available through PingCastle, PSPKIAudit and Certipy’s own audit mode.

MITRE ATT&CK Mapping

TacticTechniqueUsage
Credential AccessT1649 Steal or Forge Auth CertificatesMalicious enrolment
Credential AccessT1557.001 LLMNR/NBT-NS & SMB RelayESC8 relay to web enrolment
PersistenceT1556 Modify Authentication ProcessCertificate persistence
Privilege EscalationT1078 Valid AccountsAuthenticate as privileged user

Detection & Mitigation

Secure Your PKI and Active Directory

Mjolnir Security helps organisations find and fix AD CS misconfigurations before they are abused.

Active Directory SecurityPenetration TestingManaged Detection & ResponseIncident ResponseThreat Hunting
  • Active Directory Security Review Auditing certificate templates and CA configuration for ESC paths.
  • Penetration Testing Validating AD CS and privilege-escalation exposure.
  • 24/7 Incident Response Containment when certificate abuse is detected. Call +1 833 403 5875.
Written by: Mjolnir Security  |  Published: October 11, 2026