SlideShare a Scribd company logo
1 of 48
Download to read offline
The 5 Elements of IoT
Security
Julien Vermillard - Sierra Wireless
Who am I?
Software Engineer Sierra Wireless
AirVantage.net cloud service
Eclipse IoT:
Leshan project lead
Wakaama and Californium committer
Twitter: @vrmvrm
Email: jvermillard@sierrawireless.com
Agenda
In the news
Hardware
OTA Upgrades
Secure Communication
Key Distribution
Cloud Security
Open Source IoT Infrastructure
In the news
“The killer toaster”
“The nightmare on connected home street”
“What’s wrong with connected devices”
HP Fortify 2014 IoT security report
Reviewed the most popular devices:
TVs, webcams, thermostats, power
outlets, sprinkler controllers,
hubs for controlling multiple devices,
door locks, home alarms,scales,
and garage door openers
90% collected personal data
70% used unencrypted network services
http://h20195.www2.hp.com/V2/GetDocument.aspx?docname=4AA5-4759ENW&cc=us&lc=en
Secure your hardware
Hardware security
Risks:
Rogue firmware
Invisible backdoor
Malicious certificate
Eavesdropping
Mitigation:
Secure storage
Secure boot
Drawbacks:
Vendor lock
Tivoization
Nest Example:
https://www.blackhat.com/docs/us-14/materials/us-14-Jin-Smart-Nest-Thermostat-A-Smart-Spy-In-Your-Home.pdf
You can’t secure
what you can’t update
High engineering and BoM cost!
Custom bootloader
Flash size
Flash & switch update
Firmware
V 1
Firmware
V 2
Bootloader
Reboot & Patch update
Firmware
Patch
Bootloader
Must be bulletproof
Upgrading is hard:
● NAND flash errors
● Unexpected power loss
● Network errors
● Unexpected incompatibilities
● Checksum, cryptographic signature
A 0.1% failure rate on a 1m fleet is 1000 bricked devices
Secure Communication
Cipher suite? Pre-shared key
TLS_PSK_WITH_AES_128_CCM_8
TLS_PSK_WITH_AES_128_CBC_SHA256
Client and server have a common secret
Symmetric cryptography
Tampering the device or the server give you
access to all the future and past
communications
Secure communication is not cheap
https://tools.ietf.org/html/draft-ietf-lwig-tls-minimal-01
+----------------------+-----------------+
| | DTLS |
| +--------+--------+
| | ROM | RAM |
+----------------------+--------+--------+
| State Machine | 8.15 | 1.9 |
| Cryptography | 3.3 | 1.5 |
| DTLS Record Layer | 3.7 | 0.5 |
+----------------------+--------+--------+
| TOTAL | 15.15 | 3.9 |
+----------------------+--------+--------+
Table 1: Memory Requirements in KB
Cipher suite? Public Key
TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8
TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256
Server and client don’t share private keys,
only public keys
Perfect forward secrecy: past communication
can’t be decrypted after secret compromission
X.509 Certificate
Chain-of-trust for validating identity!
No more credential provisioning
Used for HTTPS
Certificate: revocation checks
Revocation checking is still an issue in 2015:
Validity date checking: RTC? NTP?
More and more complexity on the device side:
CRL, OCSP, stapling
Hard fail? Soft fail? Certificate pinning?
Pre-shared key vs X.509?
PSK is lighter, can run on very small target
X.509 crypto is heavier: (EC)DH,ECDSA/RSA
PSK Infrastructure is simpler but weaker
(Hello SIM card key files)
X.509 Public Key Infrastructure is complex, but
can be outsourced
Key Distribution
Pre-shared key generation
Everything should be provisioned at factory?
Don’t move big plain text list of credentials
Don’t use stupid formulas:
password = MD5(IMEI + CARRIER_NOT_SO_SECRET)
https://www.blackhat.com/docs/us-14/materials/us-14-
Solnik-Cellular-Exploitation-On-A-Global-Scale-The-Rise-
And-Fall-Of-The-Control-Protocol.pdf
Secret rotation
Be sure to be ready to change them ASAP
Don’t wait the next Heartbleed for doing it
Good practice:
Changing the factory credential during the 1st
communication
Key management protocols?
Enterprise PKI for X.509: CMP, OCSP
For PSK or X.509: Lightweight M2M bootstrap
LwM2M bootstrap in a nutshell
Flash bootstrap
credentials
LwM2M bootstrap in a nutshell
I only have bootstrap
credentials or I can’t
reach final server
LwM2M bootstrap in a nutshell
POST /bs
Bootstrap Server
LwM2M bootstrap in a nutshell
Write DM
URL & credentials
Bootstrap Server
LwM2M bootstrap in a nutshell
DM ServerBootstrap Server
I have credential for
the DM server
LwM2M bootstrap in a nutshell
DM ServerBootstrap Server
POST /rd
LwM2M bootstrap in a nutshell
DM ServerBootstrap Server
Start managing the
device
Server Security
Why it’s mattering?
Risk:
Takeover of your whole device fleet
You are a juicy target
Mitigations:
More security (ex. 2 factor auth) than classical
web service
Collect only the necessary data
Isolate as much as possible web and devices
Now where I start?
Ask more time/budget?
Now you are part of the
70% unencrypted network services
Open-source to the rescue!
Eclipse IoT - Leshan
Lightweight M2M implementation in Java
A library for building:
bootstrap, and device management servers
Support DTLS PSK, RPK, (X.509 soon)
And also client for beefier devices or testing
Eclipse IoT - Leshan
Update firmware, software
Manage secrets (bootstrap)
Monitor and configure device
Can support custom object for applications
IPSO objects
Eclipse IoT - Wakaama
C implementation of Lightweight M2M
Focused on embedded
Bring your own IP stack
Bring your own DTLS implementation
Bootstrap supported
Eclipse IoT - Wakaama
You can receive packages for
firmware/software update
But you need to implement live re-flashing on
your platform
Known to be running on Linux, Arduino mega,
ARM Cortex processors
TinyDTLS | https://tindydtls.sf.net
MIT License, Eclipse proposal!
“Support session multiplexing in single-
threaded applications and thus targets
specifically on embedded systems.”
Examples for Linux, or Contiki OS
TinyDTLS
Supported ciphersuites:
TLS_PSK_WITH_AES_128_CCM_8
TLS_ECDHE_ECDSA_WITH_AES128_CCM_8
Demo!
From Toolbox
To Jump start
Thanks!
Questions?
Contact me:
@vrmvrm
jvermillard@sierrawireless.com
Blog post
+1 0 -1
Sign in: www.eclipsecon.org
Evaluate the sessions

More Related Content

What's hot

Internet of things
Internet of thingsInternet of things
Internet of thingsVikrant Negi
 
Siem ppt
Siem pptSiem ppt
Siem pptkmehul
 
5G Edge Computing IoT Presentation
5G Edge Computing IoT Presentation 5G Edge Computing IoT Presentation
5G Edge Computing IoT Presentation Rick Stomphorst
 
Internet of Things for Underground Drainage and manhole Monitoring System for...
Internet of Things for Underground Drainage and manhole Monitoring System for...Internet of Things for Underground Drainage and manhole Monitoring System for...
Internet of Things for Underground Drainage and manhole Monitoring System for...Muragesh Kabbinakantimath
 
Internet of things - challenges scopes and solutions
Internet of things - challenges scopes and solutionsInternet of things - challenges scopes and solutions
Internet of things - challenges scopes and solutionsShivam Kumar
 
Iot Security, Internet of Things
Iot Security, Internet of ThingsIot Security, Internet of Things
Iot Security, Internet of ThingsBryan Len
 
Internet of Things (IoT) Security and Privacy Recommendations by Jason Living...
Internet of Things (IoT) Security and Privacy Recommendations by Jason Living...Internet of Things (IoT) Security and Privacy Recommendations by Jason Living...
Internet of Things (IoT) Security and Privacy Recommendations by Jason Living...CableLabs
 
Cyber attacks and IT security management in 2025
Cyber attacks and IT security management in 2025Cyber attacks and IT security management in 2025
Cyber attacks and IT security management in 2025Radar Cyber Security
 
Securing the Internet of Things
Securing the Internet of ThingsSecuring the Internet of Things
Securing the Internet of ThingsSyam Madanapalli
 
Creating Trust for the Internet of Things
Creating Trust for the Internet of ThingsCreating Trust for the Internet of Things
Creating Trust for the Internet of ThingsPECB
 
presentation on Edge computing
presentation on Edge computingpresentation on Edge computing
presentation on Edge computingsairamgoud16
 
IOT-internet of thing
IOT-internet of thingIOT-internet of thing
IOT-internet of thingVISHALJAT3
 
Smart home automation - Internet of Things
Smart home automation - Internet of ThingsSmart home automation - Internet of Things
Smart home automation - Internet of ThingsVinsol
 
IoT Developer Survey 2016
IoT Developer Survey 2016IoT Developer Survey 2016
IoT Developer Survey 2016Eclipse IoT
 

What's hot (20)

Internet of things
Internet of thingsInternet of things
Internet of things
 
IoT Smart Home
IoT Smart HomeIoT Smart Home
IoT Smart Home
 
IOT Security
IOT SecurityIOT Security
IOT Security
 
Siem ppt
Siem pptSiem ppt
Siem ppt
 
5G Edge Computing IoT Presentation
5G Edge Computing IoT Presentation 5G Edge Computing IoT Presentation
5G Edge Computing IoT Presentation
 
Internet of Things for Underground Drainage and manhole Monitoring System for...
Internet of Things for Underground Drainage and manhole Monitoring System for...Internet of Things for Underground Drainage and manhole Monitoring System for...
Internet of Things for Underground Drainage and manhole Monitoring System for...
 
Internet of things - challenges scopes and solutions
Internet of things - challenges scopes and solutionsInternet of things - challenges scopes and solutions
Internet of things - challenges scopes and solutions
 
Iot Security, Internet of Things
Iot Security, Internet of ThingsIot Security, Internet of Things
Iot Security, Internet of Things
 
IoT
IoTIoT
IoT
 
Internet of Things (IoT) Security and Privacy Recommendations by Jason Living...
Internet of Things (IoT) Security and Privacy Recommendations by Jason Living...Internet of Things (IoT) Security and Privacy Recommendations by Jason Living...
Internet of Things (IoT) Security and Privacy Recommendations by Jason Living...
 
Cyber attacks and IT security management in 2025
Cyber attacks and IT security management in 2025Cyber attacks and IT security management in 2025
Cyber attacks and IT security management in 2025
 
Securing the Internet of Things
Securing the Internet of ThingsSecuring the Internet of Things
Securing the Internet of Things
 
Creating Trust for the Internet of Things
Creating Trust for the Internet of ThingsCreating Trust for the Internet of Things
Creating Trust for the Internet of Things
 
Edge computing
Edge computingEdge computing
Edge computing
 
presentation on Edge computing
presentation on Edge computingpresentation on Edge computing
presentation on Edge computing
 
Iot(security)
Iot(security)Iot(security)
Iot(security)
 
IOT-internet of thing
IOT-internet of thingIOT-internet of thing
IOT-internet of thing
 
Smart home automation - Internet of Things
Smart home automation - Internet of ThingsSmart home automation - Internet of Things
Smart home automation - Internet of Things
 
IoT Developer Survey 2016
IoT Developer Survey 2016IoT Developer Survey 2016
IoT Developer Survey 2016
 
Cyber security
Cyber security Cyber security
Cyber security
 

Similar to The 5 elements of IoT security

Schneider-Electric & NextNine – Comparing Remote Connectivity Solutions
Schneider-Electric & NextNine – Comparing Remote Connectivity SolutionsSchneider-Electric & NextNine – Comparing Remote Connectivity Solutions
Schneider-Electric & NextNine – Comparing Remote Connectivity SolutionsHoneywell
 
A modern approach to safeguarding your ICS and SCADA systems
A modern approach to safeguarding your ICS and SCADA systemsA modern approach to safeguarding your ICS and SCADA systems
A modern approach to safeguarding your ICS and SCADA systemsAlane Moran
 
Operations: Security Crash Course — Best Practices for Securing your Company
Operations: Security Crash Course — Best Practices for Securing your CompanyOperations: Security Crash Course — Best Practices for Securing your Company
Operations: Security Crash Course — Best Practices for Securing your CompanyAmazon Web Services
 
Start Up Austin 2017: Security Crash Course and Best Pratices
Start Up Austin 2017: Security Crash Course and Best PraticesStart Up Austin 2017: Security Crash Course and Best Pratices
Start Up Austin 2017: Security Crash Course and Best PraticesAmazon Web Services
 
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?Julien Vermillard
 
Nozomi Networks SCADAguardian - Data-Sheet
Nozomi Networks SCADAguardian - Data-SheetNozomi Networks SCADAguardian - Data-Sheet
Nozomi Networks SCADAguardian - Data-SheetNozomi Networks
 
Enterprise Node - Securing Your Environment
Enterprise Node - Securing Your EnvironmentEnterprise Node - Securing Your Environment
Enterprise Node - Securing Your EnvironmentKurtis Kemple
 
Security Theatre (PHP Leuven)
Security Theatre (PHP Leuven)Security Theatre (PHP Leuven)
Security Theatre (PHP Leuven)xsist10
 
Security Theatre - PHP UK Conference
Security Theatre - PHP UK ConferenceSecurity Theatre - PHP UK Conference
Security Theatre - PHP UK Conferencexsist10
 
What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?Safe Swiss Cloud
 
Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014
Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014
Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014Jakub Kałużny
 
BSides London 2015 - Proprietary network protocols - risky business on the wire.
BSides London 2015 - Proprietary network protocols - risky business on the wire.BSides London 2015 - Proprietary network protocols - risky business on the wire.
BSides London 2015 - Proprietary network protocols - risky business on the wire.Jakub Kałużny
 
Shameful secrets of proprietary network protocols
Shameful secrets of proprietary network protocolsShameful secrets of proprietary network protocols
Shameful secrets of proprietary network protocolsSlawomir Jasek
 
CONFidence 2014: Jakub Kałużny: Shameful secrets of proprietary protocols
CONFidence 2014: Jakub Kałużny: Shameful secrets of proprietary protocolsCONFidence 2014: Jakub Kałużny: Shameful secrets of proprietary protocols
CONFidence 2014: Jakub Kałużny: Shameful secrets of proprietary protocolsPROIDEA
 
SECURE SOCKET LAYER ( WEB SECURITY )
SECURE SOCKET LAYER ( WEB SECURITY )SECURE SOCKET LAYER ( WEB SECURITY )
SECURE SOCKET LAYER ( WEB SECURITY )Monodip Singha Roy
 
PPT ON WEB SECURITY BY MONODIP SINGHA ROY
PPT ON WEB SECURITY BY MONODIP SINGHA ROYPPT ON WEB SECURITY BY MONODIP SINGHA ROY
PPT ON WEB SECURITY BY MONODIP SINGHA ROYMonodip Singha Roy
 
Cozystack: Free PaaS platform and framework for building clouds
Cozystack: Free PaaS platform and framework for building cloudsCozystack: Free PaaS platform and framework for building clouds
Cozystack: Free PaaS platform and framework for building cloudsAndrei Kvapil
 
Automatski - The Internet of Things - Security in IoT
Automatski - The Internet of Things - Security in IoTAutomatski - The Internet of Things - Security in IoT
Automatski - The Internet of Things - Security in IoTautomatskicorporation
 

Similar to The 5 elements of IoT security (20)

Schneider-Electric & NextNine – Comparing Remote Connectivity Solutions
Schneider-Electric & NextNine – Comparing Remote Connectivity SolutionsSchneider-Electric & NextNine – Comparing Remote Connectivity Solutions
Schneider-Electric & NextNine – Comparing Remote Connectivity Solutions
 
Operations: Security
Operations: SecurityOperations: Security
Operations: Security
 
A modern approach to safeguarding your ICS and SCADA systems
A modern approach to safeguarding your ICS and SCADA systemsA modern approach to safeguarding your ICS and SCADA systems
A modern approach to safeguarding your ICS and SCADA systems
 
Operations: Security Crash Course — Best Practices for Securing your Company
Operations: Security Crash Course — Best Practices for Securing your CompanyOperations: Security Crash Course — Best Practices for Securing your Company
Operations: Security Crash Course — Best Practices for Securing your Company
 
Start Up Austin 2017: Security Crash Course and Best Pratices
Start Up Austin 2017: Security Crash Course and Best PraticesStart Up Austin 2017: Security Crash Course and Best Pratices
Start Up Austin 2017: Security Crash Course and Best Pratices
 
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
Iot Conference Berlin M2M,IoT, device management: one protocol to rule them all?
 
Nozomi Networks SCADAguardian - Data-Sheet
Nozomi Networks SCADAguardian - Data-SheetNozomi Networks SCADAguardian - Data-Sheet
Nozomi Networks SCADAguardian - Data-Sheet
 
Enterprise Node - Securing Your Environment
Enterprise Node - Securing Your EnvironmentEnterprise Node - Securing Your Environment
Enterprise Node - Securing Your Environment
 
Security Theatre (PHP Leuven)
Security Theatre (PHP Leuven)Security Theatre (PHP Leuven)
Security Theatre (PHP Leuven)
 
Security Theatre - PHP UK Conference
Security Theatre - PHP UK ConferenceSecurity Theatre - PHP UK Conference
Security Theatre - PHP UK Conference
 
What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?What is this DevOps thing and why do I need it?
What is this DevOps thing and why do I need it?
 
IoT Meets Security
IoT Meets SecurityIoT Meets Security
IoT Meets Security
 
Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014
Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014
Shameful Secrets of Proprietary Network Protocols - OWASP AppSec EU 2014
 
BSides London 2015 - Proprietary network protocols - risky business on the wire.
BSides London 2015 - Proprietary network protocols - risky business on the wire.BSides London 2015 - Proprietary network protocols - risky business on the wire.
BSides London 2015 - Proprietary network protocols - risky business on the wire.
 
Shameful secrets of proprietary network protocols
Shameful secrets of proprietary network protocolsShameful secrets of proprietary network protocols
Shameful secrets of proprietary network protocols
 
CONFidence 2014: Jakub Kałużny: Shameful secrets of proprietary protocols
CONFidence 2014: Jakub Kałużny: Shameful secrets of proprietary protocolsCONFidence 2014: Jakub Kałużny: Shameful secrets of proprietary protocols
CONFidence 2014: Jakub Kałużny: Shameful secrets of proprietary protocols
 
SECURE SOCKET LAYER ( WEB SECURITY )
SECURE SOCKET LAYER ( WEB SECURITY )SECURE SOCKET LAYER ( WEB SECURITY )
SECURE SOCKET LAYER ( WEB SECURITY )
 
PPT ON WEB SECURITY BY MONODIP SINGHA ROY
PPT ON WEB SECURITY BY MONODIP SINGHA ROYPPT ON WEB SECURITY BY MONODIP SINGHA ROY
PPT ON WEB SECURITY BY MONODIP SINGHA ROY
 
Cozystack: Free PaaS platform and framework for building clouds
Cozystack: Free PaaS platform and framework for building cloudsCozystack: Free PaaS platform and framework for building clouds
Cozystack: Free PaaS platform and framework for building clouds
 
Automatski - The Internet of Things - Security in IoT
Automatski - The Internet of Things - Security in IoTAutomatski - The Internet of Things - Security in IoT
Automatski - The Internet of Things - Security in IoT
 

More from Julien Vermillard

Hands on with lightweight m2m and Eclipse Leshan
Hands on with lightweight m2m and Eclipse LeshanHands on with lightweight m2m and Eclipse Leshan
Hands on with lightweight m2m and Eclipse LeshanJulien Vermillard
 
Hands on with CoAP and Californium
Hands on with CoAP and CaliforniumHands on with CoAP and Californium
Hands on with CoAP and CaliforniumJulien Vermillard
 
M2M, IOT, Device Managment: COAP/LWM2M to rule them all?
M2M, IOT, Device Managment: COAP/LWM2M to rule them all?M2M, IOT, Device Managment: COAP/LWM2M to rule them all?
M2M, IOT, Device Managment: COAP/LWM2M to rule them all?Julien Vermillard
 
IoT Toulouse : introduction à mqtt
IoT Toulouse : introduction à mqttIoT Toulouse : introduction à mqtt
IoT Toulouse : introduction à mqttJulien Vermillard
 
M2M, IoT, Device management: one protocol to rule them all? - EclipseCon 2014
M2M, IoT, Device management: one protocol to rule them all? - EclipseCon 2014M2M, IoT, Device management: one protocol to rule them all? - EclipseCon 2014
M2M, IoT, Device management: one protocol to rule them all? - EclipseCon 2014Julien Vermillard
 
Introduction to CoAP the REST protocol for M2M
Introduction to CoAP the REST protocol for M2MIntroduction to CoAP the REST protocol for M2M
Introduction to CoAP the REST protocol for M2MJulien Vermillard
 

More from Julien Vermillard (6)

Hands on with lightweight m2m and Eclipse Leshan
Hands on with lightweight m2m and Eclipse LeshanHands on with lightweight m2m and Eclipse Leshan
Hands on with lightweight m2m and Eclipse Leshan
 
Hands on with CoAP and Californium
Hands on with CoAP and CaliforniumHands on with CoAP and Californium
Hands on with CoAP and Californium
 
M2M, IOT, Device Managment: COAP/LWM2M to rule them all?
M2M, IOT, Device Managment: COAP/LWM2M to rule them all?M2M, IOT, Device Managment: COAP/LWM2M to rule them all?
M2M, IOT, Device Managment: COAP/LWM2M to rule them all?
 
IoT Toulouse : introduction à mqtt
IoT Toulouse : introduction à mqttIoT Toulouse : introduction à mqtt
IoT Toulouse : introduction à mqtt
 
M2M, IoT, Device management: one protocol to rule them all? - EclipseCon 2014
M2M, IoT, Device management: one protocol to rule them all? - EclipseCon 2014M2M, IoT, Device management: one protocol to rule them all? - EclipseCon 2014
M2M, IoT, Device management: one protocol to rule them all? - EclipseCon 2014
 
Introduction to CoAP the REST protocol for M2M
Introduction to CoAP the REST protocol for M2MIntroduction to CoAP the REST protocol for M2M
Introduction to CoAP the REST protocol for M2M
 

Recently uploaded

Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxMario
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119APNIC
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predieusebiomeyer
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书rnrncn29
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书rnrncn29
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa494f574xmv
 
ETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxNIMMANAGANTI RAMAKRISHNA
 
Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxmibuzondetrabajo
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxDyna Gilbert
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxAndrieCagasanAkio
 

Recently uploaded (11)

Company Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptxCompany Snapshot Theme for Business by Slidesgo.pptx
Company Snapshot Theme for Business by Slidesgo.pptx
 
IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119IP addressing and IPv6, presented by Paul Wilson at IETF 119
IP addressing and IPv6, presented by Paul Wilson at IETF 119
 
SCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is prediSCM Symposium PPT Format Customer loyalty is predi
SCM Symposium PPT Format Customer loyalty is predi
 
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
『澳洲文凭』买詹姆士库克大学毕业证书成绩单办理澳洲JCU文凭学位证书
 
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
『澳洲文凭』买拉筹伯大学毕业证书成绩单办理澳洲LTU文凭学位证书
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
Film cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasaFilm cover research (1).pptxsdasdasdasdasdasa
Film cover research (1).pptxsdasdasdasdasdasa
 
ETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptxETHICAL HACKING dddddddddddddddfnandni.pptx
ETHICAL HACKING dddddddddddddddfnandni.pptx
 
Unidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptxUnidad 4 – Redes de ordenadores (en inglés).pptx
Unidad 4 – Redes de ordenadores (en inglés).pptx
 
Top 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptxTop 10 Interactive Website Design Trends in 2024.pptx
Top 10 Interactive Website Design Trends in 2024.pptx
 
TRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptxTRENDS Enabling and inhibiting dimensions.pptx
TRENDS Enabling and inhibiting dimensions.pptx
 

The 5 elements of IoT security

  • 1. The 5 Elements of IoT Security Julien Vermillard - Sierra Wireless
  • 2. Who am I? Software Engineer Sierra Wireless AirVantage.net cloud service Eclipse IoT: Leshan project lead Wakaama and Californium committer Twitter: @vrmvrm Email: jvermillard@sierrawireless.com
  • 3. Agenda In the news Hardware OTA Upgrades Secure Communication Key Distribution Cloud Security Open Source IoT Infrastructure
  • 4. In the news “The killer toaster” “The nightmare on connected home street” “What’s wrong with connected devices”
  • 5. HP Fortify 2014 IoT security report Reviewed the most popular devices: TVs, webcams, thermostats, power outlets, sprinkler controllers, hubs for controlling multiple devices, door locks, home alarms,scales, and garage door openers 90% collected personal data 70% used unencrypted network services http://h20195.www2.hp.com/V2/GetDocument.aspx?docname=4AA5-4759ENW&cc=us&lc=en
  • 7. Hardware security Risks: Rogue firmware Invisible backdoor Malicious certificate Eavesdropping Mitigation: Secure storage Secure boot Drawbacks: Vendor lock Tivoization Nest Example: https://www.blackhat.com/docs/us-14/materials/us-14-Jin-Smart-Nest-Thermostat-A-Smart-Spy-In-Your-Home.pdf
  • 8. You can’t secure what you can’t update
  • 9. High engineering and BoM cost! Custom bootloader Flash size
  • 10. Flash & switch update Firmware V 1 Firmware V 2 Bootloader
  • 11. Reboot & Patch update Firmware Patch Bootloader
  • 12. Must be bulletproof Upgrading is hard: ● NAND flash errors ● Unexpected power loss ● Network errors ● Unexpected incompatibilities ● Checksum, cryptographic signature A 0.1% failure rate on a 1m fleet is 1000 bricked devices
  • 14. Cipher suite? Pre-shared key TLS_PSK_WITH_AES_128_CCM_8 TLS_PSK_WITH_AES_128_CBC_SHA256 Client and server have a common secret Symmetric cryptography Tampering the device or the server give you access to all the future and past communications
  • 15. Secure communication is not cheap https://tools.ietf.org/html/draft-ietf-lwig-tls-minimal-01 +----------------------+-----------------+ | | DTLS | | +--------+--------+ | | ROM | RAM | +----------------------+--------+--------+ | State Machine | 8.15 | 1.9 | | Cryptography | 3.3 | 1.5 | | DTLS Record Layer | 3.7 | 0.5 | +----------------------+--------+--------+ | TOTAL | 15.15 | 3.9 | +----------------------+--------+--------+ Table 1: Memory Requirements in KB
  • 16. Cipher suite? Public Key TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256 Server and client don’t share private keys, only public keys Perfect forward secrecy: past communication can’t be decrypted after secret compromission
  • 17. X.509 Certificate Chain-of-trust for validating identity! No more credential provisioning Used for HTTPS
  • 18. Certificate: revocation checks Revocation checking is still an issue in 2015: Validity date checking: RTC? NTP? More and more complexity on the device side: CRL, OCSP, stapling Hard fail? Soft fail? Certificate pinning?
  • 19. Pre-shared key vs X.509? PSK is lighter, can run on very small target X.509 crypto is heavier: (EC)DH,ECDSA/RSA PSK Infrastructure is simpler but weaker (Hello SIM card key files) X.509 Public Key Infrastructure is complex, but can be outsourced
  • 21. Pre-shared key generation Everything should be provisioned at factory? Don’t move big plain text list of credentials Don’t use stupid formulas: password = MD5(IMEI + CARRIER_NOT_SO_SECRET) https://www.blackhat.com/docs/us-14/materials/us-14- Solnik-Cellular-Exploitation-On-A-Global-Scale-The-Rise- And-Fall-Of-The-Control-Protocol.pdf
  • 22. Secret rotation Be sure to be ready to change them ASAP Don’t wait the next Heartbleed for doing it Good practice: Changing the factory credential during the 1st communication
  • 23. Key management protocols? Enterprise PKI for X.509: CMP, OCSP For PSK or X.509: Lightweight M2M bootstrap
  • 24. LwM2M bootstrap in a nutshell Flash bootstrap credentials
  • 25. LwM2M bootstrap in a nutshell I only have bootstrap credentials or I can’t reach final server
  • 26. LwM2M bootstrap in a nutshell POST /bs Bootstrap Server
  • 27. LwM2M bootstrap in a nutshell Write DM URL & credentials Bootstrap Server
  • 28. LwM2M bootstrap in a nutshell DM ServerBootstrap Server I have credential for the DM server
  • 29. LwM2M bootstrap in a nutshell DM ServerBootstrap Server POST /rd
  • 30. LwM2M bootstrap in a nutshell DM ServerBootstrap Server Start managing the device
  • 32. Why it’s mattering? Risk: Takeover of your whole device fleet You are a juicy target Mitigations: More security (ex. 2 factor auth) than classical web service Collect only the necessary data Isolate as much as possible web and devices
  • 33. Now where I start?
  • 35.
  • 36. Now you are part of the 70% unencrypted network services
  • 38. Eclipse IoT - Leshan Lightweight M2M implementation in Java A library for building: bootstrap, and device management servers Support DTLS PSK, RPK, (X.509 soon) And also client for beefier devices or testing
  • 39. Eclipse IoT - Leshan Update firmware, software Manage secrets (bootstrap) Monitor and configure device Can support custom object for applications IPSO objects
  • 40. Eclipse IoT - Wakaama C implementation of Lightweight M2M Focused on embedded Bring your own IP stack Bring your own DTLS implementation Bootstrap supported
  • 41. Eclipse IoT - Wakaama You can receive packages for firmware/software update But you need to implement live re-flashing on your platform Known to be running on Linux, Arduino mega, ARM Cortex processors
  • 42. TinyDTLS | https://tindydtls.sf.net MIT License, Eclipse proposal! “Support session multiplexing in single- threaded applications and thus targets specifically on embedded systems.” Examples for Linux, or Contiki OS
  • 44. Demo!
  • 48. +1 0 -1 Sign in: www.eclipsecon.org Evaluate the sessions