Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

IoT/Embedded Security

5/29/2018
07:00 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Z-Shave Attack Shows Why IoT Security Need More Attention

Pen Test Partners have discovered a new IoT vulnerability that researchers call Z-Shave. This shows why manufactures need to think much harder about building security into connected devices.

Z-Wave is a communications protocol that wirelessly connects many Internet of Things (IoT) devices as an alternative to the shorter range Bluetooth protocol.

As of April, there were 2,400 products that used the 900 Mhz system, according to Wikipedia.

However, Pen Test Partners showed a way that pairing of two of these devices can be made insecure through an attack that they call Z-Shave.

Security for the system is done through a shared network key. And that key is what drives the attack. Pen Test showed that the current S2 protocol can be driven so it reverts to the older, far less secure S0 protocol that was in use before 2013. The key-exchange now uses Diffie-Hellman encryption in S2 and can also involve authentication by entry of a five-digit code into the controller.

S0 used an fixed key consisting of all zeroes.

(Source: Pixabay)\r\n
(Source: Pixabay)\r\n

Pen Test researchers found that that an active attacker, present at the time of device pairing, can downgrade an S2 pairing to S0, which allows them to intercept the key and then intercept and inject S0 traffic on the Z-Wave network.

Since Z-Wave devices are designed to be backwards compatible, an S2 device will pair as S0 if the controller only supports S0. An S0 device will also pair with no encryption if the controller does not support S0. A network can support a mixture of devices, although encrypted traffic cannot move from S0 to S2 during use.

Pen Test researchers proposed three attacks methods for Z-Shave.

The first finds that the node info for the unpaired node, which has data that is needed for a spoofed pairing. This can be sniffed by an attacker, modified, and then sent to the controller. Boom -- pairing on the attackers terms is performed.

The second method uses the node information sent when a battery is inserted into a device in the same way, with the same result.

The third method is trickier. As Pen Test notes:

An attacker can continuously listen for the node info from the genuine node. As soon as the home ID has been obtained, they can actively jam the rest of the packet, preventing the node info from being received. […] The jamming needs to occur mid-way through the transmission of a packet and the current tools available are only capable of waiting until the end of a packet.

Silicon Labs, the company behind the Z-Wave protocol has pooh-poohed the issue. The company's main retort to the Z-Shave attack is that an attacker has a very short time window to execute the attack.

Which is true, but the attack could be carried out by battery-operated hardware left in the vicinity that is sniffing for the right opportunity, so that criticism is not entirely relevant.

Worse, Silicon Labs noted that a S2 downgrade should make the user aware that it has occurred with a message from the S2 controller. Pen Test showed in a YouTube video that this does not always happen, and the end-user may be unaware of the change in security. Perhaps a manufacturer did not fully implement S2 in their product.

Silicon Labs announced that they are changing the specs so that the user will have to acknowledge the alert if it occurs.

In an email to Security Now, Silicon Labs noted that the Pen Test researchers in their YouTube video made use of a developer tool, not a consumer rated software product, which was not designed to notify the user of security level changes.

Manufacturers need to implement the latest level of security in their products. When a simple attack can throw it all for a loop, especially in products like locks, the burden becomes even more important.

Editor's Note: This article was updated to include a comment from Silicon Labs.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
News
Inside the Ransomware Campaigns Targeting Exchange Servers
Kelly Sheridan, Staff Editor, Dark Reading,  4/2/2021
Commentary
Beyond MITRE ATT&CK: The Case for a New Cyber Kill Chain
Rik Turner, Principal Analyst, Infrastructure Solutions, Omdia,  3/30/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-31414
PUBLISHED: 2021-04-16
The unofficial vscode-rpm-spec extension before 0.3.2 for Visual Studio Code allows remote code execution via a crafted workspace configuration.
CVE-2021-26073
PUBLISHED: 2021-04-16
Broken Authentication in Atlassian Connect Express (ACE) from version 3.0.2 before version 6.6.0: Atlassian Connect Express is a Node.js package for building Atlassian Connect apps. Authentication between Atlassian products and the Atlassian Connect Express app occurs with a server-to-server JWT or ...
CVE-2021-26074
PUBLISHED: 2021-04-16
Broken Authentication in Atlassian Connect Spring Boot (ACSB) from version 1.1.0 before version 2.1.3: Atlassian Connect Spring Boot is a Java Spring Boot package for building Atlassian Connect apps. Authentication between Atlassian products and the Atlassian Connect Spring Boot app occurs with a se...
CVE-2018-19942
PUBLISHED: 2021-04-16
A cross-site scripting (XSS) vulnerability has been reported to affect earlier versions of File Station. If exploited, this vulnerability allows remote attackers to inject malicious code. We have already fixed this vulnerability in the following versions: QTS 4.5.2.1566 build 20210202 (and later) QT...
CVE-2021-27691
PUBLISHED: 2021-04-16
Command Injection in Tenda G0 routers with firmware versions v15.11.0.6(9039)_CN and v15.11.0.5(5876)_CN , and Tenda G1 and G3 routers with firmware versions v15.11.0.17(9502)_CN or v15.11.0.16(9024)_CN allows remote attackers to execute arbitrary OS commands via a crafted action/setDebugCfg request...