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