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


Retro Pie Gaming Console

This was pretty easy to get working. I ran into a few issues getting certain games to work (especially Arcade ROMS aka MAME) and enabling save states to work correctly with the different emulators. Having some Linux command line knowledge is helpful… Once I have time to better document this, I will do a step-by-step detailed guide for people going into this blind / with no experience.

Parts List

Rasberry Pi 2 – CanaKit
2x USB SNES Controllers
2x USB Extenders

Basic Setup

Download the Retropie SD card image and use the Win32DiskImager to put it on the card. I tried out the Raspberry Pi 2 Version 3.0 BETA 2 image. Fortunately there seems to be a decently active community and regular updates to the versions.

Put the card in your Pi and turn it on, there is not much else. Once your Pi is connected to your local network, you should be able to SSH/SFTP to it by using pi@retropie and the password you set up when prompted during setup. I use the FileZilla client for transferring ROMS and Cygwin to SSH onto the Pi and edit configurations.

Help / Resources

RetroPie Setup Wiki (lots of good video tutorials here)
Raspberry Pi Forum
RetroPie Blog