SlideShare a Scribd company logo
ZIGBEE EXPLOITED
SEBASTIAN STROBL
THE GOOD, THE BAD AND THE UGLY
2
SEBASTIAN STROBL
• Principal Auditor @Cognosec in Vienna
• Plans and leads various types of IT audits
• Still trying to get his HD drone vision to work
• Currently uses Z-Wave for Home Automation until we manage to break it too
ABOUT ME
ZIGBEE EXPLOITED
3
ZIGBEE EXPLOITED
AGENDA
• Introduction
• ZigBee Security Measures
- The good
• ZigBee Application Profiles
- The bad
• ZigBee Implementations
- The ugly
• Demonstration
• Summary
ZIGBEE EXPLOITED
ZIGBEE EXPLOITED
WHAT IT’S ALL ABOUT
ZIGBEE EXPLOITED
5
ZigBee
Based on IEEE
802.15.4
Low-cost
Low-power
Two-way
Reliable
Wireless
6
ZigBee
Application
Domains
Remote
Control
Building
Automation
Home
Automation
Health Care
Smart Energy
Retail Services
Telecom
Services
ZIGBEE EXPLOITED
7
• Trend is wireless connections
• Samsung CEO BK Yoon - “Every Samsung device will be
part of IoT till 2019” 3
• Over 500 smart device per household in 2022 1
1 http://www.gartner.com/newsroom/id/2839717
2 http://www.gartner.com/newsroom/id/2636073
3 http://www.heise.de/newsticker/meldung/CES-Internet-der-Dinge-komfortabel-
vernetzt-2512856.html
0.9
billion
26
billion
0
5,000,000,000
10,000,000,000
15,000,000,000
20,000,000,000
25,000,000,000
30,000,000,000
2009 2020
Number of IoT DevicesWHY IS IT IMPORTANT?
ZIGBEE EXPLOITED
8
WHY SECURITY?
• HOME automation has high privacy
requirements
• Huge source of personalized data
Items of interest will be located,
identified, monitored,and remotely
controlled through technologiessuch as
radio-frequency identification,sensor
networks, tiny embedded servers, and
energy harvesters- all connected to the
next-generation internet1
-Former CIA Director
David Petraeus"
ZIGBEE EXPLOITED
ZIGBEE EXPLOITED
ZIGBEE SECURITY MEASURES
- THE GOOD
10
ZIGBEE SECURITY MEASURES
Security Measures
Symmetric
Encryption
Message
Authentication
Integrity
Protection
Replay
Protection
AES-CCM*
128bit
MIC
0 - 128 bit
Frame Counter
4 Byte
ZIGBEE EXPLOITED
ZIGBEE EXPLOITED
11
ZIGBEE SECURITY
• One security level per network
• Security based on encryption keys
• Network Key: Used for broadcast communication, Shared among all devices
• Link Key: Used for secure unicast communication, Shared only between two devices
ZIGBEE EXPLOITED
12
SECURITY ARCHITECTURE
Trust in the security is ultimately reduces to:
• Trust in the secure initializationof keying material
• Trust in the secure installationof keying material
• Trust in the secure processing of keying material
• Trust in the secure storage of keying material
13
HOW ARE KEYS EXCHANGED?
Preinstalled Devices Key Transport
•Out of band recommended
Key Establishment
•Derived from other keys
•Also requires preinstalled keys
ZIGBEE EXPLOITED
ZIGBEE EXPLOITED
ZIGBEE APPLICATION PROFILES
- THE BAD
ZIGBEE EXPLOITED
15
APPLICATION PROFILES
Define communication between
devices
• Agreements for messages
• Message formats
• Processing actions
Enable applications to
• Send commands
• Request data
• Process commands
• Process requests
Startup Attribute Sets (SAS) provide interoperability and compatibility
ZIGBEE EXPLOITED
16
HOME AUTOMATION PROFILE
Default Trust Center Link Key
• 0x5A 0x69 0x67 0x42 0x65 0x65 0x41 0x6C 0x6C 0x69 0x61 0x6E0x63 0x65 0x30 0x39
• ZigBeeAlliance09
Use Default Link Key Join
• 0x01(True)
• This flag enables the use of default link key join as a fallback case at startup time.
ZIGBEE EXPLOITED
17
HOME AUTOMATION PROFILE
Return to Factory Defaults
• In support of a return to factory default capability, HA devices shall implement a
Network Leave service.Prior to execution of the NWK Leave […] the device shall ensure
all operating parameters are reset to allow a reset to factory defaults.
ZIGBEE EXPLOITED
18
LIGHT LINK PROFILE
• Devices in a ZLL shall use ZigBee network layer security.
• “The ZLL security architecture is based on using a fixed secret key, known as the ZLL key,
which shall be stored in each ZLL device. All ZLL devices use the ZLL key to
encrypt/decrypt the exchanged network key. “
• “It will be distributed only to certified manufacturers and is bound with a safekeeping
contract“
ZIGBEE EXPLOITED
19
LIGHT LINK PROFILE
ZIGBEE EXPLOITED
20
LIGHT LINK
nwkAllFresh
• False
• Do not check frame counter
Trust center link key
• 0x5a 0x69 0x67 0x42 0x65 0x65 0x41 0x6c 0x6c 0x69 0x61 0x6e 0x63 0x65 0x30 0x39
• Default key for communicating with a trust center
ZIGBEE EXPLOITED
21
LIGHT LINK
Use insecure join
• True
• Use insecure join as a fallback option.
ZIGBEE EXPLOITED
ZIGBEE IMPLEMENTATIONS
- THE UGLY
23
OFFICIAL STATEMENT
"To avoid 'bugs' that an attacker can use to his advantage, it is
crucial that security be well implemented and tested. […] Security
services should be implemented and tested by security experts
[…]."
(ZigBee Alliance 2008, p. 494)
ZIGBEE EXPLOITED
ZIGBEE EXPLOITED
24
REQUEST KEY SERVICE
"The request-key service provides a secure means for a device to
request the active network key, or an end-to-end application
master key, from another device"
(ZigBee Alliance 2008, p. 425)
ZIGBEE EXPLOITED
25
ZBOSS
/**
Remote device asked us for key.
Application keys are not implemented.
Send current network key.
Not sure: send unsecured?
What is meaning of that command??
Maybe, idea is that we can accept "previous" nwk
key?
Or encrypt by it?
*/
ZIGBEE EXPLOITED
26
ZBOSS
/*
Initiate unsecured key transfer.
Not sure it is right, but I really have no
ideas about request meaning of key for
network key.
*/
27
TESTED DEVICES
• Door Lock
• Smart Home System
• Lighting Solutions
ZIGBEE EXPLOITED
28
RESULTS
ALL tested systems only use the default TC Link Key for securing the initial key exchange
No link keys are used or supported
• Complete compromise after getting network key
No ZigBee security configuration possibilities available
No key rotation applied
• Test period of 11 month
ZIGBEE EXPLOITED
29
RESULTS
Device reset often difficult
• Removal of key material not guaranteed
• One device does not support reset at all
Light bulbs do not require physical interaction for pairing
Workarounds like reduced transmission power are used to prevent pairing problems
• Devices have to be in very close proximity for pairing
ZIGBEE EXPLOITED
ZIGBEE EXPLOITED
DEMONSTRATION
ZIGBEE EXPLOITED
SECBEE
ZigBee security testing tool
Target audience
• Security testers
• Developers
Based on scapy-radio, µracoli and killerbee
Raspbee
USRP B210
ZIGBEE EXPLOITED
SECBEE
Provides features for testing of security services as well as weak security configuration and
implementation
Raspbee
USRP B210
• Support of encrypted communication
• Command injection
• Scan for weak key transport
• Reset to factory
• Join to network
• Test security services
ZIGBEE EXPLOITED
33
ZIGBEE EXPLOITED
DEMONSTRATION
- KEY EXTRACTION
ZIGBEE EXPLOITED
35
NETWORK KEY SNIFFING
Fallback key exchange insecure
Most vendors only implement fallback solution
Same security level as plaintext exchange
ZIGBEE EXPLOITED
36
VENDOR
RESPONSE
ZIGBEE EXPLOITED
37
NETWORK KEY SNIFFING
So, the
• Timeframe is limited
• Proximity is necessary
• Key extraction works only during pairing
… what would an attacker do?
38
TYPICAL
END-USER
ZIGBEE EXPLOITED
39
Wait for users to re-pair the device
Jam the communication
It is not only about technology :D
ZIGBEE EXPLOITED
ZIGBEE EXPLOITED
DEMONSTRATION
- RADIO JAMMING
ZIGBEE EXPLOITED
DEMONSTRATION
- COMMAND INJECTION
ZIGBEE EXPLOITED
DEMONSTRATION
- DEVICE HIJACKING
ZIGBEE EXPLOITED
43
DEVICE HIJACKING
Devices are paired and working
• Identify the target device
• Reset to factory default settings
• Join the target device to our network
ZIGBEE EXPLOITED
44
DEVICE HIJACKING
No physical access is required
No knowledge of the secret key is needed
Usability overrules security
45
SUMMARY
• Security measures provided are good
• Requirements due to interoperability weaken the security level
drastically
• Vendors only implement the absolute minimum to be compliant
• Usability overrules security
ZIGBEE EXPLOITED
46
OWASP SOUND BYTES
• Proper implementation of security measures is crucial - Compliance is not Security
• Learn from history and do not rely on “Security by Obscurity”
• There is a world beside TCP/IP
ZIGBEE EXPLOITED
THANK YOU
TIME FOR QUESTIONS AND
ANSWERS

More Related Content

PDF
Home Invasion 2.0 - DEF CON 21 - 2013
PDF
stackconf 2021 | Introducing Thola – A tool for Monitoring and Provisioning N...
PPTX
Linux routing and firewall for beginners
PPTX
SeattleFall1
PDF
Introduction to Oberon HomeKit SDKs
PDF
y3dips hacking priv8 network
PDF
Secure collab on prem hikmat
Home Invasion 2.0 - DEF CON 21 - 2013
stackconf 2021 | Introducing Thola – A tool for Monitoring and Provisioning N...
Linux routing and firewall for beginners
SeattleFall1
Introduction to Oberon HomeKit SDKs
y3dips hacking priv8 network
Secure collab on prem hikmat

What's hot (12)

PPTX
RPS/APS vulnerability in snom/yealink and others - slides
PDF
BOX of Illusion MOSEC'17
PPTX
Demystifying Wireless Security Using Open Source Options
PPTX
Eclipse Plugin for ESP-IDF - EclipseCon Europe 2019
PDF
Safe and Secure Applications: Deploying in a Cloud or Multi-Cloud Environment
PDF
Meraki powered services bell
PPTX
PuppetConf 2017: Securing Secrets for Puppet, Without Interrupting Flow- Ryan...
PDF
2012 ah emea deploying byod
PDF
WebGoat.SDWAN.Net in Depth: SD-WAN Security Assessment
PDF
Henrique Dantas - API fuzzing using Swagger
PDF
Orbleaf: Integrated Smart Card Development Platform
PDF
IPv6 Security
RPS/APS vulnerability in snom/yealink and others - slides
BOX of Illusion MOSEC'17
Demystifying Wireless Security Using Open Source Options
Eclipse Plugin for ESP-IDF - EclipseCon Europe 2019
Safe and Secure Applications: Deploying in a Cloud or Multi-Cloud Environment
Meraki powered services bell
PuppetConf 2017: Securing Secrets for Puppet, Without Interrupting Flow- Ryan...
2012 ah emea deploying byod
WebGoat.SDWAN.Net in Depth: SD-WAN Security Assessment
Henrique Dantas - API fuzzing using Swagger
Orbleaf: Integrated Smart Card Development Platform
IPv6 Security
Ad

Viewers also liked (15)

PPTX
[Cluj] Turn SSL ON
PDF
Além do HTTPS - Como (tentar) Aumentar a Segurança de seu Website e Aplicação...
PPTX
Tactics to beat the google de indexing
PDF
[Russia] Building better product security
PPT
Publico24 - DIGITAL PUBLISHING REINVENTED
PDF
[Bucharest] Reversing the Apple Sandbox
PDF
[Cluj] Information Security Through Gamification
PDF
[Bucharest] #DontTrustTheDarkSide
PDF
[Lithuania] Cross-site request forgery: ways to exploit, ways to prevent
PDF
[Bucharest] Your intents are dirty, droid!
PDF
Ulasan Singkat Tentang ISIS
PDF
올핏 사업계획서
PPTX
Kayıp Kaçak Yönetimi II:Kök Sorunlar ve Çözümler
PDF
[Bucharest] From SCADA to IoT Cyber Security
PDF
No Easy Breach DerbyCon 2016
[Cluj] Turn SSL ON
Além do HTTPS - Como (tentar) Aumentar a Segurança de seu Website e Aplicação...
Tactics to beat the google de indexing
[Russia] Building better product security
Publico24 - DIGITAL PUBLISHING REINVENTED
[Bucharest] Reversing the Apple Sandbox
[Cluj] Information Security Through Gamification
[Bucharest] #DontTrustTheDarkSide
[Lithuania] Cross-site request forgery: ways to exploit, ways to prevent
[Bucharest] Your intents are dirty, droid!
Ulasan Singkat Tentang ISIS
올핏 사업계획서
Kayıp Kaçak Yönetimi II:Kök Sorunlar ve Çözümler
[Bucharest] From SCADA to IoT Cyber Security
No Easy Breach DerbyCon 2016
Ad

Similar to [Austria] ZigBee exploited (20)

PPTX
Tech sem on zig 1
PPTX
Tech sem on zig 1
PPTX
Zigbee technology
PPTX
The A2530x24xx AIR Module for ZigBee Standard Applications
PPT
PDF
IoT security zigbee -- Null Meet bangalore
PDF
DEFCON 23 - Li Jun Yang Ging - I’M A NEWBIE YET I CAN HACK ZIGBEE
PDF
Guidelines to Improve the Robustness of the OSGi Framework and Its Services A...
PPTX
Zigbee Technologys Presentation ppt.pptx
PPTX
Wireless stepper motor control using zigbee
PPTX
PPTX
Zigbee Security
PPTX
PPTX
CSE-Zigbee-ppt.pptx
PPTX
ZIGBEE.pptx
PDF
Home Automation Benchmarking Report
PDF
IBM i Encryption Made Easy
PPTX
04 ccna sv2 instructor_ppt_ch5
PDF
Work Force Camp Logistics Eplex Wireless Solution
Tech sem on zig 1
Tech sem on zig 1
Zigbee technology
The A2530x24xx AIR Module for ZigBee Standard Applications
IoT security zigbee -- Null Meet bangalore
DEFCON 23 - Li Jun Yang Ging - I’M A NEWBIE YET I CAN HACK ZIGBEE
Guidelines to Improve the Robustness of the OSGi Framework and Its Services A...
Zigbee Technologys Presentation ppt.pptx
Wireless stepper motor control using zigbee
Zigbee Security
CSE-Zigbee-ppt.pptx
ZIGBEE.pptx
Home Automation Benchmarking Report
IBM i Encryption Made Easy
04 ccna sv2 instructor_ppt_ch5
Work Force Camp Logistics Eplex Wireless Solution

More from OWASP EEE (19)

PDF
[Austria] Security by Design
PPTX
[Austria] How we hacked an online mobile banking Trojan
PDF
[Poland] It's only about frontend
PDF
[Poland] SecOps live cooking with OWASP appsec tools
PDF
[Cluj] CSP (Content Security Policy)
PDF
[Cluj] A distributed - collaborative client certification system
PDF
[Russia] Node.JS - Architecture and Vulnerabilities
PDF
[Russia] MySQL OOB injections
PDF
[Russia] Bugs -> max, time <= T
PDF
[Russia] Give me a stable input
PDF
[Lithuania] I am the cavalry
PDF
[Lithuania] DigiCerts and DigiID to Enterprise apps
PDF
[Lithuania] Introduction to threat modeling
PPTX
[Hungary] I play Jack of Information Disclosure
PDF
[Hungary] Survival is not mandatory. The air force one has departured are you...
PDF
[Hungary] Secure Software? Start appreciating your developers!
PDF
[Bucharest] Catching up with today's malicious actors
PDF
[Bucharest] XML Based Attacks
PDF
[Bucharest] Attack is easy, let's talk defence
[Austria] Security by Design
[Austria] How we hacked an online mobile banking Trojan
[Poland] It's only about frontend
[Poland] SecOps live cooking with OWASP appsec tools
[Cluj] CSP (Content Security Policy)
[Cluj] A distributed - collaborative client certification system
[Russia] Node.JS - Architecture and Vulnerabilities
[Russia] MySQL OOB injections
[Russia] Bugs -> max, time <= T
[Russia] Give me a stable input
[Lithuania] I am the cavalry
[Lithuania] DigiCerts and DigiID to Enterprise apps
[Lithuania] Introduction to threat modeling
[Hungary] I play Jack of Information Disclosure
[Hungary] Survival is not mandatory. The air force one has departured are you...
[Hungary] Secure Software? Start appreciating your developers!
[Bucharest] Catching up with today's malicious actors
[Bucharest] XML Based Attacks
[Bucharest] Attack is easy, let's talk defence

Recently uploaded (20)

PDF
The Evolution of Traditional to New Media .pdf
PPTX
Power Point - Lesson 3_2.pptx grad school presentation
PPTX
artificialintelligenceai1-copy-210604123353.pptx
PPTX
Layers_of_the_Earth_Grade7.pptx class by
DOC
Rose毕业证学历认证,利物浦约翰摩尔斯大学毕业证国外本科毕业证
PPTX
Slides PPTX: World Game (s): Eco Economic Epochs.pptx
PPTX
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PPTX
Internet Safety for Seniors presentation
PDF
SlidesGDGoCxRAIS about Google Dialogflow and NotebookLM.pdf
PPT
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
PDF
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
PDF
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
PPTX
Database Information System - Management Information System
PDF
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
PPTX
newyork.pptxirantrafgshenepalchinachinane
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PPTX
Mathew Digital SEO Checklist Guidlines 2025
PDF
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
PDF
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
The Evolution of Traditional to New Media .pdf
Power Point - Lesson 3_2.pptx grad school presentation
artificialintelligenceai1-copy-210604123353.pptx
Layers_of_the_Earth_Grade7.pptx class by
Rose毕业证学历认证,利物浦约翰摩尔斯大学毕业证国外本科毕业证
Slides PPTX: World Game (s): Eco Economic Epochs.pptx
1402_iCSC_-_RESTful_Web_APIs_--_Josef_Hammer.pptx
Design_with_Watersergyerge45hrbgre4top (1).ppt
Internet Safety for Seniors presentation
SlidesGDGoCxRAIS about Google Dialogflow and NotebookLM.pdf
FIRE PREVENTION AND CONTROL PLAN- LUS.FM.MQ.OM.UTM.PLN.00014.ppt
FINAL CALL-6th International Conference on Networks & IOT (NeTIOT 2025)
Session 1 (Week 1)fghjmgfdsfgthyjkhfdsadfghjkhgfdsa
Database Information System - Management Information System
The Ikigai Template _ Recalibrate How You Spend Your Time.pdf
newyork.pptxirantrafgshenepalchinachinane
The New Creative Director: How AI Tools for Social Media Content Creation Are...
Mathew Digital SEO Checklist Guidlines 2025
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟
📍 LABUAN4D EXCLUSIVE SERVER STAR GAMING ASIA NO.1 TERPOPULER DI INDONESIA ! 🌟

[Austria] ZigBee exploited

  • 1. ZIGBEE EXPLOITED SEBASTIAN STROBL THE GOOD, THE BAD AND THE UGLY
  • 2. 2 SEBASTIAN STROBL • Principal Auditor @Cognosec in Vienna • Plans and leads various types of IT audits • Still trying to get his HD drone vision to work • Currently uses Z-Wave for Home Automation until we manage to break it too ABOUT ME ZIGBEE EXPLOITED
  • 3. 3 ZIGBEE EXPLOITED AGENDA • Introduction • ZigBee Security Measures - The good • ZigBee Application Profiles - The bad • ZigBee Implementations - The ugly • Demonstration • Summary ZIGBEE EXPLOITED
  • 5. ZIGBEE EXPLOITED 5 ZigBee Based on IEEE 802.15.4 Low-cost Low-power Two-way Reliable Wireless
  • 7. 7 • Trend is wireless connections • Samsung CEO BK Yoon - “Every Samsung device will be part of IoT till 2019” 3 • Over 500 smart device per household in 2022 1 1 http://www.gartner.com/newsroom/id/2839717 2 http://www.gartner.com/newsroom/id/2636073 3 http://www.heise.de/newsticker/meldung/CES-Internet-der-Dinge-komfortabel- vernetzt-2512856.html 0.9 billion 26 billion 0 5,000,000,000 10,000,000,000 15,000,000,000 20,000,000,000 25,000,000,000 30,000,000,000 2009 2020 Number of IoT DevicesWHY IS IT IMPORTANT? ZIGBEE EXPLOITED
  • 8. 8 WHY SECURITY? • HOME automation has high privacy requirements • Huge source of personalized data Items of interest will be located, identified, monitored,and remotely controlled through technologiessuch as radio-frequency identification,sensor networks, tiny embedded servers, and energy harvesters- all connected to the next-generation internet1 -Former CIA Director David Petraeus" ZIGBEE EXPLOITED
  • 9. ZIGBEE EXPLOITED ZIGBEE SECURITY MEASURES - THE GOOD
  • 10. 10 ZIGBEE SECURITY MEASURES Security Measures Symmetric Encryption Message Authentication Integrity Protection Replay Protection AES-CCM* 128bit MIC 0 - 128 bit Frame Counter 4 Byte ZIGBEE EXPLOITED
  • 11. ZIGBEE EXPLOITED 11 ZIGBEE SECURITY • One security level per network • Security based on encryption keys • Network Key: Used for broadcast communication, Shared among all devices • Link Key: Used for secure unicast communication, Shared only between two devices
  • 12. ZIGBEE EXPLOITED 12 SECURITY ARCHITECTURE Trust in the security is ultimately reduces to: • Trust in the secure initializationof keying material • Trust in the secure installationof keying material • Trust in the secure processing of keying material • Trust in the secure storage of keying material
  • 13. 13 HOW ARE KEYS EXCHANGED? Preinstalled Devices Key Transport •Out of band recommended Key Establishment •Derived from other keys •Also requires preinstalled keys ZIGBEE EXPLOITED
  • 15. ZIGBEE EXPLOITED 15 APPLICATION PROFILES Define communication between devices • Agreements for messages • Message formats • Processing actions Enable applications to • Send commands • Request data • Process commands • Process requests Startup Attribute Sets (SAS) provide interoperability and compatibility
  • 16. ZIGBEE EXPLOITED 16 HOME AUTOMATION PROFILE Default Trust Center Link Key • 0x5A 0x69 0x67 0x42 0x65 0x65 0x41 0x6C 0x6C 0x69 0x61 0x6E0x63 0x65 0x30 0x39 • ZigBeeAlliance09 Use Default Link Key Join • 0x01(True) • This flag enables the use of default link key join as a fallback case at startup time.
  • 17. ZIGBEE EXPLOITED 17 HOME AUTOMATION PROFILE Return to Factory Defaults • In support of a return to factory default capability, HA devices shall implement a Network Leave service.Prior to execution of the NWK Leave […] the device shall ensure all operating parameters are reset to allow a reset to factory defaults.
  • 18. ZIGBEE EXPLOITED 18 LIGHT LINK PROFILE • Devices in a ZLL shall use ZigBee network layer security. • “The ZLL security architecture is based on using a fixed secret key, known as the ZLL key, which shall be stored in each ZLL device. All ZLL devices use the ZLL key to encrypt/decrypt the exchanged network key. “ • “It will be distributed only to certified manufacturers and is bound with a safekeeping contract“
  • 20. ZIGBEE EXPLOITED 20 LIGHT LINK nwkAllFresh • False • Do not check frame counter Trust center link key • 0x5a 0x69 0x67 0x42 0x65 0x65 0x41 0x6c 0x6c 0x69 0x61 0x6e 0x63 0x65 0x30 0x39 • Default key for communicating with a trust center
  • 21. ZIGBEE EXPLOITED 21 LIGHT LINK Use insecure join • True • Use insecure join as a fallback option.
  • 23. 23 OFFICIAL STATEMENT "To avoid 'bugs' that an attacker can use to his advantage, it is crucial that security be well implemented and tested. […] Security services should be implemented and tested by security experts […]." (ZigBee Alliance 2008, p. 494) ZIGBEE EXPLOITED
  • 24. ZIGBEE EXPLOITED 24 REQUEST KEY SERVICE "The request-key service provides a secure means for a device to request the active network key, or an end-to-end application master key, from another device" (ZigBee Alliance 2008, p. 425)
  • 25. ZIGBEE EXPLOITED 25 ZBOSS /** Remote device asked us for key. Application keys are not implemented. Send current network key. Not sure: send unsecured? What is meaning of that command?? Maybe, idea is that we can accept "previous" nwk key? Or encrypt by it? */
  • 26. ZIGBEE EXPLOITED 26 ZBOSS /* Initiate unsecured key transfer. Not sure it is right, but I really have no ideas about request meaning of key for network key. */
  • 27. 27 TESTED DEVICES • Door Lock • Smart Home System • Lighting Solutions ZIGBEE EXPLOITED
  • 28. 28 RESULTS ALL tested systems only use the default TC Link Key for securing the initial key exchange No link keys are used or supported • Complete compromise after getting network key No ZigBee security configuration possibilities available No key rotation applied • Test period of 11 month ZIGBEE EXPLOITED
  • 29. 29 RESULTS Device reset often difficult • Removal of key material not guaranteed • One device does not support reset at all Light bulbs do not require physical interaction for pairing Workarounds like reduced transmission power are used to prevent pairing problems • Devices have to be in very close proximity for pairing ZIGBEE EXPLOITED
  • 31. ZIGBEE EXPLOITED SECBEE ZigBee security testing tool Target audience • Security testers • Developers Based on scapy-radio, µracoli and killerbee Raspbee USRP B210
  • 32. ZIGBEE EXPLOITED SECBEE Provides features for testing of security services as well as weak security configuration and implementation Raspbee USRP B210 • Support of encrypted communication • Command injection • Scan for weak key transport • Reset to factory • Join to network • Test security services
  • 35. ZIGBEE EXPLOITED 35 NETWORK KEY SNIFFING Fallback key exchange insecure Most vendors only implement fallback solution Same security level as plaintext exchange
  • 37. ZIGBEE EXPLOITED 37 NETWORK KEY SNIFFING So, the • Timeframe is limited • Proximity is necessary • Key extraction works only during pairing … what would an attacker do?
  • 39. 39 Wait for users to re-pair the device Jam the communication It is not only about technology :D ZIGBEE EXPLOITED
  • 43. ZIGBEE EXPLOITED 43 DEVICE HIJACKING Devices are paired and working • Identify the target device • Reset to factory default settings • Join the target device to our network
  • 44. ZIGBEE EXPLOITED 44 DEVICE HIJACKING No physical access is required No knowledge of the secret key is needed Usability overrules security
  • 45. 45 SUMMARY • Security measures provided are good • Requirements due to interoperability weaken the security level drastically • Vendors only implement the absolute minimum to be compliant • Usability overrules security ZIGBEE EXPLOITED
  • 46. 46 OWASP SOUND BYTES • Proper implementation of security measures is crucial - Compliance is not Security • Learn from history and do not rely on “Security by Obscurity” • There is a world beside TCP/IP ZIGBEE EXPLOITED
  • 48. TIME FOR QUESTIONS AND ANSWERS