NetHunter Rootless
Method -1
NetHunter Rootless is a version of Kali Linux that can run on Android devices. It doesn’t require root access, making it a bit safer and more user-friendly.
Here’s a general guide on how you might approach installing and setting up NetHunter Rootless on Termux:
METHOD -1
NetHunter Rootless Method 1
As my knowledge Please use Method-1
NetHunter Rootless Edition
Maximum flexibility with no commitment
Prerequisite:
Installation:
- Install the NetHunter-Store app from store.nethunter.com
- From the NetHunter Store, install Termux, NetHunter-KeX client, and Hacker’s keyboard Note: The button “install” may not change to “installed” in the store client after installation – just ignore it. Starting termux for the first time may seem stuck while displaying “installing” on some devices – just hit enter.
- Open Termux and type:
After ./install-nethunter-termux follow these steps:
delete downloaded rootfs file y/n? : choose as your wish.
Usage:
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 user sessions |
nethunter kex stop | stop Kali NetHunter Desktop Experience |
nethunter <command> | run |
nethunter -r | start Kali NetHunter cli as root |
nethunter -r kex passwd | configure the KeX password for root |
nethunter -r kex & | start Kali NetHunter Desktop Experience as 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 |
Tips:
- Run sudo apt update && sudo apt full-upgrade -y first thing after installation to update Kali. If you have plenty of storage space available you might want to run sudo apt install -y kali-linux-default as well.
- All of the penetration testing tools should work but some might have restrictions, e.g. metasploit works but doesn’t have database support. If you discover any tools that don’t work, please post it in our forums.
- Some utilities like “top” won’t run on unrooted phones.
- Non-root users still have root access in the chroot. That’s a proot thing. Just be aware of that.
- Galaxy phone’s may prevent non-root users from using sudo. Just use “su -c” instead.
- Perform regular backups of your rootfs by stopping all nethunter sessions and typing the following in a termux session: tar -cJf kali-arm64.tar.xz kali-arm64 && mv kali-arm64.tar.xz storage/downloads That will put the backup in your Android download folder. Note: on older devices, change “arm64” to “armhf”
1. Install Termux: visit
First, you’ll need to install Termux from the Google Play Store. Termux is a terminal emulator for Android that allows you to run a Linux-like environment.
2. Update and Upgrade:
Once Termux is installed, open it and update the package repositories and upgrade installed packages by running the following commands:
pkg
update or
apt
update
pkg
upgrade or
apt
upgrade
3. Install Required Packages:
Install the necessary packages that NetHunter Rootless will require. This might include packages like proot, git, wget, etc. You can install them using the pkg install command.
For example:
pkg
install proot git wget
4. Clone NetHunter Rootless Repository:
note: to install Nethunter on Android you need 10gb of storage.
Clone the NetHunter Rootless repository from GitHub using the git command:
old - git clone https://github.com/offensive-security/kali-nethunter
5. Navigate to the Repository:
Move into the NetHunter Rootless directory using the cd command:
cd kali-nethunter
6. Run Installation Script:
Run the installation script. This script should automate the setup process:
./installer/kalinethunter
Advantages of NetHunter Rootless:
No Root Required: One of the key advantages of NetHunter Rootless is that it doesn’t require rooting your Android device. This can enhance the security of your device and make the installation process simpler for users who are not comfortable with rooting.
Portable Security Testing: NetHunter Rootless allows security professionals and enthusiasts to carry out security assessments and penetration testing on the go, using their Android devices.
Kali Linux Tools: NetHunter Rootless provides access to a wide range of Kali Linux tools for various security testing purposes, including network analysis, vulnerability assessment, and exploitation.
User-Friendly: By eliminating the need for rooting, NetHunter Rootless can be more user-friendly for individuals who are new to Android customization and security testing.
Considerations and Limitations:
Resource Intensive: Running a full suite of security tools on a mobile device, even without root access, can still be resource-intensive. The performance of these tools might vary depending on the device’s specifications.
Compatibility: Not all Android devices may be compatible with NetHunter Rootless due to hardware and driver limitations. It’s important to check the compatibility list provided by the NetHunter project.
Regular Updates: As with any software, it’s important to keep NetHunter Rootless updated to ensure you have access to the latest security patches and tools.
Documentation and Community Support: Given the specialized nature of NetHunter Rootless, users might need to refer to the project’s documentation and community forums for guidance and troubleshooting.
conclusion
NetHunter Rootless provides a convenient and accessible platform for security professionals and enthusiasts to conduct security testing on their Android devices without the need for rooting. However, users should be aware of compatibility considerations and stay informed about updates and best practices for security testing on mobile devices. Since my information might be outdated, I recommend checking the official NetHunter documentation and community resources for the latest information and developments.
For more updates, join us on:
WhatsApp Telegram