CompTIA PenTest+ (PT0-003) — Question 78
Which of the following post-exploitation activities allows a penetration tester to maintain persistent access in a compromised system?
Answer options
- A. Creating registry keys
- B. Installing a bind shell
- C. Executing a process injection
- D. Setting up a reverse SSH connection
Correct answer: A
Explanation
Creating registry keys can be used to establish persistence by ensuring that certain processes or scripts run on system boot or user login. The other options, while useful for immediate access or control, do not inherently provide a method for maintaining access over time like registry keys do.