Install Kali Linux on Nexus 7

Nexus 7 with Kali Linux

I saw a Nexus 7 2012 GSM 32GB on for a steal. Having read about a setup called a PwnPad, that uses external wireless, Bluetooth, and Ethernet adapters to do network security testing on the go; an project was imminent. I previously tested out Backtrack Linux distribution in Virtualbox to crack WEP (years ago). I found it to be useful, but require a lot of command line tinkering to execute an attack. The tablet based tools seemed to be packaged in a way that had lots of functionality ready to go out of the box, so I gave it a shot.

Parts List

ASUS Nexus 7 ASUS-1B32-4G 7-Inch 32 GB Tablet
Single OTG USB Cable

If you wish to do this with multi OTG USB support:
Multi OTG USB Cable
Battery Pack for Wireless Card

Installing NetHunter manually was pretty straight forward, but there is a mostly automated way to install from a stock or freshly wiped device. Check out the NetHunter website for step by step instructions.

The TP-link WN722N with OTG cable worked with the out of the box install of Kali NetHunter… No configuration needed. I tested a few tools and then did a full wipe of the device to get all my space back. The Kali install on a rooted Kitkat 4.4.4 was successful. The next steps will be to try the latest version of Nethunter 2.0 with Android 5.0.2 Lollipop as well as getting support for charging and external wifi simultaneously.

Steps Taken

1. Flash stock Android 4.4.4
2. Root using toolkit
3. Install TWRP Recovery (clear cache)
4. Flash Photonic Geek Kernel (link below)
5. Copy Kali Nethunter 1.2 onto nexus & install with TWRP

Command Line

Launch Kali Shell

ifconfig wlan1 up

This will enable the external wireless card. TP Link should have a green light flashing on it. When you launch Wifite, you will see “WLAN1 FOUND”
Have fun!

Useful Tools / Links

Nexus Root Toolkit
MultiRom Manager
Offensive Security Site
Offensive Security GitHub Repo

Mastering Kali Linux for Advanced Penetration Testing – pdf
Nexus Root Toolkit v2.0.5
PhotinicGeek Kernel for KitKat