Free CompTIA PenTest+ PT0-002 Practice Question

During a security assessment of a web application, you have been able to exploit a remote code execution vulnerability. You decide to maintain access to the server in case the vulnerability gets patched and your initial entry point is closed. Which of the following methods would you implement to maintain persistence on the server?

  • Create a cron job that downloads and runs a malicious script every hour.

  • Install a Web Shell for ongoing access.

  • Change all server passwords to prevent other users from logging in.

  • Initiate a reverse shell during each session.

This question's topic:
CompTIA PenTest+ PT0-002 / 
Attacks and Exploits
Your Score:

Check or uncheck an objective to set which questions you will receive.