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