CIO

Wi-Fi WPA2 vulnerability FAQ

Is it time to panic?
Tags | WPA2 vulnerability | wireless | Wi-Fi Alliance | networking | AirTight Networks | Aerohive Networks | Access

So this guy at AirTight Networks says Wi-Fi Protected Access 2 has a "hard shell on the outside, but a soft underbelly inside"due to an overlooked vulnerability, and an attacker can decrypt traffic that's been encrypted with WPA2. Is this total panic time?

Well, probably not, based on tentative conclusions from folks who've been trying to figure out what's going on from the very limited information AirTight Networks has released so far.

(See "WPA2 vulnerability found".)

The Wi-Fi Alliance crafted WPA2, based on the IEEE 802.11i specification. Do they have a response to AirTight?

Not yet. A spokesman says they're waiting for the details from the Black Hat conference in Las Vegas. (AirTight will reveal full details of this exploit Thursday afternoon, July 29, during a presentation at the event.)

What actually is going on?

Apparently -- and this is important -- nothing new.

That's according to 802.11 security expert Matthew Gast, who's written "802.11 Wireless Networks: The Definitive Guide" from O'Reilly Media, and is a voting member of the IEEE 802.11 working group, chair of the Wi-Fi Alliance's Security Technical Task Group, and director of product management at Aerohive Networks.

Gast says his best guess -- at this point -- is that the AirTight exploit is Address Resolution Protocol (ARP) spoofing, a "man in the middle attack." According to Wikipedia. "Generally, the aim is to associate the attacker's MAC address with the IP address of another node (such as the default gateway). Any traffic meant for that IP address would be mistakenly sent to the attacker instead.”

That's what appears to be happening in the AirTight exploit, according to Gast. "The ARP spoofing is when the attacker rewrites the MAC address of the default router," he says. "To do that, it masquerades as the AP. Think of the attack as having two components, since you are operating at both Layer 2 (Wi-Fi) and Layer 3 (IP/ARP). The Layer 3 component is well understood; the Layer 2 component is just the way that you transmit the Layer 3 attack on Wi-Fi as opposed to Ethernet.”

ARP spoofing is not unique to WPA2. "If you replace the wireless access point with a switch, and all the wireless connections with Ethernet cables, the [AirTight] attack would still work," Gast says.

Secondly, in this exploit the attacker has to be an authorized user on the wireless network, not some passerby, and both attacker and the victim have to be connected to the same wireless LAN -- the same SSID on the same access point, according to Gast.

Third, the attacker does not actually recover, break or crack any WPA2 encryption keys, according to Gast.

And finally, check to make sure something called "client isolation" is turned on in your access points. If it is, it will disrupt the attack.

What's client isolation?

It blocks two wireless clients attached to the same access point from talking with each other, which is critical to the success of this attack. According to Gast, nearly every WLAN vendor implements this feature.

I'm breathing again. How does this attack work?

Again, this is still informed guesswork at this point. Picture a WLAN access point, connected to a corporate network. An authorized wireless client, say a laptop dubbed the Victim, connects to it as per usual. Then another client, the Attacker, connects to the same access point, also as a valid, fully authorized user; in other words, an employee.

Like the Victim, Gast says, the Attacker goes through a normal authorization process and ends up with two sets of encryption keys. One is called the Pairwise Transient Key (PTK), which is used only between the one client and the access point to authenticate whichever one is transmitting. The second is the Group Temporal Key (GTK), which is shared between the access point and all the clients associated to it, to authenticate broadcast messages.

What happens next?

"The fundamental attack is still the traffic redirection made possible by ARP spoofing," Gast says. "The only reason you are able to redirect the traffic is because you are really exploiting the fundamentally trusting nature of ARP."

Meaning, the Attacker masquerades as the access point, and the Victim accepts it as such.

So the Victim thinks the Attacker is a legit access point. And then?

The Attacker says, "I have a new default router for you." Which turns out to be: the Attacker device.

The Victim accepts the change. The next frame it sends, per usual, goes to the original bona fide access point, where it's encrypted, also per usual, with the pairwise key shared by the Victim and the access point. Everything is normal. Then the access point says "I have a frame, and a destination for it. I'll send this frame to the destination." But now, the destination is the Attacker, the Victim's "new default router."

WPA2 is still secure. Up to this point, the attacker has no way of reading what's been encrypted between the Victim and the access point.

Then how does the Attacker work it?

This is actually pretty neat, but again it doesn't appear to be a weakness in WPA2: the access point then uses the valid pairwise key associated with the Attacker, which is an authorized device on the network, to encrypt the frame received from the Victim and send it on to the presumably authorized destination. As Gast says, "There's nothing untoward for the access point to pick up [on]."

The Attacker receives the frame and can decrypt what's in it, because it already has the valid, functioning key to do so: the key it obtained from that access point when the Attacker was authorized originally.

That's…evil! So, everything works as it should, except it's undermined by the fact that the Attacker is successfully impersonating this default router?

Right. If the Attacker is smart, it really will impersonate the router, to delay detection. For example, the Victim requests www.networkworld.com; the Attacker fetches the page and then returns it to the Victim. If it doesn't, from the Victim's viewpoint the WLAN has stopped working, a call gets placed to the IT help desk, and smart people start looking for a problem.

So what does Gast recommend in terms of mitigation?

The first thing is what he calls "The Apprentice Mitigation," using Donald Trump's signature line on "The Apprentice" TV show: "You're fired."

The nature of the attack means there would be multiple IP addresses from a single MAC address. "I'm pretty sure that is an alarm [condition] in many IDSs intrusion-detection systems,"  Gast says. Associated with the MAC address is a user ID.

I like that one. What else?

The immediate technical countermeasure for this type of attack is the use of the access point's client isolation feature: the access point won't let the Victim talk to the Attacker. From the Victim's viewpoint, Gast says, the network connection would fail, and the "fingerprint" of the Attacker would remain. See mitigation No. 1, above.

The attack seems to have a limited scope. "The attack requires that the [encryption] key be shared," Gast says. "Keys are not shared across BSSIDs (sometimes called 'virtual access points'), so the attack only works for clients connected to the same SSID on the same AP."

Similarly, segmenting different groups of users onto different virtual WLANs would prevent anyone in one group using the attack for members of another group. Suppose a university groups faculty and staff on one BSSID, students on another, and visitors on a third. The students will not be able to use the AirTight exploit against their teachers.

Last, and certainly not least, once details of the exploit are made public on Thursday, we can expect WLAN vendors to respond quickly to address any problems.

Can I have a beer now?

I'll join you.

John Cox covers wireless networking and mobile computing for "Network World."

Twitter: http://twitter.com/johnwcoxnww

Email: john_cox@nww.com

Blog RSS feed: http://www.networkworld.com/community/blog/2989/feed

Read more about anti-malware in Network World's Anti-malware section.

Join CIO, the CIO Executive Council & IDC on 6 October at Australia’s premier Melbourne event for senior IT executives – the CIO Summit 2010. Find out more or register now.

More about: AirTight Networks, IEEE, LAN, O'Reilly, Reilly, Wikipedia
References show all

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
Users posting comments agree to the CIO comments policy.
Login or register to link comments to your user profile, or you may also post a comment without being logged in.
Related Coverage
 
Featured Whitepapers
Data Profiling, Data Integration and Data Quality: The Pillars of Master Data Management

During conversations and interviews with both vendors and their customers, recurring themes led to conclusions about the evolution of successful master data management initiatives. Read the full research report now.

Wondering how to improve your business with UC on an IP Network?

Join Computerworld's Live Webinar where we will address the move many companies are making towards IP based voice services (SIP trunking, VoIP) and look at how they are using a single connection for data and voice rather than separate lines. Learn about the latest in IP networks and how it can help your organisation.

Wednesday 25th November 2009, Time 10.30 am EST (Sydney, Australia) Screening at your desk

Register now

  • +

    Moving day: How to protect your company during a relocation 09 September, 2010 07:12:00

    When moving you'll need to keep tabs on a lot of assets. Careful planning will secure your business & get you back up quickly
    In its 16 years of business, DataServ Solutions has relocated five times. That makes David Berndt, CIO at the document-digitization and process-automation company in St. Louis, Mo., something of an expert on the topic of securing corporate moves. "By now, we've got a good process," he says. In the most recent move this past February, nothing was lost or damaged. "We shut down the office at about 2:30 on Friday, and we were up 100 percent on Monday, with no disruption for our clients and no service levels missed."
  • +

    Keycorp asks shareholders to accept Archer offer 09 September, 2010 11:32:00

    Archer's offer a 42 per cent per share premium
    Payments technology group Keycorp (ASX:KYC) is pushing for its shareholders to accept a cash offer from Australian private equity firm Archer Capital which has the potential to lift the struggling company.
  • +

    Enterprise risk management: Get started in six steps 08 September, 2010 01:15:00

    Let's say your organisation doesn't have a formal enterprise risk management program. If you're at a big company, ERM might seem daunting because of silos, inertia and so on.
    Let's say your organization doesn't have a formal enterprise risk management program. If you're at a big company, ERM might seem daunting because of silos, inertia and so on.
  • +

    Senate data retention inquiry to be delayed 09 September, 2010 15:05:00

    Australian Federal Police and Attorney-General's Department yet to make clear whether they will cooperate with proceedings
    Greens senator, Scott Ludlam, will propose a Senate inquiry’s report into data retention and online privacy be delayed when Parliament next sits.
  • +

    Freed journalist tricked captors into Twitter access 08 September, 2010 04:25:00

    Japanese freelancer hooked up his captor's cell phone for Internet access before tweeting to the world
    A Japanese journalist freed over the weekend by captors in Afghanistan managed to send two Twitter messages before his release while teaching a captor how to access the Internet on a new cell phone, he said Tuesday.

Recent comments
Zones
SAS Resource Centre

This Resource Centre hosts a wealth of thought leadership articles, whitepapers, and success videos, to help you make the most out of your corporate information in order to swiftly make sound business decisions to survive and thrive in the current economic climate.

Oracle Resource Centre

News, Features and the latest whitepapers on SOA, Application Grid, Enterprise Management and Database

Upcoming Industry Events
CIO Industry Insight Podcast #9: Tim Ayling, Chief Executive Officer, Platform46
Listen to the latest edition of CIO Live which is now available for download.
Listen to the podcast
Sign up to the CIO Live email
Whitepaper
Securing People and Information: How to Protect Against Today’s Web-based Threats

This white paper explores the benefits of an Application Delivery Network, highlighting the ability to protect your users and applications and still deliver outstanding application performance with confidence, consistency and cost-effectiveness across your distributed network.

Read Whitepaper

Brought to you by