CompTIACompTIA
PT0-002 · Question #106
PT0-002 Question #106: Real Exam Question with Answer & Explanation
Sign in or unlock PT0-002 to reveal the answer and full explanation for question #106. The question stem and answer options stay visible for context.
Post-exploitation and lateral movement
Question
A penetration tester has obtained root access to a Linux-based file server and would like to maintain persistence after reboot. Which of the following techniques would BEST support this objective?
Options
- ACreate a one-shot systemd service to establish a reverse shell.
- BObtain /etc/shadow and brute force the root password.
- CRun the nc -e /bin/sh <...> command.
- DMove laterally to create a user account on LDAP
Unlock PT0-002 to see the answer
You've previewed enough free PT0-002 questions. Unlock PT0-002 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#Persistence#Linux Post-exploitation#Systemd#Reverse Shell