Kali Linux Nethunter on Android tutorial

Table of Contents
  1. Tools to install nethunter:
  2. Download tools needed to install kali linux nethunter
  3. Install Kali Linux nethunter on our Android device
  4. Starting nethunter from termux
    1. NetHunter commands:
    2. Installation video: 

In this guide you will learn how to mount nethunter on an Android device, nethunter on an operating system based on Kali Linux. Of course this allows us to have inside our mobile device a virtualized operating system, collective computing and informaticaoficial, we have developed a series of steps to install it on your system in a safe 100% way because we do not require elevated access to modify the main operating system. So this procedure will NOT HARM YOUR MOBILE AT ANY TIME. However, we must mention that it will require resources to run it. So we invite you to read the whole procedure.

Tools to install nethunter:

    1. termux: In short, Termux is a terminal emulator for Android, which allows us to execute Linux commands through the shell. First, we can install and use it on Android without root authority. So this environment is secure and allows us to test open source repositories.

      termux terminal
      termux terminal

  1. nethunter store: Kali NetHunter App Store is an installable directory for Android applications used for penetration testing and forensic analysis. The client makes it easy for you to check for, install and track updates on your device.
    nethunter store
    nethunter store
  2. Kali NetHunter App Store for Android
  3. nethunter Kex: Kali NetHunter KeX: allows you to connect your Android device with a Bluetooth keyboard and mouse to the HDMI output and get a full Kali desktop on your smartphone, in this case it will do the connection of NetHunter-termux.

Download tools needed to install kali linux nethunter

scan the qr download nethunter store apk
scan the qr download nethunter store apk
  • Once downloaded NetHunterStore.apk we execute it, we give the necessary permissions to install downloaded applications.
  •  We open nethunter store, we will find it under the name of F-Droid

 

  • We search within nethunter store the application called  Nethunter Kex and we install it and ready we already have the necessary components.

Install Kali Linux nethunter on our Android device

The installation of kali linux nethunter depends on Android termination using termux

  • We removed some repositories that cause problems:

rm -rf $PREFIX

  • close the termux application with the command:

exit

  • We open the termux application again and change the repository version with:

termux-change-repo

Now we leave selected where it says Main repository? and press Enter to select OK

  • Several versions appear, we select Mirrors by Grimler Hosted on grimler.se?
  • We will start updating the repository and wait.
  • We install termux storage which allows us to access shared and external storage:

termux-setup-storage

  • We update the core, it is important so that the directories are updated correctly. If a message appears we give the letter Y and enter, it will ask you several times, and it is important that we place in this order the commands even if they are repeated:

apt-get update 

apt-get upgrade

apt-get update

  • we install pkg install wget Wget is a free GNU command line utility tool used to download files from the Internet. It retrieves files using HTTP, HTTPS and FTP protocols:

pkg install wget

  • we download and install the package and the complete image of nethunter for the termux terminal with the following command:

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

  • We will be asked if we want to download the file, we press the key Y, and we give you enter.

  • With Chmod +x we assign all permissions and privileges to the downloaded file named install-nethunter-termux

chmod +x install-nethunter-termux

  • to verify that the permissions have been assigned correctly, we type  dir  if the file appears green, the permissions have been changed correctly.
  • We install nethunter for termux: 

./install-nethunter-termux

  1. It will then download a 1.7GB ISO file.
  2. It will take some time, this depends on the Internet speed.
  3. Now, after downloading kali Linux ISO from the Internet, it will extract the ISO files and install on our Android device.
  4. This process will take more than 20 minutesalso depends on the performance of your device.
  5. At the end it will ask us if we want to keep the downloaded file:
  6. in this case I will keep it, but it is already installed.

Starting nethunter from termux

  • We open nethunter:

nethunter

  • Once nethunter is open, we will assign a user and password so that it can connect to Nethunter Kex
  • We assign a password of at least 6 digits, in my case ?123456?as it will allow us to connect with Nethunter Kex.

kex passwd

  • Set password: 123456 
  • Log in again to confirm it:

  • Now, we will see the port number and a process number

kex

  • We open the Nethunter Kex

  • enter the password we have assigned: "123456"
  • we leave the username blank
  • and we will give it at the top ?connect?

10.- The kali Linux operating system will be opened.

Kali Linux nethunter
Kali Linux nethunter

  • At the end of the process we will select in the widget of the Nethunter Kex, disconnect.
  1. In termux we select: kex stop
  2. Then we write in termux exit until it leaves the terminal
  • To restart Nethunter kali linux:
      1. Open termux and type nethunter
      2. Again we write kex
      3. We open the  Nethunter Kex and set again the port that we get when we execute the command kex
      4. Ready

NetHunter commands:

nethunterstart Kali NetHunter command line interface
nethunter kex passwdset KeX password (only needed before first use)
nethunter kex &start Kali NetHunter Desktop Experience user sessions
nethunter kex stopstop Kali NetHunter Desktop Experience
nethunterrun in the NetHunter environment
nethunter -rstart Kali NetHunter cli as root
nethunter -r kex passwdset the KeX password for root
nethunter -r kex &Kali NetHunter Desktop Experience as root
nethunter -r kex stopstop Kali NetHunter Desktop Experience root sessions
nethunter -r kex killKill all KeX sessions
nethunter -rrun <command>in the NetHunter environment as root

Installation video: 

We recommend you to read: Install tensorflow on Windows 11 

Leave a Reply

Go up

Cookies on this website are used to personalize content and ads, provide social media features and analyze traffic. More information

en_USEnglish