How to install Kali Linux in Android without Root?
In this section, we will see how we can install Kali Linux on Android without having a Rooted Device. So follow the below-stated steps to install Kali Linux in Android without Root.
Step 1: Install Termux
Termux is a free and open-source terminal emulator that allows running Linux on an Android device. To learn how to install Termux on an Android device, you can refer to the article below.
How to Install Termux on Android?
Step 2: Install the Required Packages
Once Termux is installed, open it and run the command.
termux-setup-storage
Output:
This command will now update the package lists and upgrade installed packages to their latest versions. This command will pop up a storage permission message, simply click on “Yes” and proceed.
pkg update -y && pkg upgrade -y
Output:
Now, this command will install wget, which is used to download files from the internet.
pkg install wget -y
Output:
Step 3: Download Nethunter
The Nethunter operating system is a customized version of the Kali Linux operating system designed to run on mobile devices such as smartphones and tablets. Run the command below to download the NetHunter installation file.
wget -O install-nethunter-termux https://offs.ec/2MceZWr
Output:
Now, this command will install a script that can be used to install Kali.
Step 4: Installing Nethunter
Change the downloaded file’s permissions and make it executable.
chmod +x ./install-nethunter-termux
Output:
This will make the installer executable.
Now, run the script to install Kali.
./install-nethunter-termux
Output:
Then the above screen will appear.
Output:
You must choose an appropriate option for the nethunter you wanted:
- (full): This has full pre-installed tools just like the real Kali Machine.
- (minimal): Compared to the (full), this has fewer pre-installed tools.
- (nano): This is a standard UNIX distribution that doesn’t include any tools but, is set up to use Kali repositories and Kali-like settings.
We’ll go with the 3rd option, but you can also choose 1 or 2. Now, it will download the Nethunter according to the option you selected.
Output:
After downloading, it will prompt you to delete a file called rootfs; simply type Y and continue. Rootfs is a residual that was downloaded during installation and is no longer useful to us, so deleting it will be beneficial.
Output:
Then a screen will appear, instructing you to launch nethunter. To start Kali, use nethunter or the nh command.
nethunter
Output:
You’ll now get a Kali terminal to use.
Output:
Usage Scenario
We can now use sudo to perform root-privileged attacks that were previously impossible to perform in termux without rooting our phone.
To use Kali, we must first update the package manager and upgrade the packages to the latest versions, but it also requires sudo in Kali.
sudo apt update && sudo apt upgrade
Output:
Note: Password for root is “kali“
How to install Kali Linux in Android without Root?
Kali Linux is a well-known Debian-derived operating system for Penetration Testing and Cybersecurity related tasks. Kali Linux is one of the most widely used platforms for ethical hacking and cybersecurity research and it is managed by Offensive Security, a leading provider of cybersecurity training and certification. It comes pre-installed with a variety of tools and utilities for vulnerability scanning, network analysis, web application testing, password cracking, and more.