DCSync Attack
Description
Enumeration
Get-ObjectACL "DC=security,DC=local" -ResolveGUIDs | ? {
($_.ActiveDirectoryRights -match 'GenericAll') -or ($_.ObjectAceType -match 'Replication-Get')
}
# OR
Get-ObjectAcl -DistinguishedName "DC=Security,DC" -ResolveGUIDs | ?{($_.IdentityReference -match "studentx") -and (($_.ObjectType -match 'replication') -or ($_.ActiveDirectoryRights -match 'GenericAll'))}


Exploitation

Secretsdump.py

Persistence
References: https://www.exploit-db.com/docs/48298
Last updated