Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› How does AD CS ESC8 work?
Threats, Abuse & Incident Response

How does AD CS ESC8 work?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 18, 2026 Domain: Threats, Abuse & Incident Response

AD CS ESC8 is a misconfiguration where certificate services can be abused through HTTP-based enrolment or relay paths to obtain certificates as another account. If protections are weak, an attacker can relay authentication and request a certificate for impersonation. Defenders should harden enrolment endpoints and block relay opportunities.

How ESC8 Abuses HTTP-Based Enrollment Paths

ESC8 works because the certificate authority trusts an HTTP enrollment path strongly enough that relayed authentication can be turned into certificate issuance. The attacker does not need to “break” the CA itself, they need a path that accepts authenticated enrollment and then convince that path to act on someone else’s identity.

In practice, the abuse hinges on two conditions: an enrollment endpoint that can be reached over HTTP and a relay opportunity that lets an attacker forward authentication rather than present their own. Once that relay succeeds, the CA may issue a certificate tied to the relayed account, which can then be used for impersonation.

That is why ESC8 is less about one single flaw and more about a trust-chain failure between web enrollment, authentication relay, and certificate issuance. The certificate becomes the durable artifact, while the weak point is the path that allowed the attacker to obtain it in the first place.

Why the Abuse Path Matters Operationally

ESC8 is dangerous because certificate-based impersonation often outlives the original relay event. If an attacker gets a certificate for a privileged or otherwise valuable account, the certificate can be reused until it expires or is revoked, so the initial network trick can become persistent access.

The misconfiguration also broadens attack surface across environments that still expose legacy enrollment services. If HTTP enrollment is reachable from a place where authentication relay is possible, the attacker may not need password theft, just an opportunity to redirect an authentic session into enrollment.

For that reason, the practical question is not only whether web enrollment exists, but whether it can be coerced into issuing certificates on behalf of another principal. The value of the attack depends on who can be impersonated and how broadly the resulting certificate can authenticate.

What Defenders Need to Close First

Defenders should first determine whether any CA enrollment endpoints are exposed in a way that supports relay, then reduce that exposure before relying on detective controls. Hardening the enrollment service, constraining who can reach it, and removing relay-friendly configurations are the most direct ways to break the abuse path.

Validation also matters: teams should confirm whether enrollment is still available over HTTP where stronger protections are missing, whether authentication is bound tightly enough to the intended user, and whether certificate issuance rules would allow impersonation if a relayed request succeeds. The safest assumption is that any reachable, weakly protected enrollment path is a candidate abuse route.

For readers looking to harden the broader Active Directory and certificate-services environment, the Active Directory and Entra ID Hardening Guide covers the surrounding identity and access controls that limit blast radius, while the AD CS Security Guide focuses on ESC abuse paths, CA hardening, and strong certificate mapping.

Risk and Threat Considerations

ESC8 creates a direct impersonation risk because the attacker is not merely abusing availability, they are trying to obtain a trusted credentialing artifact under someone else’s identity. If the issued certificate maps to a privileged account, the impact can extend from local access to domain-level compromise.

Failure mechanism: A weakly protected HTTP enrollment path accepts relayed authentication, allowing the attacker to request a certificate as the relayed account and then reuse that certificate for authenticated access or impersonation.

Impact: The environment can end up with a valid certificate issued to the wrong principal, which may enable stealthy persistence, privilege abuse, and harder-to-detect follow-on movement until the certificate is revoked or expires.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-2 — Identification and Authentication (Organizational Users)ESC8 abuses authentication-to-issuance trust for user impersonation.
IA-5 — Authenticator ManagementCertificates issued through ESC8 become reusable authenticators that need lifecycle control.
AC-17 — Remote AccessHTTP enrollment exposure and relay opportunities depend on reachable remote paths.
Recommendation — Enforce strong user authentication and bind enrollment to the intended principal. Rotate or revoke exposed authenticators and certificates quickly. Restrict remote access paths to certificate enrollment services.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationRelay-based certificate issuance is an authentication weakness in non-human identity flows.
NHI-05 — Overprivileged NHIESC8-issued certificates may inherit excessive privileges from the impersonated account.
Recommendation — Harden enrollment authentication so relayed identities cannot be accepted. Limit certificate-backed identities to the minimum access they need.
MITRE ATT&CKT1557 — Adversary-in-the-MiddleESC8 relies on relaying authentication through an intermediary to abuse trust.
Recommendation — Detect and disrupt authentication relay opportunities in your environment.

Practitioner Guidance

What to verify: Confirm which enrollment endpoints are reachable, whether they are HTTP-based, and whether any path can accept relayed authentication. If the answer is unclear, treat the service as exposed until you can prove otherwise.

Decision rule: If an endpoint can be used to issue a certificate after relayed authentication, prioritize blocking the relay path and tightening enrollment access before you spend time on downstream monitoring tweaks. Detection helps after abuse; it does not stop the certificate from being minted.

What practitioners underestimate: A certificate issued through ESC8 can be more damaging than the initial relay event because it turns a transient network abuse into a reusable identity artifact. The real security decision is whether any principal can still be converted into a certificate through an untrusted path.

Practitioner takeaway: Treat ESC8 as a trust-boundary failure in certificate issuance, not just a web-enrollment hardening issue, because the attacker’s objective is durable impersonation rather than a one-time relay.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org