Unquoted paths
Enumeration
wmic
Exploitation
Path hijack
Given the following path: C:\Program Files\a folder\app.exe
Windows will search for the following executables: Program.exe Files.exe a.exe folder.exe app.exe
By creating an executable and inserting it in the right place it will be run with Admin or Sys privileges.
Executable replacement
If the executable file's privileges allow overwriting it is possible to replace it with a malicious file.
Boilerplate C file
Last updated