[Bro] Bro programming intro

Seth Hall seth at icir.org
Tue Mar 19 10:34:05 PDT 2013


On Mar 19, 2013, at 12:41 PM, Tritium Cat <tritium.cat at gmail.com> wrote:

> The ability to work with items outside of BroNSM to me is useful and easier than rewriting a BroNSM script and restarting a cluster when I want to look at something differently or trim logs.

We're even moving away from "NSM" now.  
	http://blog.bro.org/2013/03/broorg-new-home-for-bro.html

> I am very selective with using email as an alert mechanism.

I fully believe this will expand over time.  Email is just the obvious way that we support right now.  Is there some other specific tool you would like to see Bro integrated with?

> Using samples makes sense, as does uids, samples involve content and sound larger than a simple int32?, but limiting those is fine as well, just as you would the UIDs.  How do you plan to implement the sampling ?  By time or by unique requests ?  Can an attack tool run a number of SQL injection attempts and end the last 5 with something benign ?  I'd rather analyze the specifics outside of BroNSM before going back and tweaking BroNSM.

If you run on a cluster it would become very hard for an attacker to end up sending just 5 at the end that would be forwarded to the analyst.  Samples are collected on each worker and then interleaved and size limited again when the measurement results are merged at the end.  I'm sure there are ways an attacker could mess with analysts still, but it's not as obvious as just sending a few benign requests at some specific period.

Regardless, this is just Bro scripts that are tracking the content and they can typically be modified fairly easily.

  .Seth

--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro.org/





More information about the Bro mailing list