TL;DR: Semperis' analysis of Golden dMSA finds attackers can derive valid passwords for delegated Managed Service Accounts and group Managed Service Accounts after obtaining the KDS root key. That turns one compromised derivation path into a forest-wide governance problem, with persistence and lateral movement to consider.
Editorial analysis by NHI Mgmt Group, based on content published by Semperis: “Golden dMSA: What Is dMSA Authentication Bypass?”.
Key questions
Q: Why does Golden dMSA create forest-wide risk instead of a single-account compromise?
A: Because the KDS root key underpins password generation for managed service accounts across the forest, compromise of that key can affect every linked dMSA and gMSA.
Q: What are the signs that service account governance is failing in an organisation?
A: Common warning signs include accounts with no clear owner, broad permissions that exceed job need, credentials stored in insecure places such as code or configuration, and service accounts that survive staff departures without reassignment.
Q: What breaks when a KDS root key is exposed in a managed service account environment?
A: When the KDS root key is exposed, the attacker can derive valid passwords for dMSAs and gMSAs instead of targeting each account individually.
Practitioner guidance
- Audit KDS root key custody Identify every account and process that can read, export, or administer KDS root key material, then review whether those privileges are justified at forest scope.
- Inventory delegated managed service accounts Build a complete inventory of dMSAs and gMSAs across all domains so you can understand which systems inherit the same cryptographic trust root.
- Harden directory auditing for root key reads Configure auditing on msKds-RootKeyData access and validate that security event 4662 is generated and reviewed for unexpected reads by non-DC accounts.
Bottom line: Golden dMSA turns a managed identity design into a forest-wide backdoor when attackers can derive passwords from the KDS root key.
Glossary terms: Delegated Managed Service Account (dMSA), KDS Root Key, ManagedPasswordId, Identity Blast Radius
What's in the full article
Semperis's full article covers the technical detail this post intentionally leaves for the source:
- The reverse-engineered ManagedPasswordId structure and why its predictable fields matter for password generation
- The step-by-step attack flow from KDS root key extraction to enumeration, guessing, and password generation
- The detection guidance for auditing msKds-RootKeyData access and interpreting security event 4662
- The proof-of-concept tooling and reproduction notes behind Golden dMSA
👉 Read Semperis's analysis of Golden dMSA and managed service account risk →
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Golden dMSA is a trust-root failure, not just a service account bug: the security model for delegated Managed Service Accounts assumes the KDS root key remains an exceptional, tightly held root of trust. That assumption fails once an attacker can extract the key and compute valid passwords for multiple managed identities. The implication is that managed identity programmes must be governed as cryptographic trust systems, not as isolated account configurations.
A few things that frame the scale:
- Only 5.7% of organisations have full visibility into their service accounts, according to the Ultimate Guide to NHIs.
A question worth separating out:
A: They should treat the cryptographic root as the primary control point, not the individual password. That means limiting who can access the root, auditing reads, maintaining a complete account inventory, and reviewing whether shared derivation creates unnecessary forest-wide blast radius. The goal is to reduce the number of identities exposed by one compromise.
👉 Read our full editorial: Golden dMSA turns managed service accounts into a forest-wide backdoor