siem 101 workshop - bcnet · …a little street cred • 90’s – computers & the internet!,...

25
SIEM 101 Workshop Optimize IT with Security Information and Event Management Alex Dow Chief Research Officer – Mirai Security Inc. GCIH|SCF|CISSP|OPST [email protected] https://www.miraisecurity.com

Upload: others

Post on 21-May-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

SIEM 101 WorkshopOptimize IT with Security Information and Event Management

Alex DowChief Research Officer – Mirai Security Inc.GCIH|SCF|CISSP|OPST

[email protected]://www.miraisecurity.com

Page 2: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Agenda

• What is SIEM?

• Why buy SIEM?

• Architectures

• Components

• Use Cases

• Townhall Discussion

Page 3: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

…A Little Street Cred

• 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice

• 2001 – School (Boring, but I finally learned TCP/IP)

• 2004 – Bell SOC

• 2008 – Olympic SOC & HoneyNet

• 2010 – Consulting (SIEM, SecOps and ESA)

• 2012 – Co-Founded The Mainland Advanced Research Society (BSides Vancouver)

• 2017 – Co-Founded The Mirai Security Collective (Insert shameless plug here)

Page 4: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Disclaimer

• Generalizations • Trying to be as vendor agnostic as possible but there are nuances with each

vendor/technology• Jaded Infosec Warrior

• The views expressed within this presentation are those of the presenters and do not necessarily reflect the views of their former/current/future employers, clients, partners, friends and/or family members

• Professional Consultation• I am a security advisor, but I am not YOUR security advisor (yet)• This presentation is for educational purposes only and should not replace

independent professional consultation

Page 5: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

What is SIEM?

• First: SIEM, SIM, SEM? Huh?• Logs -> Log management -> SIEM• Logs vs Events?• Primary Features

• Centralized, secure and reliable log collection and retention• Fast and easy searching• Event correlation and alerting• Analytics• Dashboarding• Reporting• Ticketing and automation

Page 6: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

The Who’s Who of SIEM

• Notable (Unmentioned?) Players• Elastic Stack• Sumo Logic• JASK

• The emergence of Cloud SIEMs• Death by Acquisition

Page 7: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Drivers for SIEM

• Security• Security alert aggregation• Anomaly detection via correlations or visualizations• Investigation and incident response• Situational Awareness

• IT Operations• Troubleshooting• Alerting on troubles

• Compliance• Log retention• Audits and real-time risk dashboards

Page 8: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

SIEM Component Architecture

1. Event Generation

2. Event Collection

3. Normalization & Enrichment

4. Transport

5. Indexing, Analytics & Correlation

NormalizedData

Collector Agents

Indexes and Analytics

Engine

1 2 3 4 5

Operating SystemNetwork DeviceSecurity DeviceAuthentication

Event Collection & Event Management Event Correlation

Anti-XApplications

Page 9: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Log Generation and Collection

• Log Sources• What: Firewall, OS, DB, application, antivirus, IDS, cloud, packet capture, Nessus Data*

and pretty much anything ASCII!• How: Configuring logging on your sources

• Collection• Agent vs centralized agent• Protocols: Syslog, SNMP, HTTPS/API, WMI, SMB/CIFS, FTP, ODBC, etc• Real-time vs batching

• To collect or not to collect, that is the question• Use case/value• Licen$ing• Capacity

NormalizedData

Collector Agents

Indexes and Analytics

Engine

1 2 3 4 5

Operating SystemNetwork DeviceSecurity DeviceAuthentication

Event Collection & Event Management Event Correlation

Anti-XApplications

Page 10: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Normalization, Enrichment & Transport

• Parsing and Normalization• Structured vs Unstructured Data• Disparate logs into one common format

• Filtering and Aggregation• Remove noise and save on bandwidth/licen$ing

• Enrichment• GeoIP, asset/network models, categorization/tagging, DNS lookups, etc

• Transportation• Caching, encryption, compression, bandwidth management• Forwards to one or many destinations

NormalizedData

Collector Agents

Indexes and Analytics

Engine

1 2 3 4 5

Operating SystemNetwork DeviceSecurity DeviceAuthentication

Event Collection & Event Management Event Correlation

Anti-XApplications

Page 11: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Indexing, Analytics and Correlations

• Indexing• Event database management• Search management• Data retention and archiving

• Analytics and Correlation• Asset and network models• Dashboards and visualizations• Searching• (Real-time) alerting and correlation• Reporting• Ticketing and automation

NormalizedData

Collector Agents

Indexes and Analytics

Engine

1 2 3 4 5

Operating SystemNetwork DeviceSecurity DeviceAuthentication

Event Collection & Event Management Event Correlation

Anti-XApplications

Page 12: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Component Architecture

DataSources Analytics Consumption

Indexing

Collection

Security Analyst

Normalization&Enrichment

TransportODBC

File

WMI/SMB

Syslog

API Caching,encryption,compression,bandwidthmanagement

Asset/NetworkModels,DNS,GeoIP,VulnDatabase,etc

Page 13: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Traditional SIEM Topography

Correlation Engine

ArcSight Console and Command Centre(Administrative)

Security Analyst

Primary DC

Regular Remote Site

ArcSight Command Centre (Read Only Web)

Operations Team

Secondary DC

Small Remote Site

Use

r Zon

eSe

curit

y Zo

neR

emot

e Si

tes

Virtualized

Virtualized

Virtualized

Virtualized

Virtualized

VirtualizedVirtualized

Virtualized

Virtualized

ArcSight Communications

TCP8443

Event Transport TCP 8443

ArcMC C&C CommunicationsTCP 9000-9050

Event Collection TCP 445, 1433, 443

UDP 514, 161

Legend

Virtualized

Virtualized Virtualized

Virtualized

VirtualizedVirtualized

Page 14: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Elastic Stack Topology

• Shippers and Indexers • Message Bus• Ingestion Nodes• Master Nodes• Data Nodes• Coordination Nodes• Tribe Nodes• Kibana Nodes

DataSources MasterModes Analytics

DataNodes

Shipper

MessageBus

Collection&ParsingODBC

File

WMI/SMB

Syslog

API

Security Analyst

Page 15: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Splunk Topology

• Forwarders• Indexers• Search Heads• ES Search Heads• Master Cluster Node• Deployment/License Servers• Now Cloudy!

Page 16: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Cloud Topology

• Forwarders• Indexers• Search Heads• ES Search Heads• Master Cluster Node• Deployment/License Servers

Page 17: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Product Decisions

Traditional• Pros

• Security centric• Lots of use cases• Appliance based• Decent documentation

• Cons• Appliance based• Likely higher costs• Scalability concerns• Less innovation

Bleeding Edge• Pros

• Designed for scale and performance• Likely lower costs• No appliances• Bleeding edge technologies

• Cons• Not necessarily focused on security• Requires much more knowledgeable

staff, less support from vendors• Bleeding edge technologies

Page 18: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Advancement and Cool Concepts

• Load Balancing

• Message Bus

• ML, AI

• HDFS and Data Lake

• SOAR

Page 19: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Design Considerations

• Retention

• Performance

• Multitenancy

Page 20: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

When implementing a SIEM, goes wrong…

• Sales people suck• Lack of vision• Outsourcing 24/7• Failure to Perform Detailed Planning Before Buying• Failure to Define Scope• Overly Optimistic Scoping• Monitoring Noise• Lack of Sufficient Context• Insufficient Resources

Page 21: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Pragmatic Role Out Recommendations

• Day in the life of a SIEM

• Roles and Responsibilities

• Health Monitoring

Page 22: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Use Cases

• Workflow• Choosing data sources

• Examples• Change management• Unauthorized access

Page 23: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Operations

• Roles and Responsibilities

• Health Monitoring and Tuning

• Use case development• Atomic, vs correlation, vs advanced correlation• Map to other frameworks

Page 24: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Pitfalls

• Parsing• Stability

• MIA data sources

• Bad forecasting

• Bugs

• What do SIEMs do terribly, stop trying to make it an updown monitor• Losing data

• WUCS

Page 25: SIEM 101 Workshop - BCNET · …A Little Street Cred • 90’s – Computers & The Internet!, The movie ‘Hackers’ was released, NetBus, BackOrifice • 2001 – School (Boring,

Town Hall

• What are your drivers?

• Complexity