October 2018
Intermediate to advanced
404 pages
8h 50m
English
If we have either root or sudo access to these machines, we can back out cleanly by running the following commands. This removes the traces of our login. Since this is our attacking machine, we will be running as root. The file that contains the login information for the SSH service is /var/log/auth.log. If we delete it and then make a new file, the logs from our logging in are now gone:
cd /var/log
rm auth.log
touch auth.log
exit
Now exit from the server and you're out clean. If you do this on every machine as you back out of your connections, then you can't be found. Since this is all text-based, there ...