Cloud-based Log Analysis and Visualization
mobile-166 My syslog
DeepSec 2010, Vienna, Austria
© by Raffael Marty
Logging as a Service
Raffael (
Raffy
) Marty
2
• Founder @
• Chief Security Strategist and Product Manager @ Splunk
• Manager Solutions @ ArcSight
• Intrusion Detection Research @ IBM Research
• IT Security Consultant @ PriceWaterhouse Coopers
Applied Security Visualization Publisher: Addison Wesley (August, 2008)
© by Raffael Marty Logging as a Service
Agenda
3•Introduction
•Beaver Challenge
•The Cloud
•Visualization
•Visualization Tools
•Visualization in the Cloud
•Visualization Use-Cases
Raffael Marty - @zrlram
The Public Cloud
4
IaaS
- Infrastructure
PaaS
- Platform
SaaS
- Software
LaaS
- Logging
Raffael Marty - @zrlram
Visibility and Big Data
Raffael Marty - @zrlram
Visibility
6•
Monitoring
-Performance
-Availability
-Ephemeral Infrastructure
•
Security
-New Threats
-New Vulnerabilities
-
Different Risk Distribution
IaaS
- Similar to before
PaaS
- Lack of Infrastructure
SaaS
- Blind?
Application Instrumentation
and Logging
Raffael Marty - @zrlram
Big Data
7
•
NoSQL
•
Distributed data stores
•
Distributed queues
•
Map reduce
•
ETL
(Extract, Transform, Load)
•
...
Raffael Marty - @zrlram
Information Visualization
8
•
Better tools and capabilities
•
Across disciplines
•
More instrumentation
•
Dichotomies
© by Raffael Marty
Logging as a Service
Open Your Eyes
© by Raffael Marty
Logging as a Service
Information Visualization?
A picture is worth a thousand log records.
Inspire Pose a New Question Explore and Discover Support Decisions Communicate Information Increase Efficiency Answer a Question 10
Visualization
Tools
© by Raffael Marty Logging as a Service
Reporting vs. Visualization
12•
Reporting Libraries
-HighCharts
-Flot
-
Google Chart API
-Open Flash Chart
-HTML5
•
Visualization Libraries
-TheJIT
-Graphael
-Protovis
-ProcessingJS
-Flare
© by Raffael Marty Logging as a Service
HighCharts
13•
Click-Through
•
On load
-
near real-time updates
•
Zoom
•
AJAX data input via JSON
© by Raffael Marty
Logging as a Service
Google Visualization API
•
JavaScript
•
Based on DataTables()
•
Many graphs
•
Playground
- http://code.google.com/apis/ajax/playground 14 http://code.google.com/apis/visualization/interactive_charts.html© by Raffael Marty
Logging as a Service
ProtoVis
•
JavaScript based visualization library
•
Charting
•
Treemaps
•
BoxPlots
•
Parallel Coordinates
•
etc.
15http://vis.stanford.edu/protovis/
© by Raffael Marty
Logging as a Service
TheJIT
•
JavaScript InfoVis Toolkit
•
Interactive
•
Link Graphs
16
© by Raffael Marty
Logging as a Service
Processing
•Visualization library •Java based
•Interactive (event handling) •Number of libraries to -draw in OpenGL -read XML files -write PDF files •Processing JS -JavaScript -HTML 5 Canvas -Web IDE 17 http://processing.org/ http://processingjs.org/
Data
Visualization
in the
Cloud
© by Raffael Marty
Logging as a Service
LaaS - Logging as a Service
19
• Log collection
• all data in one place
• Log storage and management
• index, storage, archive
• Extremely fast log search across all your data
• data source agnostic (no parsers)
• innovative Web shell
• API log access
• oAuth authentication • always on
Benefits
• No installation • Easy configuration • No maintenance • Great scalability • 7x24 availability • Pay as you go© by Raffael Marty Logging as a Service
AfterGlow Cloud
20 Grapher Loggly JSON CSV DOT GraphVisualization
Use-Cases
© by Raffael Marty
Logging as a Service
Old Skewl
22
© by Raffael Marty
Logging as a Service
Traditional Style
23
© by Raffael Marty
Logging as a Service
The Analysis Approach
24
Overview first
Zoom
Details on
demand
© by Raffael Marty Logging as a Service
NetFlow Visualization
•
Treemap
•
Protovis.JS
•
Size: Amount
•
Brightness: Variance
•
Color: Sensor
•
Shows: Scans -
bright spots
• Thanks to Chris Horsley
© by Raffael Marty
Logging as a Service
Firewall Treemap
© by Raffael Marty
Logging as a Service
Firewall Log
Port Source IP Destination IP
© by Raffael Marty
Logging as a Service
IDS Signature Tuning
© by Raffael Marty
Logging as a Service
© by Raffael Marty
Logging as a Service
IDS Sig Tuning - Treemap
30 Hierarchy: Source Destination Signature Number of Events Color: Service
© by Raffael Marty
Logging as a Service
IDS Sig Tuning - Treemap
31 Hierarchy: Source Destination Signature Number of Events Color: Priority
© by Raffael Marty
Logging as a Service
IDS Sig Tuning - Treemap
32 Hierarchy: Signature Source Service (Port) Color: Priority
Visualization
Resources
© by Raffael Marty
Logging as a Service
Share, discuss, challenge, and learn about security
visualization.
http://secviz.org
•
List:
secviz.org/mailinglist•
Twitter:
@secviz
© by Raffael Marty
Logging as a Service
Applied Security Visualization
•
Bridging the gap between security and visualization
•
Hands-on, end to end examples
•
Data processing and analysis
Chapters
•
Visualization
•
Data Sources
•
From Data to Graphs
•
Perimeter Threat
35
Addison Wesley (August, 2008) ISBN: 0321510100
•
Compliance
•
Insider Threat
36
about.me/raffy