October 17, 2017 By Larry Loeb 2 min read

A security researcher unearthed a serious vulnerability that affects the Wi-Fi Protected Access 2 (WPA2) protocol, which protects all modern Wi-Fi networks. That means an attacker can eavesdrop on any device, such as a smartphone or router, within range without entering a password.

Belgian researcher Mathy Vanhoef revealed in a paper, titled “Key Reinstallation Attacks: Forcing Nonce Reuse in WPA2,” that if a certain step of the WPA2 protocol was repeated, it would cause the network to reuse what should be a one-time encryption key to encode the data stream. The WPA2 vulnerability has been dubbed KRACK, which stands for Key Reinstallation Attack.

Unpacking the WPA2 Vulnerability

The vulnerability has more to do with flawed implementation than the protocol itself. Programmers failed to anticipate this particular set of circumstances when writing their code, falsely assuming that any packet loss would result from transmission rather than a direct attack.

To exploit the vulnerability, a cybercriminal would have to launch a man-in-the-middle (MitM) attack against a WPA2-protected Wi-Fi network from within physical range of the target device. This is no trivial task, but it is not impossible, either.

As of this writing, the attack has not been seen in the wild.

Cracking Down on KRACK

Vanhoef gave companies advanced warning about the problem before announcing it publicly, which gave them time to find a solution. Microsoft issued a patch for the vulnerability in its October security release, and technology analyst Rene Ritchie reported in a tweet that Apple had patched the flaw in the latest beta versions of iOS, tvOS, watchOS and macOS.

Unfortunately, using only HTTPS connections for end-to-end encryption is not an adequate workaround. As Ars Technica reported, fraudsters can foil HTTPS using a simple script that causes a site to revert back to unsecured HTTP communications.

Linux-based systems seem to be particularly vulnerable to this type of attack because they require comparatively little effort to exploit — a potentially disastrous problem, since most Internet of Things (IoT) devices are basically Linux systems on a chip. Also, an IoT device manufacturer may not be able to provide a patch to fix the underlying Unix.

The best defense against this vulnerability is vigilant patching. Bleeping Computer posted a list of available patches and pledged to update it as new fixes appear. Security teams should take inventory of devices on their networks that could be affected by this far-reaching attack patch accordingly.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today