Every exploitable ADCS certificate path in your PKI, found and proven.
ADscan validates all 17 ESC classes against your Active Directory Certificate Services deployment, 13 auto-exploited end to end and 4 detected and flagged, so you know exactly which certificate misconfigurations are open attack routes to Domain Admin today.
ADCS certificate exposure is the set of certificate-template and PKI misconfigurations (ESC1–ESC17) that allow an attacker to obtain a certificate that can be used to authenticate as a privileged user, including a Domain Admin or Domain Controller. ADscan validates each supported class against your live environment using a native certipy-equivalent implementation.
13 / 17
Active Directory Certificate Services is deployed in the majority of enterprise Windows environments, yet its attack surface remained largely unknown until the ESC research published by Will Schroeder and Lee Christensen in 2021. Since then, every major ransomware post-mortem has included a certificate-template misconfiguration as either the initial access vector or the privilege escalation step. Annual pentests rarely include a full ESC enumeration pass, and automated scanners only map templates without exploiting them. ADscan validates each class with a native implementation, proves the path end to end, and ties each finding to DORA, NIS2 and ENS.
ESC classes auto-exploited end to end by ADscan · ESC10, ESC12, ESC16, ESC17 detected and flagged
- 01
Enumerate the PKI
Collect every certificate template, CA configuration, and issuance policy from the domain natively — no agent, no certipy binary, no PowerShell dependency.
- 02
Classify each ESC class
Evaluate templates against all 17 ESC conditions: enrollment rights, CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT, EKU misconfigurations, CA-level misconfigurations, relay conditions, and the newer ESC11 through ESC17 classes.
- 03
Exploit each supported class
Request and obtain certificates for ESC1 to ESC9, ESC11 and ESC13 to ESC15 (13 classes) end to end, recovering a high-privilege credential or ticket from each.
- 04
Detect and flag remaining classes
ESC10, ESC12, ESC16 and ESC17 are enumerated, analysed and flagged as present with detailed exploitation notes, but are not auto-exploited given their environment-specific complexity. ESC12, a CA key in a YubiHSM2 whose provider password is stored on the CA host, is checked on that host only with an account proven to administer it, and the check never reads the password itself.
- 05
Chain to Domain Admin
Where a certificate path leads to a Domain Controller account or a privileged group, ADscan chains the recovery through PKINIT or S4U to obtain a Domain Admin ticket and mark the path proven.
- 06
Map to compliance and remediate
Each proven or detected ESC class is tied to its DORA, NIS2 and ENS control, and paired with the specific template or CA configuration change that closes it.
ESC1–ESC17 coverage
ADscan evaluates all 17 ESC classes (ESC1–ESC17) defined in the Certified Pre-Owned research and its follow-up work. 13 are exploited automatically, and 4 (ESC10, ESC12, ESC16, ESC17) are detected and surfaced with exploitation notes.
Native certipy-equivalent implementation
Certificate enumeration and exploitation use a native implementation — no certipy binary shipped or invoked. The same LDAP and RPC protocols used by Windows itself enumerate templates, request certificates and convert them to Kerberos tickets.
PKINIT and S4U chain to Tier 0
Where certificate recovery allows PKINIT, ADscan completes the chain to a Kerberos TGT and Domain Admin ticket, proving the path reaches Tier 0 rather than stopping at certificate retrieval.
CA-level misconfiguration detection
Beyond template checks, ADscan evaluates CA-level conditions (ESC6, ESC7, ESC8) including EDITF_ATTRIBUTESUBJECTALTNAME2, ACL on the CA object itself, and NTLM relay conditions against the certificate enrollment endpoint.
Proven vs detected, clearly separated
The report distinguishes exploited ESC classes (certificate obtained and chained to Domain Admin) from detected ESC classes (present and exploitable, but not auto-exploited). Both categories include severity rating and remediation.
Template-level remediation guidance
Each finding maps to the exact template property or CA setting that closes the exposure: flag names, registry keys, and the Group Policy path where relevant, not generic "harden your PKI" advice.
What the rule says, and what the report maps.
ADCS certificate-template misconfigurations are direct attack paths to Domain Admin. The report maps every proven ESC class to DORA Article 9(4)(d) on strong authentication and protection of cryptographic keys, and to NIS2 Article 21(2)(h) on cryptography. Some classes also map to DORA Article 9(4)(c) where template or CA rights are involved, and to NIS2 Article 21(2)(i) on access control policies. In ENS, the report maps the classes to op.acc access-control measures, and maps op.exp.10 on protection of cryptographic keys only for ESC12 and an orphaned CA. In ISO 27001:2022, most classes map to Annex A.8.5 on secure authentication. The report puts the legal rule next to each finding. Your evidence is ready without extra work. NIS2 is a directive, so its measures reach an entity through national law. As of 27 November 2026, EUR-Lex lists no Spanish transposition measure for NIS2.
The source-available ADscan engine on the command line enumerates all ESC classes, exploits the 13 supported classes end to end, and reports each finding with remediation guidance. Free on GitHub, no license required.
Adds the board-ready PDF report with the full ADCS attack narrative, per-finding DORA, NIS2 and ENS compliance mapping, and MITRE ATT&CK technique references. Your first assessment is free on a dated client engagement for 30 days from activation. It covers the first domain scanned and the forests reached through its Active Directory trusts. After that, each assessment is paid according to the enabled identities of the client domains in scope. The Enterprise platform adds scheduled re-validation and drift tracking across PKI changes.
Explore the rest of the platform.
Attack Path Validation
Execute the paths from a low-privilege user to Domain Admin and see how far each was proven.
OpenPrivilege & Delegation Exposure
Unconstrained and constrained delegation, RBCD and ACL abuse.
OpenAD Vulnerability Validation
ZeroLogon, PetitPotam and critical AD misconfigurations, detected and reported.
OpenIn a recent anonymised assessment of a European pharmaceutical group, one misconfigured certificate template sat on 42 of the 48 paths to full domain control, and ADscan reached full control by relaying authentication to the CA's web enrollment interface.
Questions, answered.
What is an ADCS ESC1 attack?
ESC1 is the certificate-template misconfiguration where the template allows the requesting user to supply a Subject Alternative Name (SAN) and grants enrollment rights to low-privilege users. An attacker requests a certificate with a Domain Admin UPN in the SAN field, then uses it to obtain a Kerberos TGT as Domain Admin. ADscan identifies eligible templates and completes this chain end to end.
How many ESC classes exist and which does ADscan cover?
The Certified Pre-Owned research defined ESC1 through ESC8, and subsequent research extended the catalogue through ESC17. ADscan evaluates all 17 classes. ESC1 to ESC9, ESC11 and ESC13 to ESC15 (13 classes) are auto-exploited end to end. ESC10, ESC12, ESC16 and ESC17 are detected and flagged with exploitation notes but are not auto-exploited due to their environment-specific complexity.
How does ADscan detect ADCS attacks without running certipy?
ADscan uses a native implementation of the same LDAP and RPC protocols that Windows uses to enumerate certificate templates, query CA configuration, and request certificates. No external binary is shipped or invoked. This keeps the tool dependency-free and means the enumeration logic can run across domain trusts and in constrained environments where PowerShell or third-party tooling is blocked.
Does ADscan use certipy?
No. ADscan includes a certipy-equivalent native implementation that reproduces the same enumeration and exploitation logic using Windows protocols directly. This avoids a Python runtime dependency, keeps the tool self-contained, and means the implementation can be audited alongside the rest of the ADscan codebase.
Is ADCS in DORA, NIS2 and ENS scope?
Yes. ADCS is the PKI that supports authentication and code signing in Windows environments. A compromised certificate authority means a compromised domain. As regulatory context, DORA Article 9(4)(d) requires strong authentication and protection of cryptographic keys. Article 24(6) asks the entity for at least yearly tests on ICT systems and applications supporting critical or important functions. In the output, the report maps ESC findings to DORA Article 9(4)(d), NIS2 Article 21(2)(h), ENS op.acc access-control measures, with op.exp.10 on protection of cryptographic keys for ESC12, and ISO 27001:2022 Annex A.8.5 on secure authentication. ADscan maps each ESC finding to the control it relates to.
What is the difference between a certificate misconfiguration and a path to Domain Admin?
A certificate misconfiguration (such as ESC1) is a property on a single template or CA. A path to Domain Admin is the chain: low-privilege account enrolls in the template, obtains a certificate with an admin SAN, uses PKINIT to get a TGT as Domain Admin. ADscan validates the full chain, not just the template condition, so you know the misconfiguration is a real attack route rather than a theoretical one.
Find out which path to Domain Admin you have today.
Request a demo and watch ADscan find the attack paths to Domain Admin and execute them live in our lab.