![]() |
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:
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 & |
|
||
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:
- 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.
- 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
- 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.
- Some utilities like “top” can’t be run in unrooted Android.
- We can perfrom a regular backups of out rootfs by stopping all nethunter sessions and typing following command in termux session:
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.
Leave a Reply