Join our Newsletter — 33% off our NHI Course

AD CS Domain Persistence

AD CS Domain Persistence is a technique that uses Active Directory Certificate Services to maintain long-term access across a Windows domain. Attackers abuse certificate templates, enrolment rights or issued certificates to stay authenticated, so defenders should audit PKI configuration, limit template permissions and watch for unusual certificate use.

What AD CS Domain Persistence Means in Practice

ad cs domain persistence turns certificate services into a long-lived foothold. Once an attacker can issue, reuse, or re-enrol certificates, they may keep authenticating even after passwords change or an initial access path is removed.

This matters because certificate-based access often looks legitimate to downstream controls. The abuse is not limited to one stolen credential; it can survive as a durable trust relationship inside the domain until the certificate or the issuing path is removed.

Why AD CS Persistence Is Hard to Spot

AD CS persistence is dangerous because the attacker is often operating through normal-looking PKI behaviour: template abuse, enrolment abuse, or certificate re-use. That makes the access path blend into routine identity traffic, especially in environments where certificate issuance is common and not tightly monitored.

Defenders should think in terms of trust abuse, not only malware presence. A certificate can function like an enduring access token, so compromise review has to include the issuing chain, template permissions, and any mapping rules that let a certificate authenticate as a valid domain principal.

For background on the broader attack surface, the AD CS Security Guide covers the common abuse paths that make certificate services attractive for persistence.

What Defenders Should Verify

Exposure checks should start with an inventory of certificate templates, CA configuration, enrolment rights, and any issued certificates that could still be accepted by domain systems. The key question is whether an attacker could obtain or keep a certificate that remains valid as an authentication factor.

Review whether certificate mapping, enrolment delegation, and CA trust are wider than they need to be. If a template is overly permissive, or if issued certificates can be reused without strong lifecycle control, then revocation and password resets may not be enough to remove access.

Detection should include unusual certificate issuance, certificate logon from unexpected hosts, and new or rare template usage. Certificate abuse often leaves fewer obvious signs than password spraying, so analysts need telemetry from the CA, domain controllers, and identity systems together.

Remediation and Recovery After Suspected Abuse

When AD CS persistence is suspected, the response must address the certificate path itself, not just the user account. That usually means reviewing and reducing template permissions, checking issued certificates, and identifying any trust mappings that still allow the certificate to authenticate.

After containment, teams should validate whether additional credentials, sessions, or service access were obtained through the certificate-backed foothold. If the attacker used the certificate to reach privileged systems, the compromise review should follow the same logic as other identity-based persistence cases.

The Identity Threat Detection and Response (ITDR) Guide is useful here because certificate abuse is ultimately an identity compromise problem, even when the initial weakness sits in PKI configuration.

Risk and Threat Considerations

AD CS persistence creates a durable access risk because certificates can outlive the original intrusion point. If the attacker can keep a valid certificate path, they may preserve authenticated access even after conventional cleanup, which makes domain recovery harder and slower.

Failure mechanism: The attacker abuses template permissions, enrolment rights, or issued certificates to maintain a trusted authentication path that the domain continues to accept.

Impact: The organisation can be left with hidden long-term access, repeated re-entry into the domain, and a higher chance of privileged follow-on compromise.

Standards & Framework Alignment

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

MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-53 Rev 5 IA-5 — Authenticator Management AD CS persistence relies on certificate lifecycle and reuse as authenticators.
IA-9 — Service Identification and Authentication Certificate-backed access in AD CS is a machine-verifiable authentication path.
AU-12 — Audit Record Generation Detecting AD CS abuse depends on CA and domain audit telemetry.
Recommendation — Rotate, revoke, and tightly govern certificate authenticators and their lifecycle. Enforce strong certificate-based authentication and restrict trust mappings. Generate and review CA and domain audit records for certificate issuance and use.
CIS Controls v8 CIS-5 — Account Management Certificate templates and enrolment rights are access pathways that need governance.
Recommendation — Limit certificate enrolment and review privileged access paths regularly.
MITRE ATT&CK T1558 — Steal or Forge Kerberos Tickets AD CS persistence is an identity abuse pattern that sustains authenticated access.
Recommendation — Map certificate-backed persistence to identity abuse techniques and hunt for reuse.

Practitioner Guidance

Why practitioners should care: Treat AD CS as part of your authentication perimeter, not just as infrastructure. If certificate issuance and mapping are broad, the environment may retain access paths that outlast account resets and password rotation.

What to watch for: Focus on template scope, enrolment delegation, certificate mapping behaviour, and unexpected certificate logons. These are the control points that determine whether persistence can survive remediation.

Practitioner takeaway: If a certificate can still authenticate after the original compromise is cleaned up, the domain is not fully recovered.