DCSync Attack
What is DCSync Attack?
DCSync is a credential theft technique where an account with directory replication rights imitates a domain controller and asks a real one to send password-related secrets.
It targets Active Directory using the normal replication protocol, without running code on the domain controller. The required permissions are powerful and normally limited to domain controllers, certain administrators and approved synchronisation services. Obtained data can include the key of the krbtgt account.
How the attack works
Domain controllers replicate changes through a remote protocol described in Microsoft's MS-DRSR specification. A requester holding the relevant replication permissions on the domain, including access to secret attributes, can ask for account data as a replication partner would. The controller answers because the permissions are valid. Defenders therefore focus on who holds those rights and on replication requests from unexpected accounts or machines.
Example
An auditor lists the replication permissions on a test domain and finds an old backup service account holding them. After confirming it is unused, the team removes the rights and disables the account.
Limitations and common misconceptions
The technique needs high privilege first, so it usually signals serious existing compromise. Endpoint protection on the controller may see no new program. Legitimate synchronisation tools also replicate secrets, so alerts need an accurate list of approved accounts and hosts. Removing rights does not revoke data already taken.
Reducing the risk
Restrict replication permissions to essential principals and review them regularly. Protect synchronisation servers like domain controllers, enable directory access auditing, alert on replication by unapproved sources and limit that traffic at the network. After suspected abuse, run incident response, rotate affected credentials and reset krbtgt in the supported sequence.
Frequently Asked Questions
Is DCSync a vulnerability that a patch removes?
Which Windows event can help detection?
Related terms
Learn and practise
Explore the topic: Linux, Security operations