bro ids install notes on ubuntu 11

I was recently asked to test out Bro IDS.  
First of all you need to get all the dependencies ready before
compiling bro-ids source code.

sudo apt-get install libncurses5-dev g++ bison flex libmagic-dev
libgeoip-dev libssl-dev libpcap-dev libpcap0.8-dev byacc

Next step, download stable bro release

http://www.bro-ids.org/downloads/release/bro-1.5.3.tar.gz

Assume that you put it on your desktop. Type "cd Desktop/" to go to
the desktop folder.

Unzip the tarball by using this "tar zxvf bro-1.5.3.tar.gz"
cd bro-1.5.3
./configure
make
make install-broctl

Navigate to the folder /usr/local/bro/etc/

Edit the config files

/broctl.cfg is the overall _BroControl_ configuration. Initially, you
probably only need to edit the email address for mails sent by the
framework; that's the +MailTo+ line.

/node.cfg, you need to specify the network interface Bro is to
monitor; that's the +interface+ line.

/networks.cfg, list all the networks which Bro should consider as
local to the monitored enviroment, 192.168.0.0 is already listed.

Navigate to the folder /usr/local/bro/bin/

run ./broctl install

This will install the modified configuration

Now run

crontab -e

pick nano edit option, 2 for me.  add "0-59/5 * * * *
/usr/local/bro/bin/broctl cron" to the bottom of the file and save..

to start bro run

./broctl start

you can check the /usr/local/bro/logs/ folder

Comments

Popular posts from this blog

Investigating Indicators of Compromise In Your Environment With Latest Version of Redline

Both Mac and Windows are Targeted at Once

PDF Malware Protected by AES-256