A recent Qilin ransomware intrusion has revealed a stealthy privilege escalation technique that abuses Active Directory’s built-in replication protocols to harvest domain credentials, including the coveted KRBTGT hash and NTLM password hashes for every account in the domain.
Security researcher Maurice Fielenbach, investigating the intrusion, identified the abuse through anomalies in Windows Security logs. The environment’s legitimate Microsoft Entra Connect synchronization account (an MSOL_* account) generated predictable directory replication activity every two minutes; timestamps at 01:19, 01:21, and 01:23 confirmed the pattern.
At 01:25, the baseline shifted. Several hundred Event ID 4662 entries appeared, this time logged under the built-in Administrator account, a subject that has no legitimate business performing bulk replication requests.
Event ID 4662 logs operations against AD objects when directory service access auditing is enabled. In this case, the malicious entries shared a distinct fingerprint:
The second GUID is the critical one. DS-Replication-Get-Changes-All grants access to secret domain data, including password hashes, effectively the same rights a domain controller uses during normal replication.
This combination is the signature of DCSync, a technique popularized by tools like Mimikatz that impersonates a domain controller to request password data via the Directory Replication Service Remote Protocol (MS-DRSR), without ever touching disk on a DC.
A single 4662 event bearing these GUIDs isn’t inherently malicious. Domain controllers replicate constantly, and legitimate sync tools like Entra Connect rely on the same rights. What changed here wasn’t just volume; it was identity, Maurice Fielenbach posted.
The burst of activity came from an account (built-in Administrator) that sits outside the small, well-defined list of principals that should ever invoke replication rights.
Analysts caution that raw event counts vary by request scope and audit configuration, so responders should treat volume as supporting context rather than a standalone detection trigger.
Defenders can build reliable detection around identity rather than count:
Any identity outside that allowlist performing replication requests warrants immediate investigation.
Organizations should audit and tightly restrict which accounts hold Replicating Directory Changes and Replicating Directory Changes All permissions, enable Directory Service Access auditing on domain controllers, and feed 4662 events into SIEM correlation rules that flag non-DC, non-sync identities.
Given Qilin’s continued evolution toward credential-theft-driven lateral movement, DCSync detection should be considered a baseline control, not an advanced one.
Strengthen Your SOC by Accelerating Threat Detection & Rapid Investigations. -> Integrate ANY.RUN With Your SOC Now.
Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…
Hackers are making some phishing pages harder to track by changing the code delivered to…
A cyber incident reportedly forced a British power plant to halt operations for about four…
Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…
TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…
A fake student resume is being used to place a remote-access tool on researchers’ Windows…