{"id":2205,"date":"2011-12-30T10:49:02","date_gmt":"2011-12-30T05:19:02","guid":{"rendered":"https:\/\/www.qadit.com\/blog\/?p=2205"},"modified":"2012-01-02T13:59:55","modified_gmt":"2012-01-02T08:29:55","slug":"2205","status":"publish","type":"post","link":"https:\/\/qadit.com\/blog\/2205\/","title":{"rendered":"WiFi Protected Setup PIN brute force vulnerability"},"content":{"rendered":"<p>US-Cert has put out a vulnerability note during December 2011 regarding a brute force attack against wireless routers. The vulnerability was first discovered by Stefan Viehb\u00f6ck and was subsequently independently reported by Craig Heffner. Craig and his team have now released their tool \u201cReaver\u201d over at Google Code which helps with the brute force attacks. <\/p>\n<p>&nbsp; <\/p>\n<p>\n<!--more--><\/p>\n<p>&nbsp; <\/p>\n<p>\nStefan Viehb\u00f6ck&#8217;s PoC Brute Force Tool can be found <a href=\"https:\/\/dl.dropbox.com\/u\/22108808\/wpscrack.zip\">here<\/a>. It is said to be a bit faster than Reaver, but will not work with all Wi-Fi adapters.<\/p>\n<p>&nbsp; <\/p>\n<p>\nMillions of users of wireless routers could possibly be affected by this vulnerability. <strong>The list of vendors affected, given below, are only those whose routers are confirmed (tested) to be vulnerable.<\/strong> Just because your router&#8217;s brand does not get mentioned in the list does not mean that you are safe. <\/p>\n<p>&nbsp; <\/p>\n<p>\n<strong>The US-Cert Vulnerability statement &#8211; VU#723755<\/strong><\/p>\n<p>&nbsp; <\/p>\n<p>\n<strong>Overview<\/strong><\/p>\n<p>&nbsp; <\/p>\n<p>\nThe WiFi Protected Setup (WPS) PIN is susceptible to a brute force attack. A design flaw that exists in the WPS specification for the PIN authentication significantly reduces the time required to brute force the entire PIN because it allows an attacker to know when the first half of the 8 digit PIN is correct. The lack of a proper lock out policy after a certain number of failed attempts to guess the PIN on some wireless routers makes this brute force attack that much more feasible.<\/p>\n<p>&nbsp; <\/p>\n<p>\n<strong>I. Description<\/strong><\/p>\n<p>&nbsp; <\/p>\n<p>\nWiFi Protected Setup (WPS) is a computing standard created by the WiFi Alliance to ease the setup and securing of a wireless home network. WPS contains an authentication method called &#8220;external registrar&#8221; that only requires the router&#8217;s PIN. By design this method is susceptible to brute force attacks against the PIN.<\/p>\n<p>&nbsp; <\/p>\n<p>\nWhen the PIN authentication fails the access point will send an EAP-NACK message back to the client. The EAP-NACK messages are sent in a way that an attacker is able to determine if the first half of the PIN is correct. Also, the last digit of the PIN is known because it is a checksum for the PIN. This design greatly reduces the number of attempts needed to brute force the PIN. The number of attempts goes from 108 to 104 + 103 which is 11,000 attempts in total.<\/p>\n<p>&nbsp; <\/p>\n<p>\nIt has been reported that some wireless routers do not implement any kind of lock out policy for brute force attempts. This greatly reduces the time required to perform a successful brute force attack. It has also been reported that some wireless routers resulted in a denial-of-service condition because of the brute force attempt and required a reboot.<\/p>\n<p>&nbsp; <\/p>\n<p>\n<strong>II. Impact<\/strong><\/p>\n<p>&nbsp; <\/p>\n<p>\nAn attacker within range of the wireless access point may be able to brute force the WPS PIN and retrieve the password for the wireless network, change the configuration of the access point, or cause a denial of service.<\/p>\n<p>&nbsp; <\/p>\n<p>\n<strong>III. Solution<\/strong><\/p>\n<p>&nbsp; <\/p>\n<p>\nWe are currently unaware of a practical solution to this problem.<\/p>\n<p>&nbsp; <\/p>\n<p>\n<strong>Workarounds<\/strong><\/p>\n<p>&nbsp; <\/p>\n<p>\nDisable WPS.<\/p>\n<p>&nbsp; <\/p>\n<p>\nAlthough the following will not mitigate this specific vulnerability, best practices also recommend only using WPA2 encryption with a strong password, disabling UPnP, and enabling MAC address filtering so only trusted computers and devices can connect to the wireless network.<\/p>\n<p>&nbsp; <\/p>\n<p>\n<strong> Vendor Information <\/strong><\/p>\n<table>\n<TR><TH ALIGN=\"LEFT\">Vendor<\/TH><br \/>\n<TH ALIGN=\"LEFT\">Status<\/TH><TH ALIGN=\"LEFT\">Date Notified<\/TH><TH ALIGN=\"LEFT\">Date Updated<\/TH><\/TR><br \/>\n<TR><TD>Belkin, Inc.<\/TD><TD>Affected<\/TD><TD><\/TD><TD>2011-12-27<\/TD><\/TR><\/p>\n<p><TR><TD>Buffalo, Inc.<\/TD><TD>Affected<\/TD><TD><\/TD><TD>2011-12-27<\/TD><\/TR><br \/>\n<TR><TD>D-Link Systems, Inc.<\/TD><TD>Affected<\/TD><TD>2011-12-05<\/TD><TD>2011-12-27<\/TD><\/TR><br \/>\n<TR><TD>Linksys (A division of Cisco Systems)<\/TD><TD>Affected<\/TD><TD>2011-12-05<\/TD><TD>2011-12-27<\/TD><\/TR><br \/>\n<TR><TD>Netgear, Inc.<\/TD><TD>Affected<\/TD><TD>2011-12-05<\/TD><TD>2011-12-27<\/TD><\/TR><\/p>\n<p><TR><TD>Technicolor<\/TD><TD>Affected<\/TD><TD><\/TD><TD>2011-12-27<\/TD><\/TR><br \/>\n<TR><TD>TP-Link<\/TD><TD>Affected<\/TD><TD><\/TD><TD>2011-12-27<\/TD><\/TR><br \/>\n<TR><TD>ZyXEL<\/TD><TD>Affected<\/TD><TD><\/TD><TD>2011-12-27<\/TD><\/TR><br \/>\n<\/table>\n<p><strong>References<\/strong><\/p>\n<p>&nbsp; <\/p>\n<p>\nhttps:\/\/en.wikipedia.org\/wiki\/Wi-Fi_Protected_Setup<br \/>\nhttps:\/\/download.microsoft.com\/download\/a\/f\/7\/af7777e5-7dcd-4800-8a0a-b18336565f5b\/WCN-Netspec.doc<br \/>\nhttps:\/\/www.wi-fi.org\/wifi-protected-setup\/<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"d1Crd7W7Cq\"><p><a href=\"https:\/\/sviehb.wordpress.com\/2011\/12\/27\/wi-fi-protected-setup-pin-brute-force-vulnerability\/\">Wi-Fi Protected Setup PIN brute force&nbsp;vulnerability<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Wi-Fi Protected Setup PIN brute force&nbsp;vulnerability&#8221; &#8212; .braindump - RE and stuff\" src=\"https:\/\/sviehb.wordpress.com\/2011\/12\/27\/wi-fi-protected-setup-pin-brute-force-vulnerability\/embed\/#?secret=OM9e4d7Gzp#?secret=d1Crd7W7Cq\" data-secret=\"d1Crd7W7Cq\" width=\"525\" height=\"296\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><br \/>\nCredit<\/p>\n<p>&nbsp; <\/p>\n<p>\nThanks to Stefan Viehb\u00f6ck for reporting this vulnerability.<\/p>\n<p>&nbsp; <\/p>\n<p>\nThis document was written by Jared Allar.<br \/>\nOther Information<br \/>\nDate Public:\t2011-12-27<br \/>\nDate First Published:\t2011-12-27<br \/>\nDate Last Updated:\t2011-12-27<br \/>\nCERT Advisory:<br \/>\nCVE-ID(s):<br \/>\nNVD-ID(s):<br \/>\nUS-CERT Technical Alerts:<br \/>\nSeverity Metric:\t7.44<br \/>\nDocument Revision:\t21<\/p>\n","protected":false},"excerpt":{"rendered":"<p>US-Cert has put out a vulnerability note during December 2011 regarding a brute force attack against wireless routers. The vulnerability was first discovered by Stefan Viehb\u00f6ck and was subsequently independently reported by Craig Heffner. Craig and his team have now released their tool \u201cReaver\u201d over at Google Code which helps with the brute force attacks. &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/qadit.com\/blog\/2205\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WiFi Protected Setup PIN brute force vulnerability&#8221;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[12],"tags":[],"class_list":["post-2205","post","type-post","status-publish","format-standard","hentry","category-itsec"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s9AH7Q-2205","_links":{"self":[{"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/posts\/2205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/comments?post=2205"}],"version-history":[{"count":0,"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/posts\/2205\/revisions"}],"wp:attachment":[{"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/media?parent=2205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/categories?post=2205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/tags?post=2205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}