• No results found

Multi-vendor Penetration Testing in the Advanced Metering Infrastructure: Future Challenges

N/A
N/A
Protected

Academic year: 2021

Share "Multi-vendor Penetration Testing in the Advanced Metering Infrastructure: Future Challenges"

Copied!
33
0
0

Loading.... (view fulltext now)

Full text

(1)

Multi-vendor Penetration

Testing in the Advanced

Metering Infrastructure:

Future Challenges

DIMACS Workshop on Algorithmic Decision Theory for the Smart Grid

Stephen McLaughlin - Penn State University

(2)

Meter Data Management

(for the last 100 years)

(3)

2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 Kw 0 2 4 6 8 10 12 14 16 18 00:00 04:00 08:00 12:00 16:00 20:00 00:00 Kw

Meter Data Management

(now and in the near future)

One Day

(4)

2 2.5 3 3.5 4 4.5 5 5.5 6 6.5 7 Kw 0 2 4 6 8 10 12 14 16 18 00:00 04:00 08:00 12:00 16:00 20:00 00:00 Kw

Meter Data Management

(now and in the near future)

One Day

One Hour

Peak Usage

Peak Usage

Peak Transient

Hourly Average

Time of Use

Types of appliances

Power Quality

over time

Repetitive Features

Power Quality

over time

Geolocation

Geolocation

Geolocation

Outages

Tampering

(5)

AMI - the justification

Automated Meter Reading

Pre-smart meter automated reading and outage notification

Now expanding to Internet-connected SCADA systems

Dynamic pricing schemes

Time Of Use (peak load management)

Maximum demand

Demand response

Flexible energy generation

Enable consumer generation

(6)

AMI - the concerns

What should we be concerned about?

Accuracy/Fraud

Consumer privacy

(7)

Penetration Testing AMI

“The organization assesses the

security requirements in the Smart

Grid information system on an

organization-defined frequency to

determine the extent the

requirements are implemented

correctly, operating as intended,

and producing the desired

outcome with respect to meeting

the security requirements for the

Smart Grid information system.”

-p 117

(8)

Vulnerability Assessment

Penetration testing: the art and science of breaking

systems by applying attacker tools against live systems.

Destructive research

attempts to illuminate the exploitable

flaws and effectiveness of security infrastructure.

Bottom line Q/A

Q

: why are we doing this?

A

: part of Lockheed-Martin grant to aid energy industry in

identifying problems before they are found “in the wild”.

Q

: what are we doing?

A

: evaluating a number of vendor products in the lab that

are used in neighborhood-level deployments, i.e., we only look

at the meters and collectors.

(9)

AMI Architectures

Meter LAN 1: Power Line Communication

Meter LAN 2: RF Mesh

• Cellular

• Internet

• PSTN

Backhaul Network

Utility Server

Collector

Repeater

Collectors

Repeaters

...

(10)

Attack Trees

Tamper

Usage

Data

Tamper

Measure-ment

Tamper

Stored

Demand

Tamper in

Network

Clear

Logged

Events

Inject

Usage

Data

OR

OR

OR

AND

OR

Disconnect

Meter

A1.1

Recover

Meter

Passwords

A2.1

Physically

Tamper

Storage

A2.3

Intercept

Communi-cations

A3.1

Man in

the

Middle

A3.2

Spoof

Meter

A3.3

Log In and

Clear Event

History

A1.3

Log In and

Reset Net

Usage

A2.2

Reset

Net

Usage

AND

Bypass

Meter

Reverse

Meter

AND

Meter

Inversion

A1.2

OR

AND

AND

(a)

(b)

(c)

(11)

Archetypal Trees

Idea

: can we separate the issues that are vendor

independent from those that are specific to the vendor/

device, e.g., access media?

... then reuse an archetypal tree as a base for each

vendor specific concrete tree.

A

B

A

A

B

Adversarial Goal

S1

S2

Attack

Grafting

Archetypal

Tree

Concrete

Trees

Archetypal

Tree

Concrete

Trees

(12)

Pen Testing via Archetypal Trees

1. capture architectural description

2. construct archetypal trees (for each attacker goal)

3. capture vendor-specific description (for SUT)

4. construct concrete tree

5. perform penetration testing and graft leaves toward

goals

This paper

: 3 Attack trees: fraud, DOS, disconnect, 2

"systems under test" (SUT)

(13)

Construction of Archetypal Trees

Forge

Demand

(14)

Construction of Archetypal Trees

Forge

Demand

Interrupt

Measurement

(15)

Construction of Archetypal Trees

Forge

Demand

Interrupt

Measurement

Disconnect

Meter

Meter

Inversion

Erase

Logged

Events

OR

AND

(16)

Forge

Demand

Interrupt

Measurement

Disconnect

Meter

Meter

Inversion

Erase

Logged

Events

Extract

Meter

Passwords

Tamper in

Flight

OR

OR

AND

(17)

Forge

Demand

Interrupt

Measurement

Disconnect

Meter

Meter

Inversion

Erase

Logged

Events

Extract

Meter

Passwords

Tamper in

Flight

OR

OR

AND

A1.1

A1.2

(18)

Forge

Demand

Interrupt

Measurement

Disconnect

Meter

Meter

Inversion

Erase

Logged

Events

Extract

Meter

Passwords

Tamper in

Flight

OR

OR

AND

A1.1

A1.2

A2.1

A2.2

Construction of Archetypal Trees

Two rules for termination:

1. Attack is on a vendor-specific

component

2. Target may be guarded by a

protection mechanism

(19)

System Under Test

PSTN connected collector

ANSI C12.21

“intrusion detection”

900 MHz wireless mesh collector/meter network

Infrared “near-field” security for configuration port

Collector

Repeater

120V AC

Radio

Rcvr

PBX

Utility

Machine

Repeater

" " " " "

Attacker

Machine

Load

"

"

Load

"

"

Infrared

Mo

d

e

m

(20)

Intercept

Communi-cations

Via

Wireless

Mesh

Splice Into

Meter I/O

Bus

Via

Telephone

Spoof

Meter

Initiate

Session

with Utility

Identify

Self as

Meter

Complete

Authentica-tion Round

Run

Diagnostic up

to Usage Data

Transmit

Forged

Usage Data

Interpose on

Collector

PSTN Link

Circumvent

Intrusion

Detection

A3.1 A3.3 a1.1 a2.1 a2.2 a3.1 a4.1 a4.2 a5.1 a6.1 OR OR AND AND AND AND (AND)

Fraud Concrete

Tamper Usage Data Tamper Measure-ment Tamper Stored Demand Tamper in Network Clear Logged Events Inject Usage Data OR OR OR AND OR Disconnect Meter A1.1 Recover Meter Passwords A2.1 Physically Tamper Storage A2.3 Intercept Communi-cations A3.1 Man in the Middle A3.2 Spoof Meter A3.3 Log In and Clear Event History A1.3 Log In and Reset Net Usage A2.2 Reset Net Usage AND Bypass Meter Reverse Meter AND Meter Inversion A1.2 OR AND AND (a) (b) (c)

(21)

Enabling Attacks (Fraud)

Defeating modem “

intrusion detection

“off hook” events on the line are detected by sensing

presence Foreign Exchange Office (FXO) of dial-tone

voltage on the line.

current calls are dropped if off hook is detected

such events can simply be suppress easily by preventing

(22)

Utility

Identify

Nonce

Hash(Password,Nonce)

Hash(Password,Nonce')

Valid Authentication Session

(23)

Utility

Identify

Nonce

Hash(Password,Nonce)

Valid Authentication Session

Utility

Identify

Nonce

Hash(Password,Nonce)

Hash(Password,Nonce')

Valid Authentication Session

(24)

Utility

Identify

Nonce

Hash(Password,Nonce)

Valid Authentication Session

Utility

Identify

Nonce

Hash(Password,Nonce)

Hash(Password,Nonce')

Valid Authentication Session

Enabling Attacks (Fraud)

Replay attack

: I can replay the nonce from a previous session to

impersonate the meter.

(25)

Utility

Identify

Nonce

Hash(Password,Nonce)

Valid Authentication Session

Utility

Identify

Nonce

Hash(Password,Nonce)

Hash(Password,Nonce')

Valid Authentication Session

Enabling Attacks (Fraud)

Replay attack

: I can replay the nonce from a previous session to

impersonate the meter.

Utility

Identify

Nonce

Hash(Password,

Nonce

)

Hash(Password,Nonce')

Replay Attack

Replay Nonce from valid session

• All subsequent messages are the same

• Attacker need not know password

(26)

Targeted Disconnect AT

Targeted

Disconnect

Directly

Issue

Disconnect

Issue from

Network

Issue via

Optical

Port

Recover

Meter

Passwords

Issue

Local

Disconnect

Tamper

with Switch

Remove

Meter

Cover

Manipulate

Switch to

Disconnect

Replace

Tamper

Seal

R1.3

R1.4

R2.1

R2.2

R2.3

AND

OR

OR

AND

AND

Determine

Target ID

or Address

Issue

Remote

Disconnect

R1.2

R1.1

AND

AND

(27)

Enabling Attacks (Disconnect)

Physical tamper “evidence”

Limited tamper seals,

which enables ...

Passwords are stored in EEPROM

Physical access to the device can yield all of the data held in

non-volatile memory,

which enables ...

Authentication secrets derived from passwords

Bypass the authentication system,

which enables ...

Issue disconnect command.

Note: if you can break the dependency chain, you can prevent the

attack, i.e., simple measures can often prevent complex attacks.

(28)

Targeted

Disconnect

Directly

Issue

Disconnect

Issue from

Network

Issue via

Optical

Port

Recover

Meter

Passwords

Issue

Local

Disconnect

Tamper

with Switch

Remove

Meter

Cover

Manipulate

Switch to

Disconnect

Replace

Tamper

Seal

R1.3 R1.4 R2.1 R2.2 R2.3 AND OR OR AND AND

Determine

Target ID

or Address

Issue

Remote

Disconnect

R1.2 R1.1 AND AND

Recover

Meter

Passwords

R1.3 / A2.1

Issue

Remote

Disconnect

R1.2

Trojan

Optical

Port

r1.1

Physically

Extract from

Meter

r1.2

Mutually

Authenticate

with Meter

r2.1

Issue

Disconnect

Command

r2.2 OR AND (AND)

Disconnect Concrete

(29)
(30)

Challenges: Logistical

Uncooperative meter vendors

Establishing standards for pen-testing, e.g. collections of

attack trees

(31)

Challenges: Methodological

Enumerating adversarial goals (security is largely

reactive)

Being comprehensive in attack tree construction

Automation of the process using existing modeling

(32)

Summary

Horizontal penetration is now essential

Transitions of major infrastructure and critical systems

mandates

external review of by-sector vulnerabilities

.

Archetypal trees are a way to get there

Focus energies on adversarial efforts leading to goals

Approaches goals of certifications like Common Criteria

Smart grid: Deployments outstripping our ability to

understand and manage vulnerabilities

Society must get ahead of problems before they lead to

potentially devastating events

Needs more back-pressure to improve deployed

(33)

Questions?

Patrick McDaniel (

[email protected]

)

Stephen McLaughlin (

[email protected]

)

Project Page: http://siis.cse.psu.edu/smartgrid.html

Papers

Stephen McLaughlin, Dmitry Podkuiko, Adam Delozier, Sergei Miadzvezhanka, and Patrick

McDaniel.

Multi-vendor Penetration Testing in the Advanced Metering Infrastructure

.

Proceedings of the 26th Annual Computer Security Applications Conference (ACSAC),

December 2010. Austin, TX.

Stephen McLaughlin, Dmitry Podkuiko, Adam Delozier, Sergei Miadzvezhanka, and Patrick

McDaniel.

Embedded Firmware Diversity for Smart Electric Meters

. Proceedings of the 5th

Workshop on Hot Topics in Security (HotSec '10), August 2010. Washington, DC.

Stephen McLaughlin, Dmitry Podkuiko, and Patrick McDaniel.

Energy Theft in the Advanced

Metering Infrastructure

. In the 4th International Workshop on Critical Information

References

Related documents

When using an S0 interface meter for multiple inverter export limitation, the meter is connected via an S0 meter adapter cable (available from SolarEdge) to one of the inverters or

In short, the Sinclair and Coulthard approach lacks a developed social orientation in failing to consider how relations of power have shaped discourse practices, and in failing

Analizom inicijativa koje nagrađuju digitalni nakladnički sadržaj utvrđene su kategorije koje kao kriterij za kategorizaciju uvode dominantnu tehnologiju pri oblikovanju

While the trial court judge did not disturb any of the jury’s findings, particularly the finding that Tyson’s use of captive supply cattle manipulated the cash market price for

A8: The Hadiah Warisan, established in 2021, is a premier award recognising the artistic excellence of an arts practitioner or activist as well as his/her contribution and

Once central stem net wood volume has been estimated by a volume equation or other means, this value becomes the basis for central stem biomass estimates of both wood and bark.

That is, the Normal players play cooperate action as long as they have a higher probability of being both players’ types to be a Normal type than a certain threshold level..

publication ("in press") in an international peer-reviewed scientific journal, the thesis shall be pre-examined prior to printing, in addition to the main supervisor also by