I’ve been working on a portable raspberry pi setup for both familiarizing myself with cybersecurity and pentesting tools while also having a functional Linux system that I can access at any time. It’s almost all self-contained inside a small cardboard box.

Inside the box is:

  • Raspberry Pi 3 Model B w/ 32GB microSD card, and 32GB USB drive for easy data exfiltration
  • Adafruit OLED display
  • ALFA AWUS036NHA (AR9271 chipset)
  • Ethernet Cable
  • Ethernet to USB interface for logging in from my laptop

Unpacked Box

With it, I carry a 16500 mAh portable charger. It sits outside the box, but a small USB cable is carried inside the box.

Box and Battery Packed Box

There is a rectangular hole in the box which is where the Adafruit OLED display is mounted. I have it set up to display CPU, memory, and disk usage, as well as its temperature, IP address, and the current date and time. There are three lines on the bottom that are empty, and can have text displayed on them simply by writing to a file. This would be useful, for example, to easily see whether a WPA handshake was captured without having to ssh into the pi.

The side of the box with the OLED display A close up view of the display

All that has to be done to set it up is to plug in the WiFi adapter, ethernet cable, and power. The pi is set to have a static link-local address, which means it can be plugged into any machine that supports SSH and it will be easily accessible. I’m still working on getting internet access to the pi through the Ethernet cable.

Setup

Note that there is only one cable coming from the computer to the system. That means, even without access over a wireless network, it can be accessed somewhat discreetly. Having one cable going from your laptop to your backpack looks just like you’re charging your phone or something. It would be nice to get a more subtle black ethernet cable.

While the portable charger cannot be carried in the box while transporting the system, it fits fine in the box if the ethernet cable and wifi adapter have been taken out.

Battery in box

Future Plans

The top things I want to do to make this more complete are:

  • Build and integrate a custom charging and powering solution, that supports pass-through charging. Ideally there’s be a USB port on the side of the box, that when plugged into, powers the pi and uses the extra juice to charge the battery. I could then be able to get the battery percentage and display it on the OLED.
  • Terminate the ethernet adapter on the side of the box and simply expose a USB port, in order to not need to carry a cumbersome ethernet cable in the box.
  • Bridge internet access from my laptop to the pi through the ethernet cable. It would just make my life easier.
  • Include a HID-compatible microcontroller (or just buy a USB rubber ducky) for using automated keyboard scripts.
  • Add a raspberry pi camera.