Attacks and Exploits
A standard user finds a SYSTEM service whose fully quoted binary path points to a file that Authenticated Users can modify. What is the best way to escalate?
Show the answer
Correct answerC. Replace the writable service binary with a payload and restart the service
AWhy not this: A standard user cannot inject into a SYSTEM-owned process without extra privileges.
BWhy not this: Clearing logs hides activity but does not change what the service runs or escalate privileges.
CWhy this is right: Weak permissions on the service binary let the tester overwrite it, and the service runs it as SYSTEM.
DWhy not this: That trick exploits unquoted paths with spaces; the quoted path here blocks it.
Because users can modify the service executable, swapping in a payload makes the SYSTEM service run it on the next start. Dropping a file at an earlier path segment works only for unquoted paths, and this path is quoted.