CVE-2021-42278: Active Directory sAMAccountName Spoofing (noPac Part 1)
HERMES THREAT SCORE & ACTIVE DIRECTORY PRIVILEGE ESCALATION
Target:Microsoft Active Directory Domain Services (AD DS / SAM) CVSS v3.1 rates CVE-2021-42278 at 8.8 (HIGH, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). The Hermes Threat Score evaluates operational impact at 93 (HIGH) due to ubiquitous Active Directory exposure and weaponization in the AI-orchestrated PaperCut campaign.
CVE-2021-42278: Active Directory sAMAccountName Spoofing (noPac)VULNERABILITY
Software platform affected by security vulnerabilities and agentic attack patterns.
๐ Why is this related? (Evidence & Provenance)
“Confirmed security vulnerability in PaperCut MF/NG documented in Hermes dossier.”
- [vulnerability_report]
- [government_confirmation]CISA verified active exploitation in the wild and mandated federal remediation deadline in KEV entry. — Source: Cybersecurity & Infrastructure Security Agency (CISA): CISA Adds CVE-2026-59822 to Known Exploited Vulnerabilities Catalog (Reliability: VERY_HIGH)
1. Technical Context & Affected Software Matrix
Section titled โ1. Technical Context & Affected Software Matrixโ| Parameter | Technical Specification | Threat Intelligence Context |
|---|---|---|
| CVE Identifier | CVE-2021-42278 | Microsoft Security Response Center (MSRC) & CISA KEV |
| Affected Product | microsoft:windows | Active Directory Domain Controllers (Windows Server) |
| Vulnerable Component | Security Account Manager (SAM / AD DS) | sAMAccountName Validation Routine |
| Weakness Class | CWE-269: Improper Privilege Management | Account Spoofing / Privilege Escalation |
| CVSS v3.1 Score | 8.8 (HIGH / Hermes Score 93) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Remediation Updates | KB5008102, KB5008380, KB5008602 | November 2021 & January 2022 Security Updates |
| MITRE ATT&CK | T1068 - Exploitation for Privilege Escalation, T1558 - Steal or Forge Kerberos Tickets | Privilege Escalation / Credential Access |
| Chained Campaign | AI-Orchestrated PaperCut Campaign | Used by autonomous agents for Domain Admin escalation |
2. In-Depth Technical Decomposition & Root Cause
Section titled โ2. In-Depth Technical Decomposition & Root CauseโIn Active Directory, computer accounts typically terminate with a dollar sign ($) (e.g. WORKSTATION01$ or DC01$).
When creating or modifying a computer account object (user class with userAccountControl flag WORKSTATION_TRUST_ACCOUNT), Active Directory enforces uniqueness constraints.
However, prior to the November 2021 update, SAM failed to enforce that computer objects must end with $:
- An attacker adds a standard machine account
testpc$using their default quota. - The attacker modifies the attribute
sAMAccountNameontestpc$toDC01(matching Domain ControllerDC01$without the trailing$). - SAM accepted
DC01because no object in the directory held the exact valueDC01(the real DC was registered asDC01$). - This set the stage for CVE-2021-42287, where the Kerberos KDC automatically appends a
$during service ticket requests, causing the KDC to impersonate the Domain Controller itself.
3. Attack Scenarios & Threat Modeling
Section titled โ3. Attack Scenarios & Threat Modelingโ- Initial Access: Attacker obtains a low-privileged domain user shell (for instance, via PaperCut CVE-2026-81578 & CVE-2026-82078).
- Machine Account Creation: Attacker creates computer account
temp$. - Spoofing sAMAccountName (CVE-2021-42278): Attacker renames
temp$toDC01. - TGT Request & Re-naming: Attacker requests a Kerberos TGT for
DC01, then renames the account back totemp$. - PAC Impersonation (CVE-2021-42287): Attacker requests a TGS via S4U2self; KDC fails to find
DC01, appends$, and issues a ticket with Domain Admin privileges.
4. Forensic Detection & Telemetry
Section titled โ4. Forensic Detection & TelemetryโInspect Windows Security Event Logs on Domain Controllers:
- Event ID 4741 (A computer account was created): Look for computer accounts created by unexpected service accounts.
- Event ID 4781 (The name of an account was changed): Monitor for changes where
Old Target Nameends in$butNew Target Namedoes NOT end in$.
5. Remediation Guidelines
Section titled โ5. Remediation Guidelinesโ- Deploy Microsoft Updates: Ensure all Domain Controllers have installed
KB5008380or later. - Disable Machine Account Quota: Set
ms-DS-MachineAccountQuota = 0via ADSI Edit to prevent unprivileged users from registering computer accounts. - Review Campaign Intel: Read our report on the AI-Orchestrated PaperCut Campaign.