• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[NETHUNTER] Kali NETHUNTER

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
NetHunter -

The Kali NetHunter is an Android ROM overlay that includes a robust Mobile Penetration Testing Platform. The Kali Linux NetHunter project is the first Open Source Android penetration testing platform for Nexus devices, created as a joint effort between the Kali community member “BinkyBear” and Offensive Security. The overlay includes a custom kernel, a Kali Linux chroot, and an accompanying Android application, which allows for easier interaction with various security tools and attacks. Beyond the penetration testing tools arsenal within Kali Linux, NetHunter also supports Wireless 802.11 frame injection, one-click MANA Evil Access Point setups, HID keyboard (Teensy like attacks), as well as BadUSB MITM attacks and is built upon the sturdy shoulders of the Kali Linux distribution and tool sets. For more information about the moving parts that make up NetHunter, check out our NetHunter Components page. NetHunter is an open-source project developed by Offensive Security and the community.

Instructions -

1. Install any ROM of your choice (AOSP, CM, Tesla)
2. Flash Gapps
3. Reboot
4. Setup your phone settings.
5. Go to Recovery and flash nethunter zip.
6. Reboot (It might reboot a couple of times, please setback)
7. Open NetHunter app to finalize settings.

Notes -

- Major portion of Kali works on kernel. I'm maintaining a kernel specifically designed for this. Flashing of any other kernel will result in unprecedented consequences.

- There are underlying issues which might cause a reboot when PEN-TESTING. Personally, I had very very very few reboots while testing.

- I have tested this extensively with ath9k_htc wireless adapter. Problems might arise with it, but I have created solutions too.

- If anyone who has knowledge in pen testing and is willing to contribute, let me know following things works or NOT.

Wireless Injection - Working with ath9k_htc. RALINK, Realtek supported but not tested.
Bluetooth interfaces USB hacks - Not tested, since I have no knowledge nor time to learn it.
Y cable - This is also not tested, since I don't have any resources left to buy new stuff.
Other Pen testing stuff - Again, not tested. But I have checked cSploit on my network and it works awesome.

Bugs :
1) Since PRIMA wlan is built-in, when our external adapter is disconnected there is a kernel panic and it reboots.
Other things????

XDA:DevDB Information
[NH] Kali Nethunter, ROM for the Sony Xperia ZR

Contributors
Daedroza, Daedroza, binkybear
Source Code: https://github.com/daedroza/nethunter_kernel_apq8064

ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.4.x

Version Information
Status: Testing

Created 2016-09-26
Last Updated 2016-09-26
 
Last edited:

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
Reserved

for atheros chip based adapter users who are unable to get their wlan1 up or even shown in the terminal follow these instructions:
1- goto "nethunter terminal" app and tap on "Kali"
2- type "apt-get update"
3- type "apt-get install firmware-atheros"
4- check "airmon-ng" after re-plugging your adapter

-----------------------------------------------------------------------------​

for realtek chip based adapter users who are unable to get their wlan1 up or even shown in the terminal follow these instructions:
1- goto "nethunter terminal" app and tap on "Kali"
2- type "apt-get update"
3- type "apt-get install firmware-realtek"
4- check "airmon-ng" after re-plugging your adapter

-----------------------------------------------------------------------------​

for chips other than (realtek or atheros) users are asked to follow these instructions:
1- goto "nethunter terminal" app and tap on "Kali"
2- type "apt-get update"
3- type "apt-get install firmware-misc-nonfree"
4- check "airmon-ng" after re-plugging your adapter

- Also, remember that only 4 gigs is available after CM install. After chroot even less.
So, you might wana selectively install the pen-testings tools you want, unless you're using internal+external configuration.
 
Last edited:

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io

aggunawan

Member
Dec 21, 2016
42
2
0
Can't install linux-headers 3.4.0-perf-gbccb33a

- Also, remember that only 4 gigs is available after CM install. After chroot even less.
So, you might wana selectively install the pen-testings tools you want, unless you're using internal+external configuration.
Can't install linux headers 3.4.0-perf-gbccb33a ??

Pliz give me solution?
 

(TitTitTit)

New member
Jul 25, 2017
2
2
0
An error occurred during the installation.

Hey. When I try to flash this zip, I get an error 1. Error: unable to extract! The zip may be corrupt or your device may not have enough RAM to proceed. Consider using a smaller installer if it is available. CM 13, the kernel is 3.4.112-cm, android is 6.0.1.
 
  • Like
Reactions: Daedroza

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
Hey. When I try to flash this zip, I get an error 1. Error: unable to extract! The zip may be corrupt or your device may not have enough RAM to proceed. Consider using a smaller installer if it is available. CM 13, the kernel is 3.4.112-cm, android is 6.0.1.
Sorry, I haven't lately keeping track of this project.
It worked fine for me 6 months ago, that time we used 2.8.70 TWRP I guess.
 

(TitTitTit)

New member
Jul 25, 2017
2
2
0
Sorry, I haven't lately keeping track of this project.
It worked fine for me 6 months ago, that time we used 2.8.70 TWRP I guess.
YEEEEEEEEEEEEES, It was installed, thank you very much.
It does not quite work. I'm trying to pick up VNC, but the terminal print "command not found".
 
Last edited:
  • Like
Reactions: Daedroza