Binary Paths
Overview
Exploitation via Powershell
Get-CimInstance -ClassName win32_service | Select Name,State,PathName | Where-Object {$_.State -like 'Running'}icacls "C:\xampp\apache\bin\mysqld.exe"Mask
Permissions
Get-CimInstance -ClassName win32_service | Select Name, StartMode | Where-Object {$_.Name -like 'mysql'}
net stop mysql
net start mysql
shutdown /r /t 0Exploitation using PowerUp
Run PowerUp on machine

Change the binary path
Start service
Exploitation via Accesschk64
Check for services with write permissions


Query the service

Changing the binary path is the same as the last method
Last updated