Good news for ethical hackers, security researchers, penetration testers and all ethical hacking learners! You can now run Kali Linux, one of the popular and advanced Linux distribution specially designed for penetration testing and ethical hacking, directly on your Web browser, regardless of any operating system you use. Meet KaliBrowser, a new project developed by Security Analyst Mr.Jerry Gamblin for ethical hackers. You don't have to install kali Linux on your system. All you need is a system with a web browser and docker installed. Just download the KaliBrowser docker image and start playing with Kali Linux operating system inside your web browser.
Install Docker on APT-based and YUM-based systems:
To install Docker on Ubuntu or CentOS, check the following links.
Install Docker on Arch Linux and derivatives:
Docker is available in Arch Linux official repositories.
To install Docker on Arch Linux and its derivatives, run:
$ sudo pacman -S docker
Then, start and enable the Docker service as shown below.
$ sudo systemctl start docker
$ sudo systemctl enable docker
Download and run KaliBrowser
Run the following command to download and KaliBroswer docker image.
$ sudo docker run -d -t -i -p 6080:6080 jgamblin/kalibrowser
Unable to find image 'jgamblin/kalibrowser:latest' locally latest: Pulling from jgamblin/kalibrowser b2860afd831e: Pull complete 340395ad18db: Pull complete d4ecedcfaa73: Pull complete 22fd4cf3e6b4: Pull complete 9c9e5644da6c: Pull complete b9d18ca9e0e5: Pull complete ad56499ecc47: Pull complete Digest: sha256:a7b04bccc16b738887b12256a4daaccdd93924e92ead7c4f6297610786a34815 Status: Downloaded newer image for jgamblin/kalibrowser:latest c564a0922a6a3d1849743adab10a167f47b1a8606b48fa6b0129221ef388ae15
Now, open your web browser and type: http://localhost:6080 or http://IP-Address:6080/ in the address bar.
That's it. Start working with Kali Linux right from the web browser.
Here is KaliBrowser in action:
To open menu items, just right click on the empty space. A basic menu will appear.
You can also open graphical applications as the way you do in the normal systems.
To keep kalibrowser simple and fast, the developer has included only the base installation of Kali Linux. However, you can install additional tools if you want via command-line.
After working with Kali Linux, you can stop it as shown below.
First find the Kali Linux docker image id using command:
$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES c564a0922a6a jgamblin/kalibrowser "/bin/sh -c /startup." 6 hours ago Up 6 hours 0.0.0.0:6080->6080/tcp sharp_bartik
As you see in the above output, Kali Linux docker image id is c564a0922a6a.
To stop this container, run:
$ sudo docker stop c564a0922a6a
For more details about Docker usage, refer the following link.