BLOG • DEFENSIVE ANALYSIS • ACTIVE DIRECTORY

AD CS ESC8: What Defenders Should Look For

After a workplace penetration test, I researched Active Directory Certificate Services relay attacks (ESC8) and wrote up the indicators and investigation questions defenders can use.

By Terrell Grenyion • 2026 • ~4 min read
← Back to Blog

I was recently tasked with researching ESC8 attacks and how they are conducted. The assignment was a useful reminder of how subtle some attack paths can be, particularly those that abuse legitimate infrastructure rather than relying on obvious malware.

What ESC8 is

ESC8 targets Active Directory Certificate Services (AD CS), the component many Windows environments use to issue certificates. Rather than exploiting a software vulnerability in the traditional sense, the attacker abuses trust to obtain certificate-based authentication material they should not have.

Specifically, ESC8 abuses the AD CS web enrollment endpoints, which accept NTLM authentication and are often not configured to block relay. The attacker coerces a machine account, sometimes a domain controller, into authenticating to a system the attacker controls, then relays that authentication to the certificate authority's web enrollment service. The certificate authority issues a valid certificate for the coerced account, which the attacker can then use to authenticate as that machine.

ESC8 is one of several AD CS escalation paths. A related path, ESC1, instead abuses overly permissive certificate templates to request a certificate on behalf of a privileged account. Both end in the same place: legitimate certificates in the wrong hands.

Why it is hard to detect

This class of attack highlights how much visibility and context matter. Because certificates are a legitimate authentication mechanism, the resulting access often looks clean. That is what makes these attacks particularly dangerous, and why defenders must look beyond traditional indicators.

Indicators worth correlating

Several indicators become more meaningful when viewed together:

  • Unusual certificate requests.
  • Certificate enrollments tied to accounts that do not normally request them.
  • Certificate-based authentication where passwords are typically used.
  • Requests originating from unexpected systems or network segments.

These deserve the most attention when any of them is followed shortly by lateral movement or privileged access.

Defensive takeaways

This research reinforced that detection is not only about alerts. It is about understanding normal behavior well enough to recognize what does not belong. The most important defensive practice is reviewing AD CS configurations regularly: which certificate templates and enrollment services exist, why they exist, and who can use them. Visibility into certificate issuance, enrollment failures, and certificate-based authentication events is critical.

Questions to ask during an investigation

Effective detection also comes from asking better questions:

  • Which systems normally communicate with the certificate authority?
  • Which accounts typically use certificate-based authentication?
  • What does normal certificate issuance volume look like?

Without that baseline, abuse is difficult to spot, especially in environments that rely heavily on certificates.

Conclusion

Working through this research clarified how certificate abuse actually appears in practice. Knowing that certificate abuse exists is one thing. Understanding how it would surface in logs, which questions to ask during an investigation, and why it is so difficult to detect is another.

Originally posted on LinkedIn.

← Back to Blog Home