6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 1
Challenges in
Cri-cal Infrastructure Security
Corrado Leita
Symantec Research Labs
•
CARD (Collabora*ve Advanced Research Department) group
–
Sophia An*polis, FR
–
Culver City, CA
–
Herndon, VA
•
European projects:
–
WOMBAT (2008-‐2011): Worldwide Observatory of Malicious Behaviors
and AQack Threats
–
VIS-‐SENSE (2011-‐2013): Visual Analyi*cs of Large Datasets for Enhancing
Network Security
–
CRISALIS (2012-‐2014): CRi*cal Infrastructure Security AnaLysIS
–
BIGFOOT (2012-‐2014): Big Data Analy*cs of Digital Footprints
Convergence between IT and ICS technologies
•
Interconnec*on of standard computer
systems with industrial control systems
•
An
opportunity
?
–
Lower costs and increased system efficiency
–
Opportunity to leverage standard IT
techniques (intrusion detec*on, file scanning,
standard hardening techniques, …)
–
Opportunity to enable ICS suppliers to
manage and support ICS devices at scale
•
A
threat
?
–
Enable aQacks and incidents that are typical of
standard IT environments
–
Enable aQacks on cri*cal infrastructures and
environments such as energy, gas, medical
–
Privacy viola*ons from data being more
widely available
What is this talk about?
Why is research on Industrial Control Systems security
important? How does it differ from standard IT security?
What are the challenges associated to doing research on
ICS security?
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 4
Q1
Q2
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 5
What are the challenges in the protec-on
of ICS environments?
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 6
Threat
economy
IT VS OT
culture
Off-‐the-‐shelf
suitability to ICS
Are off-‐the-‐shelf product suitable for ICS security?
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 7
Smart Grid as a complex ecosystem
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 8
SCADA
AMI
Our
focus
Physical environment
A composi-on of complex environments
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 9
servers
clients in separate network
clients in main network
gateways
flow datagram generated from the analysis of one
hour of opera*on of a water pump control system
diverse, o]en
non-‐standard protocols
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 10
Threat
economy
IT VS OT
culture
Off-‐the-‐shelf
suitability to ICS
The interes-ng lesson
Is it possible to burn-‐out a water pump by solely interfacing with
the SCADA layer? Fail-‐safe mechanisms exist to prevent physical
damage!
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 13
Threat
economy
IT VS OT
culture
Off-‐the-‐shelf
suitability to ICS
Threat economy
•
Security mechanisms o]en aim at
rendering an intrusion “difficult
enough”
•
Their effec*veness depends on the
value of the target!
–
Requiring a signed cer*ficate to inject a
kernel driver
–
Keeping valuable resources in a private
network
–
Storing a cer*ficate in a secure room
–
…
co
st
reven
ue
reven
ue
Stuxnet, Duqu, Flamer
•
Stuxnet: first publicly known malware to cause public damage
•
Duqu: shares many similari*es, used for cyber espionage
•
Flamer: even more advanced pladorm for data exfiltra*on
è
Cyber warfare is not a myth!
Is this the -p of an iceberg?
What is your experience with each of this type of
abacks? (1580 industries contacted, 2010)
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 17
Symantec 2010 Critical Infrastructure Protection Study - Global: October
2010
16
How many -mes have you suspected or been sure each
of the following has occurred in the last 5 years?
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 18
Symantec 2010 Critical Infrastructure Protection Study - Global: October
2010
17
Cost es-ma-ons of all the abacks over the 5 years
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 19
Symantec 2010 Critical Infrastructure Protection Study - Global: October
2010
18
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 20
Research in ICS security
The problems
•
Few or no informa*on is available on the threat landscape and
on ongoing aQacks against ICS environments
•
The few informa*on we have at our disposal shows very
advanced threats carried out by groups or governments with
almost unlimited resources
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 21
How do we ensure the
relevance
of our research?
How do we ensure the
How do (should) we do research?
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 22
D
raw
c
on
cl
us
io
ns
An
al
yze
re
su
lts
Pe
rf
or
m
e
xp
er
im
en
ts
Fo
rm
Hy
po
th
es
is
Obse
rve
DATA
An example: Rogue security sogware
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 23
All done in Javascript!
Marco Cova, Corrado Leita, Olivier Thonnard, Angelos Keromy*s, Marc Dacier,
“An analysis of Rogue AV campaigns”, RAID 2010
1.
What is the big picture?
2.
Is there any major difference
Methodology
1.
Scope defini-on: defini*on of lists of domains likely to be
related to the threat
–
Norton Safeweb, Malware Domain Lists, …
–
Data enrichment using robtex.com
2.
Data enrichment: collec*on of informa*on on the
infrastructure hos*ng the content
–
Registra*on informa*on, DNS informa*on, server informa*on, …
3.
Data mining: defini*on of a set of features for each domain
and applica*on of MCDA
–
Manual analysis of each generated cluster
PC An-spyware
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 25
/24 network
Domain name
Web server
Web server/DNS server
Registrant email
Level of
coordina-on
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 26
Registra*on date
This is unique to this
threat and not shared
by, for instance, drive-‐
Are these findings specific to the threat landscape?
•
Experiment: drive by downloads
–
Analysis of 5304 domains known to be landing pages for Internet Explorer
ADODB.Stream Object Installa*on Weakness (CVE-‐2006-‐003)
–
Repeated feature collec*on and analysis using MCDA
•
Only 21 clusters were found accoun*ng for a total of 201
domains (3.8%)
–
The domains under analysis do not share a common infrastructure
–
The infrastructure is not actually owned by the perpetuators of the
aQacks
–
Important difference with the Rogue AV scenario
•
How to jus*fy this difference?
Rogue AV economics
•
What are the costs/revenues associated to the rogue AV
business?
•
Costs (informal survey)
–
Average monthly cost:
50$
–
Annual domain registra*on costs:
3-‐10$
–
Total annual costs:
879-‐2,230$
•
Revenues
–
Average price for a rogue AV:
30-‐50$
–
Client volume?
??
–
Total annual revenues:
??
Rogue AV servers and Apache mod_status
•
6 servers (193 domains) were
discovered to be offering u*liza*on
sta*s*cs through the output of
Apache mod_status
–
Con*nuous sampling of the output
over a period of 44 days
–
Filtered out probing/scanning aQempts
–
Tracked a total of 372,096 dis*nct IP
addresses
Behavior evolu-on
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 30
Cumula*ve number of dis*nct IP addresses for each
behavior type
Successful scans: 25,447
Unsuccessful scans: 306,248
Hit rate: 7.7%
A scan is considered
successful if a download is
performed by the same IP
address within 24 hours
Comple-ng the table
•
What are the costs/revenues associated to the rogue AV
business?
•
Costs (informal survey)
–
Average monthly cost:
50$
–
Annual domain registra*on costs:
3-‐10$
–
Total annual costs:
879-‐2,230$
•
Revenues (pessimis-c es-mate)
–
Average price for a rogue AV:
30-‐50$
–
Expected mone*za*on rate for client hit:
0.26%
(in previous studies on spam)–
Client volume over 44 days:
331,695
–
Total annual revenues:
214,621-‐357,702$
Challenges
•
Rigorous data collec*on is
essen-al
to security research
–
Understanding the threat landscape
–
Understanding the threat economics
–
Evalua*ng/benchmarking real-‐world applica*on of specific solu*ons
•
It’s an
expensive
process
–
Highly dynamic threat landscape
•
Need to ensure representa*veness of the observa*ons, but also repeatability
–
It’s an itera*ve process
•
The effort
cannot be easily shared
–
Field data experimenta*on is associated to lots of legal and ethical
concerns when it comes to sharing data
The importance of observa-on
•
What should we really do research on?
WINE: Benchmark for Computer Security
http://www.symantec.com/WINE
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 34
Symantec’s
worldwide sensors
experimental reproducibility
Pladorm for
The Worldwide Intelligence Network Environment
(WINE)
•
Goal: repeatable cyber security experiments at scale
•
Field data collected on millions of
end-‐hosts
•
Data sampled from Symantec’s
opera-onal data
sets
•
Access WINE on SRL site:
Culver City, CA
or
Herndon, VA
–
Fee required
•
Store
reference data
sets used in prior experiments
•
Maintain
lab book
What WINE is not …
•
… a defini*ve benchmark suite
•
… a data set that can be copied outside of SRL
•
… a system that can be accessed remotely
•
… a repository for all the data that Symantec collects
•
… an effort targeted exclusively at cyber security
Contextual informa*on
Opera-onal Model
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 37
DB
Virtualized
Server
…
Malware Samples
Researcher
5
NDA
1
WINE
Catalog
2
Proposal
•
Hypothesis
•
Data needed
3
Publica*on
•
Ack: WINE
8
5
Isolated Red Lab
Contract
4
6
6
7
7
New
AQacks
Vulnerability
Dissemina*on
& Concealment
Zero-‐Day
AQacks
Patch
Advisory
Remedia*on
Malware
Samples
WINE Data Set:
Malware
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 38
New
AQacks
Vulnerability
Dissemina*on
& Concealment
Zero-‐Day
AQacks
Patch
Advisory
Remedia*on
Malware
Samples
Binary
Reputa-on
WINE Data Set:
Binary Reputa0on
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 39
Norton Insight
(opt-‐in program)
Submissions
Queries
MachineID
Timestamp
MD5 of binary
SHA2 of binary
Download URL
Protocol version
New
AQacks
Vulnerability
Dissemina*on
& Concealment
Zero-‐Day
AQacks
Patch
Advisory
Remedia*on
Binary
Reputa*on
A/V, IPS
Telemetry
WINE Data Set:
A/V & IPS Telemetry
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 40
Malware
Samples
Threats detected by
Norton products
Telemetry
AQack signature
Timestamp
Target OS
Target process
AQacking IP
CPU make & model
New
AQacks
Vulnerability
Dissemina*on
& Concealment
Zero-‐Day
AQacks
Patch
Advisory
Remedia*on
Binary
Reputa*on
A/V, IPS
Telemetry
Spam
WINE Data Set:
Spam
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 41
Malware
Samples
•
Samples of spam and phishing emails
•
Sta*s*cs on blocked spam
New
AQacks
Vulnerability
Dissemina*on
& Concealment
Zero-‐Day
AQacks
Patch
Advisory
Remedia*on
Binary
Reputa*on
A/V, IPS
Telemetry
Spam
URL Reputa-on
WINE Data Set:
URL Reputa0on
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 42
Malware
Samples
•
Data collected by
crawling the Web
• http://safeweb.norton.com
URL Reputa-on
Site name
Site ra*ng
Threat URL
Threat type
Threat name
Timestamp
Distributed Data Collec-on
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 43
Binary reputa-on:
35M machines
Malware:
7M samples
Spam: 2.5M decoys
URL reputa-on:
10M domains
A/V telemetry:
130M machines
Ac
ad
em
ia
End
use
rs
Industr
y
Can we extend the WINE idea to ICS research?
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 44
•
CRISALIS: 3-‐year collabora*ve project (funded by FP7-‐SEC)
•
Par*cipants:
–
Symantec (Ireland)
–
Siemens (Germany)
–
Security MaQers (Netherlands)
–
EURECOM (France)
–
Chalmers (Sweden)
–
University of Twente (Netherlands)
–
ENEL (Italy)
The problems
•
Few or no informa*on is available on the threat landscape and
on ongoing aQacks against ICS environments
•
The few informa*on we have at our disposal shows very
advanced threats carried out by groups or governments with
almost unlimited resources
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 45
How do we ensure the
relevance
of our research?
How do we ensure the
Threat economy (reminder)
•
Security mechanisms o]en aim at
rendering an intrusion “difficult
enough”
•
Their effec*veness depends on the
value of the target!
–
Requiring a signed cer*ficate to inject a
kernel driver
–
Keeping valuable resources in a private
network
–
Storing a cer*ficate in a secure room
–
…
co
st
reven
ue
reven
ue
Stuxnet
•
Windows worm discovered in
July 2010
•
Uses
7
different self-‐propaga*on methods
•
Uses
4
Microso] 0-‐day exploits +
1
known vulnerability
•
Leverages 2 Siemens security issues
•
Contains a Windows rootkit
•
Used
2 stolen digital cer-ficates
(second one introduced
when first one was revoked)
•
Modified code on Programmable Logic Controllers (PLCs)
•
First known PLC rootkit
Stuxnet and the myth
of the private network
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 48
In
te
rn
et
C&C servers
P2P communica*on
Remote propaga*on
Stuxnet: an isolated incident?
•
September 2011:
a European company seeks help to
inves*gate a security incident that happened in their IT system,
and contacts CrySyS labs (Budapest University of Technology
and Economics)
•
October 2011:
CrySyS labs iden*fies the infec*on and shares
informa*on with major security companies
–
Duqu: named a]er the filenames created by the infec*on, star*ng with
the string “~DQ”
–
A few days later, Symantec releases the first report on Duqu malware
sample with the help of the outcomes of the original CrySyS inves*gators
Signed Drivers
•
Some signed (C-‐Media cer*ficate)
•
Revoked immediately a]er discovery
Extremely stealthy
and targeted infec-on
•
0-‐day vulnerability in
TTF font parser
•
Shellcode ensures
infec*on only in an 8
days window in August
•
No self-‐propaga*on, but
spreading can be
directed to other
computers through C&C
–
Secondary target do not
communicate with C&C,
communicate instead
through P2P
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 51
Infec*on leaves almost no trace
on hard drive: only the driver file is
stored in stable storage!
Command & Control Complexity
•
Communica*on over TCP/80 and TCP/443
–
Embeds protocol under HTTP, but not HTTPS
–
Includes small blank JPEG in all communica*ons
–
Basic proxy support
•
Complex protocol
–
TCP-‐like with fragments, sequence and ack. numbers, etc.
–
Encryp*on AES-‐CBC with fixed Key
–
Compression LZO
–
Extra custom compression layer
•
CnC server hidden behind a long sequence of proxies
Targets
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 53
Duqu “strange clues”
•
TTF Exploit
–
Font name “Dexter Regular”
from “Show*me Inc.”
–
Only two characters defined:
: )
•
Inside the keylogger
component is a par*al
image
–
“interac*ng Galaxy System NGC
6745”
W32.Flamer
•
Recently discovered, but ac*ve for more than 2 years
–
Extremely high complexity
–
LUA Interpreter
•
Comprehensive toolkit for data exfiltra*on
–
Ability to record from internal microphone
–
Bluetooth toolkit
What have we learned so far?
1.
Abacker mo-va-on:
no security prac*ce is likely to
make the intrusion difficult enough. New mo*va*ons for
aQackers (crime, cyber warfare) mean more resources and
incen*ves to conduct aQacks.
2.
Myth of the private network:
also because of 1. ,
relying on network isola*on from the Internet as main
security protec*on is ineffec*ve. Physical security cannot be
enforced in prac*ce, and network isola*on renders cloud-‐
based security technologies impossible to apply (e.g.
reputa*on, data analysis, signatures, …).
3.
From Intrusion Preven-on to Intrusion
Tolerance:
a layered approach is required with several
safety nets and managerial procedures to handle fallback
modes.
The CRISALIS approach
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 57
Syste
m
disc
ove
ry
O.1
Securing the systems
O.2
Detec-ng the intrusions
O.3
Analyzing successful
intrusions
End user support
SCADA
environments
AMI
System discovery: the founda-on
of the CRISALIS project
•
Understand the environment being monitored
–
Devices
–
Interconnec*ons among devices
–
Seman*cs of the interac*ons
•
Challenges
–
Proprietary devices and protocols
–
Lack of protocol parsers
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 58
Syste
m
disc
ove
ry
O.1 Securing the systems O.2 Detec-ng the intrusions O.3 Analyzing successful intrusions
O.1 Securing the systems
•
Penetra*on tes*ng
–
Globally accepted methodologies in ICT infrastructures
–
Methodology needs to be carefully revisited to be applicable to ICS
(dangerous!)
•
Vulnerability discovery
–
AQen*on to the automated discovery of vulnerabili*es in ICS devices
•
Sta*c analysis of the binary code
•
Dynamic analysis
–
Drive the vulnerability discovery process through informa*on on the
protocol specifica*on
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 59
Syste
m
disc
ove
ry
O.1 Securing the systems O.2 Detec-ng the intrusions O.3 Analyzing successful intrusions
O.2 Detec-ng the intrusions
•
Vulnerability discovery is unlikely to exhaus*vely iden*fy all the
possible threat vectors. How to iden*fy and block a successful
intrusions?
•
Targeted aQacks: we need to avoid a-‐priori assump*ons on the
threat vector
–
Tradi*onal assump*ons on the threat model are likely to not hold
–
Signature-‐based technologies are not appropriate
–
Revisit behavior-‐based detec*on in ICS environments
–
Revisit host-‐based monitoring techniques
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 60
Syste
m
disc
ove
ry
O.1 Securing the systems O.2 Detec-ng the intrusions O.3 Analyzing successful intrusions
O.3 Analyzing successful intrusions
•
Be ready to fail: provide instruments to detect suspicious
modifica*ons to the devices and analyze their effects
–
Forensic analysis of industrial devices: how can we understand if a PLC
device has been compromised? How can we understand the impact of the
modifica*ons?
•
Challenges
–
Perceived absence of real threats by the industry
–
Deployment of proprietary components and protocols
–
Lack of persistent storage capabili*es
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 61
Syste
m
disc
ove
ry
O.1 Securing the systems O.2 Detec-ng the intrusions O.3 Analyzing successful intrusions
Valida-on environment
•
How can we validate the soundness of the obtained results?
What is the performance of an intrusion detec*on methodology
in real world environments?
•
Valida*on environments:
–
ENEL Security Lab (Livorno, Italy): replica of a real-‐world SCADA system
used in power genera*on
–
Alliander Tes*ng deployment (Netherlands): tes*ng AMI deployment
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 62
Syste
m
disc
ove
ry
O.1 Securing the systems O.2 Detec-ng the intrusions O.3 Analyzing successful intrusions
Thank you!
Copyright © 2010 Symantec Corpora-on. All rights reserved. Symantec and the Symantec Logo are trademarks or registered trademarks of Symantec Corpora*on or its affiliates in
the U.S. and other countries. Other names may be trademarks of their respec*ve owners.
This document is provided for informa*onal purposes only and is not intended as adver*sing. All warran*es rela*ng to the informa*on in this document, either express or implied, are disclaimed to the maximum extent allowed by law. The informa*on in this document is subject to change without no*ce.
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 63
Corrado Leita
An example: CRISALIS and protocol learning
•
Can we try to aQach seman*cs to the different edges with no a-‐
priori knowledge on the protocol structure?
•
Can we infer causality…?
ScriptGen
•
Protocol-‐agnos*c algorithm
•
Observe conversa*on samples between a client and a real server
•
Infer seman*cs using bioinforma*cs algorithms
•
Proved good results in handling determinis*c exploit scripts
FROM:
<alice
@syma
ntec.co
m>
MAIL FROM: <bob@
symantec.com>
MAIL FROM: <carl@syma
ntec.com>
MAIL FRO
M: <xxx@
bad.ru>
250 OK
250 OK
250 OK
550 ERR
MAIL FROM:
<*@*.*>
MAIL FROM: <*@symantec.
com>
Region analysis
6th Interna*onal Conference on Autonomous Infrastructure, Management and Security (AIMS 2012) 66
1 2 3 4
Region synthesis
Multiple alignment
Clustering
M A I L F R O M : < a l i c e @ e u r e c o m . f r >
M A I L F R O M : < b o b @ e u r e c o m . f r >
M A I L F R O M : < c a r l @ e u r e c o m . f r >
M A I L F R O M : < x x x @ b a d . r u >
4
3
2
1
Micro clustering
MAIL FROM:<*@eurecom.fr>
MAIL FROM:<*@*.*>