Disable WPS in WiFi routers -- if that's possible in your device, experts say

Dark Reading Staff, Dark Reading

December 30, 2011

3 Min Read

Millions of wireless routers worldwide are susceptible to a brute-force attack that breaks a widely deployed built-in security feature for WiFi and ultimately cheats the newest generation of secure WiFi, WPA/WPA2. And as of today, two open-source tools are circulating that simulate the attack.

Security researcher Stefan Viehbock this week published a white paper exposing vulnerabilities in the WiFi Protected Setup (WPS) protocol that lets an attacker grab WPA/WPA2 passwords in just a few hours. WPS contains a design flaw that allows an attacker to easily guess the PIN on a WiFi router and then obtain the network's WPA password. In response, US-CERT issued an advisory on the newly discovered flaws, noting that while there's no solution to the issue, the best mitigation for now is to disable WPS altogether, although not all routers allow this.

Among the vendors affected by the WPS flaw are Cisco/Linksys, Netgear, D-Link, Belkin, Buffalo, ZyXEL, and Technicolor.

WPS was developed by the WiFi Alliance as a means of simplifying and ensuring that consumers and other users deploy the security features within their WiFi routers. It cuts the number of steps required for users to set up a WiFi network in half.

Viehbock's research was echoed this week by researchers at Tactical Network Solutions, who had been working on the same issue for some time: They have now released a homegrown tool called Reaver into the public domain so that users can test for the problem. Viehbock also released his own proof-of-concept tool today.

"Once you know the WPS PIN, you can verify you have the correct PIN, which gives you the WPA key," says Craig Heffner, who conducts exploit development for TNS. "The protocol needs to be fixed and then vendors need to implement the changes."

The WiFi Alliance today noted that it had updated the protocol a year ago to prevent the risk of such an attack: "The Wi-Fi Alliance takes security seriously and introduced an updated specification a year ago that addresses this concern," says Kelly Davis-Felner, marketing director of The Wi-Fi Alliance. "We are currently evaluating whether additional updates are needed."

[Secure Open Wireless Access (SOWA) proof-of-concept aims to make openly available WiFi networks safer by giving users encrypted connections to wireless networks without their risking connecting to a rogue wireless access point or their traffic getting sniffed or hijacked. See Baking Security Into Open WiFi Networks.]

TNS's Reaver tool can crack WPS PINs and grab plain-text WPA/WPA2 passphrases within a four- to 10-hour time frame, according to TNS. What makes this type of attack especially dangerous is not only that it expedites WPS PIN-hacking, but also lets the attacker recover the WPA password, even if the user changes it.

The attack lets a bad guy get onto the WLAN and conduct man-in-the middle attacks and other exploits relatively easily, Heffner says.

Just how this will be fixed is unclear: "Hopefully, the vendors will implement the fixes fairly quickly. But they typically do not release new firmware updates for devices that are no longer supported. A lot are only a couple of years old, but most [users] neglect to apply updates as well," Heffner says. "Even if vendors publish a patch today, I still see this as a viable attack for the next couple of years."

Disabling WPS is the best bet, but not all routers provide an option to do so. Others don't actually disable even after the user hits the "disable" command.

WPA2 encryption itself isn't the problem: It's other features like WPS that destabilize it. "WPA2 is very strong as long as you have a good passphrase. But you never know when other vulnerabilities out there could allow the compromise of your device -- therefore your WPA key," Heffner says. "When a new technology comes out, unfortunately even if it's intended to help, it can hurt."

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.

About the Author(s)

Dark Reading Staff

Dark Reading

Dark Reading is a leading cybersecurity media site.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights