Capítulo 7 de 8

Hardening ADCS

Tier-0 treatment, ACL controls, enrolment endpoint defence, patching and auditing.

Unos 12 minutos de lectura

Al terminar este capítulo podrá

  • Explain why CA servers belong in tier 0
  • Apply the main technical controls from the ATT&CK mitigations
  • Enable the audit events that make misuse visible

01Tier 0, not just another server

A CA can issue credentials for any account in the domain. That makes it equivalent to a domain controller for security purposes, so it belongs in tier 0: separate administrative accounts, restricted logon, no browsing, no shared management tooling.

  • Only tier-0 administrators log on interactively to the CA
  • No email, browsing or third-party agents on the host
  • Backups and key material stored under the same tier-0 controls
  • Change control on templates, CA settings and role services

The ATT&CK mitigation M1015 recommends exactly this: treat CA servers and anything holding CA certificates as tier-0 assets, harden abusable settings, and consider disabling SAN usage in authentication protocols to enforce strict mapping.

02The technical control set

ControlCloses
Disable supply-in-request on authentication templatesESC1
Remove or restrict Any Purpose / no-EKU templatesESC2
Restrict enrolment agent templatesESC3
Tighten ACLs on templates and PKI containerESC4
Audit ACLs on CA objects and NTAuthCertificatesESC5
Clear EDITF_ATTRIBUTESUBJECTALTNAME2 on the CAESC6
Limit Manage CA / Manage Certificates rolesESC7
HTTPS with Extended Protection, or remove web enrolmentESC8
Patch the CA and domain controllers promptlyMapping bypasses
Require manager approval for sensitive templatesUnreviewed issuance

03Auditing that catches abuse

ADCS auditing is not fully enabled by default, which is why many incidents are reconstructed long after the fact. Enable it deliberately and ship the events somewhere durable.

EventMeaningWhy it matters
4886Certificate request receivedBaseline volume and requester
4887Certificate issuedCompare the subject with the requester
4888Request deniedRepeated denials suggest probing
4899 / 4900CA or template configuration changedRare; alert on all occurrences
4768Kerberos authentication ticket requestedCorrelate certificate authentication with issuance

04Continuous assessment

ADCS drifts. Someone adds a template, widens a group, re-enables an old endpoint. A one-off audit ages quickly, which is why the useful pattern is continuous assessment with the findings tracked to closure.

PKI Trust Auditor performs discovery, configuration, cryptographic, template and operational checks across ADCS and reports findings with evidence and remediation guidance, so the state can be reviewed after every change.

Para recordar

  • CA servers are tier-0 assets because they can mint domain credentials
  • Each ESC path has a matching, specific configuration control
  • ADCS auditing is not fully on by default; enable it and ship the events
  • Correlating issuance with authentication is the highest-value detection