Attacks and Exploits

During an authorized test, a tester with a low-privileged shell on a Linux server finds that the root-owned find binary has the SUID bit set. What is the best next step to gain root?

Show the answer

Correct answerA. Run the SUID binary to spawn a shell that keeps root

AWhy this is right: A SUID binary runs as its owner, so abusing it can yield a shell with root privileges.

BWhy not this: Opening a root-owned process for hollowing needs privileges the low-privileged account does not have.

CWhy not this: The tester already has a shell, and escaping a restricted shell does not raise privileges.

DWhy not this: The SAM database is a Windows store, so it does not exist on a Linux server.

A SUID binary owned by root runs with root's privileges, so abusing it to start a shell is a classic Linux privilege escalation path. Process hollowing needs existing privileges to open a root process, so it cannot be the first step from a low-privileged shell.