iot summit - building flexible & secure iot solutions

20
Building flexible and secure IoT solutions IoT summit December 2016 Nicolas Bacca @btchip

Upload: eric-larcheveque

Post on 19-Jan-2017

119 views

Category:

Devices & Hardware


1 download

TRANSCRIPT

Page 1: IoT summit - Building flexible & secure IoT solutions

Building flexible and secure IoT solutions

IoT summitDecember 2016

Nicolas Bacca @btchip

Page 2: IoT summit - Building flexible & secure IoT solutions

A trust layer between the blockchain and the physical world

For industrials, enterprises and consumers

Securing the first and last mile

LEDGER TECHNOLOGY

Page 3: IoT summit - Building flexible & secure IoT solutions

Without trust, data has no actionable value

node

node

node

node

nodeCloud servers

User on a PC or a smartphone Industrial

sensor / IoT

node

node node

Connected object

Blockchain/ITtrusted zone

Physical worldabsence of trust

Is this really you?

Am I allowed to execute this transaction?

Critical temperature data

Did the driver got switched?

Page 4: IoT summit - Building flexible & secure IoT solutions

Security issues : development and deployment

Trust and low cost production chain are conflicting issues

How to provision secrets

How to verify that a device is genuine

Page 5: IoT summit - Building flexible & secure IoT solutions

Security issues : runtime

Protect against invalid data fed to the solution (bug or fraud, Dieselgate)

Protect against software hacks and exploits

Protect against physical attacks

Page 6: IoT summit - Building flexible & secure IoT solutions

Security issues : firmware upgrades

How to deploy the firmware

How to verify the firmware integrity

How to avoid compromising a whole batch (see http://iotworm.eyalro.net/)

Page 7: IoT summit - Building flexible & secure IoT solutions

The ubiquitous Safe

Best technical solution for at scale (CHEAP) secure deployment

Best technical solution against physical attacks (theft, evil maid)

Page 8: IoT summit - Building flexible & secure IoT solutions

A configurable Safe

Lot of resources invested in secure remote management

Great portability of Java Card, at least on paper

Page 9: IoT summit - Building flexible & secure IoT solutions

Sweet spot yet to be found

More security

More flexiblity

Generic MCU MPU Crypto

accel. Enclaves

16 bits smartcard

ARM SecureCore

Additional I/Os

Page 10: IoT summit - Building flexible & secure IoT solutions

In the meantime

Build a flexible platform to accommodate different design choices

Build on top of the smartcard security & ecosystem whenever (cost) possible

Create Plug and Play security upgrades for existing projects

Page 11: IoT summit - Building flexible & secure IoT solutions

Default IoT object architecture

Software, hardware vulnerabilities

Trust the environment

MCUSensors

Page 12: IoT summit - Building flexible & secure IoT solutions

More secure IoT object architecture

Software, (less) hardware vulnerabilities

Can be leveraged as an oracle

MCU (master)Sensors

Security chip (slave)

Stateless security operations

Page 13: IoT summit - Building flexible & secure IoT solutions

Ledger BOLOS architecture

Security built in on the most secure component

MCU (slave)Sensors

Security chip (master)

Stateless I/O requests

Tamper evident logic(shield, MEMS)

Tamper notification

Page 14: IoT summit - Building flexible & secure IoT solutions

Ledger first Hardware Oracle

Cryptographically attestable anti-tampering sensors

■ Secure chip ST31G480 (CC EAL6+)■ Sensor■ 3 axis anti-tampering MEMS■ USB interface for blockchain computer

Page 15: IoT summit - Building flexible & secure IoT solutions

Ledger platform architecture

Trusted / Secure component (Secure Element or enclave) with limited I/O options

Non trusted component with more I/O options

Screen

Direct control from the Trusted component, proxied

Pairing at boot time

User app 1

User app 2

Button

Sensor

USB

Page 16: IoT summit - Building flexible & secure IoT solutions

Native ARM implementation

Native application 1

Native application 2

Native application 3

MicrokernelSecretdata

MMU lock

User modeSupervisor mode

System call

UI application

Page 17: IoT summit - Building flexible & secure IoT solutions

BOLOS platform APIs summary

Remote Applications (or scriptlets) Management

Sound cryptographic APIs (acceleration / power analysis / side channel resistance)

Auditable (Open Source SDK, non secure kernel)

Portability (Secure Element, Enclave, Enclave OS app, MCU)

Page 18: IoT summit - Building flexible & secure IoT solutions

Comparison of different BOLOS implementations

Security Cost Efficient Flexibility

Secure Element ++ - ++

Enclave + + +

Enclave OS app + - -

MCU - ++ +

Page 19: IoT summit - Building flexible & secure IoT solutions

Getting started with development

IoT development board to be announced

Nano-S resources : compiler and SDK - https://github.com/ledgerhq/ledger-nano-s

Sample applications : https://github.com/LedgerHQ/blue-sample-apps

Documentation in progress : http://ledger.readthedocs.io/

Developer Slack : http://slack.ledger.co

Documentation is getting put together, so don’t hesitate to ask on Slack

Page 20: IoT summit - Building flexible & secure IoT solutions

Thank you @btchip