Attacks and Exploits
Four services have unquoted paths containing spaces, and the tester can write to a folder in each path. Which service is the best target for privilege escalation?
Show the answer
Correct answerA. Backup Agent, running as LocalSystem
AWhy this is right: The planted binary runs as LocalSystem, the most privileged local account, giving full control of the host.
BWhy not this: A payload running as the tester's own account gives no privilege gain.
CWhy not this: LocalService has minimal local rights, so a payload in this service gains little.
DWhy not this: NetworkService has limited local privileges, so it is a weaker target than LocalSystem.
A hijacked service binary runs in the service's account, so the LocalSystem service gives the highest privileges. The service running as the tester's own account adds nothing, and the other two accounts have limited rights.