Let's say you have successfully compromised a Linux machine running a vulnerable service and you have received a Linux Meterpreter session or just a simple command line (I guess they are non-interactive unlike SSH). What are some of the best or ideal techniques to add a persistent backdoor to that machine so you can connect from any machine at any time without re-exploiting the vulnerability (for example, the vulnerable service was patched, but you still have access since they did not cleanup the initial backdoor)? How about a SSH based backdoor? What commands could be used to implement such a backdoor? Is netcat another viable option? I would like to see SSH based backdoor, however, since that seems easiest to connect back to on a number of fronts. How would the techniques vary based on whether or not root access is achieved? What steps can be taken to hide such a backdoor? Is this heading toward the rootkit side? Any help would greatly appreciated. Thank you!
from SecurityStreet : All Content - Metasploit http://ift.tt/1eDJrNN
No comments:
Post a Comment