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
8/12/2020
09:30 AM
Connect Directly
Twitter
RSS
E-Mail
50%
50%

Kr00k, KRACK, and the Seams in Wi-Fi, IoT Encryption

Black Hat talk expands on research that uncovered more weaknesses in Wi-Fi chips allowing for the unauthorized decryption of traffic.

Earlier this year, two ESET researchers disclosed a flaw in processor chips powering over 1 billion Wi-Fi and Internet of Things (IoT) devices that would make it easy for attackers to snoop on encrypted traffic. Last week at Black Hat, the researchers explained that the attack surface area for these kinds of flaws is broader than they initially thought and that the weakness is present in a several other popular chipsets that could put even more IoT and Wi-Fi devices at risk.

Dubbed "Kr00k" by researchers Robert Lipovsky and Stefan Svorencik, the flaw in question occurs in how Wi-Fi chips handle the four-way handshake process that occurs between a device and an access point to facilitate WPA2 encryption. When devices associate and disassociate with a network, the handshake process governs authentication and how cryptographic keys are exchanged as connection is both established and broken between device and access point.

Kr00k is a flaw in how the chips handle the process of WLAN session disassociation, in which they overwrite the encryption keys with all zeros in the expectation that no further data will be transmitted after disassociation. The expectation is when the device reassociates with a new session, a new encryption key will be negotiated and encryption will remain seamless.

"This is expected behavior as no further data is supposed to be transmitted after disassociation. And it stays that way until a new session is generated after the new reassociation and the new four-way handshake," explained Lipovsky during the "Kr00k: Serious Vulnerability Affected Encryption of Billion+ Wi-Fi Devices" session. "But until that happens, the transmit buffer still may contain data. The transmit engine needs to send them away and continues to do so as usual. So all data which were left in that buffer [when] the association occurred are now sent encrypted with an all-zero encryption key." 

As a result, an attacker can easily decrypt the data frames in the buffer, and a savvy adversary that can artificially trigger a disassociation and prolong its state can slurp up sensitive information in the process. 

"So when you can grab these frames, you can easily decrypt them," Lipovsky says. "You know, the encryption algorithm, you know, the encryption key, you get the numbers from the header and you can easily decrypt them. The question is, how do you identify these particular frames in the air? The answer is simple. You don't. You just try to decrypt everything you see with an all-zero key."

Interestingly, Kr00k's discovery was somewhat of a by-product of the fallout from the key reinstallation attack (KRACK) techniques explored by Mathy Vanhoef at Black Hat Europe 2017. This attack and exploit was preying on the way Amazon Echo and other IoT devices handled the process of resetting encryption keys.

After the vendors made adjustments to harden themselves against attack, Lipovsky and Svorencik were trying other variations of the attack and soon stumbled on the Kr00k vulnerability. As they dug further, they found it wasn't a flaw in the device itself but the underlying chipset. When the pair first disclosed Kr00k at the RSA Conference in February, they could only confirm it impacted Broadcom and Cypress chips but suspected other manufacturers were also impacted.

Last week they confirmed that additional chip manufacturers were, indeed, impacted. During their talk they reported several additional chipsets were vulnerable to the flaw and dropped a new vuln on the audience — CVE-2020-3702 — a Kr00k-like flaw in Qualcomm chips that leads to disclosure of data through disassociation, with the main difference that instead of using an all-zero key, the data isn't encrypted at all during the state of disassociation.

The impacted chips are used in smart home hubs, wireless routers, and more. The researchers explained that Qualcomm has released a proprietary driver to fix the flaw but that not all devices with Qualcomm chips use that driver. 

This lack of uniformity of drivers highlights one of the challenges with Kr00k, which, because it is at the chip level, can be difficult to assess from an enterprise perspective in devices that may not necessarily be getting embedded software updates from the chip manufacturer. In order to help the audience better audit their environments for Kr00k, the duo released a script at Black Hat that they developed to test devices for their susceptibility to Kr00k.

 

Ericka Chickowski specializes in coverage of information technology and business innovation. She has focused on information security for the better part of a decade and regularly writes about the security industry as a contributor to Dark Reading.  View Full Bio
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 9/25/2020
WannaCry Has IoT in Its Crosshairs
Ed Koehler, Distinguished Principal Security Engineer, Office of CTO, at Extreme Network,  9/25/2020
Safeguarding Schools Against RDP-Based Ransomware
James Lui, Ericom Group CTO, Americas,  9/28/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Special Report: Computing's New Normal
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
How IT Security Organizations are Attacking the Cybersecurity Problem
How IT Security Organizations are Attacking the Cybersecurity Problem
The COVID-19 pandemic turned the world -- and enterprise computing -- on end. Here's a look at how cybersecurity teams are retrenching their defense strategies, rebuilding their teams, and selecting new technologies to stop the oncoming rise of online attacks.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-26120
PUBLISHED: 2020-09-27
XSS exists in the MobileFrontend extension for MediaWiki before 1.34.4 because section.line is mishandled during regex section line replacement from PageGateway. Using crafted HTML, an attacker can elicit an XSS attack via jQuery's parseHTML method, which can cause image callbacks to fire even witho...
CVE-2020-26121
PUBLISHED: 2020-09-27
An issue was discovered in the FileImporter extension for MediaWiki before 1.34.4. An attacker can import a file even when the target page is protected against "page creation" and the attacker should not be able to create it. This occurs because of a mishandled distinction between an uploa...
CVE-2020-25812
PUBLISHED: 2020-09-27
An issue was discovered in MediaWiki 1.34.x before 1.34.4. On Special:Contributions, the NS filter uses unescaped messages as keys in the option key for an HTMLForm specifier. This is vulnerable to a mild XSS if one of those messages is changed to include raw HTML.
CVE-2020-25813
PUBLISHED: 2020-09-27
In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, Special:UserRights exposes the existence of hidden users.
CVE-2020-25814
PUBLISHED: 2020-09-27
In MediaWiki before 1.31.10 and 1.32.x through 1.34.x before 1.34.4, XSS related to jQuery can occur. The attacker creates a message with [javascript:payload xss] and turns it into a jQuery object with mw.message().parse(). The expected result is that the jQuery object does not contain an <a> ...