Title: Flexible, HighSpeed Intrusion Detection Using Bro
1Flexible, High-SpeedIntrusion Detection Using Bro
Vern Paxson Computational Research
Division Lawrence Berkeley National
Laboratory and ICSI Center for Internet
Research International Computer Science
Institute Berkeley, CA USA vern_at_icir.org http//
www-nrg.ee.lbl.gov/bro.html
2Protect Rather Than Secure
- Modern science critically depends on diverse,
high-performance Internet communication - Increasingly difficult given rising security
threats - Alternative institutional approach network
intrusion detection - Monitor network traffic, look for attacks
- Key point tenable due to threat model at open
research institutes - Few jewels
- Low level of compromises is tolerable
- Particularly effective when combined with dynamic
blocking (reactive firewall) - Potentially keeps Default Allow viable
3Bro Design Goals (1990s)
- Monitor traffic in a very high performance
environment - Real-time detection and response
- Separation of mechanism from policy
- Ready extensibility of both mechanism and policy
- Resistant to evasion
4How Bro Works
- Taps GigEther fiber link passively, sends up a
copy of all network traffic.
Network
5How Bro Works
Filtered Packet Stream
Tcpdump Filter
- Kernel filters down high-volume stream via
standard libpcap packet capture library.
libpcap
Packet Stream
Network
6How Bro Works
Event Stream
Event Control
- Event engine distills filtered stream into
high-level, policy-neutral events reflecting
underlying network activity - E.g., connection_attempt, http_reply,
user_logged_in
Event Engine
Filtered Packet Stream
Tcpdump Filter
libpcap
Packet Stream
Network
7How Bro Works
Real-time Notification Record To Disk
Policy Script
- Policy script processes event stream,
incorporates - Context from past events
- Sites particular policies
Policy Script Interpreter
Event Stream
Event Control
Event Engine
Filtered Packet Stream
Tcpdump Filter
libpcap
Packet Stream
Network
8How Bro Works
Real-time Notification Record To Disk
Policy Script
- Policy script processes event stream,
incorporates - Context from past events
- Sites particular policies
- and takes action
- Records to disk
- Generates alerts via syslog, paging
- Executes programs as a form of response
- Sends events to other Bros
Policy Script Interpreter
Event Stream
Event Control
Event Engine
Filtered Packet Stream
Tcpdump Filter
libpcap
Packet Stream
Network
9Signature Engine
- Bro also includes a signature engine for matching
specific patterns in packet streams - Conceptually simple
- Easy to share
- Compatible with Snort (widely used freeware IDS)
- E.g., can run on Snorts default set of 1,900
signatures - but of limited power basically, a useful hack
- As with other Bro analysis, signature matches
generate events amenable to high-level policy
script processing, rather than direct alerts
10Status
- Operational 24x7 LBNL (border internal),
NERSC, UC Berkeley, TUM, NCSA - Runs on commodity Unix PCs but getting hard!
- 80K lines C, 12K lines of policy scripts, 200
page user manual - Main LBNL Bro blocks 50-500 remote addresses/day,
mostly for scanning - Provides extensive logs, invaluable for forensics
site traffic analysis
11RD Support
- Funded variously via overhead, operations,
research grants - Current research support
- NSF Strategic Technologies for the Internet
- Likely DOE support soon for developing as a
potential community resource ... - Pending RD proposal to DOE for very high-speed
monitoring
12RD Support
- Funded variously via overhead, operations,
research grants - Current research support
- NSF Strategic Technologies for the Internet
- Likely DOE support soon for developing as a
potential community resource ... - Pending RD proposal to DOE for very high-speed
monitoring
13Making Bro Broadly Available
- Broader documentation setup, operational
procedures, analysis techniques, FAQ - Tutorials (already have in-house)
- Bug-tracking system
- Test suites
- Production vs. research code trees
- Framework for integrating contributions
- GUIs for configuration, log analysis
- Framework for rapid dissemination of new
scripts/policies/signatures
14RD Support
- Funded variously via overhead, operations,
research grants - Current research support
- NSF Strategic Technologies for the Internet
- Likely DOE support soon for developing as a
potential community resource ... - Pending RD proposal to DOE for very high-speed
(10-40 Gbps) monitoring
15Prefiltering (Prototyped at SC02, SC03)
16Shunting
17Discussion/Questions?
- http//www-nrg.ee.lbl.gov/bro.html
- vern_at_icir.org