-
Notifications
You must be signed in to change notification settings - Fork 50
Installation
The software dependencies will install automatically for you when running the install scripts via the GUI. I'd recommend doing an apt-get update and apt-get upgrade prior to running Briar so apt can grab all the latest packages
The Setup
- First, ssh into your PI under your preferred user (ex: 'pi' or 'root'): ssh -X pi@your_pi_ip
( the -X means X-forwarding which will forward the GUI to your computer used to access your PI. )
- Next, clone the repo! git clone https://github.com/musicmancorley/BriarIDS.git
- You should now be able to run the program: sudo python BriarIDS.py or if running as root simply python BriarIDS.py. The main menu should now be visible.
Understanding the Menu
This button will start the installation for Suricata. The installation status can be followed by typing the following in a separate terminal: tail -f /usr/local/src/install_log.log
This button will start the installation for Bro and the Critical-Stack-Intel-Agent. The installation status can be followed by typing the following in a separate terminal: tail -f /usr/local/src/broinstall.log
This installation takes quite some time on the PI unit, but it is well worth the wait! It could take up to an hour or more depending on your PI unit model. It is assumed the user has a reasonable understanding of how Bro functions. If I have time I will add more information on how Bro works. For now, just know that Bro, as it applies to BriarIDS, detects malicious websites (from the intel feed you as the user will configure) using the Critical Stack agent and is simply a nice compliment solution to go alongside Suricata.
More information on how this works more specifically can be found on the HERE
![](https://github.com/musicmancorley/BriarIDS/raw/master/images/suri_run.png?raw=true)
![](https://github.com/musicmancorley/BriarIDS/raw/master/images/wan_conf.png?raw=true)
![](https://github.com/musicmancorley/BriarIDS/raw/master/images/vir_tot.png?raw=true)
More information about this feature can be found HERE
Setting up your network TAP
This portion of the installation is critical, as you will only capture packets from your raspberry PI if you don't do this. Basically, you need some way of collecting the packets from your network and copying them to your PI's monitoring interface. To do this, I use alreayd available resources here at my house, a linksys router that supports Tomato firmware. Go HERE to search for your specific router model firmware. Once downloaded, go HERE to learn how to install it.
Finally, you need to configure your Tomato router's IPTABLES to copy packets to your PI unit. I've included detailed steps to achieve this HERE.