Kali Nethunter for Magisk

Search This thread

Atarii

Senior Member
May 10, 2011
734
655
Overview
This module allows you to install the Kali Nethunter chroot on any device with Magisk. This means you get a full Kali chroot environment, but still avoid touching the /system partition and therefore have the advantage of passing SafetyNet (hopefully) etc.
For further information about Kali Nethunter and what's available, check out: https://github.com/offensive-security/kali-nethunter
nethunter-git-logo.png


Screenshots:
Screenshot_20170920-204114.jpg Screenshot_20170920-203818.jpg Screenshot_20170920-203935.png Screenshot_20170920-203800.png Screenshot_20170920-203809.png Screenshot_20170920-212509.jpg

Installation instructions:
  1. Install attached Magisk Module
  2. Reboot device
  3. Run Nethunter app - allow 7(!) Root-related permissions prompts and wait for initialisation
  4. Click "Kali Chroot Manager"
  5. Click "Install Kali Chroot" - "Download Latest"
  6. Install the full Chroot Kali package (around 800MB)
  7. Wait for Chroot to download/install (this may take a few minutes)
  8. Click "Install & Update" - allow Root permission for Nethunter Terminal app
  9. Enjoy! :)

Download:
V15.00.1 https://xdaforums.com/devdb/project/dl/?id=28005

Not Working:
Anything which requires the custom kernel/ramdisk will not work out of the box. This includes:
  • Wi-Fi injection (requires custom kernel/ramdisk)
  • HID Interfaces (BadUSB/Duckhunter etc. - also requires custom kernel/ramdisk)

Uninstall
To remove this fully:
  1. Load "Kali Chroot Manager" in the Nethunter app and click "Remove Chroot" (Reboot and Remove Chroot)
  2. Uninstall Kali Nethunter Magisk module (Reboot)
  3. Manually uninstall Nethunter, Kali Terminal and Kali VNC apps
  4. Remove any leftover files - /sdcard/nh_files, /sdcard/nh_install_*.log

Notes
This is an unofficial build. Credits to all the Offensive Security team and those working on the Nethunter project.
When first launching VNC Server/Viewer click "Use default config" and then install the Kali menu with "apt install kali-menu" to get the full packages list in the menu.
This includes the main APKs needed to run, the extra APKs (Hackerskeyboard, Shodan, cSploit etc.) will need to be installed seperately

Source of this Magisk module: https://github.com/atarii/Magisk_Kali_Nethunter/
Source of my changes to Nethunter App: https://github.com/atarii/nethunter-app

XDA:DevDB Information
Kali Nethunter for Magisk, Tool/Utility for all devices (see above for details)

Contributors
Atarii
Source Code: https://github.com/atarii/Magisk_Kali_Nethunter/blob/master/README.md


Version Information
Status: Beta
Current Beta Version: v15.00.2
Beta Release Date: 2018-01-07

Created 2017-09-20
Last Updated 2018-01-07
 
Last edited:

Atarii

Senior Member
May 10, 2011
734
655
Changelog:

20-09-2017
v1.0
Initial release

20-09-2017
v1.1
Removed a debug line from Nethunter App

04-11-2017
v1.2
Re-based to latest Nethunter App (v2017.10) - changed include fixes for mitmf and UI toggle for HID
Fixed Searchsploit

07-01-2018
v15.00.2
Re-based to latest Magisk module template (1500) - hence version number format change
Added latest Nethunter Apps - this fixes SSL pinning issues
 
Last edited:
D

Deleted member 8298852

Guest
Overview
This module allows you to install the Kali Nethunter chroot on any device with Magisk. This means you get a full Kali chroot environment, but still avoid touching the /system partition and therefore have the advantage of passing SafetyNet (hopefully) etc.
For further information about Kali Nethunter and what's available, check out: https://github.com/offensive-security/kali-nethunter
nethunter-git-logo.png


Screenshots:
View attachment 4278254 View attachment 4278255 View attachment 4278256 View attachment 4278257 View attachment 4278258 View attachment 4278291

Installation instructions:
  1. Install attached Magisk Module
  2. Reboot device
  3. Run Nethunter app - allow 7(!) Root-related permissions prompts and wait for initialisation
  4. Click "Kali Chroot Manager"
  5. Click "Install Kali Chroot" - "Download Latest"
  6. Install the full Chroot Kali package (around 800MB)
  7. Wait for Chroot to download/install (this may take a few minutes)
  8. Click "Install & Update" - allow Root permission for Nethunter Terminal app
  9. Enjoy! :)

Download:
V1.1 View attachment 4278303

Not Working:
Anything which requires the custom kernel/ramdisk will not work out of the box. This includes:
  • Wi-Fi injection (requires custom kernel/ramdisk)
  • HID Interfaces (BadUSB/Duckhunter etc. - also requires custom kernel/ramdisk)

Uninstall
To remove this fully:
  1. Load "Kali Chroot Manager" in the Nethunter app and click "Remove Chroot" (Reboot and Remove Chroot)
  2. Uninstall Kali Nethunter Magisk module (Reboot)
  3. Manually uninstall Nethunter, Kali Terminal and Kali VNC apps
  4. Remove any leftover files - /sdcard/nh_files, /sdcard/nh_install_*.log

Notes
This is an unofficial build. Credits to all the Offensive Security team and those working on the Nethunter project.
When first launching VNC Server/Viewer click "Use default config" and then install the Kali menu with "apt install kali-menu" to get the full packages list in the menu.
This includes the main APKs needed to run, the extra APKs (Hackerskeyboard, Shodan, cSploit etc.) will need to be installed seperately

Source of this Magisk module: https://github.com/atarii/Magisk_Kali_Nethunter/
Source of my changes to Nethunter App: https://github.com/atarii/nethunter-app

XDA:DevDB Information
Kali Nethunter for Magisk, Tool/Utility for all devices (see above for details)

Contributors
Atarii
Source Code: https://github.com/atarii/Magisk_Kali_Nethunter/blob/master/README.md


Version Information
Status: Beta
Current Beta Version: v1.1
Beta Release Date: 2017-09-20

Created 2017-09-20
Last Updated 2017-09-20

How do I use it?

---------- Post added at 03:29 PM ---------- Previous post was at 03:18 PM ----------

Overview
This module allows you to install the Kali Nethunter chroot on any device with Magisk. This means you get a full Kali chroot environment, but still avoid touching the /system partition and therefore have the advantage of passing SafetyNet (hopefully) etc.
For further information about Kali Nethunter and what's available, check out: https://github.com/offensive-security/kali-nethunter
nethunter-git-logo.png


Screenshots:
View attachment 4278254 View attachment 4278255 View attachment 4278256 View attachment 4278257 View attachment 4278258 View attachment 4278291

Installation instructions:
  1. Install attached Magisk Module
  2. Reboot device
  3. Run Nethunter app - allow 7(!) Root-related permissions prompts and wait for initialisation
  4. Click "Kali Chroot Manager"
  5. Click "Install Kali Chroot" - "Download Latest"
  6. Install the full Chroot Kali package (around 800MB)
  7. Wait for Chroot to download/install (this may take a few minutes)
  8. Click "Install & Update" - allow Root permission for Nethunter Terminal app
  9. Enjoy! :)

Download:
V1.1 View attachment 4278303

Not Working:
Anything which requires the custom kernel/ramdisk will not work out of the box. This includes:
  • Wi-Fi injection (requires custom kernel/ramdisk)
  • HID Interfaces (BadUSB/Duckhunter etc. - also requires custom kernel/ramdisk)

Uninstall
To remove this fully:
  1. Load "Kali Chroot Manager" in the Nethunter app and click "Remove Chroot" (Reboot and Remove Chroot)
  2. Uninstall Kali Nethunter Magisk module (Reboot)
  3. Manually uninstall Nethunter, Kali Terminal and Kali VNC apps
  4. Remove any leftover files - /sdcard/nh_files, /sdcard/nh_install_*.log

Notes
This is an unofficial build. Credits to all the Offensive Security team and those working on the Nethunter project.
When first launching VNC Server/Viewer click "Use default config" and then install the Kali menu with "apt install kali-menu" to get the full packages list in the menu.
This includes the main APKs needed to run, the extra APKs (Hackerskeyboard, Shodan, cSploit etc.) will need to be installed seperately

Source of this Magisk module: https://github.com/atarii/Magisk_Kali_Nethunter/
Source of my changes to Nethunter App: https://github.com/atarii/nethunter-app

XDA:DevDB Information
Kali Nethunter for Magisk, Tool/Utility for all devices (see above for details)

Contributors
Atarii
Source Code: https://github.com/atarii/Magisk_Kali_Nethunter/blob/master/README.md


Version Information
Status: Beta
Current Beta Version: v1.1
Beta Release Date: 2017-09-20

Created 2017-09-20
Last Updated 2017-09-20

Do I need NH installed to use this module?
 

Atarii

Senior Member
May 10, 2011
734
655
Well, it didn't work.

What do you mean? Try providing more information such as device, ROM, steps you did, what happens when "it doesn't work" etc. and then we can work out what's wrong.
An installation log is created in /sdcard named nh_install_20170920_XXXXXX.log, that would help too
 
D

Deleted member 8298852

Guest
What do you mean? Try providing more information such as device, ROM, steps you did, what happens when "it doesn't work" etc. and then we can work out what's wrong.
An installation log is created in /sdcard named nh_install_20170920_XXXXXX.log, that would help too

No new apps were installed. Module shows up in Magisk, but I don't have NH App, NH Terminal, etc.
 
  • Like
Reactions: BES96
D

Deleted member 8298852

Guest
Your other posts indicate that your ROM is not in a stable state. You might want to sort that out first, then try again.
Out of curiosity, you could also manually extract the APKs (in files folder in zip) and install them
Could I just extract the zip, install the apps and then install the magisk module?

---------- Post added at 06:43 PM ---------- Previous post was at 06:12 PM ----------

Your other posts indicate that your ROM is not in a stable state. You might want to sort that out first, then try again.
Out of curiosity, you could also manually extract the APKs (in files folder in zip) and install them

Pretty sure FreedomOS is stable. It's been in development since 2013 and many reviews say it's 'just as stable as stock'. Maybe the problem is that your module wasn't built for OxygenOS...
 

Atarii

Senior Member
May 10, 2011
734
655
Could I just extract the zip, install the apps and then install the magisk module?

---------- Post added at 06:43 PM ---------- Previous post was at 06:12 PM ----------



Pretty sure FreedomOS is stable. It's been in development since 2013 and many reviews say it's 'just as stable as stock'. Maybe the problem is that your module wasn't built for OxygenOS...
I'm not talking about FreedomOS, I'm taking about the posts where you said:
I try to install Burgerhunter over it with OOS. The nethunter zip installs SuperSU and downgrades Magisk to v2.82 or something like that, so after the install I select "switch superuser app" and it removes SuperSU. However, once it reboots, I try to download and install the Magisk upgrade, but results in an error."
https://xdaforums.com/showpost.php?p=73890408&postcount=8

It failed to install a different Nethunter mod, who knows what files are where now, what you have left over from SuperSu or Magisk installed.

I would be interested to know how it goes on a fresh ROM, then I may be able to help.
The module is universal, it's Magisk.
 
Last edited:
D

Deleted member 8298852

Guest
I uninstalled Burger Hunter and I didn't use the kernel with the magisk module
 
D

Deleted member 8298852

Guest
I got it to work! ?

This is what I did:
1. Re-downloaded the Magisk-nethunter module zip
2. Flashed it in TWRP
3. De-compressed the Magisk-nethunter module zip and manually installed the APKs
4. Opened Net Hunter app
5. Went to Chroot manager, selected download and selected full Chroot
6. PROFIT

EDIT: Just follow the instructions on https://xdaforums.com/showthread.php?t=3676681
 
Last edited by a moderator:

Anshu_131

Senior Member
Oct 12, 2015
97
19
New to this but Installed on purefusion OS Gemini. Was reading on wiki and just run anonsurf.
Q- If in services open VPN is on than we have nothing else to do in settings and VPN is on and working. In terminal I have run open VPN install script too.
Q- suggest some useful links or tips to fully utilize it.
Excellent work. Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 58
    Overview
    This module allows you to install the Kali Nethunter chroot on any device with Magisk. This means you get a full Kali chroot environment, but still avoid touching the /system partition and therefore have the advantage of passing SafetyNet (hopefully) etc.
    For further information about Kali Nethunter and what's available, check out: https://github.com/offensive-security/kali-nethunter
    nethunter-git-logo.png


    Screenshots:
    Screenshot_20170920-204114.jpg Screenshot_20170920-203818.jpg Screenshot_20170920-203935.png Screenshot_20170920-203800.png Screenshot_20170920-203809.png Screenshot_20170920-212509.jpg

    Installation instructions:
    1. Install attached Magisk Module
    2. Reboot device
    3. Run Nethunter app - allow 7(!) Root-related permissions prompts and wait for initialisation
    4. Click "Kali Chroot Manager"
    5. Click "Install Kali Chroot" - "Download Latest"
    6. Install the full Chroot Kali package (around 800MB)
    7. Wait for Chroot to download/install (this may take a few minutes)
    8. Click "Install & Update" - allow Root permission for Nethunter Terminal app
    9. Enjoy! :)

    Download:
    V15.00.1 https://xdaforums.com/devdb/project/dl/?id=28005

    Not Working:
    Anything which requires the custom kernel/ramdisk will not work out of the box. This includes:
    • Wi-Fi injection (requires custom kernel/ramdisk)
    • HID Interfaces (BadUSB/Duckhunter etc. - also requires custom kernel/ramdisk)

    Uninstall
    To remove this fully:
    1. Load "Kali Chroot Manager" in the Nethunter app and click "Remove Chroot" (Reboot and Remove Chroot)
    2. Uninstall Kali Nethunter Magisk module (Reboot)
    3. Manually uninstall Nethunter, Kali Terminal and Kali VNC apps
    4. Remove any leftover files - /sdcard/nh_files, /sdcard/nh_install_*.log

    Notes
    This is an unofficial build. Credits to all the Offensive Security team and those working on the Nethunter project.
    When first launching VNC Server/Viewer click "Use default config" and then install the Kali menu with "apt install kali-menu" to get the full packages list in the menu.
    This includes the main APKs needed to run, the extra APKs (Hackerskeyboard, Shodan, cSploit etc.) will need to be installed seperately

    Source of this Magisk module: https://github.com/atarii/Magisk_Kali_Nethunter/
    Source of my changes to Nethunter App: https://github.com/atarii/nethunter-app

    XDA:DevDB Information
    Kali Nethunter for Magisk, Tool/Utility for all devices (see above for details)

    Contributors
    Atarii
    Source Code: https://github.com/atarii/Magisk_Kali_Nethunter/blob/master/README.md


    Version Information
    Status: Beta
    Current Beta Version: v15.00.2
    Beta Release Date: 2018-01-07

    Created 2017-09-20
    Last Updated 2018-01-07
    11
    Changelog:

    20-09-2017
    v1.0
    Initial release

    20-09-2017
    v1.1
    Removed a debug line from Nethunter App

    04-11-2017
    v1.2
    Re-based to latest Nethunter App (v2017.10) - changed include fixes for mitmf and UI toggle for HID
    Fixed Searchsploit

    07-01-2018
    v15.00.2
    Re-based to latest Magisk module template (1500) - hence version number format change
    Added latest Nethunter Apps - this fixes SSL pinning issues
    7
    Update:
    Released new version (see first post for download) :good:

    Changes:
    • Re-based to latest Magisk module template (1500) - hence version number format change and the jump from v1.2 -> v15.00.2
    • Added latest Nethunter Apps (Version: 2018.01.01) - this fixes SSL pinning issues

    I undid the APKs installation change that was in development- this caused issues with the updated nhterm.apk application. If there are still issues with APK installation, I'll revisit this
    6
    Nethunter app doesnt install the metapackages or even update because of this error.
    need some help


    Err:2 'https://packages.microsoft.com/repos/microsoft-debian-stretch-prod' stretch InRelease
    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
    Reading package lists... Done
    W: GPG error: 'https://packages.microsoft.com/repos/microsoft-debian-stretch-prod' stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY EB3E94ADBE1229CF
    E: The repository 'https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch InRelease' is not signed.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

    That's actually going to end up being two errors. I get this for every new NH Kali install, so do yourself a favor & copy the code someplace.
    Another note: this will take a long run time usually.

    First fix the public key issue with this code:

    apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys EB3E94ADBE1229CF
    wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add


    Second you'll need to fix where Kali is pulling the packages & other info from. Copy & paste:

    echo deb http://http.kali.org/kali kali-rolling main contrib non-free > /etc/apt/sources.list apt-get update && apt-get upgrade && apt-get dist-upgrade
    3
    OnePlus 3/3T user Good News!!! ??

    --- MCD-Kernel ---
    * Kali Nethunter features.
    * Packet injection patch
    * OTG External WiFi adapter support ("monitor mode")
    * EAS (Energy Aware Scheduling)
    * Many other necessary features...
    >> Currently Build for OxygenOS 8.0+

    Link: https://xdaforums.com/one...h-mcd-t3838788
    @Atarii
    If possible add this Kernel link for OnePlus 3/3T in 'Supported Kernels' list for Kali Nethunter for Magisk