cyber security for the smart grid - iit bombay · 2018. 3. 8. · march 2018 cyber-physical...

71
Cyber-Physical Security for the Smart Grid Indian Institute of Technology, Bombay, India Coordinator: Prof. R. K. Shyamasundar Manimaran Govindarasu Dept. of Electrical and Computer Engineering Iowa State University Email: [email protected] http://powercyber.ece.iastate.edu March 5-16, 2018 March 2018 1 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) GIAN short course

Upload: others

Post on 15-Mar-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Cyber-Physical Security for the Smart Grid

Indian Institute of Technology, Bombay, IndiaCoordinator: Prof. R. K. Shyamasundar

Manimaran Govindarasu

Dept. of Electrical and Computer Engineering

Iowa State University

Email: [email protected]

http://powercyber.ece.iastate.edu

March 5-16, 2018

March 2018

1Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu)

GIAN short course

Page 2: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

March 2018

Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2

Course Agenda

• Module 1: Cyber Threats, Attacks, and Security conceptsDay 01

• Module 2: Risk Assessment and Mitigation &

• Overview of Indian Power GridDay 02

• Module 3: Attack-resilient Wide-Monitoring, Protection, ControlDay 03

• Module 4: SCADA, Synchrophasor, and AMI Networks & SecurityDay 04

• Module 5: Attack Surface Analysis and Reduction TechniquesDay 05

• Module 6: CPS Security Testbeds & Case StudiesDay 06

• Module 7: Cybersecurity Standards & Industry Best PracticesDay 07

• Module 8: Cybersecurity Tools & Vulnerability Disclosure Day 08

• Module 9 : Review of materials, revisit case studies, assessmentsDay 09

• Module 10: Research directions, education and trainingDay 10

Page 3: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Module 3: Cyber Security ofWide-Area Monitoring, Protection and Control (WAMPAC)

• Wide-Area ControlCase study: Automatic Generation Control

• Wide-Area ProtectionCase study: Remedial Action Scheme

• Wide-Area MonitoringCase study: State Estimation

March 2018

3CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 4: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Power system

PMU PMUProtection elements Control elements

WAMPAC ControllerLogic processing, Arming control, Decisions, Alarms

High Speed Communication

Network

Plant

Sensors Actuators

Delay

Controller

Cyber attack points

WAMPAC high-level architecture

March 2018

4CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 5: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Typical Power System Control loop

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 5

S. Sridhar, A.Hahn and G. Manimaran – “Cyber–Physical System Security for the Electric Power Grid” – Proceedings of the IEEE, Jan 2012

Page 6: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Cyber-Physical Control – Attacks view

Cyber

System

Physical

System

Control Signal

Sensing

Signal

Integrity

Attack

DoS Attack

Y. Huang, A. A. Cardenas, S. Sastry, “Understanding the Physical and Economic Consequences of Attacks on Control Systems”, Elsevier, International Journal of Critical Infrastructure Protection 2009.

Signal

)(),( ˆˆ

maxmin

tt yyii )(),( ^^

maxmintt zz ii

A st , et Duration of the attack

•Man-in-the-middle attacks•Data integrity attacks•Denial of service attacks•Timing attacks …

March 2018

6CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 7: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Cyber-Physical Control Taxonomy

March 2018

7CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 8: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

State Estimation in EMS

March 2018

8CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 9: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 9

Module 3: Attack-resilient Wide-Area Monitoring, Protection and Control

Case study: Automatic Generation Control (AGC)

Page 10: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

March 2018

10CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Automatic Generation Control (AGC)

AGC Features

• Maintains frequency at 60 Hz

• Supply = Demand

•Maintain power exchange at scheduled value

• Ensures economic generation

[Figure from NERC Balancing and Frequency Control www.nerc.com ]

10

Page 11: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Automatic Generation Control (AGC)

Area 1

Power

System

Area 2

Power

System

Area 1

Control

Center

Area 2

Control

Center

Tie-Line

Flow

Frequency and

Tie-Line Flow

Measurements

Frequency and

Tie-Line Flow

Measurements

Control Action

Control Action

March 2018

11CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 12: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Automatic Generation ControlFrequency Control

12

AGC Algorithm

Frequency Sensor

Tie-Line Flow Sensor

Power System

Generators

ACEGen Error

Tie-Line Flow Measurement

Frequency Measurement

Modify tie-line flow and frequency measurements Attack:

Impact: Abnormal operating frequency conditions

Siddharth Sridhar and G. Manimaran – “Data Integrity Attacks and Impacts on SCADA Control System” – IEEE PES General Meeting, 2010

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

ACE = ΔPnet + β Δf

AGC Operation

Page 13: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

AGC – Example attack vectors

Area 1

Area 2 Area 3

ACE = ΔPnet + β Δf

AGC Operation

Attack Operation

AGC

MITM

P

f

P

• Attack Models

Scaling attacks – Attacks that inject instantaneous change

Ramp attacks – Attacks that inject small changes over time

Attack frequency: Value computed by the attacker

schscalingscalingtie PtP )1()(_

tPtP rampschramptie )(_

)/1(

_

DR

Pff

attacktie

actattack

March 2018 CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 13

Page 14: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Impacts from Poor Frequency

March 2018

14

Source: NERC (wwe.nerc.com) Figure from “Frequency Control Concerns in The North American Electric Power System”

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 15: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

15

AGC – attack impacts (sample result)

Attack Impact – Perceived Load at the Control Center

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Siddharth Sridhar and G. Manimaran – “Data Integrity Attacks and Impacts on SCADA Control System” – IEEE PES General Meeting, 2010

Page 16: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

16

Attack Impact – Resulting System Frequency

AGC – attack impacts (sample result)

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 17: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

17March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Attack Resilient Control (ARC)

ActuatorsPower System

Control Algorithms

Sensors

Intelligent Attack Detection and Mitigation Module

MeasurementsControl

Physical System

Control Center

Page 18: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

18March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

ARC – Intelligence Sources

Forecasts

Situational AwarenessSystem Resources

System Data

Attack Templates

• Forecasts – Load and wind forecasts

• Situational Awareness – System topology, geographic location, market operation

• Attack Templates – Attack vectors, signatures, potential impacts

• System Data – Machine data, control systems

• System Resources – Generation reserves, VAR reserves, available transmission capacity

18

Page 19: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Model-based Attack Detection and Mitigation for AGC

Key

ACER – ACE obtained from real-time measurements

ACEF – ACE obtained from forecast

S. Sridhar and M. Govindarasu, “Model-based attack detection and mitigation for automatic generation control”, IEEE Trans. on Smart Grid, vol. 5, no. 2, March 2014.

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 19

Page 20: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

20

Attack Resilient Control for AGC

Result 1 – ARC during Scaling Attacks

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 21: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

21

Attack Resilient Control for AGC

Result 2 – ARC during Ramp Attacks

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 22: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

22

Attack Resilient Control for AGC

Result 3 – ARC during Replay Attacks

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 23: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Testbed-based Attack-Defense Evaluation for AGC

AGC/ARC-AGC

OPC Server

SCADA

RTU

Gen Control

Measurement

IEEE 9-bus (3 area) system

ACE (Ptie , f)

(Ptie , f)ACE

DNP

DNP

Control Center

Real-Time Digital Simulator

MITM

Control Center

• OPC server to exchange measurements/control

• AGC and ARC-AGC implemented using custom Python code.

SCADA/WAMS

• Measurements/control exchanged using DNP3 protocol

Real-Time Digital Simulator

• IEEE-9 bus system with 3 control areas modeled in RTDS

• RTDS interfaced with Siemens RTU to send/receive measurements/control

Attack Execution Details

• Man-in-the-middle (MITM) attack performed using ARP spoofing

• Attacker intercepts message exchange between control system and power system

• Injects malicious frequency and tie-line flow measurements to AGC

March 2018Cybersecurity R&D for Power Grid in Light of Ukraine Attack3/7/2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))23

Page 24: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Scaling Attack Begins

UFLS sheds

load to recover

frequency

Frequency drops to

59.5 Hz to trigger Stage 1

UFLS

Frequency drops to

59.4 Hz to trigger Stage 2

UFLS

March 2018 CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Experimental setup• AGC control commands

dispatched once every 10 seconds

• Under-frequency load shedding thresholds at 59.5 Hz and 59.4 Hz.

Attack Details• Scaling attack starts at ~35s• First load shed occurs at

~65s• Frequency recovers at ~75s• Scaling attack continues• Second load shed occurs at

~105s• Scaling attack ramps

frequency down much faster to shed load

Attack Impact Study on AGC – scaling attack

A. Ashok et. al, Testbed-based Evaluation of Attack Detection and Mitigation for AGC, Resilient Week , 2016

24

Page 25: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

AGC with model-based mitigation

Scaling Attack Begins

ARC detects attack and

triggers model-

based AGC

March 2018 CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Attack-Defense Details• Scaling attack begins at ~40

seconds

• Scaling attack detection is based on single comparison of ACE with min and max thresholds. Hence, detection is instantaneous.

• ARC detects scaling at ~40 seconds and triggers model-based mitigation.

• ARC prevents load shedding and restores frequency

• Mitigated system frequency is not ideal (closer to 60 Hz) as generator control dispatched using forecasts. A. Ashok et. al, Testbed-based Evaluation of Attack Detection and Mitigation for AGC, Resilient Week , 2016

25

Page 26: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Voltage Control Loop - FACTS

3. Remotely Controlled

1. Connected to Transmission Network

2. Inject/Absorb Reactive Power

March 2018

26CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 27: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Voltage Control Loop - FACTS

• Attack Vectors (*)– Denial of Cooperative Operation

– Desynchronization (time-based)

– Data injection

• Data injection attack – Incorrect reactive power injection/absorption

• NERC voltage limit criteria violation

* Source – “Critical Infrastructure Protection”, Eric Goetx and Sujeet Shenoi, Springer 2009

March 2018

27CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 28: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 28

Module 3: Attack-resilient Wide-Area Monitoring, Protection and Control (WAMPAC)

• Wide Area Protection

• Case Study: Remedial Action Scheme (RAS)

Page 29: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Classical Equipment Protection

What to protect?

Generators, Transformers, Transmission lines, Buses, Capacitors, etc.

What are needed to protect?

CT&PT, Relaying devices, Operating devices such as breakers.

Features?

Local function module, Data from 1 or 2 substations, Simple communication.

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 29

Page 30: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

[1] SPECIAL REPORT FOR SC B5 (Protection and Automation), CIGRE 2014

“Meshed peer-to-peer network logical topology is more suitable for wide-area communication than star

type.”

“Protection algorithms and control strategy are now getting more and more relying on system-wide

information. Therefore, peer-to-peer communication between substations is in urgent need. ”

Power System Protection – importance of communication

[2] http://www.powergenasia.com/conference/smartmeter.html

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 30

Page 31: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Wide-Area Protection

31

Remedial Action Schemes (RAS) – Automatic protection systems designed to detect abnormal or predetermined system conditions, and take corrective actions other than and/or in addition to the isolation of faulted components to maintain system reliability.

Source: V. Madani, D. Novosel, S. Horowitz, M. Adamiak, J. Amantegui, D. Karlsson, S. Imai, and A. Apostolov, “Ieee psrc report on global industry experiences with system integrity

protection schemes (sips),” Power Delivery, IEEE Transactions on, vol. 25, pp. 2143 –2155, oct. 2010.

Some typical RAS corrective actions are :

• Changes in load (MW)

• Changes in generation (MW and MVAR)

• Changes in system configuration to maintain system stability, acceptable voltage or power flows

RAS controller

WAN

Relay x

Relay 1

Relay x

Relay 1

Monitoring

Mitigation

Control Center

Remote Substation x Remote Substation y

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 32: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Wide-Area Protection

Source: WECC RAS Design Guide, 2006

Page 33: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

✔ transient angle instability

✔ small signal angle instability

✔ long term frequency instability

✔ short-term voltage instability

✔ long-term voltage instability

cascading outages.

When would RAS be activated?

angle

stability

voltage

stability

frequency

stability ✔ short term frequency instability

Power System

Stability

“… Such schemes are designed to maintain system stability, acceptable system voltages, acceptable power flows, or to address other reliability concerns. …”[1]

[1] http://www.nerc.com/pa/Stand/Prjct201005_2SpclPrtctnSstmPhs2/System_Protection_and_Control_Subcommittee_SPCS_20_SAMS-SPCS_SPS_Technic_02182014.pdf

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 33

Page 34: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Typical measurements

✔ Rotor angle (transient stability)

✔ Voltage magnitude (voltage stability)

✔ Frequency (frequency stability)

✔ Rotor speed (transient stability)

✔ Active power on transmission lines

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 34

Page 35: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Typical Remedial Actions

✔ Generator tripping (transient stability)

✔ Load shedding (transient/voltage/frequency stability)

✔ System separation (transient stability, cascading outage)

✔ VAR compensation (voltage stability)

✔ Generation level control (transient/voltage stability)

[1] S. Seo, et al. Development of Intelligent Generator Special Protection System (iG-SPS) to Improve Transient Stability in Dangjin Power Plants, CIGRE, B5-116, 2014.

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 35

Page 36: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

36

RAS Deployments Survey (NERC Regions)

1989 Survey 1996 Survey 2009 Survey

93 111

958

RAS SURVEY STUDIES

4%8%

26%

10%4%

1%5%

42%

FRCC

MRO

NPCC

RFC

SERC

SPP

TRE

WECC

Total RASs by Region (NERC 2012)

Industry Types of RAS Southern California Edison, (2013)

Generation tripping, Load tripping, Combination

Idaho Power Company, (2010)

Generation tripping, Bypass/insert Capacitors

Bonneville Power Administration, (2009)

Generation/load tripping, Bypass/Insert Capacitors, others

BC Hydro, (2006) Generation/line/load tripping, Bypass/insert Capacitors, others

Page 37: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Cyber Security Concerns in protection systems

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 37

Page 38: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

How vulnerable RAS for cyber attacks?

Protection pattern is centralization. Typically, only onecentralized controller can send out the control commands. If itis compromised, the function gets lost!

• Attack targets: Sensors, controllers, actuators, measurements

• False data injection – wrong decision• Replay attack – wrong action• DoS on controller – control unavailable• Coordinated attacks• ….

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 38

Page 39: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

39

Wide-Area Protection – Attack Surface

Possible cyber attacks

Page 40: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 40

Case Study: Coordinated attack on RAS (WECC 9-bus)

RAS

Controller

RC

R2

R1

Gen Controller

A. Ashok, A. Hahn, S. Siddharth, and M. Govindarasu, “Cyber-Physical Security Testbeds: Architecture, Application,

and Evaluation for Smart Grid, IEEE Trans. on Smart Grid, June 2013

Page 41: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

DoS on network router in RAS – protection failiure

41March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 42: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

DoS on RAS Controller (Relay) – protection failure

42March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 43: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Power System Impacts

43

Impact on System Voltages

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 44: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Power System Impacts

44

Impact on System Generation and Power flows

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 45: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 45

Module 3: Attack-resilient Wide-Area Monitoring, Protection and Control (WAMPAC)

Case study: State Estimation (Monitoring)

Page 46: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

State Estimation Overview

March 2018

46CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 47: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Input of State Estimation

• Analog Measurements– Real Power on transmission lines (P)

– Reactive Power on transmission lines (Q)

– Real and Reactive Power injection at buses (Pinj, Qinj)

• System State Variables– Voltages and phase angles at all buses (Vmag and

Vang)

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 47

Page 48: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

State Estimation : Detailed Process

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 48

1•Build Network topology from status measurements

•Simplify Breaker- switch model to Bus- branch model

2•Collect relevant analog measurements

•Estimate system state variables through WLS process

3•Compare estimated measurements and field measurements

• Identify if there are erroneous measurements

4

•Remove bad measurements and reiterate estimation process

•Repeat until bad measurements or topology are identified and rectified

Page 49: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Obtain the Topology

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 49

Sub 1

Sub 3

Sub 4

Sub 2

Control Center

Step 1: Topology Identification

Step 2: Estimate system state

‘n’ states in the system

‘m’ measurements available in the system

Weighted Least Squares (WLS): Minimize the error of the measurements and the estimates subject to satisfying power system equations

Page 50: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Breaker- Switch Model: IEEE 14 bus model

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 50

Page 51: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Bus – Branch Model : IEEE 14 bus model

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 51

G

1

2

G

6

C

5 4

3

9C

8

C

12

13

11 10

14

7

Page 52: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

State Estimation Methodology

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 52

Under DC power flow model, the relation between states and measurements can be written as:

is the vector of measurements

is the measurement Jacobian matrix

is the vector of states (phase angles)

is the vector of measurement errors is the measurement residual

is the vector of estimated state variables

is the measurement covariance matrix

x̂ = H TR-1H( )-1

H TR-1z

r = z - Hx̂

‘m’ measurements to estimate ‘n’ states

R

zH

e r

z = Hx + e

Page 53: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

State Estimation Bad Data Detection

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 53

Minimize the error of the measurements and the estimates subject to satisfying power flow equations

r = z - Hx̂

Bad Data Detection: Normalized residual test

z - Hx̂ R-1 £ t

Measurements considered bad if residuals do not meet this condition

Weighted Least Squares (WLS) algorithm

Page 54: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Cyber attacks on State Estimation

Key in Power System

Operations

Affects Situational awareness

Has Market impacts

Prone to cyber attacks

State Estimation

March 2018

54CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 55: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Cyber attacks on State Estimation

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 55

Page 56: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Creating Smart topology attacks

• Naïve attack: Manipulate the status of an arbitrary field device like relay/breaker to cause topology error

– Detected by Bad Data Detection in State Estimator

• Intelligent attack: Manipulate the status of a field device corresponding to a critical measurement

– Critical measurements impact system observability

– Cause no change in measurement residuals

March 2018

56CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 57: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Types of Cyber attacks on State Estimation

• Attacks on Network Topology

– Cause system operator to assume wrong network and therefore cause error in calculations

• Attacks on Network Measurements

– Cause system operator to believe the system operating state in something else rather than reality, i.e no situational awareness

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 57

Page 58: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Attacks on Network Measurements

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 58

Attacker has system configuration, access to SCADA network

Attacker can choose to compromise limited meters whose measurements are to be manipulated

Measurements are manipulated at carefully chosen places and values to evade Bad Data Detection

Manipulated measurements lead to bad state estimates, i.e poor operator awareness

Bad estimates lead to operational impacts for contingency analysis, Markets , etc.,

Page 59: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Attacks on Network Topology

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 59

Attacker has system configuration, access to SCADA network

Attacker can choose to manipulate status measurements to deceive operator with wrong topology

Only certain SCADA element statues can be attacked to evade Bad Data Detection

Manipulated topology lead to bad state estimates, i.e poor operator awareness

Bad estimates lead to operational impacts for contingency analysis, Markets , etc.,

Page 60: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Causes of Wrong Network Topology

Wrong Network

Topology

Unavailability of

status points

Faulty field

devices

Manual

maintenance status

update

Outdated status for

non-telemetered

device

Malicious status

manipulation

March 2018

60CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 61: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Cyber Attacks on State Estimation

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 61

z = Hx + e

Data integrity attacks on analog measurements

Data integrity attacks on status measurements

Attacker has measurement configuration, H

Page 62: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Cyber Attack Model (1)

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 62

Attack on analog measurements

= z - Hx̂ + (a - H TR-1H( )-1

H TR-1a) R-1

= z - Hx̂ R-1 £ t , if a = Hc

za - Hx̂attack R-1 = z + a - H ( H TR-1H( )

-1

H TR-1(z + a)) R-1

* Y. Liu, P. Ning, and M. K. Reiter, “False data injection attacks against state estimation in electric power grids,” in Proceedings of the 16th ACM conference on Computer and communications security, ser. CCS ’09. New York, NY, USA

For an attack to evade bad data detection

za = z + a = Hx̂attack + ez = Hx + e

H

c is any constant vector.

Page 63: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Cyber Attack Model (2)

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 63

Attack on status measurements

If measurement z2 is a ‘critical measurement’, a topology error will remove a row from H. Then, the state corresponding to a zero column in H becomes ‘unobservable’.

Page 64: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Case Study: IEEE 14 bus system

March 2018

64CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 65: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Case Study: Results

• Critical branches:1-2, 7-8.

• Attack scenario:– Remove branch 1-2

• Impacts:– One unobservable state

– Several SOL violations

– Unnecessary re-dispatch

– Market Impacts

March 2018

65CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

A. Ashok and G. Manimaran, “Cyber attacks on power system state estimation through topology errors”, IEE PES General Meeting, 2012

Page 66: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Mitigation of cyber attacks on SE

• Could be at infrastructure or application layers

– Infrastructure: IDS, Anomaly detection, Encryption– Application: Intelligent SE algorithms

• Common mitigation: Deploy PMU’s at target locations to improve redundancy

• Assumption: PMU measurements are secure, accurate.

March 2018

66CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 67: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Mitigation of cyber attacks on SE

March 2018

67CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

A. Ashok, M. Govindarasu, and A. Ajjarapu, “Online Detection of Stealthy False Data Injection Attacks in Power System

State Estimation,” IEEE Trans. on Smart Grid, July 2016.

Page 68: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Detection of stealthy attacks

March 2018

68CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 69: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Research Methodology

-Identify measurement manipulations

which satisfy estimation equations

- Identify critical measurements to alter

topology

1

2

3

4

5

6

7

State estimation

- Attacker has measurement set configurations

- Attacks are not detected by bad data detection

Data integrity attacks on

- Analog Measurements

- Status Measurements

- Targets: Injection and flow measurements

- Targets : Statuses of breakers (network topology)

- No direct impacts are studied in existing research

- Impacts shown in terms of System Operating Limits

- Deploy PMU’s at selected locations to improve

redundancy

- Randomize measurements and estimation weights

Attack

scope

Attack model

Attack

types

Attack targets

Attack vectors

Impact

Analysis

Attack Mitigation

March 2018

69CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu))

Page 70: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Summary

• Cyber-Physical Security of WAMPAC is critical for bulk power system reliability.

• Attack-resilient WAMPAC involves

– Identifying vulnerabilities

– Analyzing impacts

– Developing cyber-physical counter measures

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 70

Page 71: Cyber Security for the Smart Grid - IIT Bombay · 2018. 3. 8. · March 2018 Cyber-Physical Security for the Smart Grid, GIAN Course, IIT Bombay (Manimaran Govindarasu) 2 Course Agenda

Conclusions

March 2018

CPS Security for the Smart Grid, GIAN Short course, IIT Bombay (Manimaran Govindarasu)) 71

• Cybersecurity and attack-resiliency of WAMPAC is very critical to reliable and economic operation of bulk power system

• CPS mitigation measures leverage underlying physics of system operation and available trusted data sources

• Automatic Generation Control (Control), Voltage Control …• State Estimation (Monitoring), Oscillation monitoring & damping control ...• Remedial Action Schemes (Protection) ….

• Attack-Resilient WAMPAC algorithms need to be integrated into EMS of the control center