def con 18 - getting social with the smart grid

50
Getting Social with the Smart Grid Justin Morehouse & Tony Flick 1

Upload: justin-morehouse

Post on 26-May-2015

894 views

Category:

Technology


0 download

DESCRIPTION

Presentation given by Justin Morehouse and Tony Flick on August 1, 2010 at the DEF CON 18 Information Security Conference.

TRANSCRIPT

Page 1: DEF CON 18 - Getting Social with the Smart Grid

Getting Social with theSmart Grid

Justin Morehouse & Tony Flick

1

Page 2: DEF CON 18 - Getting Social with the Smart Grid

About usJustin Morehouse

• Lead assessment team @ large retailer

• Collector of Hawaiian named Basenjis

• Avoid conversations that start w/ "Instant Replay"and end w/ "World Cup"

Tony Flick

• Principal @ FYRM Associates, Inc.

• Known as the "Baby Face" of INFOSEC

• Denies being banned from Duke University's campus

2

Page 3: DEF CON 18 - Getting Social with the Smart Grid

Why we’re presenting

• Firm believers in "just because you can...doesn't mean you should..."

• We understand the potential benefits of a marriage between the Smart Grid and social networking...but...

• Just like everything else related to INFOSEC, we need to think about the risks/consequences before we just start tweeting, status updating, and whatever you call it when you post to myspace...if that still exists...

3

Page 4: DEF CON 18 - Getting Social with the Smart Grid

About this presentation

• Somewhat technical; somewhat theoretical

• An exercise in evangelizing common sense

• 2 main goals

• Raise awareness of where the SmartGrid and Social Networking are going(and why)

• Catch the attention of the SmartGrid decision makers so thatthey involve security pros NOW!!!

4

Page 5: DEF CON 18 - Getting Social with the Smart Grid

Obligatory Disclaimer

• Everything said, showed, implied, etc. is not the opinion of our employers, friends, dogs, Syngress, DEF CON, etc.

• These tools are for auditingyour own energy usage,not illegal behavior

• This disclaimer is notendorsed by our lawyers

5

Page 6: DEF CON 18 - Getting Social with the Smart Grid

• Conversations over NFL Sunday Ticket aboutthe press the Smart Grid was getting led toTony's Black Hat and DEF CON talkslast year

• Those talks led to "Securing the Smart Grid"book we wrote for Syngress

• A chapter in the book is dedicated to Social Networking and the Smart Grid -> The basis for this presentation

How we got involved

6

Page 7: DEF CON 18 - Getting Social with the Smart Grid

Smart Grid PrimerVia WikiPedia1

• Delivers electricity from suppliers to consumers

• Utilizes bidirectional communications

• Save energy

• Reduce cost to produce energy

• Increase reliability

• Increase transparency

Goals

7

Page 8: DEF CON 18 - Getting Social with the Smart Grid

The media’s Smart Grid

• My dishwasher will talk to the utility company and decide when is the best (cheapest for me) time to run

• My phone uses its GPS to tell my air conditioner when I leave work so it will automatically set itself to the pleasant 76 degrees that I enjoy with my welcome home glass of Maker's

• My neighbor will be busted for his growing operation based on his relatively large energy consumption when compared to the rest of his neighbors

...oh wait...that wasn't in the press...yet

8

Page 9: DEF CON 18 - Getting Social with the Smart Grid

Smart Meter deployments

165,000 as of 20092

2.3 million+ in California by the end of 20113

1 million in Miami-Dade county in 20114

9

Page 10: DEF CON 18 - Getting Social with the Smart Grid

Social Networking Primer

• Facebook has over 500 million usersas of 7/21/105

• 57 Million unique US usersSTILL use MySpace(OMFG...WTF?)6

• Twitter sends out 600+ tweets every second7

10

Page 11: DEF CON 18 - Getting Social with the Smart Grid

So why Smart Grid + SocNet?

11

Page 12: DEF CON 18 - Getting Social with the Smart Grid

How they make more $$$

• The global Smart Grid market in 2010is $23 billion8

• $3.4 billion in grants awarded byWashington in 20099

• Matched by $4.7 billion from the private sector9

• Facebook worth ~$11 billion10

• $2.2 billion spent on social networking advertising in 200911

12

Page 13: DEF CON 18 - Getting Social with the Smart Grid

How we save more $$$

• Leverage familiar platforms we already use

• It doesn't cost us anything (monetarily)

• The more we use social networks to monitor and share our energy usage, the more we will do to minimize usage and save us money

(in theory, of course)

13

Page 14: DEF CON 18 - Getting Social with the Smart Grid

Why we’ll really use it

Look how green I am = Look how cool I am + I want to save $$$

14

Page 15: DEF CON 18 - Getting Social with the Smart Grid

Why they’ll support it

Look how green we are = We have a conscience + Buy our stuff ($$$)

15

Page 16: DEF CON 18 - Getting Social with the Smart Grid

• German utility company

• Manages meters directly via consumers'home broadband connection

• Each "Yello Sparzähler" communicates withGoogle PowerMeter and has its own Twitter account

• Thought process is to be commended...but implementation needs to beensured (secured)...

• Anyone played with these yet?

How’ll they do it...

16

Page 17: DEF CON 18 - Getting Social with the Smart Grid

Commercially available

• PICOwatt

• The Energy Detective(TED)

Do-it-Yourself

• Tweet-a-watt

Social Smart Devices

17

Page 18: DEF CON 18 - Getting Social with the Smart Grid

• By Tenrehte Technologies

• Allows consumers to setup homemonitoring w/o Smart Meter

• Wi-Fi enabled embedded Linux boxesthat talk to your PC

• PC talks to Facebook or Twitter

• Won ‘Best of CES 2010 Green Tech’

• Waiting on UL and FCC approval = NOT AVAILABLE YET

• Hits shelves by the Holidays

PICOwatt

18

Page 19: DEF CON 18 - Getting Social with the Smart Grid

TED 5000

• By Energy, Inc.

• Home monitoring w/o Smart Meter byhooking up to your electrical panels

• Running AIX 4.3.2 (according to Nessus) box usesZigbee, PLC, and Ethernet

• Makes it a juicy target

• Can store up to 10 years of data

• Google PowerMeter Compatible (more to come on this...)

• Tout the ability to be accessible via the Internet (w/ some PAT of course)

19

Page 20: DEF CON 18 - Getting Social with the Smart Grid

AnalysisThe Good

• Only two ports (80/tcp & 443/tcp) running on the gateway

• Google PowerMeter setup is simple and relatively secure (ty Google)

• Some input validation

• Pretty much “READ ONLY” device

The Fail

• This !*$%king thing DOESN’T work!

• High failure rate (lmgtfy.com)

• DoS’d w/ multiple Nmap scans

• Input validation fail (...but limited attack surface)

20

Page 21: DEF CON 18 - Getting Social with the Smart Grid

Tweet-a-Watt

21

Page 22: DEF CON 18 - Getting Social with the Smart Grid

How it works

22

Page 23: DEF CON 18 - Getting Social with the Smart Grid

The Good

• Relatively inexpensive DIY ~$100

• Easy to develop for (adafruit scripts written in python)

• Won’t be hard to write secure code/fix issues

The Fail

• Each tweet passes Twitter creds in the clear

• No encryption on Xbee link

Analysis

23

Page 24: DEF CON 18 - Getting Social with the Smart Grid

Where’s the data going?

24

Page 25: DEF CON 18 - Getting Social with the Smart Grid

25

Page 26: DEF CON 18 - Getting Social with the Smart Grid

26

Page 27: DEF CON 18 - Getting Social with the Smart Grid

Where this preso becomes relevant...

If you've been paying attention, I'm sure you know where we're about to go

27

Page 28: DEF CON 18 - Getting Social with the Smart Grid

Because you can = People will

Go ahead, search Twitter for #tweetawatt...

28

Page 29: DEF CON 18 - Getting Social with the Smart Grid

If that’s not enough...

Courtesy of kjake(bet you didn’t think you’d end up on a defcon slide)

29

Page 30: DEF CON 18 - Getting Social with the Smart Grid

How about...

A house that tweets?

30

Page 31: DEF CON 18 - Getting Social with the Smart Grid

Or a Facebook app...

WattsUp (apparently not Derek)

31

Page 32: DEF CON 18 - Getting Social with the Smart Grid

Universities <3 Facebook

University of Colorado's Fiske Planetarium

32

Page 33: DEF CON 18 - Getting Social with the Smart Grid

...and Twitter too!

University of Mississippi’s Lyceum Building

33

Page 34: DEF CON 18 - Getting Social with the Smart Grid

So what’s the big deal?

Oh right...maybe sharing some type of info isn't the best idea

34

Page 35: DEF CON 18 - Getting Social with the Smart Grid

Risky Business• The more data we provide, the better able others are to

profile our behavior

• Simple profiling may allow others todetermine if you are home or not

• Criminals to steal stuff

• Law enforcement to determine your whereabouts

• Comparative profiling may provide law enforcement with probable cause

• Grow house, speakeasy, etc.

35

Page 36: DEF CON 18 - Getting Social with the Smart Grid

• As technology advances, the risk to information providers increases

• Remote controlling of devices

• Trigger based device settings

• Just think of the fun one could have!

• May not seem like a big deal now, but withjust a little bit of energy usage data harvestedfrom SocNets we had some pretty alarmingresults...

Future Implications

36

Page 37: DEF CON 18 - Getting Social with the Smart Grid

• Downloads energy usage tweets

• Profiles their energy usage to determine

• When they are home

• When they are not

37

Page 38: DEF CON 18 - Getting Social with the Smart Grid

Identifying Location

38

Page 39: DEF CON 18 - Getting Social with the Smart Grid

Identifying the Owner

39

Page 40: DEF CON 18 - Getting Social with the Smart Grid

Identifying the Owner

40

Page 41: DEF CON 18 - Getting Social with the Smart Grid

Energy Profiling

41

Page 42: DEF CON 18 - Getting Social with the Smart Grid

Energy Profiling

Home and awake

Away or asleep

42

Page 43: DEF CON 18 - Getting Social with the Smart Grid

iNrob• Predict the best time to rob the owner

• Based on historical average energy use

• Predicts when they are not home or sleeping

43

Page 44: DEF CON 18 - Getting Social with the Smart Grid

iNstalk• Predict the best time to find someone in their home

• When the person is either home and awake, or sleeping (i.e. best time to stalk them)

44

Page 45: DEF CON 18 - Getting Social with the Smart Grid

Demo

45

Page 46: DEF CON 18 - Getting Social with the Smart Grid

Future Improvements

• Support for Facebook, MySpace, etc.

• Link multiple social networking accounts to improve accuracy

• Location-based searches

• Version 1 available this week from fyrmassociates.com

46

Page 47: DEF CON 18 - Getting Social with the Smart Grid

So what now?Smart Grid Social Networking Security Checklist

• It’s all about COMMON SENSE

• 5 categories of controls

1. Identity (Account Name & Personal Information)

2. Authentication (Secure Login, Unique Password, Password Sharing, & Security Questions)

3. Information Sharing (Privacy & Third-Party App Sharing)

4. Networking (Segmentation)

5. Usage (Browsing)

47

Page 48: DEF CON 18 - Getting Social with the Smart Grid

What else?

• Get involved!

• Research, blog, tweet, smoke signal, etc.

• There are a lot worse (security) issues w/ the Smart Grid, but this one seems like an easy one to fix (prevent)

48

Page 49: DEF CON 18 - Getting Social with the Smart Grid

Thanks & QA

49

Page 50: DEF CON 18 - Getting Social with the Smart Grid

References1. http://en.wikipedia.org/wiki/Smart_grid

2. http://en.wikipedia.org/wiki/Smart_meter#United_States

3. http://www.pge.com/about/news/mediarelations/newsreleases/q2_2009/090414.shtml

4. http://www.fastcompany.com/blog/ariel-schwartz/sustainability/1-million-smart-meters-energy-smart-miami-program

5. http://www.bbc.co.uk/news/technology-10713199

6. http://www.web-strategist.com/blog/2010/01/19/a-collection-of-social-network-stats-for-2010/

7. http://mashable.com/2010/02/22/twitter-50-million-tweets/

8. http://www.visiongain.com/Report/496/The-Global-Smart-Grid-Market-2010-2020

9. http://www.csmonitor.com/USA/Politics/2009/1027/obama-awards-34-billion-in-smart-grid-grants

10. http://www.portfolio.com/views/blogs/the-tech-observer/2010/03/04/facebook-value-estimated-at-more-than-eleven-billion-dollars/

11. http://www.emarketer.com/Report.aspx?code=emarketer_2000621

50