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
8 months agoJuan
8 months agoIvette
6 months agoVeronika
6 months agoIra
6 months agoCarrol
7 months agoStaci
8 months agoViva
8 months agoNicolette
8 months agoBuffy
7 months agoSoledad
7 months agoPhuong
7 months agoDorothy
8 months agoLucina
8 months agoTula
7 months agoLilli
7 months agoGregoria
7 months agoTien
8 months agoLayla
7 months agoFrancine
7 months agoLeontine
7 months agoDean
8 months agoJudy
9 months agoArlyne
8 months agoStefania
8 months agoStefania
8 months agoMagnolia
8 months agoJosephine
9 months agoMertie
9 months agoKenneth
8 months agoEdmond
9 months agoKing
9 months agoLavina
9 months ago