Which of the following post-exploitation activities allows a penetration tester to maintain persistent access in a compromised system?
Maintaining persistent access in a compromised system is a crucial goal for a penetration tester after achieving initial access. Here's an explanation of each option and why creating registry keys is the preferred method:
Creating registry keys (Answer: A):
Advantages: This method is stealthy and can be effective in maintaining access over long periods, especially on Windows systems.
Example: Adding a new entry to the HKLMSoftwareMicrosoftWindowsCurrentVersionRun registry key to execute a malicious script upon system boot.
Drawbacks: This method is less stealthy and can be easily detected by network monitoring tools. It also requires an open port, which might be closed or filtered by firewalls.
Executing a process injection (Option C):
Drawbacks: While effective for evading detection, it doesn't inherently provide persistence. The injected code will typically be lost when the process terminates or the system reboots.
Setting up a reverse SSH connection (Option D):
Drawbacks: This method can be useful for maintaining a session but is less reliable for long-term persistence. It can be disrupted by network changes or monitoring tools.
Conclusion: Creating registry keys is the most effective method for maintaining persistent access in a compromised system, particularly in Windows environments, due to its stealthiness and reliability.
Installing a bind shell (Option B):
Hannah
6 months agoJuan
6 months agoIvette
4 months agoVeronika
4 months agoIra
4 months agoCarrol
5 months agoStaci
6 months agoViva
6 months agoNicolette
6 months agoBuffy
5 months agoSoledad
5 months agoPhuong
5 months agoDorothy
6 months agoLucina
6 months agoTula
5 months agoLilli
5 months agoGregoria
5 months agoTien
6 months agoLayla
5 months agoFrancine
5 months agoLeontine
5 months agoDean
6 months agoJudy
7 months agoArlyne
6 months agoStefania
6 months agoStefania
6 months agoMagnolia
6 months agoJosephine
7 months agoMertie
7 months agoKenneth
6 months agoEdmond
7 months agoKing
7 months agoLavina
7 months ago