Ready to Start Your Career?
July 21, 2016
Affordable, Lightweight and Portable Pentesting Kit
July 21, 2016
Affordable, Lightweight and Portable Pentesting KitWe all love testing networks. It's part of our daily routine. But sometimes, it's a pain because we need to carry our laptop. It can be heavy, we need the laptop bag and using it in a public place may call unwanted attention to our work, which most of us don't like.So, that's why we need an Affordable, Lightweight and Portable Pentesting Kit. Things we need:1> Raspberry pi (You can choose any version. In my case, I have latest version - Raspberry pi 3) ~ $362> A power adapter (Depending on your pi; you can also use your smart phone charger)3> A USB cable (Almost everyone has this)4> A smart phone (I have an android)5> A power bank (Power source)6> A micro SDcard7> Some free applications (Read on) Optional:1> A case for raspberry2> Heatsink for raspberry (for reducing the raspberry pi temperature)3> Touch screen for raspberry (if you're purchasing this, you don't a need USB cable & smartphone ) A Quick Definition:Raspberry Pi: An ARM-based, credit card-sized mini computer that can be plugged in to your TV using an HDMI cable. Then, you can use your USB type of keyboard and mouse to use the computer. Let's begin...First, we have to select the OS we want to install in our raspberry. There are many OS's for raspberry, including Ubuntu mate, Windows, etc...But, since we're making pentesting kit, I think Kali is best :) So, let's use Kali.You can download an image here.Then, after the download is complete, we need software to extract the image file. You can use 7zip. After that, you'll get a image file with ".img" extension.Next, connect your SDcard with your computer.Then, you'll need software to install the OS on the microSDcard. I'll be using win32diskimager. It's for Windows 32bit only. If you're a Linux or win 64bit user, you can use another software. You're just one Google away from them :)After installing the OS on SDcard, put the SDcard in raspberry pi and we're almost done done :) To install the required tools, you can connect a keyboard, mouse and monitor with raspberry.There's no need to install tools one by one; you can use metapackages. Choose the category like forensic, wireless, password cracking, etc.After installing the required tools, you should install a VNC software. I know of 2 good VNC's for Linux: tightvncserver & x11vnc.Install any of them set a password.We know that every time we power up our OS, we'll get a login screen. Before login, no services will start. Yet, for logging in, we have to attach our keyboard, but we don't want that. We'll will add autologin :)It's very simple - just open /etc/lightdm/lightdm.conf
in section [Seat:*]uncomment 2 lines
autologin-user=rootautologin-user-timeout=0Note: You should change the user, because autologin at root is not a good idea and you have to change timeout value to 0Now, we're done with this part :)Unplug your HDMI cable keyboard and mouse. We don't need them now. It's time to install some free applications. Let's install Fing from the PlayStore. You can choose any SSH and VNC application you want :)We'll now our smart device as a keyboard, mouse & monitor. (Or, you can buy a touch screen for raspberry.) It's very easy to configure it. First, let's connect our smartphone and raspberry pi using USB cable.Note: We have to repeat these steps every time we want to use our phone as input and display.In your Android phone go to Settings> More > Tethering & Portable Hotspot and enable USB TetheringOpen "Fing" go to its setting (options) and then select "discover any IP network"We have to input a range for example for device: 192.168.42.0/24It will show you all alive hosts (our raspberry pi). After getting the raspberry pi IP, you can connect it with SSH or VNC.Done :) Now, you can control raspberry pi with your Android device :)