O'Reilly logo

Kali Linux Cookbook - Second Edition by Bob Perciaccante, Corey P. Schultz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

To use cryptcat to create tunnels to hide communications, we will follow these steps:

  1. Validate the IP addresses of your Kali VM and your Ubuntu VM. For my purposes, my Kali box is 10.0.2.5 and Ubuntu are 10.0.2.6.
  2. 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>
  1. We must next install cryptcat on the Ubuntu VM by entering the following command:
apt install cryptcat
  1. From the Ubuntu machine we will enter the following commands to make an interesting file:
cd <enter>touch payroll.txt <enter>echo "john makes lots of money" >> payroll.txt <enter>cat payroll.txt <enter>
ubuntu terminal ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required