Blog

2016
June
06

PART TWO: Securing the Connected Home From Outside Threats

By Robert Cragie and Bill Curtis - ARM

The Thread Group uses versions of the same types of security technologies that make applications across the “big Internet” safe – the ones that keep your banking transactions, Amazon purchases and social media sessions secure. We’ve simply adapted them to the special situation of consumer devices that are heavily power-managed and must automatically maintain network security with little or no user interaction.

Let’s dive deeper into some of the key security measures being addressed at the Thread Group, as referenced in our Thread Commissioning whitepaper:

Network-wide key

The fundamental mechanism, which secures all Thread communication, is through the use of symmetric key cryptography based on a network-wide key. The symmetric key cryptography used is AES-CCM, a mode of operation based on the AES block cipher that provides integrity protection and payload encryption to the messages it is applied to.

Integrity protection works by appending a small amount of data to each message (called an integrity check tag or code), which can then be verified by a recipient in possession of the network-wide key to indicate that the message did in fact originate from where it said it came from and that the message was not tampered with in transit. This is especially important in wireless networks where contents of a message could be altered in flight over the air.

Payload encryption scrambles the contents of the payload to ensure it cannot be read by an attacker who does not have knowledge of the network-wide key. This prevents eavesdropping on potentially private or sensitive information.

AES-CCM is used on all packets at the network layer. In practice, this means a high strength base level of protection, which is typically built upon by the application layer through additional protection mechanisms that provide end-to-end security.

Key Agreement

Initially, a new device does not know the network-wide key, and therefore, has to be given that key. If the network-wide key is transported to the new device over the air without any protection, it could potentially be overheard and extracted by an attacker, although the attacker would have to be in the vicinity at the exact moment the key is given out to overhear it. Once in possession of the network-wide key, an attacker can passively eavesdrop on the home network or masquerade as a genuine device. In Thread, the network-wide key is distributed securely through the use of a Password-Authenticated Key Exchange (PAKE).

A PAKE makes use of a relatively low entropy secret (a password) in conjunction with high strength asymmetric cryptography to generate a high strength shared secret between two parties. In the case of Thread, these two parties are known as the Joiner (the new device) and the Commissioner (typically a smartphone already connected to the Thread network). The high strength shared secret is then used to encrypt the communication of the network-wide key from a device already on the home network (known as the Joiner Router) to the Joiner. Ideally, a PAKE must be secured against what is called "offline dictionary analysis." This means that it must be almost impossible for an attacker to figure out the password based solely on the message exchange between two parties. The PAKE used by Thread (Elliptic Curve J-PAKE) is secure against offline dictionary analysis.

Authentication

Authentication is additionally achieved by virtue of the user knowing the Joiner's password and inputting it into the Commissioner. This is often printed on the device itself as part of a QR code, which can be scanned by the Commissioner smartphone. The PAKE will only complete successfully if the password put into the Commissioner matches the Joiner's password. Therefore, the user can be certain the device they just commissioned is in fact the device they have just scanned on their smartphone.

Authorization

The Joiner is authorized to join the home network by virtue of being given the network-wide key from the Joiner Router. The Commissioner sends a KEK (key encryption key) to the Joiner Router, which is based on the high strength shared secret established between the Commissioner and the Joiner. The Joiner Router then uses the KEK to encrypt a message containing the network-wide key and other network parameters, which it sends to the Joiner. Encrypting the message ensures that an attacker overhearing the message will not be able to extract the network-wide key from it. The Joiner decrypts the message, installs the network-wide key and network parameters and then attaches to the network and becomes an authorized and secure member of the Thread network.

Maintenance

Thread networks maintain a sequence counter to periodically change the actual key used to secure messages, which is derived from both the network-wide key and the sequence counter. This is to ensure that even in the unlikely event of obtaining the key used to secure a message through brute force, it will result in a limited window of messages that could actually be processed.

Application layer protection

While Thread provides a high level of security for the network, it is important in many cases to provide additional security at the application layer. As Thread is a mesh networking technology, it does not impose any restrictions on how applications can apply additional security. Many of the building blocks Thread is based on, such as the CoAP transfer protocol and DTLS security, are available to the application layer as well, and as a result, provide the foundation for efficient implementation of secure application layer code.

Protocols

When it comes to security, it is important not to try to "re-invent the wheel". For that reason, Thread uses well established standardized protocols. DTLS, on which Thread key agreement is based, is fundamentally the same as the TLS protocol used to secure Internet transactions today. The J-PAKE protocol is also well established and currently being standardized, with a security proof undertaken by respected cryptographers.

As you can tell, we’re making every effort to secure Thread networks and the Internet of Things as a whole. If you have any questions, please feel free to comment here or contact help@threadgroup.org.

UPCOMING EVENTS


2024
April
23-25

Thread Group Members Meeting

Toronto, Canada

Press Releases

2022
July
18

Thread Group Opens Access to Third Evolution of its Wireless Networking Protocol, Enabling Matter, Improving Seamless Connectivity in Smart Homes and Buildings

The Thread Group, an industry alliance enabling IoT convergence, and addressing challenges around secu...

2022
June
13

Thread Group Establishes New Marketing Chapter in China

The Thread Group, an industry alliance addressing IoT convergence, and challenges around security, energy footprint, and architecture at the network layer, today announced the addition of a Regional Marketing Working Group in China to educate...

2021
November
03

Amazon Joins Thread Group Board of Directors

The Thread Group, an industry alliance addressing IoT convergence, and challenges around security, energy footprint, and architecture at the network layer, today announced the addition of Amazon to its Board of Directors. Amazon’s increased backing of Thread Group further demonstrates its commitment to Matter, over both Thread and Wi-Fi, and to supporting a broad range of smart home protocols, which benefits both device makers and their customers.

Interest Sign-Up Form

Thank you for your interest in Thread!
Please provide your contact information below and we will keep you informed about our activities.


* Required fields
This email will be used for all email list subscriptions & all other Thread Group automated communications.

Interest Sign-Up Form

Thank you for your interest in Thread!

Please provide your contact information below and we will keep you informed about our activities.


* Required fields
This email will be used for all email list subscriptions & all other Thread Group automated communications.

NEWSLETTERS

In The News

2024
January
10

Thread Border Router Fix Should Improve Smart Home Networking

By: Apple Insider

Read More

2024
January
09

Thread Group Unveils Credential Sharing Feature to Propel Smart Home Interoperability

SamMobile

Read More

2024
January
08

Thread Group to Fix Smart Home Protocol's Biggest Problem

Thurrott

Read More

PAST EVENTS

  • CES 2024 January 9-12, 2024  Las Vegas, Nevada  
  • Thread Group Members Meeting Oct 23-26, 2023 Budapest, Hungary 
  • Thread Group Members Meeting April 25-27, 2023 Philadelphia, Pennsylvania 
  • CES 2023 January 5-8, 2023 Las Vegas, Nevada 
  • Thread Group Members Meeting OCTOBER 25-17, 2022 Málaga, Spain 
  • Light+Building 2022 OCTOBER 2-6, 2022 Frankfurt, Germany 
  • WEBINAR: Thread 1.3.0  SEPTEMBER 29, 2022 Watch Webinar, View Presentation 
  • Thread Group Members Meeting APRIL 26-28, 2022 Charlotte, North Carolina
  • Thread Group Members Meeting OCTOBER 5-7, 2021 Virtual
  • Thread Group Members Meeting APRIL 20-22, 2021 Virtual
  • Thread Group Members Meeting NOVEMBER 3-5, 2020 Virtual
  • Works With By Silicon Labs SEPTEMBER 9-10, 2020 Virtual Conference Endorsed by Thread Group Read More
  • WEBINAR: How to Keep Your Solar Plant Safe With Google's Full-wireless OpenThread System SEPTEMBER 3, 2020 View Presentation 
  • IoT World US AUGUST 11-13 2020 Virtual Event Endorsed by Thread Group
  • WEBINAR: IoT Convergence With Thread And Project CHIP  APRIL 21, 2020 Listen to Webinar, View Presentation 
  • Thread Technology Day NOVEMBER 22 2019 Taipei, Taiwan View Presentations 
  • Smart Home Summit NOVEMBER 20-21 2019 San Francisco, California View Presentation 
  • Thread Group Members Meeting NOVEMBER 5-7 2019 Zug, Switzerland, Hosted at Siemens 
  • Arm TechCon OCTOBER 8-9 2019 San Jose, California, Thread Endorsed Learn More
  • WEBINAR: New Membership Tier, IPR Considerations And Certification
    MAY 30, 2019 View Webinar
  • Internet of Things World
    MAY 13-16, 2019 Santa Clara, California Thread Endorsed  
  • WEBINAR: Dotdot + Thread: Learn About The Specification And Streamlined Certification Programs
    JANUARY 30, 2019 View Webinar
  • Connections Summit At CES
    JANUARY 8, 2019 Las Vegas, Nevada
  • Wireless Congress
    NOVEMBER 14-15, 2018 Munich, Germany
  • Arm TechCon
    OCTOBER 16-18, 2018 San Jose, California
  • Thread Group Members Meeting
    OCTOBER 16-18, 2018 Munich, Germany
  • Particle Webinar: Going Beyond The Connected Home
    OCTOBER 11, 2018 View Webinar
  • Spectra
    OCTOBER 3, 2018 San Francisco, California
  • Thread Group Members Meeting
    JUNE 26-28, 2018 Austin, Texas
  • Thread Webinar: Developing IoT Devices With Thread
    JUNE 20, 2018 View Webinar
  • Connections
    MAY 22-24, 2018 San Francisco, California
  • Light + Building
    MARCH 18-23, 2018 Frankfurt, Germany
  • Smart Energy Summit
    FEBRUARY 19-21, 2018 Austin, Texas
  • Strategies In Light
    FEBRUARY 13-15, 2018 Long Beach, California
  • Digital Experience! @ CES 2018
    JANUARY 8, 2018 Las Vegas, Nevada
  • Thread Group Members Meeting
    NOVEMBER 15-17, 2017 Lisbon, Portugal
  • Thread + One IoT Stakeholders Summit
    SEPTEMBER 14, 2017 Munich, Germany
  • Thread Group Technology Workshop
    SEPTEMBER 14, 2017 Munich, Germany
  • Thread Group Members Meeting
    JUNE 27-29, 2017 Vancouver, Canada
  • Connected Plus
    JUNE 20-21, 2017 Vancouver, Canada
  • CONNECTIONS 2017
    Speakers Panel: Connected CE Strategies: Building Product Ecosystems
    MAY 23-25, 2017 San Francisco, California
  • IoT World Speakers Panel: Understanding The Complexity And Interoperability Of IoT Platforms
    MAY 16-18, 2017 Santa Clara, California
  • CABA Forum
    APRIL 26-28, 2017 Santa Clara, California
  • Thread Technology Workshop
    MARCH 27, 2017 Mountain View, California
  • Thread Group All Members Meeting
    FEBRUARY 14-16, 2017 Atlanta, Georgia
  • CONNECTIONS Summit At CES
    JANUARY 5, 2016 Las Vegas, Nevada
  • CES 2017
    JANUARY 5-8, 2016 Las Vegas, Nevada
  • Strategies In Light Europe
    NOVEMBER 23-24, 2016 London, UK
  • Internet Of Things World
    NOVEMBER 21-22, 2016 Dublin, Ireland
  • Thread Group All Members Meeting
    NOVEMBER 15-17, 2016 Lisbon, Portugal
  • Wireless Congress
    NOVEMBER 9-10, 2016 Munich, Germany
  • Electronica
    NOVEMBER 8-11, 2016 Munich, Germany
  • CONNECTIONS Europe
    NOVEMBER 2-3, 2016 Amsterdam, Netherlands
  • Smart Home Summit
    NOVEMBER 1-2, 2016 Palo Alto, California
  • Thread Group Webinar
    JUNE 28, 2016, 2016 Online
  • Smart Home World
    JUNE 21-22, 2016 London, UK
  • Computex CPX Conference
    MAY 31-JUNE 4, 2016 Taipei, Taiwan
  • Connected Conference
    MAY 25-27, 2016 Paris, France
  • Connections
    MAY 24-26, 2016 San Francisco, California
  • CES Asia
    MAY 11-13, 2016 Shanghai, China
  • Informa IoT World 2016
    MAY 10-12, 2016 Santa Clara, California
  • Thread Group Open House
    MAY 10, 2016 Shanghai, China
  • SMAHome
    APRIL 21-22, 2016 San Francisco, California
  • IoT West 2016
    APRIL 19-21, 2016 Taipei, Taiwan
  • Thread Group All Members Meeting
    MARCH 22-24, 2016 Redwood City, California
  • Wearable Tech Show 2016
    MARCH 15, 2016 London, UK
  • Strategies In Light
    MARCH 1-3, 2016 Santa Clara, California
  • CES
    JANUARY 6-9, 2016 Las Vegas, Nevada
  • Thread Group All Members Meeting
    NOVEMBER 18-19, 2015 Evian Resort, France
  • Cedia
    OCTOBER 16, 2015 Dallas, Texas
  • Internet Of Things World Europe
    OCTOBER 5-7, 2015 Berlin, Germany
  • Thread Open House
    OCTOBER 5, 2015 Berlin, Germany
  • Connected + Conference & Exhibition
    SEPTEMBER 28-29, 2015 Toronto, Canada
  • IoT Security 2015
    SEPTEMBER 22-23, 2015 Boston, Massachusetts
  • Thread Group All Members Meeting
    JULY 23-24, 2015 Austin, Texas
  • O'Reilly Solid, Platforms, Devices And Interoperability In The Smart Home
    JUNE 25, 2015 San Francisco, California
  • Pepcom! Digital Experience
    JUNE 18, 2015 New York City, New York
  • IoT Silicon Valley Meetup
    JUNE 18, 2015 Mountain View, California
  • Connections, Innovative Partnerships: The Connected Home Panel
    MAY 19, 2015 San Francisco, California
  • Internet Of Things World 2015
    MAY 13, 2015 San Francisco, California
  • Mobile World Congress
    MARCH 5, 2015 Barcelona, Spain
  • Stack Tutorials & First All Members Meeting
    FEBRUARY 9-11, 2015 San Jose, California
  • Thread Group Information Event
    SEPTEMBER 30, 2014 Google Campus, Mountain View, California
Important! The license does not include the website domain. Please register the domain and re-validate your license.