Protocol spoofing using pingtunnel
In this recipe we will use pingtunnel to tunnel communications between two hosts. As most of the time, ICMP communications are allowed through firewalls and rarely inspected for malicious traffic 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 tunnel communications through pingtunnel, we will follow this 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 root by entering the following commands in the console:
sudo su <enter>
- We will now install
ptunnel
on the Ubuntu VM with the...