install-kali-nethunter-on-android

Install NetHunter on android (rootless)

Hi everyone! Welcome to Pentestguy. This article will show how to install Nethunter on an Android (rootless) device. Here we will use termux to install nethunter on android device (rootless) which is the best way to do it successfully.

As we know Kali linux is one of the most popular distro for hackers and penetration testers, and Kali Nehunter is an open-source platform for android devices where we can run Kali and use all of the popular vulnerability assessment and penetration testing tools.

Install Termux on Android device

Termux is an open-source emulator that has various linux packages and by using this we can install Kali Nethunter without rooting the android device.

Download the termux.apk from github and install it – https://github.com/termux/termux-app/releases

Open Termux and run the below command to update the packages.

pkg update -y

termux-pkg-update

Give the storage permission

Storage permission is required as the installation process will read and write new files.

Run the command given below to give the storage permission.

termux-setup-storage

termux-storage-setup

Download and run Nethunter-termux

Make sure to install the wget, because that will help us to download install-nethunter-termux.

To install wget on termux use the command given below.

pkg install wget

install-wget-package

Download kali-nethunter using the below command.

wget -O install-nethunter-termux https://offs.ec/2MceZWr

download-install-nethunter-termux

Now change the permission and run it.

chmod +x install-nethunter-termux 
./install-nethunter-termux

run-install-nethunter-termux

Select the first option, which is the full version of kali nethunter.

install-nethunter-full-android

It will take 5-10 minutes, depending on your internet speed and then it will start extracting the tar file. Select No when it asks to delete rootfs.

extract-nethunter-kali

Run Kali-Nethunter

After completing the above process we can use the command to connect to kali nethunter.

nethunter -r or nh -r

connect-kali-as-root

Update the kali repo using the below command

apt update 

update-kali-nethunter

Install dbus to communicate with different environments.

apt install dbus-x11 -y

install-dbux-x11

Run Kali-Nethunter as GUI

To run Kali-nethunter as GUI first, we need to download and install the Nethunter App Store – https://store.nethunter.com/en/

nethunter-app-store

Open nethunter app, store search for “nethunter kex” and install it.

install-nethunter-kex

Now, go to the termux and run the below command which will run the Kali nethunter in kex mode. Make sure to provide password and keep it in mind as it requires us while connecting via GUI mode.

nh kex

run-nethunter-kex

Leave the above termux session running and open NetHunter KeX where we need to add a new connection.

Provide the correct information given below, port number you can check from the above kex screenshot.

Port Number – 5901
Username – kali
Password – The password you provided after running the nh kex command is given in the above screenshot.

add-connection-to-kali-nethunter-kex

Open the saved connection.

kali-nethunter-connection

Here you are successfully able to access the Kali Nethunter GUI mode, that’s all!!

run-nethunter-on-android

Please share this post with your co-workers and friends if you found it helpful. Please provide your valuable comments and let us know if there are any suggestions. Now you can also collaborate with us please check our collaboration page, thank you!