Kali Linux Nethunter on Android tutorial

In this guide you will learn how to mount nethunter on Android device, nethunter on Kali Linux based operating system. Of course, this allows us to have within our mobile device a virtualized operating system, collective computing and official computing, we have developed a series of steps to install it on your system in a 100% safe way since we do not require elevated access to modify the main operating system . So this procedure WILL NOT DAMAGE YOUR MOBILE AT ANY TIME. Although we must mention that it will require resources to be able to execute it. So we invite you to read the entire procedure.

Índice de Contenido
  1. Tools to install nethunter:
  2. Download tools needed to install kali linux nethunter
  3. Install Kali Linux nethunter on your Android device
  4. Start nethunter from termux
    1. NetHunter commands:
    2. Installation video: 

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 safe 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 forensics. The client makes it easy for you to find, install, and track updates on your device.
    nethunter store
    nethunter store
  2. App Store de Kali NetHunter para 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  NetHunter-termux connection.

Download tools needed to install kali linux nethunter

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

 

  • We look inside the  nethunter store  for the application called  Nethunter Kex  and we install it and that's it, we already have the necessary components.

Install Kali Linux nethunter on your Android device

kali linux nethunter installation depends on android terminal using termux

  • We removed some repositories causing problems:

rm -rf $PREFIX

  • We 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 we give Enter to select OK

  • Several versions appear, we select  “Mirrors by Grimler Hosted on grimler.se”
  • It will start updating the repository and we wait.
  • We install termux storage that 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 the commands in this order even if they are repeated:

apt-get update 

apt-get upgrade

apt-get update

  • install  pkg install wget  Wget  is a free GNU command line utility tool used to download files from the Internet. Retrieve 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

  • It will ask us if we want to download the file, we press the  Y key, and we hit enter.

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

chmod +x install-nethunter-termux

  • To verify that the permissions were assigned correctly, type  dir   if the file appears in green, the permissions were changed correctly.
  • We install  nethunter for termux: 

./install-nethunter-termux

  1. It will then download a 1.7GB ISO file.
  2. It will take a while, this depends on your 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 minutes , it also 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.

Start nethunter from termux

  • We open nethunter:

nethunter

  • Once open nethunter we will assign a user and password so that it can connect to  Nethunter Kex
  • We assign a minimum 6-digit password, in my case “123456” , since it will allow us to connect with Nethunter Kex.

kex passwd

  • Enter password:  123456 
  • Please log in again to confirm:

  • Now, the port number and a process number will appear

kex

  • We open the Nethunter Kex application

  • We place the password that we have assigned:  «123456»
  • leave the username blank
  • and we will give you at the top “connect”

10.- The kali Linux operating system will open

Kali Linux nethunter
Kali Linux nethunter

  • At the end of the process we will select in the  Nethunter Kex widget,  disconect.
  1. In termux we select:kex stop
  2. Then we write in termux exit until it exits the terminal
  • To restart  Nethunter kali linux:
      1. We open termux and write nethunter
      2. Again we write kex
      3. We open the  Nethunter Kex application  and put back the port that it gives us when executing the kex command
      4. Clever

NetHunter commands:

nethunter start the Kali NetHunter command line interface
nethunter kex passwd set KeX password (only needed before first use)
nethunter kex & start Kali NetHunter Desktop Experience user sessions
nethunter kex stop detener Kali NetHunter Desktop Experience
nethunter <command> run in the NetHunter environment
nethunter -r iniciar Kali NetHunter cli como root
nethunter -r kex passwd set KeX password for root
nethunter -r kex & Kali NetHunter Desktop Experience como 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

Installation video: 

We recommend you read: Install tensorflow in Windows 11 

Leave a Reply

Your email address will not be published. Required fields are marked *

Go up