An SSH tunnel allows you to route traffic through an SSH connection. It encrypts the traffic and routes it from a port on one computer to a port on the remote computer. It's also called SSH Port Forwarding. A basic ssh connection takes the form: username@sshserverIP -p ssh-server-port. E.g. root@10.0.0.4 -p 1234 (you don't need the -p switch if using standard ssh port 22) To perform port forwarding we add a switch such as -L or -R. Local Port Forwarding We use the -L for Local port forwarding with the following switch syntax: -L Continue Reading
OverTheWire: Bandit
In search of shorter, easier challenges I came across https://overthewire.org which has various "wargames" on it, the easiest apparently being the Bandit challenge. It looks to be different than proper virtualised networks to hack into but maybe interesting and I should learn some basics that no doubt I'm missing. Bandit Level O The goal of this level is for you to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org, on port 2220. The username is bandit0 and the password is bandit0. Once logged in, go to the Level 1 page to find out how to beat Continue Reading