schweitzer engineering labs: securing scada and ems communications to thwart advanced persistent...

32
Copyright © 2015 Rockwell Automation, Inc. All Rights Reserved. PUBLIC INFORMATION Rockwell Automation TechED 2015 @ROKTechED #ROKTechED Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements Schweitzer Engineering Labs Dwight Anderson Security Engineer - Schweitzer Engineering Laboratories June, 2015

Upload: rockwell-automation

Post on 14-Aug-2015

62 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Copyright © 2015 Rockwell Automation, Inc. All Rights Reserved.

PUBLIC INFORMATION

Rockwell Automation TechED 2015 @ROKTechED #ROKTechED

Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass

NERC CIP Requirements

Schweitzer Engineering Labs

Dwight Anderson

Security Engineer - Schweitzer Engineering Laboratories

June, 2015

Page 2: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Power System Network

A B C

D E F

Source Midpoint

Source Midpoint

Tie

Source

Source

Trip Sequence

and Lockout

1 2 Sense Loss

of Voltage

Recloser Re

clo

se

r

RecloserRecloser

Recloser

Page 3: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Substation Teleprotection Requirements

Substation 2Substation 1

Relays

RelaysRelays • • •

Firewall Firewall

HMI HMI

Communications

Network

Control Center Requirements

Firewall

Firewall

HMI

ServersSecure

Workstation

Switch

Corporate Requirements

Firewall

Firewall

HMI

Secure

WorkstationServers

Switch

Switch

Enterprise

Requirements

Corporate DMZ

Internet

Firewall

Firewall

Corporate

Servers

Page 4: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

NERC CIP

• CIP-004 – human factor

• CIP-005 – network

boundary controls

• CIP-007 – controls for

individual devices

Page 5: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Malware – Zero-Day Exploits and APTs

Attacker Code

• Hides or is disguised

• Executes infrequently

• Is not known

• Replicates or morphs

(possibly)

Page 6: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Zero-Day Exploit Is Easier to Create

McCorkle and Rios

“100 Bugs in 100 Days”

DerbyCon 2011

Page 7: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Protection Measures

• Network isolation

• Firewalls

• Gateways / IPsec VPNs

• EMET

• Antivirus

• Whitelisting

• Intrusion detection and next-generation firewalls

Page 8: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Example Firewall

Page 9: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

HTTP, FTPApplication

Layer

MIME, XDRPresentation

Layer

NetBIOS, SAPSession Layer

TCP, UDP, TLSTransport

Layer

IP, ICMP, IPsecNetwork

Layer

Ethernet, Frame RelayData Link

Layer

T1, SONETPhysical

Layer

OSI Model and Port Numbers

Port

Number

Page 10: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Types of Firewalls

R

S

T

P

S

H

C

W

R

E

C

E

U

R

G

A

C

K

Sequence Number

Source Address

Destination Address

Acknowledgment Number

Source Port Destination Port

F

I

N

S

Y

N

FIREWALL

Packet

Filtering

Stateful

Inspection

Application

Gateway

Network

Proxy

IP Packet

Reject Permit

Drop

IP Packet

IP Packet

IP Packet

Page 11: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Firewall Considerations

• Zero-day exploit – moderate application

• NERC CIP – good application

• IT systems coexist

• Log management

• Central management

• Little impact on performance

Page 12: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Application Layer Firewall

Page 13: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Block Specific URLs

www.shodanhq.org

Page 14: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Detect File Transfers

Page 15: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Next-Generation Firewall Considerations

• Zero-day exploit – high impact

• NERC CIP – high impact

• Management intuitive but not simple to get right

Page 16: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

VPN Gateway

• Authentication

• Confidentiality

• Message integrity

Page 17: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

IPsec Encapsulating Security Payload Header

• Encrypts IP packet payload

• Supports strong encryption protocols, such as

Blowfish and AES

• Provides data origin authentication, data integrity, and

replay protection

Page 18: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Gateway-to-Gateway VPN Tunnels

Data Protected

by VPN Security

Protocols

Trusted

Networks

Encrypting

Router

Encrypting

Firewall

VPN

Concentrator

VPN

Concentrator

Untrusted

Network

Page 19: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

VPN Considerations

• Zero-day exploit – no impact

• NERC CIP – high impact

• Coexisting IT systems

• Management – critical for getting it right

• Centralized support

• Some impact on performance

• Redundancy and failover

Page 20: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

EMET

Page 21: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

EMET – DEP

Prevent vulnerability exploitation

Code A Code B

Code C Code E

Code F

Exception Points

to Malware

Code D

Malware

Page 22: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Structured Exception Handler Overwrite Protection

Prevent exploiting stack overflows in Microsoft® Windows®

Handler

0x0c0c0c0c

0x0c0c0c0c

0x0c0c0c0c

0x0c0c0c0c

0x0c0c0c0c

0xfffffff

Final Handler

Next

Stack

Function

Stack Frames

EMET On

Handler

0x0c0c0c0c

0x0c0c0c0c

0x0c0c0c0c

0x0c0c0c0c

0x0c0c0c0c

0xfffffff

Final Handler

Next

Stack

Function

Stack Frames

EMET Off

Page 23: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Address Space Randomization

Locate code in different places in memory each time

computer is restarted

Restart 1

Ntdll

App.exe

Kernel32

Restart 2

Kernel32

Ntdll

App.exe

Restart 3

App.exe

Kernel32

Ntdll

Page 24: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

EMET Considerations

• Zero-day exploit – high impact

• NERC CIP – high impact

• Prefer not to bring Windows into substation

• Interoperability tested with existing software

• Events are logged

• No impact on performance

Page 25: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Malware Growth

110,000,000

99,000,000

88,000,000

77,000,000

66,000,000

55,000,000

44,000,000

33,000,000

22,000,000

11,000,000

19

85

19

87

19

89

19

95

19

91

19

93

19

97

19

99

20

01

20

03

20

05

20

07

20

09

20

11

20

13

Page 26: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

14.5% of Viruses Undetected

14.5%

Undetected

85.5%

Detected

Page 27: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Antivirus

• Zero-day exploit – no / low impact

• NERC CIP – high impact

• Network and operational overhead created with

constant updates

• Antivirus update burden eased with proxy and

centralized management software

• CPU spikes, false positives and negatives

• Event logs

Page 28: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Whitelisting

• Bring deny-all security strategy to local host

• Ease whitelist management with dynamic

whitelisting capabilities

• Leverage protection techniques to block

memory-based exploits

• Gain change control with minimum

operational impact

Page 29: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Whitelisting in Action

Remote HMI

SCADA

Ethernet

Switch

Other IED

Local HMI Control Center

Historian / Asset

Management System

Off-Site or Pole-Top

RDP / OPC Data Access /

Event File Logging

Relay

Relay

Relay

Relay

Computing

Platform

Modbus® TCP,

IEC 61850,

DNP3 LAN

Fast Messaging

Page 30: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Whitelisting

• Zero-day exploit – high impact

• NERC CIP – high impact for multiple areas

• New threats blocked without signature updates

• Logs provide excellent history of failed program execution

• Negligible performance impact with tiny footprint

Page 31: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

Securing SCADA and EMS Communications

Protection Measure Results Impact on Performance

Isolation Medium (but often violated) Low

Firewalls High Low

VPN gateways Low Medium

Antivirus Low Medium to High

EMET High Low

Whitelisting High Low

Next-generation firewall High (needs testing) High (needs testing)

Page 32: Schweitzer Engineering Labs: Securing SCADA and EMS Communications to Thwart Advanced Persistent Threats and Surpass NERC CIP Requirements

www.rockwellautomationteched.com

Copyright © 2015 Rockwell Automation, Inc. All Rights

Reserved.

PUBLIC INFORMATION

Rockwell Automation TechED 2015 @ROKTechED

#ROKTechED

Thank you!