Service Unqouted Path
CMD
Discover all services with "Unquoted Path" vulnerability
wmic service get name,displayname,pathname,startmode |findstr /i "auto" |findstr /i /v "c:\windows\\" |findstr /i /v """Get more details of a service using Service Name
sc qc <SERVICE NAME>To check SeShutdownPrivilege privilege for current user
whoami /privChecking the ACLs of the "Unquoted Path" recursively
// Path = Drive:\<PATH1>\<PATH2>\<SERVICE>.exe
icacls Drive:\<PATH1>
icacls Drive:\<PATH1>\<PATH2>
icacls Drive:\<PATH1>\<PATH2>\<SERVICE>.exePowerUp
Enumerate all vulnerable services and configurations
Invoke-AllChecksEnumerate all services with unquotes path
Get-ServiceUnquotedEnumerate all services with weak service permissions
Get-ModifiableServiceLast updated