pentesting, updated
DCSync
Abuse replication rights to pull password hashes for any domain account directly from a domain controller, without ever touching it directly.
Goal
Dump the password hash (or Kerberos keys) of any domain account — commonly krbtgt, for a golden ticket — by impersonating a domain controller’s replication request.
How to test
impacket-secretsdump -just-dc corp.local/jdoe:Password1@10.10.10.5 # see [Impacket](/docs/pentest-cheatsheets/tools/network/impacket)
mimikatz # lsadump::dcsync /domain:corp.local /user:krbtgt
What to look for
Any account outside Domain Admins/Enterprise Admins/Domain Controllers holding DS-Replication-Get-Changes and DS-Replication-Get-Changes-All — these rights are what DCSync actually requires, and are sometimes granted accidentally via delegated admin tooling.
Notes
This is usually the payoff of ACL abuse or a successful path found in BloodHound’s “Find Principals with DCSync Rights” query.