The Register® — Biting the hand that feeds IT

Feeds

Researchers find more flaws in wireless security

WPA networks open to limited attack

Regcast training : Hyper-V 3.0, VM high availability and disaster recovery

Wireless networks that use a popular form of security known as Wi-Fi Protected Access (WPA) are vulnerable to an attack that could compromise certain communications in less than 15 minutes, two researchers plan to tell attendees next week at the PacSec 2008 conference in Tokyo.

Martin Beck and Erik Tews - two graduate students at technical universities in Germany - found a combination of techniques that allow an attacker to decrypt limited communications protected with the lesser of two WPA security protocols, known as the Temporal Key Integrity Protocol or TKIP. Using the techniques, attackers could also recover a special integrity checksum and send up to seven custom packets to clients on the network, sources told SecurityFocus.

The attack does not allow the key protecting the communications to be recovered, one of the researchers stressed .

"The new attack on WPA is not a complete key recovery attack," Tews said in an email to SecurityFocus. "It just allows you to decrypt packets and inject packets with custom content. But there is only a single short-term key recovered during the attack."

The research describes the latest weakness in wireless networks' security. In 2001, three researchers found a way to reliably break the previous wireless security protocol, known as Wired Equivalent Privacy (WEP), in less than two hours. By 2007, the latest refinement in attacks against WEP - found by Tews and two other researchers - reduced the time to recover a WEP key to less than a minute of calculations.

In 2002, after seeing WEP thoroughly broken, the industry alliance responsible for setting standards for wireless access points created the Wi-Fi Protected Access (WPA) protocol. Two years, later the firms created a stronger version of the standard known as WPA2.

Tews and Beck's attack appears to be the first practical, albeit limited, break of WPA encryption.

The duo's attack on WPA's Temporal Key Integrity Protocol (TKIP) uses a similar technique to an attack on WEP found in 2004, according to a copy of Beck's and Tews' presentation obtained by SecurityFocus. The WEP attack, known as chopchop, could decipher a packet of data without knowing the key by guessing each byte and using the access point as a check on each guess: If the packet is accepted by the access point, then the attacker knows the plaintext guess is correct.

The Temporal Key Integrity Protocol (TKIP) adds several countermeasures to foil attacks that would have succeeded against WEP. The protocol adds a message integrity check, or MIC, to protect against header and message alterations and uses replay counters to prevent replay attacks.

The researchers, however, found that the countermeasures only made the attack take longer: a wrong guess would cause the packet to be dropped by the access point, while a correct guess would cause a MIC failure and require the attacker to wait 60 seconds. In the case of an important type of networking data known as an Address Resolution Protocol (ARP) packet, only 14 bytes are not known. In less than 15 minutes, an encrypted ARP packet could be deciphered, including the secret MIC data, according to the researchers' presentation.

The attack also allows a limited amount of data to be sent on other channels using the same keystream - an end run around the replay-attack protection of TKIP.

While the security vulnerabilities are limited, the techniques could be used in a denial-of-service (DoS) attack, the researchers stated in their presentation, by using ARP injection to overwrite entries in the ARP table or potentially attack a local network's domain servers. The technique could also be used to channel data through a corporate firewall, they added.

In an email to a security mailing list, PacSec conference organizer Dragos Ruiu recommended that wireless-network administrators move to WPA2 or use the improved WPA security mode, known as Counter Mode with Cipher Block Chaining Message Authentication Code Protocol (CCMP). In the latter case, the access point should not allow clients to revert to TKIP for communications with legacy systems, Ruiu said.

"If you aren't given the option to disable this, you might want to think about getting a different Access Point or Wi-Fi Router," he said.

According to Tews, an experimental implementation of the researchers' attack has been introduced into a development version of the aircrack-ng tool.

Beck and Tews plan to discuss their findings at the PacSec conference in Tokyo next week.

This article originally appeared in Security Focus.

Copyright © 2008, SecurityFocus

Agentless Backup is Not a Myth

Latest Comments

Attack against WPA+TKIP is not comprehensive

I will say, that word sequence "Crack WPA" is very loudly...

http://dl.aircrack-ng.org/breakingwepandwpa.pdf

This is a TKIP flaw... and Tews-Becker attack is based on old fashioned Korek's chopchop inductive packet guess idea. Idea is realized in aircrack-ng -4 tool against WEP (DWEP) an is very impressive: don't look for encryption key itself, find out short keystream to perform packet injectiion with arp(icmp) packets afterward.

TKIP utilize RC4 encryption with MIC(michael) packet integrity. In WEP case, if inductive guess is correct, AP answer is positve, in TKIP case, if packet guess is correct, but MIC fails, AP respond with: wait a 1 minute.

And so, there are 14 unknown arp packet bytes - MIC 8bytes, ICV 4 bytes and 2 last bytes from ip packet source and destination adreses ( ex. 192.168.1.X)and less than 15 minutes need to discover full arp packet.

Attack is very limited and employed in DoS attacks with arpd(dns, icmp ) packet injection.

Recommendation: move to WPA2 + CCMP

0
0

Re: What about filtering?

Have you any idea how easy it is in a half-decent OS to clone a MAC address? ifconfig ath0 link 00:0f:de:ad:be:ef will do just nicely and that MAC address can be picked up rather easily using any decent wireless surveying software. MAC filtering is useless against an attacker with even skiddie levels of clue.

The ideal at the moment, if you really must use wireless, is WPA2-EAP running IPSEC over the link once associated, with "required" in your SPD for all localnet hosts, wired or wireless. Much extra load on your network stack and software crypto (unless you're a lucky sod with either a hardware cryptodev or a Via C7), but it's about as secure as it gets for now; even if they burst your wireless femidom, they still have the IPSEC dutch cap to worry about.

Here's a radical idea: If it's that sensitive a network, don't connect an AP to it. If you think of it as leaving a stray cable, plugged into your core switch, lying on the car-park for any old munchkin to connect to his OLPC*, you'll not go far wrong.

* Do OLPCs have a wired port? I must confess I really don't know.

0
0

Wi-Fi-ers.....

....do it without cables....

0
0

More from The Register

 breaking news
NSA PRISM snoop-gate: Won't someone think of the children, wails Apple
10,000 things probed, mostly about missing kids, Alzheimer patients, we're told
 breaking news
NSA PRISM-gate: Relax, GCHQ spooks 'keep us safe', says Cameron
Whatever they are up to, it's all above board, we're told
PRISM snitch claims NSA hacked Chinese targets since 2009
Snowden suddenly looks safer in Hong Kong after revelations
 breaking news
US chief spook: Look, we only want to spy on 6.66 BEELLLION of you
Americans assured they are not in the NSA's sights
Speech-to-text drives motorists to distraction
Will talking to you mean I crash into that car up ahead, Siri?
DHS warns of vulns in hospital medical equipment
Has your doctor's anasthesia machine been hacked?
 breaking news
'BadNews is malware' says outfit that found it
Google says code harmless but Lookout says code base is evolving
Panda-peddlers cuffed for chess gambling gambit
More porridge on the menu for Chinese coders after second offence
 breaking news
Yes, maybe we should keep hackers in the clink for YEARS, mulls EU
Watch out black hats, they just might throw away the key
Internet fraud still stings suckers
Australians twice as gullible as Americans