How to Build a Portable Pen-Testing Pi Box « Null Byte :: WonderHowTo

Hello, Null Byte! Mkilic here. I doubt anyone knows I even exist on Null Byte, so hopefully this post will allow me to become more involved in the community and also help me learn even more.This project is somewhat similar to OTW's articlehere, and pry0cc'shere, in which both utilize the Raspberry Pi as a hacking tool. Both are great how-tos and are definitely better than mine. Nevertheless, I would like to go step by step through what I have created. Hopefully, you will learn some things, and hopefully, from your comments and discussions, I will as well.IntroductionIn my project, I will be making a Portable Pen-Testing Pi Box that costs around $100 or less. Essentially, the goal is to create an effective portable PC that can be inconspicuously used (remotely or physically) and even disposed of if necessary. This project relies heavily on the ultra small form factor of the Raspberry Pi. As expected, the Raspberry Pi can fit into almost anything. In our case we will be putting it into a rather unique lunchbox. So let's get started!Step 1: Gathering the MaterialsTo put together a sub $100 Pen-Testing PC, we need to find the best parts for the best price. In the below picture, we have all of the necessary electronics to make this work.I bought almost all parts from Amazon.Raspberry PiMakerfire 7" LCD screenRii mini wireless keyboard and mousePNY battery packMicroSD card12V 2A DC power adapter (the power supply for the screen came from a old Netgear Router box I had never used)HDMI cable (excluded from this picture, as that is essentially a household item these days)To make this project even cheaper, you could swap out the Raspberry Pi for a $5Raspberry Pi Zero, or even the newCHIPby Next Thing Co. for $9, which drastically drops the price point down.Of the non-electrical components, all we need is Velcro, tape, and the lunchbox to house everything, as shown below. (Side note: I later added a 3D printed case for the Pi as it helps in the placement of the Pi within the lunchbox.)Step 2: Preparing the Raspberry PiTo create the perfect hacking Pi Box, we should get the perfect hacking OS onto our SD card. Kali Linux has all of the programs and tools we need and more to make the Raspberry Pi an effective hacking tool.To do that, we need to download the Kali Linux image for our Raspberry Pi fromhere. After downloading the file, unzip it using Win32 Disk Imager, 7Zip, or any other unzipping utility. Following the stepshereshould get us on the right track.Once the image is on the SD card, try it with the Pi and see if it boots up properly. If all goes well, continue to Step 3. If you still run into problems, try the step-by-step explanation that can be foundhere.Step 3: Putting It All TogetherOnce the Pi is ready with Kali Linux, it is time to put everything together. In my case, I structured it so that all but the battery pack was on the outside of the lunchbox, as seen below. However, this project can be completely different and unique to your liking. You may notice I added a 3D printed case for the Raspberry Pi. This allows me to easily pull the Pi and battery out without a struggle.The screen and screen controller are held together with strong tape. The keyboard is meant to be detachable so that it can be used effectively. It takes a few seconds to plug in all the cables and then the Pi Box boots up. Putting everything back together takes the same amount of time and everything can fit inside the lunchbox.Step 4: Working with Kali on the PiOnce everything is plugged in and it all functions correctly, you can then start working with the Pi Box. By default, an SSH server should be enabled on the Raspberry Pi with Kali Linux. From another PC or smartphone using an SSH client like Putty (Windows) or just the terminal in Linux, you should be able to login with the default username and password (root, toor) and begin to remotely use the Pi Box.You can go further along to install any other program that you need to perform a hack. Keep in mind the limitations of the hardware as the Pi Box can't run every program. I like to use the Pi Box as a simple testing device; I can perform some active recon using Nmap or crack some passwords with John, and even inspect some traffic using Wireshark. There are plenty of tools that you can use to make this a very useful device.Here is a finished picture of the project with Kali Linux running:Booting Up the Pi Box featuring the removable keyboard and mouse:Step 5: Conclusion & RevisionsIn summary, this is a great project if you are interested in learning more about how the Raspberry Pi can be used as a hacking tool. It is also fun to build and can be useful as a testing device in your hacking lab.As I mentioned before, this project can be fully customized. All the parts can be switched out for cheaper or more expensive parts, depending on your preference.(At the moment, I realize that it is not fully portable if we were to use the screen, as it needs a power supply from a wall. However, with the addition of another power pack, this problem could be eliminated.)Thank You!Thanks for reading my first post. I hope you all found it interesting! Let me know if you have any questions, comments, or if I messed up on anything. Thank you once again, and happy hacking!Want to start making money as a white hat hacker?Jump-start your hacking career with our2020 Premium Ethical Hacking Certification Training Bundlefrom the newNull Byte Shopand get over 60 hours of training from cybersecurity professionals.Buy Now (90% off) >Other worthwhile deals to check out:97% off The Ultimate 2021 White Hat Hacker Certification Bundle99% off The 2021 All-in-One Data Scientist Mega Bundle98% off The 2021 Premium Learn To Code Certification Bundle62% off MindMaster Mind Mapping Software: Perpetual LicenseRelatedNews:Smart Home Proof of Concept Uses a Raspberry Pi to Control Air Conditioner with HoloLensHow To:Boot Multiple Operating Systems on the Raspberry Pi with BerryBootHow To:Build a portable stink penHow To:Set Up Network Implants with a Cheap SBC (Single-Board Computer)How To:Use the image editor Portable GIMPHow To:Automate Hacking on the Raspberry Pi with the USB Rubber DuckyHow To:Never Lose a Stylus Again by Setting "Missing S Pen" Alerts on Your Samsung Galaxy Note 2 or Note 3How To:Make an Origami Vase, Pen Holder and Gift Box (3 Models in 1 Tutorial)How To:Set Up Kali Linux on the New $10 Raspberry Pi Zero WHow To:Fix a Ninendo DS Lite that won't turn on or charge with a conductive penHow To:Set Up a Headless Raspberry Pi Hacking Platform Running Kali LinuxHow To:Build Your Own Internet Radio Player, AKA Pandora's BoxRaspberry Pi:Physical Backdoor Part 2How To:Load Kali Linux on the Raspberry Pi 4 for the Ultimate Miniature Hacking StationHow To:Enable Monitor Mode & Packet Injection on the Raspberry PiHow to Hack Like a Pro:Getting Started with MetasploitHow To:Build an Off-Grid Wi-Fi Voice Communication System with Android & Raspberry PiHow To:Lock Down Your DNS with a Pi-Hole to Avoid Trackers, Phishing Sites & MoreHow To:Set up an HF portable radio while hikingHow To:Build a Beginner Hacking Kit with the Raspberry Pi 3 Model B+Raspberry Pi:Hacking PlatformPost Pi Day Coding Project:Let's Uncover the Hidden Words in PiHow To:Make Yin-Yang Pillow BoxesNews:Happy Pi/Half-Tau Day!News:PigpensHow To:Your Guide to Lazy Baking, Part 1: How to Make Mini-Pies in Muffin TinsNews:Mini Pies in Muffin TinsTVs Are for Old People:A Guide to Handheld ConsolesNews:SOFTWARE HINTS, TIPS & TRICKS-"DITTO & DITTO PORTABLE"News:PEN Center USA Emerging Voices FellowshipsHow To:Make Yin-Yang Modular PolyhedraNews:Extra-Fine Pen Allows for LEGO Tattoo Magic