THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder,...

47
@pzfreo #hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher [email protected] @pzfreo

Transcript of THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder,...

Page 1: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

THE IDENTITY OF THINGSPaul FremantleCo-Founder, [email protected]@pzfreo

Page 2: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Firstly, does it even matter?

Page 3: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Page 4: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Three rules for IoT security• 1. Don’t be stupid

• 2. Be smart

• 3. Think about what’s different

Page 5: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Three rules for IoT security• 1. Don’t be stupid

• The basics of Internet security haven’t gone away• 2. Be smart

• Use the best practice from the Internet• 3. Think about what’s different

• What are the unique challenges of your device?

Page 6: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Page 7: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

http://www.forbes.com/sites/kashmirhill/2013/07/26/smart-homes-hack/

Page 8: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

1998• Realized that session cookies needed to be tied to user

sessions• Scenario: Attacker has a valid login, but changes their cookie• Gets access to another user’s account

Page 9: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

February 2015Mosquitto MQTT Server 1.4 Release Notes• When a durable client reconnects, its queued messages

are now checked against ACLs in case of a change in username/ACL state since it last connected.

Page 10: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Page 11: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

So what is different about IoT?• The longevity of the device

• Updates are harder (or impossible)• The size of the device

• Capabilities are limited – especially around crypto• The fact there is a device

• Usually no UI for entering userids and passwords• The data

• Often highly personal• The mindset

• Appliance manufacturers don’t think like security experts• Embedded systems are often developed by grabbing existing

chips, designs, etc

Page 12: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Physical Hacks

A Practical Attack on the MIFARE Classic: http://www.cs.ru.nl/~flaviog/publications/Attack.MIFARE.pdfKarsten Nohl and Henryk Plotz. MIFARE, Little Security, Despite Obscurity

Page 13: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Page 14: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Or try this at home?http://freo.me/1g15BiG

Page 15: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworldhttp://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-630.html

Page 16: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Sensor Fingerprints

Page 17: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Ubertooth

http://ubertooth.sourceforge.net/https://www.usenix.org/conference/woot13/workshop-program/presentation/ryan

Page 18: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Hardware recommendations• Don’t rely on obscurity

Page 19: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Hardware recommendations• Don’t rely on obscurity• Don’t rely on obscurity• Don’t rely on obscurity• Don’t rely on obscurity• Don’t rely on obscurity• Don’t rely on obscurity• Don’t rely on obscurity

Page 20: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Hardware Recommendation #2• Unlocking a single device should risk only that device’s

data

Page 21: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

SecurityCharacteristic

Device / Hardware Network Cloud / Server-Side

Confidentiality Hardware attacks Encryption with low capability devices

Privacy concerns

Integrity Spoofing;Lack of attestation

Signatures with low capability devices

As usual

Availability Physical attacks;Radio jamming

Unreliable networks

As normal

Authentication Lack of user input;Hardware retrieval of keys

Challenges of using federated identity

Lack of standards around DeviceIdentity

Access Control Physical access;Lack of local authentication

As usual User managed access controls needed

Non-Repudiation No secure localstorage; Low capability devices

Signatures with low capability devices

As normal

Page 22: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Problem statement• “Consumers, not companies, own the data collected by Internet of

Things devices.” Limor Fried• Privacy: “Users must be empowered to execute effective controls

over their personal information” Cavoukian

https://www.flickr.com/photos/opensourceway

Page 23: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

PRIVACY BY DESIGN• Proactive not Reactive; Preventative not Remedial• Privacy as the Default Setting• Privacy Embedded into Design• Full Functionality – Positive-Sum, not Zero-Sum• End-to-End Security – Full Lifecycle Protection• Visibility and Transparency – Keep it Open• Respect for User Privacy – Keep it User-Centric

Page 24: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

IDENTITY IS THE NEW PERIMETER

Page 25: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Page 26: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Identity as a perimeter• Security controls based on identity

• Not location• Not IP address• Not VPN

• However, this raises questions of anonymity and tracking

Page 27: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Requirements for Identity and Privacy of Things• Federated

• Your choice of provider

• Scalable• Capable of coping with billions of devices

• User Managed• Users get to control what data is shared and with whom

• Secure• Not broken yet!

Page 28: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Passwords• Passwords suck for humans• They suck even more for devices

Page 29: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Page 30: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Page 31: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Why Federated Identity for IoT?• Can enable a meaningful consent mechanism for sharing

of device data• Giving a device a token to use on API calls better than

giving it a password• Revokable• Granular

• May be relevant for both• Device to cloud• Cloud to app

Page 32: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Dynamic Client Registration• Solves the problem of “Breaking one device breaks them

all”• A RESTful API (part of OpenID Connect)• Allows a manufacturing process to get fresh credentials

for each device• https://openid.net/specs/openid-connect-registration-

1_0.html

Page 33: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

More information

https://www.researchgate.net/publication/264347555_Federated_Identity_and_Access_Management_for_the_Inernet_of_Things

https://www.researchgate.net/publication/274897865_Web_API_Management_Meets_the_Internet_of_Things

Page 34: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Why really?

Your IoT data privacy should not rely on the maker of a specific device

Page 35: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Uber, the taxi-ordering app, can use more sophisticated technology to track people than the police, according to Britain’s top officer.

Page 36: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Uber admitted employees abused God View

Page 37: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

What is the value of connection?

Page 38: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

The current situation

Majority of IoT networks today

Private API

Device

Web systems:Ecosystems, On-demand signup,rich set of clients

Page 39: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Hyperconnected• My definition

• When each device is potentially linked to every other device

Page 40: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

De-anonymization

Page 41: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworldhttps://firstlook.org/theintercept/2015/07/01/nsas-google-worlds-private-communications/

Page 42: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Are you creating the next privacy breach?

Page 43: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Page 44: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Page 45: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

The IoT Dog Collar - Whistle

Page 46: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

https://www.flickr.com/photos/themacinator/On the Internet of Things,

no-one knows you are a dog-collar.

Page 47: THE IDENTITY OF THINGS - EEMA · @pzfreo#hypworld THE IDENTITY OF THINGS Paul Fremantle Co-Founder, WSO2 Researcher paul.fremantle@port.ac.uk @pzfreo

@pzfreo #hypworld

Thank you!

https://www.flickr.com/photos/nateone