SlideShare a Scribd company logo
NSM 101 for ICS
About me
Chris Sistrunk, PE
Electrical Engineer
Sr. ICS Security Consultant
– Control system security assessments
– ICS Village (DEF CON & RSA Conference)
Entergy (11+ years)
– SCADA Engineer (10 years)
– Project Robus (ICS Protocol Fuzzing)
• 30+ implementation vulnerabilities in DNP3 stacks
– Substation Security Team
BSidesJackson
DEF CON 23 - NSM 101 for ICS
What happens when you use nmap
or a fuzzer on an ICS?
If ICS are so vulnerable,
why haven’t we seen
more attacks?
We aren’t looking!
Two Key Reasons
Intent
Visibility
Intent
Very little ICS targeted attack data
 Maroochy Shire to Stuxnet to German Steel Plant
Why are targeted attacks different?
 It’s a “Who” not a “What”
 Professional, organized, well-funded
 If you kick them out, they will return
Visibility
Visibility
Public ICS Vulnerabilities Per Year
If your ICS gets hacked…
gadgets
water
electricity
you can’t make anymore
Now what?
 More Gov’t security regulations
 ICS security still lagging
 Breaches are inevitable
 Attacks aren’t stopping
 Every sector
 Including ICS
What can we do to get ahead of this???
Network Security Monitoring
“The collection, analysis, and escalation of
indications and warnings to detect and respond
to intrusions. NSM is a way to find intruders on
your network and do something about them
before they damage your enterprise.”
- The Practice of Network Security Monitoring
Network Security Monitoring
Invented in 1990, still in use today
Cliff Stoll
“Stalking the
Wily Hacker”
1988
Todd Herberlein
et al.
“A Network
Security
Monitor”
1990
US Air Force
Defense
Information
Systems Agency
Lawrence
Livermore
National Lab
Early 1990s
NetRanger
RealSecure
Snort
and many
others
Late 1990s -
early 2000s
Formal
definition of
NSM
2002
Before we start looking…
We need
 At least one person (to watch and hunt)
 The right tools to collect and analyze the data
The NSM Cycle
Collection
DetectionAnalysis
 Model for action, based on
network-derived data
 Requires people and process,
not just technology
 Focuses on the adversary,
not the vulnerability
Methods of Monitoring
 Network tap – physical device which relays a
copy of packets to an NSM sensor
 SPAN or mirrored ports – switch configuration
which sends copies of packets to a separate port
where NSM sensor can connect
 Host NIC – configured to watch all network traffic
flowing on its segment (usually on NSM sensor)
 Serial port tap – physical device which relays
serial traffic to another port, usually requires
additional software to interpret data
Fluke Networks
Stratus Engineering
Types of Data Collected
 Full content data – unfiltered collection of packets
 Extracted content – data streams, files, Web pages, etc.
 Session data – conversation between nodes
 Transaction data – requests and replies between nodes
 Statistical data – description of traffic, such as protocol
and volume
 Metadata – aspects of data, e.g. who owns this IP
address
 Alert/log data – triggers from IDS tools, tracking user
logins, etc.
Difficulties for NSM
 Encrypted networks
 Widespread NAT
 Devices moving between network segments
 Extreme traffic volume
 Privacy concerns
Difficulties for NSM
 Encrypted networks
 Widespread NAT
 Devices moving between network segments
 Extreme traffic volume
 Privacy concerns
Issues that most ICS do not face!
Example ICS
Enterprise/IT
DMZ
Plant
Control
Web
Historian or
other DB
DCS HistorianHMI
PLCs,
Controllers,
RTUs, PACs
Anatomy of an Attack
22
Over all Mandiant attack investigations,
only a little more than half of victim computers have malware on them.
While attackers often use malware to gain an initial foothold,
they quickly move to other tactics to execute their attacks.
Unauthorized Use
of Valid Accounts
Known &
Unknown
Malware
Command &
Control Activity
Suspicious
Network Traffic
Files Accessed by
Attackers
Valid Programs Used
for Evil Purposes
Trace Evidence &
Partial Files
Attacker Objectives
Attacker’s goals:
 Damage equipment
 Affect or steal process info
 Cause safety or compliance issue
 Pivot from vulnerable ICS to
enterprise
Attacker’s options:
 Gain physical access to an ICS host
 Gain remote access to an ICS host
 Compromise a highly-privileged
client machine with access to the
ICS network
Enterprise/IT
Plant DMZ
Control
Web
Historian or
other DB
SCADA HistorianHMI
PLCs,
Controllers,
RTUs, PACs
Let’s do some NSM!
Let’s do some NSM!
Inquisitive mind
NSM collection tools
NSM hunting tools
Protection
NSM Collection
 Firewall Logs
 Session Data
 NIDS/HIDS Logs
 Full packet capture
 Windows Logs and syslog
 SNMP (CPU % etc.)
 Alerts from security agents
(AV, whitelisting, etc.)
Enterprise/ITEnterprise collectors Logs and/or Agent
Network sensors Logs only
Plant DMZ
Control
Web
Historian or
other DB
SCADA HistorianHMI
PLCs,
Controllers,
RTUs, PACs
NSM Collection
http://3.bp.blogspot.com/-B6PtheVJ9Jg/Uj4EErYhHdI/AAAAAAAAAFE/i_2dk9emrp4/s1600/Deer+tracks.jpg
What are we looking for?
 Exceptions from baseline (e.g. A talks to B but never C)
 “Top Talkers”
 Unexpected connectivity (to Internet, Business network)
 Known malicious IPs and domains
 Logins using default accounts
 Error messages that could correlate to vulnerabilities
 Unusual system and firewall log entries
 Host-based IDS or other security system alerts
 Unexpected file and firmware updates
 Antivirus alerts
 And others….
NSM Detection & “Hunting”
Analyst looks at detected anomalies
or alerts then escalates to IR
!
 IDS alerts
 Anomaly detection
 Firmware updates, other
commands
 Login with default credentials
 High CPU or network bandwidth
 Door alarms when nobody is
supposed to be working
 Devices going off-line or behaving
strangely
Plant DMZ
Control
Web
Historian or
other DB
SCADA HistorianHMI
PLCs,
Controllers,
RTUs, PACs
NSM Detection
http://www.buckmasters.com
http://www.jimyuskavitchphotography.com/data/photos/56_1wolf_track4.jpg
NSM Analysis
Incident responders analyze the
detected anomalies to find evil
 Application exploitation
 Third-party connections (ex. ICCP
or vendor access)
 ICS-specific communication
protocol attacks (ex. Modbus,
DNP3, Profinet, EtherNet/IP)
 Remote access exploitation
 Direct network access due to poor
physical security
 USB-delivered malware
Plant DMZ
Control
Web
Historian or
other DB
SCADA HistorianHMI
PLCs,
Controllers,
RTUs, PACs
NSM Analysis
http://alistairpott.com/wp-content/uploads/2008/05/rabbit-owl.jpg
http://www.youtube.com
NSM Analysis
NSM Analysis
ICS NSM Examples
Session Data “Top Talkers”
FlowBAT characterizes Session Data, showing which nodes have the most traffic
Web traffic
Web traffic
NetBios
NTP
SiLK and FlowBAT can be easily
installed in Security Onion
Pcap Analysis for anomalies
NetworkMiner can find potential ARP spoofing (as well as many other indicators)
Pcaps - Abnormal DNS Traffic
NetworkMiner sees“strange” DNS requests originating from within the ICS
IDS alerts - Abnormal DNS Traffic
DNS requests shown in the Bro IDS log in ELSA
Pcaps – Malformed Modbus
Deep packet inspection of Modbus by Wireshark
Pcaps – Custom Modbus
Unknown Function Code 90
Schneider Modicon uses FC 90 to start/stop the PLC and other admin stuff
Metasploit module does too!
c
IDS Logs
 Bro IDS
– DNP3 & Modbus
– More ICS protocols being developed by UIUC
 Snort IDS
– DNP3 & Modbus preprocessors
– ET SCADA & DigitalBond Quickdraw Snort rules
 Suricata IDS
– New DNP3 parser & ET SCADA rules
IDS Logs
Modbus
DNP3
Bro IDS parses Modbus and DNP3 packets, ELSA consolidates Bro logs
IDS GUIs
Alerts in Sguil of scanning activity
Syslog
Syslog can be configured to send to a NSM sensor or detected in
network traffic if sent elsewhere. This is the Bro IDS Log for
Syslog from an RTU.
RTUs with Syslog
 SEL-3530 RTAC
 GE D20MX
 Novatech OrionLX
 Cooper SMP 16
If not…require syslog and other logs in the ICS
procurement language
NSM Tools for the 7 Data Types
Security Onion Linux distribution
– Easy to install and lots of documentation
 Full packet capture –
Tcpdump/Wireshark/NetworkMiner
 Extracted content – Xplico/NetworkMiner
 Session data – Bro/FlowBAT
 Transaction data – Bro
 Statistical data – Capinfos/Wireshark
 Metadata – ELSA (Whois)
 Alert data – Snort, Suricata, Sguil, Snorby
Peel Back the Layers of Your Network
Security Onion Tools
NetFlow Tools
SiLK & FlowBAT
 Install on Security Onion with 2 scripts
 www.flowbat.com
Security Onion Implementation
 Test in a lab first
 Select suitable hardware platform
 More RAM is better
 Bigger hard drive is better (longer retention)
 Mirrored/SPAN port on router/switch or a good
network tap
 Select proper placement of SO sensor
 The Practice of Network Security Monitoring
 Applied Network Security Monitoring
 Work with the right stakeholders if placing in
production
Security Onion Implementation
I installed SO on an industrially hardened box
 SEL-3355
 16GB RAM
 1TB SSD
Other boxes out there suitable for NSM sensor
for industrial environments
Security Onion Implementation
SO for ICS = Security Ogre
 The Cuckoo’s Egg by Cliff Stoll
https://www.youtube.com/watch?v=EcKxaq1FTac
1-hour NOVA Special (1990)
 The Practice of Network Security Monitoring
by Richard Bejtlich
http://www.nostarch.com/nsm
 Applied Network Security Monitoring
by Chris Sanders & Jason Smith
http://www.appliednsm.com/
 The NSM Wiki http://nsmwiki.org
 http://securityonion.net
NSM References/Resources
Takeaways
You can implement NSM in ICS
today – without impacting your
operations
There are free tools available to
help you start looking at your ICS
and hunting for evil
People…
…the most important part of NSM!
 Gigabytes of data and 1000s of
IDS alerts are useless without
interpretation
 Analyze data collected to understand
what’s normal – and what’s not
 Identify adversary TTPs and act to disrupt them
Remember
Adversaries are a “Who”, not a “What”
Greets
@ICS_Village – GO THERE!
@dougburks & @securityonion team
@chrissanders88 & @automayt
@taosecurity
@robertmlee for also banging the “NSM for ICS" drum
@dan_scali & @robac3
My ICS peeps, SCADAbrothers, & SCADAsisters
My love, @shannonsistrunk
Find Evil
chris.sistrunk@mandiant.com
@chrissistrunk

More Related Content

PDF
BruCON 2015 - Pentesting ICS 101
Wavestone
 
PPSX
Next-Gen security operation center
Muhammad Sahputra
 
PDF
DFIR
Kblblkb
 
PPTX
Security Operations, MITRE ATT&CK, SOC Roles / Competencies
Harry McLaren
 
PDF
When and How to Set up a Security Operations Center
Komand
 
PDF
Red Team Framework
👀 Joe Gray
 
PPTX
Distributed Immutable Ephemeral - New Paradigms for the Next Era of Security
Sounil Yu
 
PDF
SIEM and Threat Hunting
n|u - The Open Security Community
 
BruCON 2015 - Pentesting ICS 101
Wavestone
 
Next-Gen security operation center
Muhammad Sahputra
 
DFIR
Kblblkb
 
Security Operations, MITRE ATT&CK, SOC Roles / Competencies
Harry McLaren
 
When and How to Set up a Security Operations Center
Komand
 
Red Team Framework
👀 Joe Gray
 
Distributed Immutable Ephemeral - New Paradigms for the Next Era of Security
Sounil Yu
 
SIEM and Threat Hunting
n|u - The Open Security Community
 

What's hot (20)

PPTX
SOAR and SIEM.pptx
Ajit Wadhawan
 
PPT
The information security audit
Dhani Ahmad
 
PPTX
Threat modelling(system + enterprise)
abhimanyubhogwan
 
PDF
The journey to ICS - Extended
Larry Vandenaweele
 
PPTX
Information security awareness training
Sandeep Taileng
 
PPTX
Security operation center
MuthuKumaran267
 
PDF
What We’ve Learned Building a Cyber Security Operation Center: du Case Study
Priyanka Aash
 
PDF
Threat Hunting with Splunk
Splunk
 
PPTX
SOC: Use cases and are we asking the right questions?
Jonathan Sinclair
 
PPTX
security onion
Boni Yeamin
 
PDF
MITRE ATT&CKcon 2.0: Using Threat Intelligence to Focus ATT&CK Activities; Da...
MITRE - ATT&CKcon
 
PDF
From SIEM to SOC: Crossing the Cybersecurity Chasm
Priyanka Aash
 
PPT
Introduction to information security
Dhani Ahmad
 
PPTX
Introduction to information security
jayashri kolekar
 
PDF
Incident response before:after breach
Sumedt Jitpukdebodin
 
PDF
1. introduction to cyber security
Animesh Roy
 
PDF
IBM QRadar Security Intelligence Overview
Camilo Fandiño Gómez
 
PPTX
Cyber Security 101: Training, awareness, strategies for small to medium sized...
Stephen Cobb
 
PDF
Application Security Verification Standard Project
Narudom Roongsiriwong, CISSP
 
PDF
Access Control Presentation
Wajahat Rajab
 
SOAR and SIEM.pptx
Ajit Wadhawan
 
The information security audit
Dhani Ahmad
 
Threat modelling(system + enterprise)
abhimanyubhogwan
 
The journey to ICS - Extended
Larry Vandenaweele
 
Information security awareness training
Sandeep Taileng
 
Security operation center
MuthuKumaran267
 
What We’ve Learned Building a Cyber Security Operation Center: du Case Study
Priyanka Aash
 
Threat Hunting with Splunk
Splunk
 
SOC: Use cases and are we asking the right questions?
Jonathan Sinclair
 
security onion
Boni Yeamin
 
MITRE ATT&CKcon 2.0: Using Threat Intelligence to Focus ATT&CK Activities; Da...
MITRE - ATT&CKcon
 
From SIEM to SOC: Crossing the Cybersecurity Chasm
Priyanka Aash
 
Introduction to information security
Dhani Ahmad
 
Introduction to information security
jayashri kolekar
 
Incident response before:after breach
Sumedt Jitpukdebodin
 
1. introduction to cyber security
Animesh Roy
 
IBM QRadar Security Intelligence Overview
Camilo Fandiño Gómez
 
Cyber Security 101: Training, awareness, strategies for small to medium sized...
Stephen Cobb
 
Application Security Verification Standard Project
Narudom Roongsiriwong, CISSP
 
Access Control Presentation
Wajahat Rajab
 
Ad

Viewers also liked (20)

PDF
ICS Network Security Monitoring (NSM)
Digital Bond
 
PPTX
Hacker Halted 2016 - How to get into ICS security
Chris Sistrunk
 
PPTX
BSidesAugusta ICS SCADA Defense
Chris Sistrunk
 
PPTX
Applied Detection and Analysis Using Flow Data - MIRCon 2014
chrissanders88
 
PDF
Keep Calm and Stegosploit - 44CON 2015
Saumil Shah
 
PDF
RSAC 2016: How to Get into ICS Security
Chris Sistrunk
 
PDF
Monitoring ICS Communications
Digital Bond
 
PPTX
SOC2016 - The Investigation Labyrinth
chrissanders88
 
PDF
ICS/SCADA/PLC Google/Shodanhq Cheat Sheet
qqlan
 
PPT
Using Canary Honeypots for Network Security Monitoring
chrissanders88
 
PPT
Developing Analytic Technique and Defeating Cognitive Bias in Security
chrissanders88
 
PPSX
Error Propagation Effect of AES and Techniques to ward off the problem
Bikramjit Sarkar, Ph.D.
 
PDF
Usage Notes of The Bro 2.2 / 2.3
William Lee
 
PPTX
Information Security Awareness
Digit Oktavianto
 
PPTX
Detecting Malicious SSL Certificates Using Bro
Andrew Beard
 
PPT
Как сдать IELTS на 8.5?
MBA Consult
 
PPTX
Blackhat USA 2016 - What's the DFIRence for ICS?
Chris Sistrunk
 
PPTX
Intro to NSM with Security Onion - AusCERT
Ashley Deuble
 
PPTX
Dolla Dolla Bump Key
Chris Sistrunk
 
PDF
BriMor Labs Live Response Collection
BriMorLabs
 
ICS Network Security Monitoring (NSM)
Digital Bond
 
Hacker Halted 2016 - How to get into ICS security
Chris Sistrunk
 
BSidesAugusta ICS SCADA Defense
Chris Sistrunk
 
Applied Detection and Analysis Using Flow Data - MIRCon 2014
chrissanders88
 
Keep Calm and Stegosploit - 44CON 2015
Saumil Shah
 
RSAC 2016: How to Get into ICS Security
Chris Sistrunk
 
Monitoring ICS Communications
Digital Bond
 
SOC2016 - The Investigation Labyrinth
chrissanders88
 
ICS/SCADA/PLC Google/Shodanhq Cheat Sheet
qqlan
 
Using Canary Honeypots for Network Security Monitoring
chrissanders88
 
Developing Analytic Technique and Defeating Cognitive Bias in Security
chrissanders88
 
Error Propagation Effect of AES and Techniques to ward off the problem
Bikramjit Sarkar, Ph.D.
 
Usage Notes of The Bro 2.2 / 2.3
William Lee
 
Information Security Awareness
Digit Oktavianto
 
Detecting Malicious SSL Certificates Using Bro
Andrew Beard
 
Как сдать IELTS на 8.5?
MBA Consult
 
Blackhat USA 2016 - What's the DFIRence for ICS?
Chris Sistrunk
 
Intro to NSM with Security Onion - AusCERT
Ashley Deuble
 
Dolla Dolla Bump Key
Chris Sistrunk
 
BriMor Labs Live Response Collection
BriMorLabs
 
Ad

Similar to DEF CON 23 - NSM 101 for ICS (20)

PPTX
Where Are All The ICS Attacks?
EnergySec
 
PDF
Defcon 23 - Chris Sistrunk - nsm 101 for ics
Felipe Prado
 
PDF
1. Network Security Monitoring Rationale
Sam Bowne
 
PDF
CNIT 50: 1. Network Security Monitoring Rationale
Sam Bowne
 
PPTX
Network Reliability Monitoring for ICS: Going Beyond NSM and SIEM
Jim Gilsinn
 
PDF
Network security monitoring with open source tools
terriert
 
PDF
Lessons Learned Fighting Modern Cyberthreats in Critical ICS Networks
Angeloluca Barba
 
PPTX
Managing Network Security Monitoring at Large Scale with Puppet - PuppetConf ...
Puppet
 
DOCX
ebook converter DEMO Watermarks.docx
tidwellveronique
 
PPTX
Dcit 418-Slide two presentation (1).pptx
kojokoranteng19
 
PPT
Intrusion Detection System
Mohit Belwal
 
PPTX
Threat_actors_and_vectors_with_whiiteandblack_boxtesting.pptx
gagandeepsinfosec
 
PPTX
Network Monitoring Basics
Rob Dunn
 
PDF
Eximbank security presentation
laonap166
 
PDF
Echidna, sistema de respuesta a incidentes open source [GuadalajaraCON 2013]
Websec México
 
PDF
stackArmor MicroSummit - Niksun Network Monitoring - DPI
Gaurav "GP" Pal
 
PPTX
NetWatcher Customer Overview
Scott Suhy
 
PDF
[CLASS2014] Palestra Técnica - Franzvitor Fiorim
TI Safe
 
PPTX
Bh europe 2013_wilhoit
Kyle Wilhoit
 
PDF
MMIX Peering Forum and MMNOG 2020: Packet Analysis for Network Security
APNIC
 
Where Are All The ICS Attacks?
EnergySec
 
Defcon 23 - Chris Sistrunk - nsm 101 for ics
Felipe Prado
 
1. Network Security Monitoring Rationale
Sam Bowne
 
CNIT 50: 1. Network Security Monitoring Rationale
Sam Bowne
 
Network Reliability Monitoring for ICS: Going Beyond NSM and SIEM
Jim Gilsinn
 
Network security monitoring with open source tools
terriert
 
Lessons Learned Fighting Modern Cyberthreats in Critical ICS Networks
Angeloluca Barba
 
Managing Network Security Monitoring at Large Scale with Puppet - PuppetConf ...
Puppet
 
ebook converter DEMO Watermarks.docx
tidwellveronique
 
Dcit 418-Slide two presentation (1).pptx
kojokoranteng19
 
Intrusion Detection System
Mohit Belwal
 
Threat_actors_and_vectors_with_whiiteandblack_boxtesting.pptx
gagandeepsinfosec
 
Network Monitoring Basics
Rob Dunn
 
Eximbank security presentation
laonap166
 
Echidna, sistema de respuesta a incidentes open source [GuadalajaraCON 2013]
Websec México
 
stackArmor MicroSummit - Niksun Network Monitoring - DPI
Gaurav "GP" Pal
 
NetWatcher Customer Overview
Scott Suhy
 
[CLASS2014] Palestra Técnica - Franzvitor Fiorim
TI Safe
 
Bh europe 2013_wilhoit
Kyle Wilhoit
 
MMIX Peering Forum and MMNOG 2020: Packet Analysis for Network Security
APNIC
 

More from Chris Sistrunk (11)

PPTX
Proactive Approach to OT incident response - HOUSECCON 2023
Chris Sistrunk
 
PPTX
BSidesAugusta 2022 - The Power of the OT Security Playbook
Chris Sistrunk
 
PPTX
Black Hat USA 2022 - Arsenal Labs - Vehicle Control Systems - Red vs Blue
Chris Sistrunk
 
PPTX
BSidesHSV 2020 - Keynote - 2030: The Next Decade
Chris Sistrunk
 
PPTX
S4x20 - Tuning ICS Security Alerts: An Alarm Management Approach
Chris Sistrunk
 
PPTX
Derbycon 8 - We Are the Artillery: Using Google Fu to Take Down the Grid
Chris Sistrunk
 
PPTX
BSidesJackson 2017 - Chris Sistrunk - Keynote
Chris Sistrunk
 
PPTX
Advanced Persistent Dads - Threat Analysis
Chris Sistrunk
 
PPTX
BSidesAugusta 2015 - How to get into ICS security
Chris Sistrunk
 
PPTX
Master Serial Killer - DEF CON 22 - ICS Village
Chris Sistrunk
 
PPTX
Protecting Your DNP3 Networks
Chris Sistrunk
 
Proactive Approach to OT incident response - HOUSECCON 2023
Chris Sistrunk
 
BSidesAugusta 2022 - The Power of the OT Security Playbook
Chris Sistrunk
 
Black Hat USA 2022 - Arsenal Labs - Vehicle Control Systems - Red vs Blue
Chris Sistrunk
 
BSidesHSV 2020 - Keynote - 2030: The Next Decade
Chris Sistrunk
 
S4x20 - Tuning ICS Security Alerts: An Alarm Management Approach
Chris Sistrunk
 
Derbycon 8 - We Are the Artillery: Using Google Fu to Take Down the Grid
Chris Sistrunk
 
BSidesJackson 2017 - Chris Sistrunk - Keynote
Chris Sistrunk
 
Advanced Persistent Dads - Threat Analysis
Chris Sistrunk
 
BSidesAugusta 2015 - How to get into ICS security
Chris Sistrunk
 
Master Serial Killer - DEF CON 22 - ICS Village
Chris Sistrunk
 
Protecting Your DNP3 Networks
Chris Sistrunk
 

Recently uploaded (20)

PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Doc9.....................................
SofiaCollazos
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 

DEF CON 23 - NSM 101 for ICS

  • 2. About me Chris Sistrunk, PE Electrical Engineer Sr. ICS Security Consultant – Control system security assessments – ICS Village (DEF CON & RSA Conference) Entergy (11+ years) – SCADA Engineer (10 years) – Project Robus (ICS Protocol Fuzzing) • 30+ implementation vulnerabilities in DNP3 stacks – Substation Security Team BSidesJackson
  • 4. What happens when you use nmap or a fuzzer on an ICS?
  • 5. If ICS are so vulnerable, why haven’t we seen more attacks? We aren’t looking!
  • 7. Intent Very little ICS targeted attack data  Maroochy Shire to Stuxnet to German Steel Plant Why are targeted attacks different?  It’s a “Who” not a “What”  Professional, organized, well-funded  If you kick them out, they will return
  • 11. If your ICS gets hacked… gadgets water electricity you can’t make anymore
  • 12. Now what?  More Gov’t security regulations  ICS security still lagging  Breaches are inevitable  Attacks aren’t stopping  Every sector  Including ICS What can we do to get ahead of this???
  • 13. Network Security Monitoring “The collection, analysis, and escalation of indications and warnings to detect and respond to intrusions. NSM is a way to find intruders on your network and do something about them before they damage your enterprise.” - The Practice of Network Security Monitoring
  • 14. Network Security Monitoring Invented in 1990, still in use today Cliff Stoll “Stalking the Wily Hacker” 1988 Todd Herberlein et al. “A Network Security Monitor” 1990 US Air Force Defense Information Systems Agency Lawrence Livermore National Lab Early 1990s NetRanger RealSecure Snort and many others Late 1990s - early 2000s Formal definition of NSM 2002
  • 15. Before we start looking… We need  At least one person (to watch and hunt)  The right tools to collect and analyze the data
  • 16. The NSM Cycle Collection DetectionAnalysis  Model for action, based on network-derived data  Requires people and process, not just technology  Focuses on the adversary, not the vulnerability
  • 17. Methods of Monitoring  Network tap – physical device which relays a copy of packets to an NSM sensor  SPAN or mirrored ports – switch configuration which sends copies of packets to a separate port where NSM sensor can connect  Host NIC – configured to watch all network traffic flowing on its segment (usually on NSM sensor)  Serial port tap – physical device which relays serial traffic to another port, usually requires additional software to interpret data Fluke Networks Stratus Engineering
  • 18. Types of Data Collected  Full content data – unfiltered collection of packets  Extracted content – data streams, files, Web pages, etc.  Session data – conversation between nodes  Transaction data – requests and replies between nodes  Statistical data – description of traffic, such as protocol and volume  Metadata – aspects of data, e.g. who owns this IP address  Alert/log data – triggers from IDS tools, tracking user logins, etc.
  • 19. Difficulties for NSM  Encrypted networks  Widespread NAT  Devices moving between network segments  Extreme traffic volume  Privacy concerns
  • 20. Difficulties for NSM  Encrypted networks  Widespread NAT  Devices moving between network segments  Extreme traffic volume  Privacy concerns Issues that most ICS do not face!
  • 21. Example ICS Enterprise/IT DMZ Plant Control Web Historian or other DB DCS HistorianHMI PLCs, Controllers, RTUs, PACs
  • 22. Anatomy of an Attack 22 Over all Mandiant attack investigations, only a little more than half of victim computers have malware on them. While attackers often use malware to gain an initial foothold, they quickly move to other tactics to execute their attacks. Unauthorized Use of Valid Accounts Known & Unknown Malware Command & Control Activity Suspicious Network Traffic Files Accessed by Attackers Valid Programs Used for Evil Purposes Trace Evidence & Partial Files
  • 23. Attacker Objectives Attacker’s goals:  Damage equipment  Affect or steal process info  Cause safety or compliance issue  Pivot from vulnerable ICS to enterprise Attacker’s options:  Gain physical access to an ICS host  Gain remote access to an ICS host  Compromise a highly-privileged client machine with access to the ICS network Enterprise/IT Plant DMZ Control Web Historian or other DB SCADA HistorianHMI PLCs, Controllers, RTUs, PACs
  • 25. Let’s do some NSM! Inquisitive mind NSM collection tools NSM hunting tools Protection
  • 26. NSM Collection  Firewall Logs  Session Data  NIDS/HIDS Logs  Full packet capture  Windows Logs and syslog  SNMP (CPU % etc.)  Alerts from security agents (AV, whitelisting, etc.) Enterprise/ITEnterprise collectors Logs and/or Agent Network sensors Logs only Plant DMZ Control Web Historian or other DB SCADA HistorianHMI PLCs, Controllers, RTUs, PACs
  • 28. What are we looking for?  Exceptions from baseline (e.g. A talks to B but never C)  “Top Talkers”  Unexpected connectivity (to Internet, Business network)  Known malicious IPs and domains  Logins using default accounts  Error messages that could correlate to vulnerabilities  Unusual system and firewall log entries  Host-based IDS or other security system alerts  Unexpected file and firmware updates  Antivirus alerts  And others….
  • 29. NSM Detection & “Hunting” Analyst looks at detected anomalies or alerts then escalates to IR !  IDS alerts  Anomaly detection  Firmware updates, other commands  Login with default credentials  High CPU or network bandwidth  Door alarms when nobody is supposed to be working  Devices going off-line or behaving strangely Plant DMZ Control Web Historian or other DB SCADA HistorianHMI PLCs, Controllers, RTUs, PACs
  • 31. NSM Analysis Incident responders analyze the detected anomalies to find evil  Application exploitation  Third-party connections (ex. ICCP or vendor access)  ICS-specific communication protocol attacks (ex. Modbus, DNP3, Profinet, EtherNet/IP)  Remote access exploitation  Direct network access due to poor physical security  USB-delivered malware Plant DMZ Control Web Historian or other DB SCADA HistorianHMI PLCs, Controllers, RTUs, PACs
  • 36. Session Data “Top Talkers” FlowBAT characterizes Session Data, showing which nodes have the most traffic Web traffic Web traffic NetBios NTP SiLK and FlowBAT can be easily installed in Security Onion
  • 37. Pcap Analysis for anomalies NetworkMiner can find potential ARP spoofing (as well as many other indicators)
  • 38. Pcaps - Abnormal DNS Traffic NetworkMiner sees“strange” DNS requests originating from within the ICS
  • 39. IDS alerts - Abnormal DNS Traffic DNS requests shown in the Bro IDS log in ELSA
  • 40. Pcaps – Malformed Modbus Deep packet inspection of Modbus by Wireshark
  • 41. Pcaps – Custom Modbus Unknown Function Code 90 Schneider Modicon uses FC 90 to start/stop the PLC and other admin stuff Metasploit module does too! c
  • 42. IDS Logs  Bro IDS – DNP3 & Modbus – More ICS protocols being developed by UIUC  Snort IDS – DNP3 & Modbus preprocessors – ET SCADA & DigitalBond Quickdraw Snort rules  Suricata IDS – New DNP3 parser & ET SCADA rules
  • 43. IDS Logs Modbus DNP3 Bro IDS parses Modbus and DNP3 packets, ELSA consolidates Bro logs
  • 44. IDS GUIs Alerts in Sguil of scanning activity
  • 45. Syslog Syslog can be configured to send to a NSM sensor or detected in network traffic if sent elsewhere. This is the Bro IDS Log for Syslog from an RTU.
  • 46. RTUs with Syslog  SEL-3530 RTAC  GE D20MX  Novatech OrionLX  Cooper SMP 16 If not…require syslog and other logs in the ICS procurement language
  • 47. NSM Tools for the 7 Data Types Security Onion Linux distribution – Easy to install and lots of documentation  Full packet capture – Tcpdump/Wireshark/NetworkMiner  Extracted content – Xplico/NetworkMiner  Session data – Bro/FlowBAT  Transaction data – Bro  Statistical data – Capinfos/Wireshark  Metadata – ELSA (Whois)  Alert data – Snort, Suricata, Sguil, Snorby Peel Back the Layers of Your Network
  • 49. NetFlow Tools SiLK & FlowBAT  Install on Security Onion with 2 scripts  www.flowbat.com
  • 50. Security Onion Implementation  Test in a lab first  Select suitable hardware platform  More RAM is better  Bigger hard drive is better (longer retention)  Mirrored/SPAN port on router/switch or a good network tap  Select proper placement of SO sensor  The Practice of Network Security Monitoring  Applied Network Security Monitoring  Work with the right stakeholders if placing in production
  • 51. Security Onion Implementation I installed SO on an industrially hardened box  SEL-3355  16GB RAM  1TB SSD Other boxes out there suitable for NSM sensor for industrial environments
  • 53. SO for ICS = Security Ogre
  • 54.  The Cuckoo’s Egg by Cliff Stoll https://www.youtube.com/watch?v=EcKxaq1FTac 1-hour NOVA Special (1990)  The Practice of Network Security Monitoring by Richard Bejtlich http://www.nostarch.com/nsm  Applied Network Security Monitoring by Chris Sanders & Jason Smith http://www.appliednsm.com/  The NSM Wiki http://nsmwiki.org  http://securityonion.net NSM References/Resources
  • 55. Takeaways You can implement NSM in ICS today – without impacting your operations There are free tools available to help you start looking at your ICS and hunting for evil
  • 56. People… …the most important part of NSM!  Gigabytes of data and 1000s of IDS alerts are useless without interpretation  Analyze data collected to understand what’s normal – and what’s not  Identify adversary TTPs and act to disrupt them Remember Adversaries are a “Who”, not a “What”
  • 57. Greets @ICS_Village – GO THERE! @dougburks & @securityonion team @chrissanders88 & @automayt @taosecurity @robertmlee for also banging the “NSM for ICS" drum @dan_scali & @robac3 My ICS peeps, SCADAbrothers, & SCADAsisters My love, @shannonsistrunk