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
Edge-DRsplash-10-edge-articles
7 Old IT Things Every New InfoSec Pro Should Know
Joan Goodchild, Staff Editor,  4/20/2021
News
Cloud-Native Businesses Struggle With Security
Robert Lemos, Contributing Writer,  5/6/2021
Commentary
Defending Against Web Scraping Attacks
Rob Simon, Principal Security Consultant at TrustedSec,  5/7/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
How Enterprises are Developing Secure Applications
How Enterprises are Developing Secure Applications
Recent breaches of third-party apps are driving many organizations to think harder about the security of their off-the-shelf software as they continue to move left in secure software development practices.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-32089
PUBLISHED: 2021-05-11
** UNSUPPORTED WHEN ASSIGNED ** An issue was discovered on Zebra (formerly Motorola Solutions) Fixed RFID Reader FX9500 devices. An unauthenticated attacker can upload arbitrary files to the filesystem that can then be accessed through the web interface. This can lead to information disclosure and c...
CVE-2020-24586
PUBLISHED: 2021-05-11
The 802.11 standard that underpins Wi-Fi Protected Access (WPA, WPA2, and WPA3) and Wired Equivalent Privacy (WEP) doesn't require that received fragments be cleared from memory after (re)connecting to a network. Under the right circumstances, when another device sends fragmented frames encrypted us...
CVE-2020-24587
PUBLISHED: 2021-05-11
The 802.11 standard that underpins Wi-Fi Protected Access (WPA, WPA2, and WPA3) and Wired Equivalent Privacy (WEP) doesn't require that all fragments of a frame are encrypted under the same key. An adversary can abuse this to decrypt selected fragments when another device sends fragmented frames and...
CVE-2020-24588
PUBLISHED: 2021-05-11
The 802.11 standard that underpins Wi-Fi Protected Access (WPA, WPA2, and WPA3) and Wired Equivalent Privacy (WEP) doesn't require that the A-MSDU flag in the plaintext QoS header field is authenticated. Against devices that support receiving non-SSP A-MSDU frames (which is mandatory as part of 802....
CVE-2020-26139
PUBLISHED: 2021-05-11
An issue was discovered in the kernel in NetBSD 7.1. An Access Point (AP) forwards EAPOL frames to other clients even though the sender has not yet successfully authenticated to the AP. This might be abused in projected Wi-Fi networks to launch denial-of-service attacks against connected clients and...