Top Banner
Security the IoT World!
59
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Io t slides_iotvillage

Security the IoT World!

Page 2: Io t slides_iotvillage

Hello!I am Aaron Guzman PentesterChapter Leader for OWASP CSA HTCIAYou can find me at:@scriptingxss

Page 3: Io t slides_iotvillage

Agenda

The BasicsIoT?

The conceptsDigging a little deeper

Supply ChainPush out those ideas to market

The realitiesNumbers on the rise

The issuesPfft...whats security? But wait, my privacy

The ResolutionsSaving the world

Page 4: Io t slides_iotvillage

The BasicsIoT

What Exactly is IoT?

Page 5: Io t slides_iotvillage

“The Internet of Things (IoT) is

the network of physical objects that contain embedded

technology to communicate and sense or interact with their internal states or the external

environment..Source: http://www.gartner.com/it-glossary/internet-of-things/

Page 7: Io t slides_iotvillage

The ConceptsIoT

Digging a little deeper

Page 8: Io t slides_iotvillage

Hardware

Page 9: Io t slides_iotvillage

IoT OS and Frameworks

Page 10: Io t slides_iotvillage

Platform = The Cloud

Page 11: Io t slides_iotvillage
Page 12: Io t slides_iotvillage

Protocols for Communication

❏ Zigbee❏ Wi-Fi❏ NFC❏ Z-Wave❏ CoAP❏ 6LoPAN❏ XMPP❏ BLe❏ SOAP❏ REST❏ MQTT❏ Lutron❏ RFID❏ GSM

Page 13: Io t slides_iotvillage
Page 14: Io t slides_iotvillage

Hubs

Page 15: Io t slides_iotvillage

4.9 BillionConnected Devices in 2015

Source:http://www.gartner.com/newsroom/id/2905717

Page 16: Io t slides_iotvillage

PadsLeadsTracesSilkscreensAnalog vs DigitalLayers (4)Reflow

PCB

source: https://learn.sparkfun.com/tutorials/electronics-assembly

Page 17: Io t slides_iotvillage

❏ VxWorks❏ Marvell❏ Broadcom❏ Texas Instruments❏ Intel❏ AMD❏ NXP★ Create the device

drivers

Board Support Packages (BSP)

Page 18: Io t slides_iotvillage

Original Design Manufacturer (ODM)

❏ designs and manufactures a product❏ eventually rebranded by another firm for sale❏ allow the brand firm to produce (either as a

supplement or solely) without having to engage in the organization or running of a factory.

❏ own cloud infrastructures for customers❏ Provide SDKs

★ Many ODMs in China★ A dime a dozen

http://en.wikipedia.org/wiki/Original_design_manufacturer

Page 19: Io t slides_iotvillage

Cloud Service Providers

❏ Amazon❏ Microsoft❏ Google❏ Thingsworx❏ ODM Clouds❏ Have their own SDKs❏ Who knows where else?

http://en.wikipedia.org/wiki/Original_design_manufacturer

Page 20: Io t slides_iotvillage

Original Equipment Manufacturer (OEM)

❏ Manufacturers who resell another company's product under their own name and branding.

❏ Offers its own warranty, support and licensing of the product.

http://en.wikipedia.org/wiki/Original_design_manufacturer

Page 21: Io t slides_iotvillage

IoT Supply Chain Process

BSP ODM OEM

★ Each likely to outsource development work and have multiple teams

CSP

Page 22: Io t slides_iotvillage

Keep in Mind

Page 23: Io t slides_iotvillage

Hardware comes from everywhere

Page 24: Io t slides_iotvillage

PMs

Primary Roles

Sales Engineers

Page 25: Io t slides_iotvillage

Supply Chain Process (Cont)

Sales★ Get the

business★ Outreach★ Create

relationships

PM’s★ Prioritizes ★ Objective

Based★ Project

specific to engineer team

Engineers★ Write Code★ May not be a

big team★ Different

workflows per dev team

★ Split up into features. I.E UI team, UX team, backend, Android, iOS

Page 26: Io t slides_iotvillage
Page 27: Io t slides_iotvillage

Anyone Looking at Security??

Page 28: Io t slides_iotvillage
Page 29: Io t slides_iotvillage

Vectors❏ UART❏ JTAG❏ EEPROM❏ SPI❏ SOIC ❏ I2C

Tools❏ Shikra (UART SPI JTAG)❏ Bus Pirate❏ JTagulator❏ GoodFET❏ flashrom❏ EE Tools ❏ Chipquick

Hardware Security (Exploitation)

Source:my linksys 1900ac :)

Page 30: Io t slides_iotvillage

Common❏ TCP❏ ToolChains (Libs)❏ UART❏ JTAG❏ Layer 7❏ EEPROM❏ Bluetooth

Less Common❏ TCP❏ Flash❏ GSM❏ GPS❏ I2C❏ Kernel (115 CVEs 2014)

Embedded Security

Source:http://lwn.net/talks/2015/kr-lca-2015.pdf

Page 31: Io t slides_iotvillage

Wireless Security aka RF❏ Zigbee (2.4GHZ 915MHZ)

❏ Killerbee Framework

❏ Soon Xipiter’s “RFCat Zigbee”

❏ Atmel❏ 802.11

❏ Hundreds of tools❏ Z-Wave

❏ Z-force❏ Bluetooth LE

❏ nRF51822 - v1.0❏ Proprietary bands

❏ TI C1111

Page 32: Io t slides_iotvillage

First time sniffing BLE traffic

source:http://securityreactions.tumblr.com/

Page 33: Io t slides_iotvillage

Android App Security❏ Webview Security

❏ Privacy❏ Client-side Inject

❏ AndroidManifest.xml❏ Permissions

❏ Activities, Broadcast Receivers, Services

❏ Android APIs❏ Memory Security❏ addJavascriptInterface

❏ Secure Storage❏ Transport Security

❏ SSL Pinning

Page 34: Io t slides_iotvillage

iPhone App Security❏ UIWebView Security

❏ Privacy❏ Client-side Inject

❏ Data Protection❏ Cloud API security❏ iOS SDK API

❏ Memory Security❏ Injection Attacks❏ Memory Corruption❏ Transport Security

❏ SSL Pinning❏ Blackbox

Assessments❏ Logging❏ Homekit

Page 35: Io t slides_iotvillage

❏ Network Security❏ ACLs

❏ Systems ❏ DB❏ Web servers❏ LBs❏ Daemons

❏ Application Security❏ Language ❏ Frameworks❏ 3rd Party Libs

Web App / Operational Security

A lot of work!!!....

Page 36: Io t slides_iotvillage

❏ Windows

❏ OSX

❏ Old School CD setup

❏ Data storage

❏ Data permissions

❏ Persistence

Desktop Apps

Page 37: Io t slides_iotvillage

source:http://securityreactions.tumblr.com/

Page 38: Io t slides_iotvillage

source:http://securityreactions.tumblr.com/

Page 39: Io t slides_iotvillage

Known Security

Downfalls

Page 40: Io t slides_iotvillage

source:http://securityreactions.tumblr.com/

Page 41: Io t slides_iotvillage

“Because computers go through so many hands before they’re

delivered to you, there’s a serious concern that anyone could backdoor the computer

without your knowledgeSource: Jonathan Brossard-http://resources.infosecinstitute.com/hardware-attacks-backdoors-and-electronic-component-qualification/

Page 42: Io t slides_iotvillage

What not to do

❏ UART pins exposed unauthenticated or using simple passwords

❏ Manufacturing Debugging Scripts❏ Backdoors using secret user agents❏ Private Keys on devices (Dont rely on

obscurity)❏ Default Passwords★ Ton of other backdoors from software

down to HDL code in the chipset

Page 43: Io t slides_iotvillage

Secure It Already (Embedded)

❏ Restrict Shell with tamper resistant epoxy and silk screen

❏ Very long passwds❏ Update Kernel and

Packages❏ Harden OS by

removing unused code

❏ Secure updates❏ Secure C Functions❏ Verify and test

code

Page 44: Io t slides_iotvillage
Page 45: Io t slides_iotvillage

Regulatory Impact

Page 46: Io t slides_iotvillage

“Implement “security by

design.” Rather than grafting security on as an afterthought, build it into your products or services at the outset of your

planning processSource:https://www.ftc.gov/system/files/documents/plain-language/pdf0199-carefulconnections-buildingsecurityinternetofthings.pdf

Page 47: Io t slides_iotvillage

FTC and EU Commission

❏ Privacy By Design❏ Security By Design❏ Categorization of IoT devices❏ Biggest Consumer Protection

http://www.ftc.gov/news-events/press-releases/2013/04/ftc-seeks-input-privacy-and-security-implications-internet-things

Page 48: Io t slides_iotvillage
Page 49: Io t slides_iotvillage
Page 50: Io t slides_iotvillage
Page 51: Io t slides_iotvillage
Page 52: Io t slides_iotvillage
Page 53: Io t slides_iotvillage

Something is Missing

Page 54: Io t slides_iotvillage

IoT Supply ChainHow can we make it more secure?

Page 55: Io t slides_iotvillage

Fixing The IoT

❏ LIABILITY!❏ Security service agreements with ODMs❏ Legal repercussions❏ Community Projects❏ Security Awareness❏ Security Processes into SDLC❏ A common certification standard (Wi-FI &

Zigbee)

★ Realistic? ……… Maybe

Page 56: Io t slides_iotvillage

Defense in Depth!!!

Page 57: Io t slides_iotvillage

How to help

Page 58: Io t slides_iotvillage
Page 59: Io t slides_iotvillage

Thanks!

Any questions?

You can find me at:@scriptingxss

[email protected]