It's not possible to keep all the daily hacking gadgets with you while you are traveling or somewhere out. That is why hackers use portable gadgets as much as possible. For example Raspberry Pi. But is Raspberry Pi really a portable hacking device that makes you comfortable in public? No. In this case, we can use our Android phone!
The best way to make your Android smartphone a portable hacking device is by installing Hackers paradise, Kali Linux OS. Kali Linux is the most popular Linux OS used for hacking and pen-testing.
What is the problem with other methods most people use to install Kali Linux on Android?
If your phone is rooted, you can install Kali Nethunter or Linux Deploy to take Kali Linux in use but if your phone is not rooted then there are not so many options available for you. You can use a PC Emulator but it is very slow and takes very large resources which affect your phone's performance.
But here we will use an easy way to install and use Kali Linux or other Distros smoothly and easily without rooting your phone.
Let's take a look at the method.
Requirements we need to satisfy
To install Kali Linux we need three applications installed on our Android phone. All the applications are available in the Google play store. These tools are completely safe and they don't harm your phone's security.
#2. VNC viewer
Download all three apps from the Play store and proceed to the next step.
Installing Kali Linux on Android without root
Here we are going to show the way to install both the CLI and GUI version of Kali Linux. Some people need a way of using Kali Linux only to make their work done. they don't need styles. But some people like GUI version as they don't like typing the same command lines over and over again. It is on you, what version you want to install.
Installing CLI version of Kali Linux
#1. Open up the ANLinux application Dashboard and click on the 'CHOOSE' button and select the Distribution you want to install. Obviously 'Kali'.
#2. Now you will get the command lines to install Kali Linux and its necessary packages. Copy the codes by clicking on 'COPY'
#3. Click on 'LAUNCH' and it will open up the termux application. Paste the copied commands and run them.
These steps will download and install all the necessary packages and tools to run Kali Linux smoothly. Also, it will download and execute a script automatically which will create a Debian environment.
Now it will download and install file systems and core files for Kali Linux in a compressed format and it will also set the repository to download tools. You will not get any tool pre-installed in this version. You have to download them separately according to your needs.
Wait for decompressing the file and setting up. And now you can launch Kali Linux with the command-
The commands are the same as you use in PC. But before installing any tool, update it by the command- apt update.
Installing the GUI version of Kali Linux
#1. To install the GUI version, again open up the ANLinux application and pull up the slide from the left and select 'Desktop Environment'.
#2. Now click on 'CHOOSE' and select the Kali.
#3. Click on 'CHOOSE' to select the Desktop environment we need to install Kali Linux GUI version. Select the recommended xfce4.
#4. Click on 'COPY' to copy the commands we need to install the packages and tools for Kali GUI.
#5. Click on 'LAUNCH' to launch the termux application. Before pasting the commands you need to run the ./start-kali.sh command and then paste the copied commands and run them.
These steps will install and execute a script to install Kali Linux. Also, the xfce4 Desktop environment and VNC server will be installed and configured automatically. The script will install approx 200 MB of data and will use 713 MB of your disk space. This process will take some time. It will depend on the phone's performance and internet speed Stay with patience.
Now you need to set up the Keyboard layout, VNC server password. These types of settings you have to do. Setup the password of the VNC server and the option 'would you like to enter a view-only password' select No.
#6. Now you can access the Kali Linux GUI using the VNC viewer application.
Configuring VNC Viewer
Open up the VNC Viewer app and click on that '+' button and set up a new connection with address 'localhost:1' and name whatever you want.
Now enter the password you've set up for VNC viewer before and click on 'continue'. And you are ready to go!
Bonus tip: In the field of Ethical hacking when you will go further with your android smartphone, at a certain point you will have to root your smartphone to unlock more hacking possibilities. Here we've found an article explaining the rooting process step by step which will help you to root your android device safely. Visit the root android without computer tutorial to know how you can root your android smartphone.
Now as you've seen the procedure is very easy. We've tested it on a very low-end device and we got a very good result. The Kali Linux machine is running smoothly without any interruption.
AnLinux is a new way introduced by a Github creator and maybe the best way. You must try this way and let us know your experience in the comment box.
For personal help do follow us on Facebook and Twitter. Our response rate is 50% on those platforms.