DCSync
Overview
Checking for DCSync Rights
PowerView
$sid = "S-1-5-21-3842939050-3880317879-2865463114-1164"
Get-ObjectAcl "DC=inlanefreight,DC=local" -ResolveGUIDs | ? { ($_.ObjectAceType -match 'Replication-Get')} | ?{$_.SecurityIdentifier -match $sid} | select AceQualifier, ObjectDN, ActiveDirectoryRights,SecurityIdentifier,ObjectAceType | flBloodHound
Performing DCSync
From Linux with secretsdump.py
From Windows with Mimikatz
Output Files
Reversible Encryption
DCSync via Group Membership Abuse
Add User to Privileged Group
DCSync After Group Addition
Cleanup
Mitigation
Last updated