NetHunter Rootless — Official Kali NetHunter for non rooted phones

Mobile phones are very portable and useful. Hackers dream device is mobile phone with Kali Linux installed. Kali Linux NetHunter project is a Open Source Android penetration testing platform for Nexus and One Plus devices. By using NetHunter we can install Kali Linux on supported Android smartphone, but there are some unofficial tutorial to install NetHunter on any phone with/without root our Android device. Now we can install Kali Linux NetHunter rootless on any non-rooted Android smartphone officially this is made by Re4son.

Nethunter Rootless
Nethunter Rootless — NetHunter for non rooted devices with KeX support

Requirements:

  • Android device (Stock unmodified device, no root or custom recovery required).
  • Decent Internet connection.

Installation:

  • First we install the NetHunter store app from https://store.nethunter.com
  • From the NetHunter store , we need to install ‘Termux’, ‘NetHunter-KeX client’ and ‘Hacker’s keyboard’. (The button “install” may not change to “installed” in the store client after installation – just ignore it and Starting termux for the first time may seem stuck while displaying “installing” on some devices – just hit enter.)
  • Open Termux application and type following commands one by one:

termux-setup-storage
pkg install wget
wget -O install-nethunter-termux https://offs.ec/2MceZWr
chmod +x install-nethunter-termux 
./install-nethunter-termux

How to use:

We need to open Termux app and type one of the following:

Command To
nethunter start Kali NetHunter command line interface
nethunter kex passwd Configure the KeX password (only needed before 1st use)
nethunter kex &
start Kali NetHunter Desktop Experience
nethunter kex stop stop Kali NetHunter Desktop Experience

  • The nethunter command can be abbreviated to nh.
  • If we run kex in in the background (&) without having set a password, bring it back to the foreground first when prompted to enter the password, that is via fg <job id> – we can later send it to the background again via Ctrl+z and bg <job id>
  • To use KeX, start the KeX client, enter our password and click connect.
  • For a better viewing experiance, enter a custom resolution under “Advanced Settings” in the KeX client.

Tips:

  1. Run apt update && apt full-upgrade command thing after installation. If we have enough storage space available we can run apt install kali-linux-full as well.
  2. Firefox doesn’t work on unrooted devices. We can remove it and install Chromium via those commands, apt remove firefox-esr and apt install chromium. Then find “Chromium Web Browser” item in application menu right click and select “Edit Application” then change the command to /usr/bin/chromium –no-sandbox %U
  3. All of the penetration testing tools are working but some of them might have restrictions because of non-rooted device. For example metasploit works fine but doesn’t have database support.
  4. Some utilities like “top” can’t be run in unrooted Android.
  5. We can perfrom a regular backups of out rootfs by stopping all nethunter sessions and typing following command in termux session:

tar -cjf kali-arm64.tar.xz kali-arm64 && mv kali-arm64.tar.xz

On older devices, change “arm64” to “armhf”.

Join the forums to exchange tips and ideas and be part of a community that strives to make NetHunter even better. Follow us on Blogger and Twitter.

Comments

42 responses to “NetHunter Rootless — Official Kali NetHunter for non rooted phones”

  1. Anonymous Avatar
    Anonymous

    Nethunter commands doesn't work with me and i tried to set by
    Nethunter kex passwd
    It says ./vnconnections not available i dont know what to do

  2. Fedora Avatar

    Error starting the KeX server.
    Please try "nethunter kex kill" or restart your termux session and try again.

  3. Kali Linux Avatar

    Use command
    nethunter kex kill
    to close the KeX server and close terminal by
    exit
    command. Then restarts everything it will Work.

  4. Unknown Avatar

    a tutorial showing some rootless nethunter tools working

  5. Kali Linux Avatar

    yes, those tools will works which doesn't require root permissions, and you will not get the database support.. Other everything will work like a charm.

  6. .. Avatar

    After installation i tried sudo.
    [Sudo] password for kali
    I tried to typed password which I
    Set nethunter kex passwd.
    It didn't work. Plz help

  7. Praful Avatar

    How To restart ofter exit

  8. Kali Linux Avatar

    use command
    nethunter kex &

  9. .. Avatar

    Sudo password for kali
    ?????

  10. Kali Linux Avatar

    kali
    Password also will be kali.

  11. .. Avatar

    People say that Instagram account can be hacked through kali Linux.!
    Is it true???

  12. Kali Linux Avatar

    Answer of this is pretty difficult. We mean you simply can't terminate an Instagram. We have a detailed article on this. We wrote it for Facebook but Instagram will be the same. Click here to read it. Read it carefully. You can trick the victim with phishing and social engineering. Kali Linux will provide you tools for penetration testing.

  13. Anonymous Avatar
    Anonymous

    Same here, i restarted but it just keeps giving me the same message

  14. Sofiler Avatar

    I have installed this way before but now I get an error why?
    "wget -O install-nethunter-termux https://offs.ec/2MceZWr
    –2020-06-24 15:24:22– https://offs.ec/2MceZWr
    Resolving offs.ec… failed: No address associated with hostname.
    wget: unable to resolve host address ‘offs.ec’"

  15. Toxi Avatar

    I had recently installed with this method and worked without any problems. And now iam also getting the same error message as u got.I had tried in different phones and getting the same. Maybe there is some problem with the url. Hope it will be solved soon.

  16. Amit Samal Avatar

    Rootfs corrupted. Please run this installer again or download the file manually – please solve this problem ,

  17. Kali Linux Avatar

    Hey the answer is comes with the error. Run the installer again and download the file manually. Simple.

  18. Unknown Avatar

    Did you get any solution for the same. I am also facing it

  19. Yousufzai Avatar

    After study several of the blogs with your website now, i truly much like your strategy for blogging. I bookmarked it to my bookmark web site list and will be checking back soon. Pls look at my internet site at the same time and make me aware if you agree. iphone photoshop

  20. Asm Blog Avatar

    When i run #./install-net….
    File downloaded but unable to extract. It said download again or install manually . How can i do it manually

  21. Unknown Avatar

    Again and again the same error founds

  22. orgil Avatar

    hello
    When run nethunter kex & and press enter 2 times service exit

  23. Unknown Avatar

    Hi,,i just tried installng kali using this method and i got problem,, the vnc is connected but kali not show up on vnc..

  24. Kali Linux Avatar

    You can send us the screenshot of the problem on our Telegram Group.

  25. Anonymous Avatar
    Anonymous

    Sound not working with nethunter plzzz help step by step

  26. Anonymous Avatar
    Anonymous

    it says :

    Error starting the KeX server.
    Please try "nethunter kex kill" or restart your termux session and try again.

    i used nethunter kex kill

    but said :
    use nethunter kex sigkill

    deadlocked

  27. Kali Linux Avatar

    Follow the steps

    Long press the Termux app and go Press "Force stop"

    Open termux app

    Again make new password for nethunter kex just type "nethunter kex passwd"

    After you set the password type "nethunter kex &"

    It will reset and give you a new port for nethunter kex app

    Go to nethunter kex app and set the port and put the password

    It works perfectly fine 🙂

    Thanks

  28. Unknown Avatar

    Hello, i've successfully installed Kali Linux Nethunter Rootless on my tablet. How can i uninstall it?

  29. Kali Linux Avatar

    Just delete the downloaded files and "apt purge package-name" to uninstall installed packages.

  30. Anonymous Avatar
    Anonymous

    Really I like your response,Kali nethunter team.

  31. RaViGktP Avatar

    My nethunter kex is too much slow.
    It is only open and after use of 3-4 tap of pointer it always show connection problem.
    This problem is showing again and again what should I do?

  32. Kali Linux Avatar

    Hi, may we ask what mobile device you are using?

  33. DadadaDuxtin Avatar

    [*] Checking device architecture …
    [*] Checking package dependencies…
    proot is OK
    tar is OK
    axel is OK
    Reading package lists… Done
    Building dependency tree… Done Reading state information… Done
    Calculating upgrade… Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [*] Downloading rootfs…

    Initializing download: https://images.kali.org/nethunter/kalifs-armhf-full.tar.xz
    File size: 1.51661 Gigabyte(s) (1628452444 bytes)
    Opening output file kalifs-armhf-full.tar.xz.0
    State file found: 1683120124 bytes downloaded, -54667680 to go.
    Starting download

    It's 100%
    But it keeps downloading
    Can someone help me

    My WiFi Internet speed is low

  34. Kali Linux Avatar

    There is no error. We think you need wait for a long time.

  35. Unknown Avatar

    [*] Downloading rootfs…

    Initializing download: https://images.kali.org/nethunter/kalifs-arm64-full.tar.xz
    File size: 1.54664 Gigabyte(s) (1660692576 bytes)
    Opening output file kalifs-arm64-full.tar.xz
    Starting download

    Connection 0 finished
    Connection 3 finished
    Connection 2 finished
    Connection 3 finished
    Connection 0 finished
    Connection 2 finished
    Connection 0 finished
    Connection 2 finished
    Connection 3 finished
    Connection 0 finished
    Connection 3 finished
    Connection 2 finished
    Connection 3 finished
    Connection 0 finished
    Connection 2 finished
    Connection 3 finished
    Connection 0 finished
    Connection 2 finished
    Connection 3 finished
    Connection 0 finished
    Connection 2 finished
    Connection 0 finished
    Connection 3 finished
    [100%] [……#……………….] [ 1.4MB/s] [00:00]

    It says 100% but it's stuck there , not proceeding further

  36. Kali Linux Avatar

    It takes times. It takes too much time (hours, if your phone is not much faster or older). Please wait some times. In our Telegram group there are some experts on Termux and Nethunter. They can help you better.

  37. Unknown Avatar

    Followed all steps but it seems I can't find my rfb port number. It says No matching vnc server running on this user…Please help me

  38. Kali Linux Avatar

    Here this is the official documentation of Kali Nethunter. Please follow it also. If not resolved. Then we may need screenshots from you on our Telegram family.

  39. Anonymous Avatar
    Anonymous

    Kex doesn't work in New updates when u use key & to set password it will say no vnc found use total cmd file browser to delete .vnc file then download tigervnc run tigervncserver it will ask to set password then it should run

  40. Anonymous Avatar
    Anonymous

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

  41. Anonymous Avatar
    Anonymous

    Password set karne per ye error aa rha please help me
    sudo: unable to get time of day: Value too large for defined data type
    sudo: error initializing audit plugin sudoers_audit
    $

Leave a Reply

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