What is Active Directory Certificate Services (AD CS)?
Active Directory Certificate Services (AD CS) is Microsoft's public key infrastructure (PKI) component, used to issue and manage digital certificates for users, computers, and services in Windows domains. AD CS is widely deployed but historically under-scrutinized from a security perspective. Certificates issued by AD CS are trusted by all domain members and can be used for authentication, including to impersonate any domain account. Security researchers at SpecterOps popularized AD CS attack research in 2021 ("Certified Pre-Owned"), and CVE-2022-26923 (Certifried) is a direct follow-on in that research line.
Overview
CVE-2022-26923, nicknamed Certifried, is a privilege escalation vulnerability in Microsoft Active Directory Domain Services. An authenticated domain user can manipulate attributes of a computer account they control — specifically the dNSHostName attribute — to match a domain controller, then request a certificate from AD CS that impersonates the domain controller. Using that certificate, the attacker can authenticate as the domain controller machine account and perform a DCSync attack to dump all domain credentials, achieving full domain compromise.
The vulnerability was discovered and publicly named by Oliver Lyak from Secura.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| Windows Server 2008 R2 – 2022 | Yes (AD DS + AD CS) | May 2022 CU |
| Windows 10 / 11 (AD-joined) | Affected as attackers | N/A |
The vulnerability requires AD CS to be deployed in the domain. Domains without AD CS are not affected.
Technical Details
The core issue (CWE-295: improper certificate validation) is that AD CS's certificate templates for machine accounts trust the dNSHostName attribute as an identifier. A low-privilege domain user who can create or modify a machine account (e.g., via the default ms-DS-MachineAccountQuota of 10) can:
- Create a new machine account
- Set its
dNSHostNameattribute to match a domain controller (e.g.,DC01.corp.local) - Request a certificate using the default "Machine" or "DomainController" template
- Receive a valid certificate identifying the account as the domain controller
- Use that certificate to authenticate to the KDC via PKINIT, obtaining a Kerberos TGT as the DC machine account
- Perform DCSync using the DC machine account's replication privileges to dump all NTLM hashes and Kerberos keys in the domain
- Prerequisites: Low-privilege domain account + AD CS deployed + machine account creation rights (default in most AD configurations)
- Attack complexity: Low — well-tooled attack chain; Oliver Lyak released
certifried.pyfor Impacket - Impact: Full Active Directory domain compromise via credential dumping
Discovery
Discovered by Oliver Lyak (ly4k) from Secura, published alongside the May 2022 Patch Tuesday. Lyak wrote detailed research and released proof-of-concept tooling.
Exploitation Context
CISA added this to KEV in August 2022, three months after patching, reflecting confirmed in-the-wild exploitation. The attack is attractive because it requires only a standard domain user account and the presence of AD CS — conditions met in the vast majority of enterprise Windows environments. The technique became well-known in the offensive security community and is incorporated into multiple post-exploitation frameworks.
Remediation
- Apply the May 2022 Patch Tuesday cumulative update to all domain controllers and AD CS servers
- After patching, run
certutil -v -templateto verify that machine certificate templates enforce properdNSHostNamebinding - Review who has
Create Computer Objectsrights in AD and reducems-DS-MachineAccountQuotato 0 where possible - Enable AD CS auditing to detect unusual certificate requests (Event ID 4887 on the CA)
- Use the
certmgrsnap-in orcertutilto audit certificates issued to machine accounts for anomalousdNSHostNamevalues matching domain controllers
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2022-26923 |
| Vendor / Product | Microsoft — Active Directory |
| NVD Published | 2022-05-10 |
| NVD Last Modified | 2025-10-30 |
| CVSS 3.1 Score | 8.8 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CWE | CWE-295 find similar ↗ |
| CISA KEV Added | 2022-08-18 |
| CISA KEV Deadline | 2022-09-08 |
| Known Ransomware Use | No |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2022-05-10 | Microsoft patches CVE-2022-26923 in May 2022 Patch Tuesday; Oliver Lyak publishes Certifried research |
| 2022-08-18 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-09-08 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Microsoft Security Response Center — CVE-2022-26923 | Vendor Advisory |
| Oliver Lyak — Certifried: Active Directory Domain Privilege Escalation | Security Research |
| NVD — CVE-2022-26923 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |