Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers...

34
Security Onion Peel Back the Layers of Your Network in Minutes Doug Burks

Transcript of Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers...

Page 1: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Security Onion Peel Back the Layers of Your Network in Minutes

Doug Burks

Page 2: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

tcpdump -nnAi eth1 -s0 | grep -A5 "Doug Burks" About Doug Burks:

Christian, husband, father

Corporate Incident Handler for Mandiant

SANS GSE and Community Instructor

President of Greater Augusta ISSA

Founder and lead developer of Security Onion

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 3: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

What is Security Onion?

Security Onion is a FREE Linux distro for: intrusion detection network security monitoring log management

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 4: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

What data does it give me? Flow data from Argus, Bro, and PRADS Alert data NIDS alerts from Snort/Suricata HIDS alerts from OSSEC

Syslog data received by syslog-ng or sniffed by Bro Asset data from Bro and PRADS Transaction data – http/ftp/dns/ssl/other logs from Bro Full content data from netsniff-ng

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 5: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Does it scale?

Big Onions – 64-bit Big Traffic – PF_RING

Big Data – ELSA

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 6: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

How many Security Onion users are there? Over 100,000 ISO downloads from Sourceforge!

Security Onion 10.04 ISO (based on Ubuntu 10.04) - 37,777

Security Onion 12.04 ISO (released 12/31/2012) - 34,573

Security Onion 12.04.1 ISO (released 6/10/2013) - 7,511

Security Onion 12.04.2 ISO (released 7/25/2013) - 6,396

Security Onion 12.04.3 ISO (released 9/14/2013) - 15,824

???? From BitTorrent ???? Ubuntu/Kubuntu/Lubuntu + Security Onion PPA

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 7: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

What has changed since last FloCon? Updated just about every piece of software, including:

Snort, Suricata, Bro, PF_RING, PRADS, ELSA, Snorby, Squert, CapMe, NetworkMiner

Fixed lots o’ bugs!

Moved to a standard argus.conf to allow more Argus customization

Added more knobs for tuning:

Enable/disable sensor processes

Adjustable netsniff-ng (full packet capture) settings

Adjustable log purge threshold

Added OnionSalt to manage lots o’ onions

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 8: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

What does it look like?

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 9: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Answer a few simple questions…

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 10: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Snorby

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 11: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Pivot to pcap from Snorby

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 12: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

CapME

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 13: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Squert web interface

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 14: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Sguil client

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 15: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Pivot to pcap from Sguil

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 16: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

NetworkMiner There’s gold in them thar PCAPs!

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 17: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

ELSA

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 18: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Pivot to pcap from ELSA

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 19: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Ooh…shiny…

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 20: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Case Study • Was an EXE downloaded?

• Was it executed?

• Was the computer compromised?

• Was there any data exfil?

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 21: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Bro Flow

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 22: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Who did this IP talk to?

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 23: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

And over what ports?

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 24: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

What all do we know about the source?

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 25: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Found an EXE

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 26: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

IP address in EXE

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 27: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Traffic to hardcoded IP address

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 28: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Interesting FTP Activity

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 29: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Interesting FTP Activity

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 30: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Interesting FTP Activity - RAR

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 31: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Extract the RAR

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 32: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

What’s in the RAR?

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 33: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Future of Security Onion More documentation

Best practices

Tuning

Web interface for administration

More/better integration with Argus?

Add Silk?

Others?

Copyright 2014 Doug Burks @dougburks #SecurityOnion

Page 34: Security Onion - Carnegie Mellon University · PDF fileSecurity Onion . Peel Back the Layers of Your Network in Minutes . Doug Burks

Where do we go now? http://securityonion.net Updates are announced here and it also has the following links: Download/Install FAQ Mailing Lists IRC #securityonion on irc.freenode.net @securityonion Security Onion classes throughout 2014!

Copyright 2014 Doug Burks @dougburks #SecurityOnion