event aggregation for early warning systems · slide 4 / aggregation for ews – june 25, 2008 –...
TRANSCRIPT
![Page 1: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/1.jpg)
© 2000-2008 by PRESECURE Consulting GmbH
Event Aggregation for Early Warning Systems
Till Dörges
![Page 2: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/2.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 2 / Aggregation for EWS – June 25, 2008 – Vancouver
Motivation Definitions CarmentiS Aggregation for CarmentiS Implementation First Results / Outlook
Outline / ToC
![Page 3: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/3.jpg)
© 2000-2008 by PRESECURE Consulting GmbH
Motivation
![Page 4: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/4.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 4 / Aggregation for EWS – June 25, 2008 – Vancouver
Motivation / Problem statement
Networks are critical resources Certain things are nice to know in advance Monitoring important & necessary
“Bad” traffic possibly hard to spot base-rate fallacy unknown malicious activity
Process large amounts of data / events More than just Network Information for EW How to determine (Network) status When to warn?
![Page 5: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/5.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 5 / Aggregation for EWS – June 25, 2008 – Vancouver
Towards solution(s)
Monitoring Pre-classify traffic (Honeypots etc.) Better representation of data Reduce data to by analyzed by Humans
Aggregation Correlation
...
![Page 6: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/6.jpg)
© 2000-2008 by PRESECURE Consulting GmbH
Definitions
![Page 7: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/7.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 7 / Aggregation for EWS – June 25, 2008 – Vancouver
Definitions
Early Warning
“In case of perceptible indicators and (still) a low number of victims, or none, information must be distributed to help others – not yet victims – including response organisations in order to avoid a major crisis!”
(Kossakowski, 2005)
More “intuitive” definition problematic
![Page 8: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/8.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 8 / Aggregation for EWS – June 25, 2008 – Vancouver
Definitions
Situational Awareness Provide enough Information For given environment / scenario Enable informed decisions Basis for Early Warning
![Page 9: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/9.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 9 / Aggregation for EWS – June 25, 2008 – Vancouver
Definitions
Correlation Statistics / probability theory Relationships (correlation coefficients) between
different variables Aggregation
Combine single events Meta events
Sometimes confused
![Page 10: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/10.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 10 / Aggregation for EWS – June 25, 2008 – Vancouver
Existing Tools / Solutions
Different Types Enterprise (Tivoli, ...) Specialized (Arbor, ArcSight, ...) Open Source (OSSIM, SEC, ...) Custom (CarmentiS, ...) Dashboards
Not a complete overview!
![Page 11: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/11.jpg)
© 2000-2008 by PRESECURE Consulting GmbH
CarmentiS
![Page 12: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/12.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 12 / Aggregation for EWS – June 25, 2008 – Vancouver
CarmentiS Security Dashboard
![Page 13: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/13.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 13 / Aggregation for EWS – June 25, 2008 – Vancouver
CarmentiS at a glance
Project by BSI and CERT-Verbund Early Warning Situational Awareness Open Source based
NfSen/Nfdump Snort, Argus, ...
Cooperative approach Collaboration / Exchange Autonomous data suppliers (trust)
Quick results wanted
![Page 14: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/14.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 14 / Aggregation for EWS – June 25, 2008 – Vancouver
Architecture
![Page 15: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/15.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 15 / Aggregation for EWS – June 25, 2008 – Vancouver
Framework and Roles
AnalystsWorkbench
Information Management
ServicesData Import
Users
Analysts
Datasuppliers
Provider / Operator
![Page 16: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/16.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 16 / Aggregation for EWS – June 25, 2008 – Vancouver
Data collection
![Page 17: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/17.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 17 / Aggregation for EWS – June 25, 2008 – Vancouver
Data collection
Data suppliers fully control their data Filtering Pseudonymization / Anonymization
Data origins Dark nets Production networks Honeypots
Sensors Software Appliance
![Page 18: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/18.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 18 / Aggregation for EWS – June 25, 2008 – Vancouver
Data types
Data types Netflows (v5, v7) Argus IDS (Snort) Malware (Nepenthes) Exploits (Argos) Meta events (Aggregation) ...
![Page 19: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/19.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 19 / Aggregation for EWS – June 25, 2008 – Vancouver
Analysts' Interface
![Page 20: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/20.jpg)
© 2000-2008 by PRESECURE Consulting GmbH
Aggregation for CarmentiS
![Page 21: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/21.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 21 / Aggregation for EWS – June 25, 2008 – Vancouver
Extend / enhance existing EW system
Different types of aggregation Data mining Clustering Rule based ... Hybrid approaches
Several approaches evaluated
![Page 22: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/22.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 22 / Aggregation for EWS – June 25, 2008 – Vancouver
Requirements
Flexibility Performance Scalability Quality of Results Integratable Availability Support for different data types
![Page 23: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/23.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 23 / Aggregation for EWS – June 25, 2008 – Vancouver
Chosen approaches
Valeur, F.; Vigna, G.; Krügel, C. & Kemmerer, R. AComprehensive Approach to Intrusion Detection Alert CorrelationIEEE, 2004
Panjwani; Tan; Jarrin; CukierExperimental Evaluation to Determine if Port Scans are Precursors to an AttackInternational Conference on Dependable Systems and Networks, 2005
![Page 24: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/24.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 24 / Aggregation for EWS – June 25, 2008 – Vancouver
Chosen approach (Valeur)
![Page 25: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/25.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 25 / Aggregation for EWS – June 25, 2008 – Vancouver
Chosen approach (Valeur)
Normalization / Pre-Processing Alert Fusion (remove duplicates) Alert Verification (no false positives) Thread Reconstruction (one attacker) Session Reconstruction (net / host based) Focus Recognition
Many2One (DDos) One2Many (horizontal port scans)
Multi-Step Correlation (island hopping) Impact Analysis / Alert Prioritization
![Page 26: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/26.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 26 / Aggregation for EWS – June 25, 2008 – Vancouver
Chosen approach (Panjwani)
No. Packets Classification
0 <= n < 5 Port Scan / Ping Scan (ICMP)
5 <= n <= 12 Probe
12 < n Attack
![Page 27: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/27.jpg)
© 2000-2008 by PRESECURE Consulting GmbH
Implementation
![Page 28: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/28.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 28 / Aggregation for EWS – June 25, 2008 – Vancouver
Integration into CarmentiS
![Page 29: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/29.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 29 / Aggregation for EWS – June 25, 2008 – Vancouver
Algorithm Alert Fusion
E1 E2
src_ip/port = src_ip/port
dst_ip/port = dst_ip/port
starttime + duration
<=starttime(detectiontime)
![Page 30: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/30.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 30 / Aggregation for EWS – June 25, 2008 – Vancouver
Algorithm Thread Reconstruction
One2One
E1 E2
src_ip = src_ip
dst_ip = dst_ip
Time window 120 seconds Start time Min(e1.st, e2.st) End time Max(e1.et, e2.et) Further classification
(password guessing, exploit, ...)
![Page 31: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/31.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 31 / Aggregation for EWS – June 25, 2008 – Vancouver
Algorithm Focus Recognition
One2Many
E1 E2 ... En
src_ip = src_ip ... = src_ip
Time window 120 seconds Threshold configurable Start time Min(e1.st, en.st) End time Max(e1.et, en.et) Further classification
(scanning, ...)
![Page 32: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/32.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 32 / Aggregation for EWS – June 25, 2008 – Vancouver
Algorithm Focus Recognition
Many2One
E1 E2 ... En
dst_ip = dst_ip ... = dst_ip
Time window 120 seconds Threshold configurable Start time Min(e1.st, en.st) End time Max(e1.et, en.et) Further classification
(scanning, ...)
![Page 33: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/33.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 33 / Aggregation for EWS – June 25, 2008 – Vancouver
Problems
Introduction of meta events Biflows needed Extension of the representation layer Integration with other events / information Status information from previous time slice
needed
![Page 34: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/34.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 34 / Aggregation for EWS – June 25, 2008 – Vancouver
Detailed analysis
![Page 35: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/35.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 35 / Aggregation for EWS – June 25, 2008 – Vancouver
TopN Overview
![Page 36: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/36.jpg)
© 2000-2008 by PRESECURE Consulting GmbH
First Results
![Page 37: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/37.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 37 / Aggregation for EWS – June 25, 2008 – Vancouver
First results
Aggregated Events 2008-05-08 - 2008-06-04
Many2One Scanning Hosts
Multiple Port ScanOne2Many Scanning HostsMultiple Ping ScanDOSOther
![Page 38: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/38.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 38 / Aggregation for EWS – June 25, 2008 – Vancouver
First results
A few months in production Reduction ratio
~ 11,87 % Mostly scanning aggregated into meta events
Many2One Scanning Hosts Multiple Port Scan One2Many Scanning Hosts
![Page 39: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/39.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 39 / Aggregation for EWS – June 25, 2008 – Vancouver
Outlook
“Drilling” into the data Better GUI integration Tweak existing algorithms New algorithms
![Page 40: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/40.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 40 / Aggregation for EWS – June 25, 2008 – Vancouver
Contact
Till Dörges
[email protected] GnuPG 2048R / 0x22A13E69 2226 8447 3251 F6BE F8DC 6D4D 2F54 E55F
PRE-CERT
PRESECURE Consulting GmbH
https://www.pre-secure.com/
![Page 41: Event Aggregation for Early Warning Systems · Slide 4 / Aggregation for EWS – June 25, 2008 – Vancouver Motivation / Problem statement Networks are critical resources Certain](https://reader033.vdocuments.site/reader033/viewer/2022060217/5f06725d7e708231d41809bb/html5/thumbnails/41.jpg)
© 2000-2008 by PRESECURE Consulting GmbHSlide 41 / Aggregation for EWS – June 25, 2008 – Vancouver
The End
Thanks!
Questions?