-
Notifications
You must be signed in to change notification settings - Fork 40
Software Setup
Begin by cloning the silentbridge repo using the following command.
git clone https://github.com/s0lst1c3/silentbridge.git
Next run the quick-setup file as shown below to complete the silentbridge setup process. This will install dependencies and compile the project.
./quick-setup
Next, you'll need to configure your device to allow remote access through your side channel interface. Once again, there are many ways of doing this. Perhaps the simplest and most reliable way of achieving this is to use a reverse SSH tunnel to an SSH redirector, as shown in the following diagram.
In this configuration, the rogue device initiates a reverse SSH tunnel from the side channel interface to the redirector. The redirector then forwards incoming SSH connections through the reverse tunnel to the rogue device. The following series of blog posts by Stanislav Sinyagin describes how to do this:
- https://txlab.wordpress.com/2012/01/25/call-home-ssh-scripts/
- https://txlab.wordpress.com/2012/03/14/improved-call-home-ssh-scripts/
Once you've read through the links above to understand how the system works, you can download some automated setup scripts from the following repository, which will get this system working out-of-the-box:
If you plan on making use of Device Configuration B (see: Hardware Setup), then you'll need to install some additional software to control the Arduino device over a USB serial connection. Additionally, you'll need to flash your Arduino with Nanpy.
Instructions for setting up your Arduino device can be found here (assumes a Geekduino is used as specified by the parts list in Hardware Setup):
Instructions for flashing your Arduino device with Nanpy can be found here:
- [https://nanpy.github.io/](https://nanpy.github.io/](https://nanpy.github.io/](https://nanpy.github.io/)