Protocol spoofing using httptunnel
In this recipe we will use httptunnel
to tunnel communications between two hosts. As most of the time, HTTP communications are allowed through firewalls with little inspection by most companies, it makes it easy to set up a connection that will largely go unnoticed.
Getting ready
Let's ensure the following prerequisites:
- Your Kali Linux VM is powered up and you are logged in as root
- Your Ubuntu VM is powered up and you are logged in and on the NAT network and have internet connectivity
How to do it...
To create a tunnel with httptunnel
, we will run through the following process:
- Validate the IP addresses of your Kali VM and your Ubuntu VM. For my purposes, my Kali box in
10.0.2.5
and Ubuntu is10.0.2.6
. - First we will start in the Ubuntu VM where we are currently logged in and we want to start by elevating ourselves to the root by entering the following commands in the console:
sudo su <enter>
- We will now install
httptunnel
on the Ubuntu VM with the following...