Skip to content

PenTest+ PT0-003 practice question 13: Post-exploitation

A tester has a low-privileged shell on a Linux server and runs a search for files with the SUID bit set owned by root. What is the goal?

The options

  • A. Check which users have expired passwords
  • B. Find a binary that can be abused to run commands as root
  • C. Locate the web server's log files
  • D. Clear the command history

Answer and why

The correct answer is B: Find a binary that can be abused to run commands as root

A. Password aging is stored in the shadow file, not in file permission bits.

B. SUID programs run with the owner's rights, and some can be misused for privilege escalation.

C. Logs are found by path, not by the SUID bit.

D. Clearing history is cleanup and does not rely on SUID files.

What Post-exploitation tests

Post-exploitation and lateral movement is privilege escalation, persistence, pivoting and cleanup. Questions ask how to reach the next system or keep access and also what you must remove when the engagement ends.

Post-exploitation and lateral movement is 14% of the PT0-003 exam. The exam has 90 questions in 165 minutes, so this question is a slice of the real mix, not a prediction of your result.

Try these next

Each one is a free question from the same practice test, with the answer and the reason for every option on its own page.

Keep going

This is question 13 of 15 in the free PenTest+ PT0-003 practice test. If you missed it, say why in one sentence before you read on: the reason is what transfers to a differently worded question.