Chapter 03 — Hardening What Stays
Chapter 03 — Hardening What Stays
AD CS doesn’t stop issuing trusted credentials just because a replacement is planned, so the CA you’re leaving has to be the best-defended system you own until the day it’s gone.
Why the AD CS estate gets hardened before anything migrates, and the gate that enforces it. The eight ESC misconfiguration classes as a defensive checklist: what each one is, how to detect it, and how to fix it. How to turn on CA auditing so detection has evidence behind it. The program’s risk-scoring matrix, and the hardening baselines for the AD CS that remains, for Microsoft Cloud PKI and for Microsoft Entra certificate-based authentication.
A migration off Active Directory Certificate Services (AD CS) takes months, and for some workloads it never finishes (Chapter 02). Throughout that time the enterprise CA keeps issuing certificates that domain controllers, VPN gateways, RADIUS servers and Microsoft Entra ID accept as proof of identity. A CA can create credentials the whole environment trusts, so a single over-privileged account or misconfigured setting on it can undo every other identity control.1
That makes hardening the first technical workstream, not a cleanup task at the end. It also matters for the target. Under the bring-your-own-CA model the program recommends (Chapter 04), the new Microsoft Cloud PKI issuing CA chains to the existing AD CS hierarchy, so every weakness in that hierarchy is inherited by the cloud issuer the day it goes live.2
The migration gate
The program carries one rule forward unchanged from its PKI guide: misconfigurations rated Critical or High in the risk-scoring matrix below are remediated and verified before any certificate workload migrates. Migrating from a CA that can be made to issue arbitrary credentials propagates that weakness into whatever trusts the hierarchy next. This is a program design decision; the risk ratings in the matrix are the program’s own scoring, not a vendor classification.
The PKI guide’s PowerShell assessment module, which bundled detection checks for these classes, isn’t reproduced in this book. It stays in the archive pending a technical review. The checklist below relies on Microsoft’s own detection surfaces instead: Microsoft Defender for Identity’s AD CS posture assessments, CA audit events, and directory change auditing.
The ESC taxonomy
The ESC1–ESC8 names come from SpecterOps’s 2021 research on AD CS, which grouped common misconfigurations into numbered “domain escalation” classes.3 Microsoft adopted the same labels in Defender for Identity’s certificate assessments, which is why they’re the shared vocabulary between security vendors, assessors and Microsoft documentation.4 This book uses the names only as labels for defensive checks.
Defender for Identity reports its AD CS assessments in Microsoft Secure Score. Certificate template assessments are available to every customer with AD CS in the environment; certificate authority assessments need a Defender for Identity sensor installed on the AD CS server.5 Install the sensor on every enterprise CA that remains in service, and configure the auditing it depends on (see Turn on CA auditing).6
In GCC, Defender for Identity uses the security.microsoft.com portal and a GCC sensor endpoint. Microsoft says new features reach GCC, GCC High and DoD within 90 days of commercial release, but preview features may not be supported there.7 Two of the assessments below (ESC1 and ESC6) are still labeled preview,8 so confirm they appear in your tenant before relying on them, and run the manual checks in the meantime.
The commands in this chapter are illustrative and haven’t been tested against a production CA. Run read-only checks first, make changes only under a change record with a tested CA backup, and schedule service restarts: restarting Certificate Services interrupts issuance.9
ESC1 — requester-supplied subject on an authentication template
A template allows the requester to supply the subject or subject alternative name (SAN), permits client authentication, and is enrollable by broad, unprivileged groups, so any member can obtain a certificate that names someone else.10
Detection:
- Defender for Identity assessment Prevent users to request a certificate valid for arbitrary users based on the certificate template (ESC1) lists the exposed templates.11
- On each template, check the Subject Name tab for Supply in the request. In the directory this is the
SubjectNameEnrolleeSuppliesbit (0x1) in the template’smsPKI-Certificate-Name-Flagattribute.12 - Check the template’s application policies for authentication purposes: Client Authentication (
1.3.6.1.5.5.7.3.2), Smart Card Logon, PKINIT client authentication, or Any Purpose (2.5.29.37.0).1314 - Check the Security tab for Enroll granted to Authenticated Users, Domain Users, Domain Computers or Everyone.
- On the CA, review event 4886 (request received) and 4887 (request approved and certificate issued) for requests where the requester and the issued subject differ.15
Remediation, any one of which closes the exposure (do as many as the use case allows):16
- Turn off Supply in the request and build the subject from Active Directory.
- Remove authentication EKUs the template doesn’t need.
- Restrict Enroll to the specific groups that need the template.
- Require CA certificate manager approval where requester-supplied names are genuinely needed.
- Remove the template from every CA’s issuance list if it’s unused. An unpublished template can’t be requested.
Microsoft’s template guidance adds that templates with requester-supplied subject information get extra review, and that every permitted identity value must be validated.17
ESC2 — Any Purpose or no EKU
A template carries the Any Purpose EKU or no EKU at all and is enrollable by unprivileged users, so the certificates it issues can be presented for purposes the template owner never intended.18
Detection:
- Defender for Identity assessment Edit overly permissive certificate template with privileged EKU (Any purpose EKU or No EKU) (ESC2).19
- On each template, review Extensions → Application Policies. A template with an empty list or with Any Purpose is a finding if its enrollment permissions include an unprivileged group. A no-EKU template restricted to PKI administrators (for example a subordinate CA template) isn’t the same exposure.
Remediation: restrict the template’s enrollment permissions, replace Any Purpose with the specific EKUs the use case needs, and add manager approval or authorized-signature requirements where possible.20
ESC3 — enrollment agent templates
A template that issues Certificate Request Agent certificates is enrollable by unprivileged users, so the holder can request certificates on behalf of other users.21
Detection:
- Defender for Identity assessment Edit misconfigured enrollment agent certificate template (ESC3) lists the risky templates.22
- Inventory every template with the Certificate Request Agent application policy and every issued, unexpired enrollment agent certificate.
- Test the CA’s enrollment agent restrictions with an allowed and a disallowed request; Microsoft recommends a positive and a negative test for every scoped role.23
Remediation, at least one of: remove the Certificate Request Agent EKU, remove broad enrollment permissions, require CA certificate manager approval, unpublish the template, or use CA-level enrollment agent restrictions to limit which agents can request which templates for which subjects.24 Treat an enrollment agent certificate as an impersonation capability: restrict its template to a named agent group, define the templates and subject populations each agent may serve, and keep enrollment agents separate from certificate managers.25 Microsoft notes that it doesn’t publish a Windows Server 2025 step-by-step procedure for configuring enrollment agent restrictions, so validate the existing configuration in a lab before treating it as the production control.26
ESC4 — template ACLs and owners
An unprivileged group holds rights such as Full Control or Write DACL on a certificate template object, or owns it, so it could change the template into one of the conditions above.27
Detection:
- Defender for Identity assessments Edit misconfigured certificate templates ACL (ESC4) and Edit misconfigured certificate templates owner (ESC4).28
- Review each template’s Security tab and owner for write-type rights (Full Control, Write, Write DACL, Write Owner) held by anyone other than the PKI administrators.
- Template objects live in the forest configuration partition. Changes to them are logged as event 5136 (directory service object modified) on domain controllers, but only when Audit Directory Service Changes is enabled and the objects carry a matching SACL.29
Remediation: remove every ACE that gives an unprivileged group the ability to modify the template, change the owner to a privileged, monitored account, and unpublish templates that aren’t needed.30 Microsoft also advises separating template administration from enrollment and not granting administrators broad enrollment rights just to test a change.31 When you remove Authenticated Users from a template ACL, grant each issuing CA’s computer account Read, or the CA can no longer read the template.32
ESC5 — PKI object ACLs
Unprivileged principals hold write rights on the forest’s Public Key Services objects, such as the NTAuthCertificates object, the Enrollment Services objects or the Certificate Templates container, so they could alter what the forest trusts or which templates a CA offers.33
The NTAuthCertificates object holds the CA certificates trusted to issue authentication certificates such as smart card logon and domain controller certificates; each Enrollment Services object records which certificate types an enterprise CA can issue, and its permissions control who can enroll against that CA.34 Write access to either is control over authentication.
Detection:
- Defender for Identity has no ESC5 assessment; its certificate assessments cover ESC1–ESC4, ESC6–ESC8, ESC11 and ESC15.35 Detection here is manual and audit-based.
- Review the ACLs on
CN=Public Key Services,CN=Services,CN=Configuration,<forest root>and its child containers. List the certificates in the NTAuth store withcertutil -viewstore -enterprise NTAuthand compare them with the approved CA list.36 - Set a SACL on the Public Key Services container and enable Audit Directory Service Changes on domain controllers so modifications produce event 5136.37
Remediation: limit write access on Public Key Services objects to Enterprise Admins and the CA computer accounts that need it, and alert on any change to NTAuthCertificates. Never delete a Public Key Services object because a health tool flags it as stale; Microsoft requires a dependency check, a backup of the object and an approved decommissioning plan first.38
ESC6 — the EDITF_ATTRIBUTESUBJECTALTNAME2 flag
The CA-wide EDITF_ATTRIBUTESUBJECTALTNAME2 policy flag is on, which lets any requester supply SAN values on any template, regardless of the template’s own subject-name setting.3940
Detection:
- Defender for Identity assessment Edit vulnerable Certificate Authority setting (ESC6) (needs the sensor on the CA).41
- On each CA, read the policy module’s edit flags and look for the flag in the output:
# Read-only: list the policy module EditFlags on this CA
certutil -getreg policy\EditFlagsRemediation: find out why the flag was turned on (some old enrollment workflows depended on it), then clear it and restart the service, as Microsoft documents:42
certutil -setreg policy\EditFlags -EDITF_ATTRIBUTESUBJECTALTNAME2
Restart-Service -Name certsvcThe PKI guide said the May 2022 security update (KB5014754) “restricts SAN override behavior.” That’s corrected here. KB5014754 introduced strong certificate mapping: the CA adds a SID security extension (1.3.6.1.4.1.311.25.2) and domain controllers check it. Domain controllers moved to Full Enforcement with the February 11, 2025 update, which denies authentication when a certificate can’t be strongly mapped, and the StrongCertificateBindingEnforcement registry value has been unsupported since the September 9, 2025 update, so compatibility mode is no longer available.43 That reduces what a forged SAN can do against Kerberos, but it doesn’t change what the CA will sign, and other relying parties may still trust the SAN. Clear the flag regardless.
ESC7 — CA permissions
Unprivileged principals hold Manage CA or Issue and Manage Certificates on the CA itself, which lets them change CA settings (including turning on the ESC6 flag) or approve pending requests and so bypass manager approval.44
Detection:
- Defender for Identity assessment Edit misconfigured Certificate Authority ACL (ESC7) (needs the sensor on the CA).45
- Review the CA’s Security tab. On an enterprise CA, the default CA administrator configuration includes local Administrators, Enterprise Admins and Domain Admins; record the resulting ACL as your baseline.46
- Alert on event 4882 (CA security permissions changed), 4890 (certificate manager settings changed) and 4892 (CA property changed).47
Remediation: remove Manage CA and Issue and Manage Certificates from every unprivileged built-in group.48 Then build the role model Microsoft describes: separate groups for CA administrators, certificate managers, enrollment agents, auditors, and backup and recovery custodians, populated with named accounts only, with a written owner and review date for each.49 Issue and Manage Certificates is the certificate manager role; it can issue, deny, revoke and reinstate certificates without the broader Manage CA permission.50
Service accounts need the same scrutiny. The Intune Certificate Connector needs Issue and Manage Certificates to revoke certificates,51 and certificate lifecycle tooling that enrolls through the CA needs it too (Chapter 04). Each such account is a certificate manager in all but name: give it a dedicated identity, restrict where it can sign in, and include it in the ESC7 review.
ESC8 — HTTP enrollment endpoints open to NTLM relay
An AD CS web enrollment endpoint accepts NTLM without HTTPS or without Extended Protection for Authentication (EPA), so authentication relayed from another system can be used to request a certificate in that system’s name.52
Detection:
- Defender for Identity assessment Edit insecure ADCS certificate enrollment IIS endpoints (ESC8) lists the problem endpoints (needs the sensor on the CA).53 Defender for Identity also raises a detection alert for suspicious machine-certificate issuance consistent with this pattern.54
- Inventory every server running Certification Authority Web Enrollment or the Certificate Enrollment Web Service, and check each IIS site for an HTTP binding, Require SSL, and the EPA setting.
Remediation, from Microsoft’s advisory for these two roles:55
- Enable EPA on both services, set to Required, the more secure and recommended option. For the Certificate Enrollment Web Service, also set
extendedProtectionPolicytoAlwaysin itsweb.config. - Enable Require SSL so only HTTPS connections are accepted.
- Restart IIS.
- Where you can, go further: restrict NTLM in the domain, block incoming NTLM on the AD CS servers, or set the sites’ Windows authentication to Kerberos only.
Better still, remove Web Enrollment wherever nothing depends on it. The Network Device Enrollment Service (NDES) also runs in IIS; the program applies the same HTTPS and NTLM restrictions to NDES sites, and retires NDES altogether for devices that move to Cloud PKI, which needs no NDES server or connector (Chapter 04).56
Beyond ESC8
Defender for Identity also assesses two later classes that belong on the same checklist:57
- ESC11: the CA’s RPC enrollment interface doesn’t require packet privacy. The
IF_ENFORCEENCRYPTICERTREQUESTflag is on by default but is sometimes turned off for old clients; turn it back on withcertutil -setreg CA\InterfaceFlags +IF_ENFORCEENCRYPTICERTREQUESTand restart the service. - ESC15: templates on CA servers unpatched for CVE-2024-49019 can issue certificates with arbitrary application policies. Remove unprivileged enrollment, turn off Supply in the request, and patch the CA.
Turn on CA auditing
Every detection above depends on evidence, and AD CS produces none by default. Two settings are needed, and neither works without the other: the CA’s audit filter selects which CA operations are audited, and the Audit Certification Services advanced audit subcategory lets the operating system generate the events.58
- In a dedicated GPO linked to the CA servers, set Computer Configuration → Policies → Windows Settings → Security Settings → Advanced Audit Policy Configuration → Audit Policies → Object Access → Audit Certification Services to Success and Failure.59
- Set the CA audit filter, either on the CA’s Auditing tab or from an elevated session, then restart the service in a maintenance window:60
certutil -setreg CA\AuditFilter 127
Restart-Service -Name certsvcFull auditing includes the start and stop category, which can slow restarts on a CA with a large database; test the effect first.61 Defender for Identity’s sensor documentation asks for the same two settings.62
Microsoft’s focused monitoring baseline for a CA:63
| Event ID | Meaning | Why the program watches it |
|---|---|---|
| 4886 | Certificate Services received a certificate request | Request volume and requester, per template |
| 4887 | Certificate Services approved a request and issued a certificate | Every issued credential; requests for templates that should be retired |
| 4888 | Certificate Services denied a request | Probing of restricted templates |
| 4870 | Certificate Services revoked a certificate | Revocation evidence for leavers and incidents |
| 4882 | Security permissions for Certificate Services changed | ESC7 drift |
| 4885 | Audit filter changed | Someone turning auditing down |
| 4890 | Certificate manager settings changed | ESC7 drift |
| 4892 | A property of Certificate Services changed | ESC6 and other configuration drift |
| 4896 | Rows deleted from the certificate database | Evidence destruction or unapproved cleanup |
| 4897 | Role separation enabled | Change to the CA’s role model |
Certificate Services also logs 4871 and 4872 for CRL publication requests and published CRLs, and 4898 when it loads a template.6465 Microsoft recommends generating each event in a nonproduction test before writing the collection rule, so an assumed event doesn’t become a blind spot.66
Forward the events through Windows Event Forwarding to a collector and then to the SIEM. Microsoft’s current WEF baseline subscription already includes 4886, 4887 and 4888, but WEF doesn’t enable auditing or stop a full local log from overwriting evidence, so size the CA’s Security log for the longest plausible collection outage.67 The program’s monitoring of these events is in Chapter 08.
The risk-scoring matrix
The program scores each class for prioritization. The risk level, migration-blocker and priority columns are the program’s own scoring, carried forward from its PKI guide with one change: ESC2 is downgraded from “Yes” to “Possible” for domain compromise, because Microsoft describes its main effect as undermining trust in other certificate consumers rather than direct user impersonation.68 The detection columns are from Microsoft’s documentation.6970
| Class | Misconfiguration | Risk level | Domain compromise? | Migration blocker? | Remediation priority | Defender for Identity assessment |
|---|---|---|---|---|---|---|
| ESC1 | Requester supplies subject on an authentication template | Critical | Yes | Yes | Immediate | Yes (template; preview) |
| ESC2 | Any Purpose or no EKU, broadly enrollable | Critical | Possible | Yes | Immediate | Yes (template) |
| ESC3 | Enrollment agent template broadly enrollable | High | Possible | Yes | Within 2 weeks | Yes (template) |
| ESC4 | Writable template ACL or unprivileged owner | High | Possible | Yes | Within 2 weeks | Yes (template; ACL and owner) |
| ESC5 | Writable Public Key Services objects | High | Possible | Yes | Within 2 weeks | No; manual review and event 5136 |
| ESC6 | EDITF_ATTRIBUTESUBJECTALTNAME2 on |
Critical | Yes | Yes | Immediate | Yes (CA sensor; preview) |
| ESC7 | Unprivileged Manage CA or Issue and Manage Certificates | High | Possible | Yes | Within 2 weeks | Yes (CA sensor) |
| ESC8 | HTTP enrollment without HTTPS and EPA | Critical | Yes | Yes | Immediate | Yes (CA sensor) |
“Immediate” means the finding is fixed or the template or endpoint is taken out of service before the next change window closes. Every row is a migration blocker until it’s verified closed. Verification means the Defender for Identity assessment shows no exposed entities (scores and statuses update every 24 hours, so allow for the lag),71 and a manual re-check for ESC5.
Hardening the AD CS that remains
Templates classified BRIDGE or RETAIN (Chapter 02) keep AD CS in service for months or years. For that period:
- Lock the templates. Remove every template that no BRIDGE or RETAIN workload needs from each CA’s issuance list, and remove autoenrollment permissions from the rest except where a workload still depends on them. Removing a template from the issuance list is also Microsoft’s usual first rollback step, so it’s reversible.72
- Alert on unauthorized requests. With auditing on, alert on 4886 and 4887 for templates that should no longer be requested, and on 4888 spikes.73
- Keep CRL publication on schedule. A lapsed CRL breaks validation for every certificate the CA issued. Entra certificate-based authentication fails when it can’t retrieve a configured CRL,74 and Microsoft recommends reviewing CRL next-update times and running
certutil -verify -urlfetchfrom representative client networks on a schedule shorter than your shortest renewal window.75 - Back up before every change. Run
Backup-CARoleServicefrom an elevated session as a CA administrator before changing permissions, templates or audit settings; it backs up the database and the CA private key, so protect the output as recovery material and test restoration only on an isolated system.76 - Treat CA servers as Tier 0. Patch them, administer them only from a hardened management host, avoid routine interactive sign-in, and keep CA private keys, backups and key recovery agent keys under separate custody.77 The Tier 0 designation is the program’s; it follows from the fact that the CA can mint domain authentication credentials.
- Isolate the network. Allow RPC enrollment to the CA only from the endpoints that need it (domain members for autoenrollment, the Intune Certificate Connector, NDES, and lifecycle tooling) and block everything else at the host and network firewall. This is a program control; the exact port set depends on your RPC configuration.
- Protect the CA keys. The program requires FIPS 140-2 or 140-3 validated cryptographic modules for every CA, CA private keys generated and held non-exportable in a hardware security module, and dual control with split knowledge for root CA ceremonies (NIST SP 800-53
SC-12,SC-13). Record the module validation certificates as assessment evidence.
Hardening Microsoft Cloud PKI
Cloud PKI removes most of the attack surface above (no templates in the directory, no NDES, no web enrollment), but it adds an administrative surface of its own.
- Scope the administrators. Cloud PKI permissions (read CAs, create CAs, revoke issued leaf certificates) can be assigned through custom Intune roles, and each CA can carry scope tags.78 The Intune Administrator role has these permissions built in.79 The PKI guide referred to “Intune PKI Administrator” roles; no built-in role by that name exists, so the program creates custom roles and assigns them through privileged access (Book 04, Chapter 04).
- Choose EKUs at creation. A Cloud PKI CA’s EKUs can’t be edited after creation, and Cloud PKI doesn’t allow the Any Purpose EKU on CAs or SCEP profiles.80 Design the CA’s purpose up front.
- Keep private keys in hardware. On Windows, set the SCEP profile’s key storage provider to Enroll to Trusted Platform Module (TPM) KSP, otherwise fail. The PKI guide also called for TPM-backed keys on macOS and for 4096-bit keys on Tier 0 assets; both are corrected. The key storage provider setting applies to Windows only, and on Windows a 4096-bit key can be stored only in the software KSP, not in the TPM or Windows Hello for Business.81 The program therefore uses 2048-bit RSA in the TPM for Windows device certificates.
- Keep validity short. Intune SCEP profiles support validity periods up to 24 months, and Microsoft advises at least five days to avoid devices rejecting near-expired certificates.82 The program sets one year for user and device authentication certificates. The PKI guide’s two-year figure for “infrastructure certificates” doesn’t apply: Cloud PKI issues only to Intune-enrolled devices (Chapter 04).
- Watch issuance. The PKI guide called this “certificate transparency,” which is a different, public-CA mechanism. Cloud PKI provides a reporting dashboard of active, expired and revoked certificates, updated every 24 hours, and audit logs of administrative actions such as create, revoke and search.83 The program exports both to its monitoring (Chapter 08) and alerts on unexpected issuance volumes there.
- Don’t count on trial keys. CAs created during a trial use software-backed keys and can’t be converted to HSM-backed keys after purchase.84 Create production CAs only after the license is in place.
Hardening Entra certificate-based authentication
Entra CBA is a relying party, not a CA (Book 02, Chapter 04), so its hardening is about what it trusts and how strongly it binds a certificate to a user. Book 03 covers PIV binding and revocation in depth (Book 03, Chapter 09), and Chapter 06 covers deployment.
- Use high-affinity bindings. Microsoft classes
SKI,SHA1PublicKeyandIssuerAndSerialNumbermappings incertificateUserIdsas high affinity, andPrincipalName,RFC822Name,SubjectandIssuerAndSubjectas low affinity. Set the tenant’s required affinity binding to high for production, with custom rules only where a population genuinely needs otherwise.85 - Require specific issuers and policy OIDs for sensitive resources. A custom authentication strength can require CBA certificates from named issuers or with named policy OIDs (up to five of each), and Conditional Access can require that strength for the resources that need it.86 Pair it with a compliant-device requirement so both the person and the device are verified.
- Make revocation real. Turn on Require CRL validation, which makes CBA fail for certificates from a CA with no CRL configured.87 Entra supports one HTTP CRL distribution point per CA and no OCSP or LDAP URLs.88 The PKI guide called for “CRL pre-fetching in Entra”; no such setting is documented, so it’s removed. The program’s own requirement is that each issuing CA trusted by Entra publishes a new CRL at least every 24 hours, because Entra caches the CRL and a revocation isn’t seen until the cache refreshes.89
- Trust only what you use. Upload only CA certificates that are actively issuing to users. Use CA scoping, generally available since April 2026, to restrict each issuing CA to the Entra group whose members should hold its certificates; a user outside the scoped group fails authentication even with an otherwise valid certificate. Each CA takes one group, the tenant supports up to 30 scoping rules, and a mistake can lock users out, so pilot it.9091 Remove a decommissioned CA’s certificates from the trust store as part of its decommissioning (Chapter 08).
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Cloud PKI deployment for Microsoft Intune,” https://learn.microsoft.com/intune/cloud-pki/deployment-models (accessed Oct 20, 2026).↩︎
Will Schroeder and Lee Christensen, SpecterOps, Certified Pre-Owned: Abusing Active Directory Certificate Services, June 17, 2021 (updated June 22, 2021), https://specterops.io/research/certified-pre-owned/ (accessed Oct 20, 2026). Cited for the ESC class names only.↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Defender for Identity’s security posture assessments,” https://learn.microsoft.com/defender-for-identity/security-assessment (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Configure Windows event auditing” (Defender for Identity; configure auditing on an AD CS server), https://learn.microsoft.com/defender-for-identity/deploy/configure-windows-event-collection (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Defender for Identity for US Government offerings,” https://learn.microsoft.com/defender-for-identity/us-govt-gcc-high (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “X509CertificateTemplateSubjectNameFlag enumeration (certenroll.h),” https://learn.microsoft.com/windows/win32/api/certenroll/ne-certenroll-x509certificatetemplatesubjectnameflag, and “ms-PKI-Certificate-Name-Flag attribute,” https://learn.microsoft.com/windows/win32/adschema/a-mspki-certificate-name-flag (both accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Configure root and issuing CA for Microsoft Cloud PKI” (Any Purpose
2.5.29.37.0EKU), https://learn.microsoft.com/intune/cloud-pki/configure-ca (accessed Oct 20, 2026).↩︎Microsoft Learn, “Audit Certification Services,” https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/audit-certification-services (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Manage AD CS certificate templates on an enterprise CA,” https://learn.microsoft.com/windows-server/identity/ad-cs/manage-certificate-templates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Windows security baseline” (System Audit Policies, DS Access: Audit Directory Service Changes, events 5136–5139), https://learn.microsoft.com/azure/governance/policy/samples/guest-configuration-baseline-windows (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Manage AD CS certificate templates on an enterprise CA,” https://learn.microsoft.com/windows-server/identity/ad-cs/manage-certificate-templates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Manage AD CS certificate templates on an enterprise CA,” https://learn.microsoft.com/windows-server/identity/ad-cs/manage-certificate-templates (accessed Oct 20, 2026).↩︎
Will Schroeder and Lee Christensen, SpecterOps, Certified Pre-Owned: Abusing Active Directory Certificate Services, June 17, 2021 (updated June 22, 2021), https://specterops.io/research/certified-pre-owned/ (accessed Oct 20, 2026). Cited for the ESC class names only.↩︎
Microsoft Learn, “Monitor AD CS publication health with Enterprise PKI,” https://learn.microsoft.com/windows-server/identity/ad-cs/monitor-ad-cs-health-enterprise-pki (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “certutil,” https://learn.microsoft.com/windows-server/administration/windows-commands/certutil (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Windows security baseline” (System Audit Policies, DS Access: Audit Directory Service Changes, events 5136–5139), https://learn.microsoft.com/azure/governance/policy/samples/guest-configuration-baseline-windows (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Monitor AD CS publication health with Enterprise PKI,” https://learn.microsoft.com/windows-server/identity/ad-cs/monitor-ad-cs-health-enterprise-pki (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Manage AD CS certificate templates on an enterprise CA,” https://learn.microsoft.com/windows-server/identity/ad-cs/manage-certificate-templates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Support, “KB5014754: Certificate-based authentication changes on Windows domain controllers,” https://support.microsoft.com/en-us/topic/kb5014754-certificate-based-authentication-changes-on-windows-domain-controllers-ad2c23b0-15d8-4340-a468-4d4f3b188f16 (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Review and dispose of pending certificate requests,” https://learn.microsoft.com/windows-server/identity/ad-cs/review-dispose-pending-certificate-requests (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Configure infrastructure to support SCEP with Intune” (grant permissions for certificate revocation), https://learn.microsoft.com/intune/fundamentals/certificates/scep-infrastructure (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Defender for Identity alerts in Microsoft Defender format” (Credential Access alerts), https://learn.microsoft.com/defender-for-identity/alerts-xdr (accessed Oct 20, 2026).↩︎
Microsoft Support, “KB5005413: Mitigating NTLM Relay Attacks on Active Directory Certificate Services (AD CS),” https://support.microsoft.com/en-us/topic/kb5005413-mitigating-ntlm-relay-attacks-on-active-directory-certificate-services-ad-cs-3612b773-4043-4aa9-b23d-b87910cd3429 (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Overview of Microsoft Cloud PKI for Microsoft Intune,” https://learn.microsoft.com/intune/cloud-pki/ (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Configure Windows event auditing” (Defender for Identity; configure auditing on an AD CS server), https://learn.microsoft.com/defender-for-identity/deploy/configure-windows-event-collection (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Audit Certification Services,” https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/audit-certification-services (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Defender for Identity’s security posture assessments,” https://learn.microsoft.com/defender-for-identity/security-assessment (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Security assessment: Certificates” (Microsoft Defender for Identity), https://learn.microsoft.com/defender-for-identity/security-posture-assessments/certificates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Manage AD CS certificate templates on an enterprise CA,” https://learn.microsoft.com/windows-server/identity/ad-cs/manage-certificate-templates (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Entra certificate-based authentication Certificate Revocation List (CRL),” https://learn.microsoft.com/en-us/entra/identity/authentication/concept-certificate-based-authentication-certificate-revocation-list (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Monitor AD CS publication health with Enterprise PKI,” https://learn.microsoft.com/windows-server/identity/ad-cs/monitor-ad-cs-health-enterprise-pki (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Secure, delegate, and audit certification authority administration,” https://learn.microsoft.com/windows-server/identity/ad-cs/secure-delegate-audit-certification-authority (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Overview of Microsoft Cloud PKI for Microsoft Intune,” https://learn.microsoft.com/intune/cloud-pki/ (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Configure root and issuing CA for Microsoft Cloud PKI,” https://learn.microsoft.com/intune/cloud-pki/configure-ca (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Configure root and issuing CA for Microsoft Cloud PKI,” https://learn.microsoft.com/intune/cloud-pki/configure-ca (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Create and assign SCEP certificate profiles in Intune,” https://learn.microsoft.com/intune/device-configuration/certificates/scep-profiles (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Create and assign SCEP certificate profiles in Intune,” https://learn.microsoft.com/intune/device-configuration/certificates/scep-profiles (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Overview of Microsoft Cloud PKI for Microsoft Intune,” https://learn.microsoft.com/intune/cloud-pki/ (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Overview of Microsoft Cloud PKI for Microsoft Intune,” https://learn.microsoft.com/intune/cloud-pki/ (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Entra certificate-based authentication technical concepts,” https://learn.microsoft.com/en-us/entra/identity/authentication/concept-certificate-based-authentication-technical-deep-dive (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Create and manage custom Conditional Access authentication strengths” (advanced options for certificate-based authentication), https://learn.microsoft.com/entra/identity/authentication/concept-authentication-strength-advanced-options (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Entra certificate-based authentication Certificate Revocation List (CRL),” https://learn.microsoft.com/en-us/entra/identity/authentication/concept-certificate-based-authentication-certificate-revocation-list (accessed Oct 20, 2026).↩︎
Microsoft Learn, “What is Microsoft Entra certificate-based authentication?” (unsupported scenarios), https://learn.microsoft.com/entra/identity/authentication/concept-certificate-based-authentication (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Entra certificate-based authentication Certificate Revocation List (CRL),” https://learn.microsoft.com/en-us/entra/identity/authentication/concept-certificate-based-authentication-certificate-revocation-list (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Entra certificate-based authentication technical concepts,” https://learn.microsoft.com/en-us/entra/identity/authentication/concept-certificate-based-authentication-technical-deep-dive (accessed Oct 20, 2026).↩︎
Microsoft Learn, “Microsoft Entra releases and announcements” (April 2026: Entra CBA Certificate Authority scoping), https://learn.microsoft.com/entra/fundamentals/whats-new (accessed Oct 20, 2026).↩︎