Tutorial for installing Kali Linux on non-rooted Android smartphones and tablets.
Kali Linux is one of the best-loved operating systems of hackers, security researchers, and pentesters.
It offers an advanced penetration testing tool and its ease of use means that it should be a part of every security professional’s toolbox.
Kali Linux on Android smartphones and tablets allows researchers and pentesters to perform ” security checks” on Networks like cracking Wi-Fi passwords, finding vulnerabilities/bugs, or cracking security on websites. This opens the door to doing this from an Android mobile device such as a phone or a tablet.
Here is how you can install Kali Linux on Android Smartphone without rooting your phone.
Install Kali Linux on non-rooted Android Phone
Before we begin with the process of how to install and run kali Linux on an Android smartphone you will need to download the apps provided below
Prerequisite:
- Android Smartphone (No root required)
- install Termux
- install NetHunter-KeX client
- install Hacker’s Keyboard
Installation:
After installing the above-mentioned apps. Open Termux, if it gets stuck on your phone then press enter.
Now we need to install some packages using Termux. To do so just copy, paste and enter the commands provided below.
- Update the system using the following command
$ pkg update && pkg upgrade -y
- Set up system storage.
[email protected]:~$ termux-setup-storage
- Download Kali Linux
[email protected]:~$ wget -O install-nethunter-termux https://offs.ec/2MceZWr
- Adding execution privilege to the downloaded Kali Linux file
[email protected]:~$ chmod +x install-nethunter-termux
- Installing Kali Linux on Android
[email protected]:~$ ./install-nethunter-termux
The above-mentioned commands will fetch, download and install Kali Linux on your phone. Since the file is around 1.5GB in size it can take some time to download.
Once downloaded you can run Kali NetHunter from the CLI
To start Kali NetHunter type in the following command
nethunter
Provided below are some of the helpful Kali Nethunter commands for your Android phone
nethunter kex passwd |
configure the KeX password (only needed before 1st use) |
nethunter kex & |
start Kali NetHunter Desktop Experience user sessions |
nethunter kex stop |
stop Kali NetHunter Desktop Experience |
nethunter <command> |
run |
nethunter -r |
start Kali NetHunter cli as root |
nethunter -r kex passwd |
configure the KeX password for root |
nethunter -r kex & |
start Kali NetHunter Desktop Experience as root |
nethunter -r kex stop |
stop Kali NetHunter Desktop Experience root sessions |
nethunter -r kex kill |
Kill all KeX sessions |
nethunter -r <command> |
run <command> in NetHunter environment as root |
Wrapping UP
So we have successfully installed Kali Linux on non-rooted Android Smartphone.