Close
0%
0%

Pentesting BBU Dropbox

A small, computer battery backup unit turned into a pentesting dropbox.

Similar projects worth following
This is a small computer battery backup unit turned into a pentesting dropbox. It is meant to be setup behind a computer or any small networking equipment and go unnoticed, while the pentester has remote access into the network through it. The goal was to make the device as functional as possible, while maintaining the stock look of the original BBU.

This is a small computer battery backup unit turned into a pentesting dropbox. It is meant to be setup behind a computer or any small networking equipment and go unnoticed, while the pentester has remote access into the network through it.

The goal was to make the device as functional as possible, while maintaining the stock look of the original BBU. I wanted the parts to be somewhat modular, so I kept as many connectors as possible and even added more. While out in the field, the switch can be swapped out with a network tap, the Pi can be swapped out with a Beaglebone, or everything inside can be swapped with an ESPRESSObin. Major components won't need resoldering.

The main components are the shell and a few pieces of an old BBU, small 5V five-port network switch, and a Raspberry Pi or any small computer that will fit. Everything was built with simple tools (no 3D printer needed!). I was trying to make this as easy to replicate and build upon as possible.

Pi_Dropbox_Schematic.png

Wiring Schematic

Portable Network Graphics (PNG) - 27.63 kB - 05/22/2018 at 01:33

Preview
Download

RaspberryPiRebootBtnBash.sh

Reboot & shutdown the Pi with a push of a button. I wrote this in bash, so it should work on most Linux distros.

x-shellscript - 1.55 kB - 04/29/2018 at 17:31

Download

RaspberryPiFlashLED.sh

Flash an LED connected to the GPIO. I wrote this in bash, so it should work on most Linux distros.

x-shellscript - 430.00 bytes - 04/29/2018 at 17:31

Download

JPEG Image - 4.08 MB - 04/29/2018 at 16:46

Preview
Download

JPEG Image - 4.03 MB - 04/29/2018 at 16:46

Preview
Download

View all 58 files

  • 1 × Battery backup unit Can be any size. Obviously the bigger it is, the more stuff you can fit in the case!
  • 1 × Brain I used a Raspberry Pi 2 B that I had laying around.
  • 1 × Connectors or test leads (Optional) To attach the LED and switch to the GPIO on the Pi.
  • 2 × Ethernet cable Need to be fairly short and flexible.
  • 2 × RJ45 ethernet jack (Optional) I used a couple of solder-on jacks from another BBU, to keep the stock look.

View all 15 components

  • Project Log

    b1tbang3r04/29/2018 at 17:20 1 comment

    Starting Documentation

    I have all the pictures I've taken so far uploaded! Next I'll start organizing and laying out the steps I took to build it.

    This is also my first project I haven't just imported and edited from Instructables, so it may take a bit to get everything documented.

View project log

  • 1
    Deconstruction
    1. Remove all of the screws on the battery backup unit and set them aside.
    2. Remove all unnecessary components, like the old circuit board and batteries.
    3. Save the usable parts, like the various lengths of wire, power cord, LEDs, RJ45 jacks, switches, and the enclosure with outlets intact.
    4. Remove the plastic housing on the network switch to save space.
    5. Also, remove the plastic on the power adapters.
  • 2
    Mains Power Wiring

    Next, we're going to start extending wires and mapping out where we want things to go. I like to add plenty of wire ahead of time and trim to fit as I go.

    1. Extend the wires coming from the power cord and solder the white and green to the proper sides on one set of bus bars of the outlets. The black needs to be soldered on, too, but we'll come back to it.
    2. Add jumper wires between the two sets of outlet bars (all three bars). Most BBUs come with a surge only side and a battery + surge side. We will be joining both sides to create a simple power strip.
    3. Solder separate wires to the hot and neutral rails to attach the Raspberry Pi and network switch adapters later. This can be two hot and two neutral wires or just one of each to daisy chain the adapters.
    4. Now for that black wire of the power cord. I saved the large breaker button when tearing down the BBU. If you still have it or maybe a 10A or 15A fuse, solder one terminal to the black wire on the power cord and the other terminal to an extension wire. That extension wire gets soldered to the hot bus bar on the outlet you soldered the neutral (white) and ground (green) wires to.
  • 3
    Low Voltage Wiring

    Now we're going to wire up the power adapters for the switch and Pi. I used two separate identical adapters, because 2A is just enough for the Pi's recommended input current and the second one would have some current to spare with the 800mA the switch would pull.

    1. First solder the hot and neutral wires you added to the bus bars in the last step to the adapters' mains in (side where the big metal blades were connected).
    2. Now cover the connections in hot glue to keep them from wiggling around or shorting on something else later.
    3. Find a good spot in your enclosure to glue or screw them to, and, if yours is like mine, make sure to leave room to plug in your USB cable.
    4. Repeat the steps for the second adapter. You can also daisy chain them in parallel, if you only soldered one set of wires onto the bus bars.

View all 15 instructions

Enjoy this project?

Share

Discussions

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates