{"id":121551,"date":"2017-10-22T12:30:07","date_gmt":"2017-10-22T10:30:07","guid":{"rendered":"https:\/\/mygaming.co.za\/news\/?p=121551"},"modified":"2017-10-22T10:28:14","modified_gmt":"2017-10-22T08:28:14","slug":"what-you-need-to-know-about-the-krack-wi-fi-vulnerability","status":"publish","type":"post","link":"https:\/\/mygaming.co.za\/news\/broadband\/121551-what-you-need-to-know-about-the-krack-wi-fi-vulnerability","title":{"rendered":"What you need to know about the KRACK Wi-Fi vulnerability"},"content":{"rendered":"<p><em>EFF Deeplinks Blog<\/em><\/p>\n<p>This week security researchers announced a newly discovered vulnerability dubbed\u00a0<a class=\"attrlink\" href=\"https:\/\/www.krackattacks.com\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"https:\/\/www.krackattacks.com\">KRACK<\/a>, which affects several common security protocols for Wi-Fi, including WPA (Wireless Protected Access) and WPA2. This is a bad vulnerability in that it likely affects billions of devices, many of which are hard to patch and will remain vulnerable for a long time. Yet in light of the sometimes overblown media coverage, it\u2019s important to keep the impact of KRACK in perspective: KRACK does\u00a0<em>not<\/em>\u00a0affect HTTPS traffic, and KRACK\u2019s discovery does\u00a0<em>not<\/em>\u00a0mean all Wi-Fi networks are under attack. For most people, the sanest thing to do is simply continue using wireless Internet access.<\/p>\n<div>\n<h3 data-usually-unique-id=\"998534428299800627613292\">The limited privacy goals of WPA<\/h3>\n<\/div>\n<p>It\u2019s worth taking a step back and remembering why a cryptographic protocol like WPA was developed to begin with. Before the advent of Wi-Fi, computers typically connected to their local Internet access point (e.g. a modem) using a physical wire. Traditional protocols like Ethernet for carrying data on this wire (called the physical layer) were not encrypted, meaning an attacker could physically attach an eavesdropping device to the wire (or just another computer using the same wire) to intercept communications. Most people weren\u2019t too worried about this problem; physically attaching a device is somewhat difficult, and important traffic should be encrypted anyways at a higher layer (most commonly a protocol like TLS at the transport layer). So Ethernet was unencrypted, and remains so today.<\/p>\n<p>With wireless protocols it became much easier to eavesdrop on the physical layer. Instead of attaching a device to a specific wire, you just need an antenna somewhere within range. So while an unencrypted wireless network is theoretically no less secure than an unencrypted wired network, in practice it\u2019s much easier to set up an eavesdropping device. For some it became a hobby to drive or bike around with an antenna looking for wireless networks to eavesdrop on (called\u00a0<a class=\"attrlink\" href=\"https:\/\/en.wikipedia.org\/wiki\/Wardriving\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"https:\/\/en.wikipedia.org\/wiki\/Wardriving\">wardriving<\/a>). In response, the IEEE (a computer and electronics engineers\u2019 professional organization) standardized an encryption protocol called WEP (Wired Equivalent Privacy). The name is telling here: the goal was just to get back to the relative privacy of a wired connection, by using encryption so that an eavesdropping device couldn\u2019t read any of the traffic. WEP was badly broken cryptographically and has been supplanted by WPA and WPA2, but they have the same basic privacy goal.<\/p>\n<p>Note that WPA\u2019s privacy goals were always very limited. It was never intended to provide complete confidentiality of your data all the way to its final destination. Instead, protocols like TLS (and HTTPS) exist which protect your data end-to-end. In fact, WPA provides no protection against a number of adversaries:<\/p>\n<ul class=\"listtype-bullet listindent1 list-bullet1\">\n<li>At any point between the access point and the server you\u2019re communicating with, an eavesdropper can read your data whether the first hop was WPA, Ethernet, anything else. This means your Internet provider or any Internet router on the network path between you and the destination server can intercept your traffic.<\/li>\n<li>Your access point operator (e.g. the owner of your local coffee shop) can read your traffic.<\/li>\n<li>Anybody who compromises your access point can read your traffic, and there is a long history of\u00a0<a class=\"attrlink\" href=\"https:\/\/www.sohopelesslybroken.com\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"https:\/\/www.sohopelesslybroken.com\/\">exploits against wireless routers<\/a>.<\/li>\n<li>Anybody who knows the access point\u2019s password can perform a machine-in-the-middle attack and read your traffic. This includes anybody who cracks that password.<\/li>\n<\/ul>\n<div>\n<h3 data-usually-unique-id=\"719952190739810949104119\">A secondary goal: access control<\/h3>\n<\/div>\n<p>In addition to providing privacy against local eavesdroppers, WPA is commonly used to provide access control to the network by requiring the use of a \u201cpre-shared key\u201d to create sessions. This is the Wi-Fi access password or token which is familiar to most users when trying to connect to a new network. The goal here is simple: the owner of the wireless access point may want to prevent access by unauthorized devices, require new devices to jump through some hoops like watching an advertisement or agreeing to a terms of use agreement, or otherwise\u00a0<a class=\"attrlink\" href=\"http:\/\/www.ex-parrot.com\/pete\/upside-down-ternet.html\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"http:\/\/www.ex-parrot.com\/pete\/upside-down-ternet.html\">alter traffic for unauthorized guests<\/a>. For years EFF has supported increased availability of\u00a0<a class=\"attrlink\" href=\"https:\/\/openwireless.org\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"https:\/\/openwireless.org\/\">open wireless access points<\/a>, but certainly access point owners should have the ability to limit access if they want to.<\/p>\n<div>\n<h3 data-usually-unique-id=\"967327654630780248705316\">How KRACK changes the picture<\/h3>\n<\/div>\n<p>KRACK makes it possible for an adversary to completely undermine the privacy properties of WPA and WPA2 in many cases. The attack is somewhat complex in that it requires active broadcasting of packets and tricking a device into resetting its key, but it\u2019s the kind of thing that will likely soon be automated in software. This means that, for now, data on many wireless access points may be vulnerable to interception or modification. Keep in mind two big caveats:<\/p>\n<ul class=\"listtype-bullet listindent1 list-bullet1\">\n<li><b>The attacker must be local and proactive<\/b>. Carrying out this attack requires having an active antenna in range of the targeted wireless network and requires broadcasting many packets and intercepting or delaying others. This is all doable, but does not easily scale.<\/li>\n<li><b>Important traffic should already be protected with HTTPS.\u00a0<\/b>As discussed above, there are already many potential attackers that WPA provides no security against. At worst, KRACK adds an additional one to the list, but with no more power than you ISP or any router on the Internet backbone already has (and those are much more scalable places to conduct surveillance or other mischief). We already have protocols to defend against these attackers, and thanks to the success of projects like EFF\u2019s\u00a0<a class=\"attrlink\" href=\"https:\/\/www.eff.org\/encrypt-the-web\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"https:\/\/www.eff.org\/encrypt-the-web\">Encrypt The Web<\/a>\u00a0initiative\u00a0<a class=\"attrlink\" href=\"https:\/\/www.eff.org\/deeplinks\/2017\/02\/were-halfway-encrypting-entire-web\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"https:\/\/www.eff.org\/deeplinks\/2017\/02\/were-halfway-encrypting-entire-web\">more than half of all Internet traffic<\/a>\u00a0is already protected by HTTPS.<\/li>\n<\/ul>\n<p>On the access control front, it\u2019s unclear how much KRACK matters. It does not provide a new way to crack the pre-shared key or password of a wireless network. Some variants of KRACK enable recovering enough key material to hijack an existing connection and use it to gain unauthorized access, but this is probably not the easiest way to gain unauthorized access.<\/p>\n<div>\n<h3 data-usually-unique-id=\"338126928341448981914263\">How did we get here?<\/h3>\n<\/div>\n<p>Matt Green provides\u00a0<a class=\"attrlink\" href=\"https:\/\/blog.cryptographyengineering.com\/2017\/10\/16\/falling-through-the-kracks\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"https:\/\/blog.cryptographyengineering.com\/2017\/10\/16\/falling-through-the-kracks\/\">a great overview<\/a>\u00a0of the flawed process that led to KRACK being undiscovered for over a decade. The biggest single problem is that the protocol definitions were not easily available to security researchers, so none bothered to seriously look. This is another clear example of why important protocols like WPA and WPA2 should be open and free to the public: so that security researchers can investigate and catch these sorts of vulnerabilities early in the life of a protocol, before it\u2019s embedded in billions of devices.<\/p>\n<div>\n<h3 data-usually-unique-id=\"754297176223017977741378\">What you can do to protect your local network<\/h3>\n<\/div>\n<p>Fortunately, while the KRACK vulnerability is baked into the WPA specification and deployed on billions of devices, it is relatively easy to patch in a backwards-compatible way. It requires patching both devices that connect to the Internet and access points. If you operate a wireless network, patching your router is a great step. Your Internet devices (your computer, phone or tablet) will also need to be patched. Many patches are already available and many devices will automatically be patched.<\/p>\n<p>With that said, it\u2019s a forgone conclusion that there will still be billions of unpatched devices for years (maybe even decades) to come. That\u2019s because, as we\u2019ve\u00a0<a class=\"attrlink\" href=\"https:\/\/www.eff.org\/deeplinks\/2017\/05\/why-patching-problem-makes-us-wannacry\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"https:\/\/www.eff.org\/deeplinks\/2017\/05\/why-patching-problem-makes-us-wannacry\">said before<\/a>:<\/p>\n<blockquote><p>patching large, legacy systems is hard. For many kinds of systems, the existence of patches for a vulnerability is no guarantee that they will make their way to the affected devices in a timely manner. For example, many Internet of Things devices are unpatchable, a fact that was\u00a0<a class=\"attrlink\" href=\"https:\/\/krebsonsecurity.com\/tag\/mirai-botnet\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"https:\/\/krebsonsecurity.com\/tag\/mirai-botnet\/\"><u>exploited by the Mirai Botnet<\/u><\/a>. Additionally, the majority of Android devices are no longer supported by Google or the device manufacturers, leaving them open to exploitation by a\u00a0<a class=\"attrlink\" href=\"http:\/\/www.zdnet.com\/article\/android-fragmentation-turning-devices-into-a-toxic-hellstew-of-vulnerabilities\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"http:\/\/www.zdnet.com\/article\/android-fragmentation-turning-devices-into-a-toxic-hellstew-of-vulnerabilities\/\"><u>\u201c<\/u><\/a><a class=\"attrlink\" href=\"http:\/\/www.zdnet.com\/article\/android-fragmentation-turning-devices-into-a-toxic-hellstew-of-vulnerabilities\/\" target=\"_blank\" rel=\"noreferrer nofollow noopener\" data-target-href=\"http:\/\/www.zdnet.com\/article\/android-fragmentation-turning-devices-into-a-toxic-hellstew-of-vulnerabilities\/\"><u>toxic hellstew\u201d of known vulnerabilities<\/u><\/a>.<\/p><\/blockquote>\n<p>So while we don\u2019t think people should necessarily freak out about KRACK, it does demonstrate once again how important it is for industry to solve the patching problem.<\/p>\n<p><a href=\"https:\/\/www.eff.org\/deeplinks\/2017\/10\/krack-vulnerability-what-you-need-know\" target=\"_blank\" rel=\"noopener\">EFF<\/a><\/p>\n<h4><strong>Now read:\u00a0<a href=\"https:\/\/mybroadband.co.za\/news\/security\/233992-what-to-do-if-you-are-in-south-africas-massive-data-leak.html\" rel=\"bookmark\">What to do if you are in South Africa\u2019s massive data leak<\/a><\/strong><\/h4>\n","protected":false},"excerpt":{"rendered":"<p>This week security researchers announced a newly discovered vulnerability dubbed\u00a0KRACK.<\/p>\n","protected":false},"author":226,"featured_media":96051,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_sma_x_autopost_enabled":true,"_sma_x_custom_text":"","_sma_x_autopost_status":"idle","_sma_x_autopost_error":"","_sma_x_post_id":"","_sma_x_attempts":0,"footnotes":""},"categories":[8812],"tags":[1461,15699],"class_list":["post-121551","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-broadband","tag-security","tag-wi-fi"],"_links":{"self":[{"href":"https:\/\/mygaming.co.za\/news\/wp-json\/wp\/v2\/posts\/121551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mygaming.co.za\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mygaming.co.za\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mygaming.co.za\/news\/wp-json\/wp\/v2\/users\/226"}],"replies":[{"embeddable":true,"href":"https:\/\/mygaming.co.za\/news\/wp-json\/wp\/v2\/comments?post=121551"}],"version-history":[{"count":0,"href":"https:\/\/mygaming.co.za\/news\/wp-json\/wp\/v2\/posts\/121551\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mygaming.co.za\/news\/wp-json\/wp\/v2\/media\/96051"}],"wp:attachment":[{"href":"https:\/\/mygaming.co.za\/news\/wp-json\/wp\/v2\/media?parent=121551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mygaming.co.za\/news\/wp-json\/wp\/v2\/categories?post=121551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mygaming.co.za\/news\/wp-json\/wp\/v2\/tags?post=121551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}