dMSA Ouroboros: Self-Sustaining Credential Extraction Persistence
Score: 8/10

dMSA Ouroboros: Self-Sustaining Credential Extraction Persistence

dMSA Ouroboros is a persistence technique in Windows Server 2025 that uses self-referencing GroupMSAMembership and Shadow Credentials to automate the extraction of NT hashes from superseded accounts.

Executive Summary

Security researchers have identified a critical persistence mechanism dubbed 'dMSA Ouroboros' that affects fully patched Windows Server 2025 environments. This technique exploits the logic of delegated Managed Service Accounts (dMSAs) to create a self-sustaining loop where a dMSA can both authenticate and authorize itself to retrieve credential material from high-value target accounts. The attack requires only standard delegated permissions (CreateChild on an OU and WriteProperty on a target account) to establish a permanent presence.

The technical process involves planting a Shadow Credential for PKINIT authentication and writing the dMSA's own SID into its msDS-GroupMSAMembership attribute. Once configured, the dMSA satisfies all authorization gates independently. This allows an attacker to extract the NT hash of a target account, maintain access through target password rotations, and even survive the deletion of the original attacker's account. Furthermore, the configuration can effectively lock out Domain Admins from standard KDC-mediated remediation.

This matters to organizations because it bypasses major security controls like Credential Guard and traditional password rotation. Because the technique utilizes legitimate (albeit manipulated) Active Directory attributes, it is low-noise and difficult to detect without specialized monitoring. Total remediation requires the complete deletion of the compromised dMSA object rather than simple attribute clearing.

Key Details

Threat Name

dMSA Ouroboros

Affects

Windows Server 2025, Active Directory

Adversary

—

MITRE Techniques

Malware/Tools

None identified

Report Score

8out of 10
Quality Score
Good
IOC Quality4
TTP Details9
Detection Guidance7
Enterprise Relevance10
Clarity & Structure8
Technical Depth9

Sources