MITRE ATT&CK
OS Credential Dumping: DCSync (T1003.006)Credential Access classification, general mechanics, mitigations and detection leads.
Active Directory attack path · MITRE ATT&CK T1003.006
DCSync is not about stealing the NTDS.dit file or opening an interactive session on a Domain Controller. The attack abuses a perfectly legitimate Active Directory function: replication.
When an account holds the required rights, it can ask a Domain Controller to hand over data normally intended for another Domain Controller. The problem is therefore not only "who is an administrator?".
The real question
Who holds, directly or indirectly, the right to replicate the domain's secrets?
DCSync comes late in an attack path. It assumes an identity has already obtained, or inherited, replication rights over the domain. Nothing in this sequence is automatic: each arrow depends on what the environment actually allows.
Compromised identity
Replication rights obtained
Replication request sent to a Domain Controller
Active Directory returns the data it is allowed to replicate
Authentication material extracted
Impact
If the krbtgt secret is recovered
Golden Ticket becomes possible: forging valid Kerberos TGTs for the domain
The DCSync problem is not that an offensive tool can talk to the Domain Controller. The problem is that an identity holds the right to ask it for its secrets.
This is what makes DCSync particularly worth understanding.
Replication is essential to the normal operation of Active Directory. Domain Controllers use the Directory Replication Service Remote Protocol, MS-DRSR, to keep domain data consistent.
DCSync hijacks that logic. The attacker does not ask the Domain Controller to run malware. They present themselves as a principal holding a replication right and request data through the protocol designed for exactly that.
A security control focused solely on processes running on DCs is therefore likely to miss part of the problem.
Key takeaway
Two extended rights, set on the domain head, determine who can ask a Domain Controller for what.
| Right | Role | Why it is sensitive |
|---|---|---|
DS-Replication-Get-ChangesReplicating Directory Changes1131f6aa-9c07-11d1-f79f-00c04fc2dcd2 | Allows requesting changes from an Active Directory Naming Context. | On its own, it does not hand over secrets. It is the first half of the path. |
DS-Replication-Get-Changes-AllReplicating Directory Changes All1131f6ad-9c07-11d1-f79f-00c04fc2dcd2 | Extends replication to the domain's secret data. | This is the right that authorises transmission of authentication material. |
To describe the classic DCSync path, it is not enough to say that a single "Replicating Directory Changes" right is sufficient. The GetChanges + GetChangesAll combination is the essential case to monitor.
Active Directory also defines the DS-Replication-Get-Changes-In-Filtered-Set right. It exists for certain attributes belonging to the filtered attribute set. It should not be presented as a third permission systematically required for every DCSync.
Highly privileged administrative groups naturally have the capabilities needed to perform replication operations. But Active Directory also allows these rights to be delegated.
That is precisely where governance becomes difficult. A service account, a legacy group, an old delegation or a chain of memberships can end up producing a principal able to request domain secrets without immediately appearing as a "domain administrator".
This is why reviewing only the Domain Admins or Enterprise Admins groups is not enough. Domain ACLs, and the paths that lead to these permissions, must be analysed.
Do not treat every non-DC account holding these rights as malicious. Some legitimate identity synchronisation services may hold replication rights.
Example: Microsoft Entra Connect may require Replicating Directory Changes and Replicating Directory Changes All for Password Hash Synchronization.
The right approach is therefore to identify, document and reduce legitimate exceptions, not to blindly remove every right.
Offensive tools make DCSync accessible. They do not create its precondition. No execution procedure is described here: only understanding what they exploit matters for defence.
DCSync can target different accounts. When the recovered secret belongs to a user or administrator account, it may allow that account to be impersonated through the mechanisms available.
The krbtgt case is different. The krbtgt account carries the keys Kerberos uses to protect the domain's Ticket Granting Tickets. Recovering its secret can allow an attacker to forge Kerberos tickets — the principle behind the Golden Ticket.
So it is not DCSync alone that creates the Golden Ticket. The exact chain is:
The DCSync challenge is the same as for many identity-based attacks: the protocol in use is legitimate. Detection must therefore correlate the identity, the source machine and the observed behaviour.
An operation was performed on an Active Directory object
Event ID 4662 is not a magic DCSync alert. Its availability depends in particular on the Directory Service Access audit configuration and the corresponding SACLs. You then need to look for operations related to replication rights and put them in context.
Replication originating from a known Domain Controller is normal. A DRSUAPI request coming from a user workstation, an unexpected administration server or a non-DC endpoint deserves immediate qualification.
Compare the principal against the accounts authorised to perform replication. Look in particular for:
Correlate identity + source IP / hostname + DRSUAPI + replication rights + time context.
Blocking a tool signature does not remove the right that makes DCSync possible. Remediation targets the permissions and the paths that lead to them.
Identify every user, group, technical account and service holding replication rights over the domain, directly or indirectly.
For each principal:
Remove obsolete delegations. Reduce intermediate groups. Isolate and govern legitimate synchronisation accounts. Avoid granting these rights to human identities when they are not needed.
Put under watch:
After remediation, recompute the attack paths. A fix is genuinely useful when it removes the path that led to the DCSync capability.
This approach belongs to a broader effort to bring Tier 0 under control. For a sequenced trajectory from findings to first remediations: NIS2: securing your Active Directory in 90 days
If a DCSync attack is confirmed, the recovered secrets must be considered potentially compromised. The response therefore depends on the accounts involved.
Revoking only the replication right closes the future path, but does not invalidate secrets already recovered.
Rotating the krbtgt account must follow Microsoft's official procedure. Microsoft documents a two-step reset, with a delay aligned with the Kerberos ticket lifetime. This is not a routine operation to launch immediately without preparation: it is planned, sequenced and verified.
DCSync shows perfectly why an Active Directory analysis cannot stop at technical vulnerabilities or at the members of the Domain Admins group. Relationships are what matter.
Taken in isolation, each of these may look acceptable. Chained together, they can give an identity the ability to extract the domain's secrets.
Ariovis therefore analyses
An audit reconstructs the paths. A controlled penetration test can verify which ones are actually exploitable. Identity and access penetration testing
Three techniques from the same collection. They are not necessarily three successive steps: each fits into an attack path depending on what the environment allows.
Obtain crackable material from a service account.
Exploit the absence of Kerberos pre-authentication.
Exploit replication rights to obtain the domain's secrets.
First-rank references used to support this page.
MITRE ATT&CK
OS Credential Dumping: DCSync (T1003.006)Credential Access classification, general mechanics, mitigations and detection leads.
Microsoft Open Specifications
MS-DRSR — Directory Replication Service (DRS) Remote ProtocolThe legitimate replication protocol abused by DCSync.
Microsoft Active Directory Schema
DS-Replication-Get-Changes extended rightUI name Replicating Directory Changes, GUID 1131f6aa-9c07-11d1-f79f-00c04fc2dcd2.
Microsoft Active Directory Schema
DS-Replication-Get-Changes-All extended rightUI name Replicating Directory Changes All, GUID 1131f6ad-9c07-11d1-f79f-00c04fc2dcd2, extension to secret data.
Microsoft — Advanced Audit Policy Configuration
Audit Directory Service Access / Event ID 4662Meaning of event 4662 and its dependency on audit configuration and SACLs.
SpecterOps
DCSync edge — BloodHound documentationModelling of the DCSync path from the GetChanges + GetChangesAll permissions.
Microsoft Learn
AD Forest Recovery — Resetting the krbtgt passwordOfficial krbtgt reset procedure for the compromise scenario.
Microsoft Learn
Microsoft Entra Connect: accounts and permissionsExample of a legitimate service requiring replication rights for Password Hash Synchronization.
Ariovis content that directly extends this topic.
The parent page: techniques, prioritisation and remediation on the directory side.
The AD audit offer: delegations, ACLs, privileged accounts, attack paths, hardening.
The trajectory for bringing Tier 0 under control, from findings to first remediations.
Verify in practice which paths to replication rights are genuinely exploitable.