4 ms·
Kr00k vuln in WiFi chips that allows unauthorized decryption of traffic
- skunkworker 7y agoAn interesting attack on WPA2 on unpatched devices. This reminds me of the WPS reaver attack, which is a complete facepalm from an implementation perspective. Only 11,000 possible combinations, and trying 1 key every other second would net you the WPA password in < ~5 hours. "In 2011, a security researcher named Stefan Viehböck discovered a flaw in this implementation. The concept he introduced was based on the following facts: Out of the 8 digits of the PIN, the last digit is a checksum, which leaves 7 digits to guess. The PIN is validated by dividing it into 2 halves. So first half leaves 10^4 = 10,000 guesses & 2nd half leaves 10^3 = 1000 guesses. So a total of 11000 guesses only, where it should be 10^8 = 100000000 guesses." [1] https://kalilinuxtutorials.com/reaver-pixewps/ https://kalilinuxtutorials.com/reaver-pixewps/
- bjornsing 7y agoYea makes you wonder about the bozos at Wi-Fi Alliance who designed that shit... How can you make a blunder like that?
- semi-extrinsic 7y agoAll the way back to WEP, it's been clear that the WiFi people are much more interested in the radio-technical aspects than safety.
- vlan0 7y ago>WiFi people are much more interested in the radio-technical aspects than safety. History shows us we should expect folks to build the thing then improve later.
- iliketosleep 7y agoAh the WPS reaver attack. It's one of the biggest jokes in security I've ever seen. It's like having two doors leading into the same "secure" room: one is a big iron door (WPA2), and the other is a flimsy wooden door (WPS) that can be pushed over with just a bit of force. Best of all, WPS was enabled by default on most access points and there was no delay on retries. What makes it even worse is this happened after the whole WEP debacle. You'd think the Wi-Fi Alliance would do some security auditing, but they were obviously more focused on collecting certification fees.
- heavyset_go 7y agoIs there a proof of concept out there yet? Also, does this require a firmware patch, or can it be mitigated via software? edit: I can't reply to the comment below about iOS updates because the comment is dead, but I just would like to interject that iOS and macOS updates can, and sometimes do, contain firmware updates for hardware. The release notes for the macOS update that contains the fix doesn't specify if the fix is in firmware or software, but I suspect it is in the former.
- zoonosis 7y agoThe article mentions that iOS 13.2 fixes the issue. If an iOS update can fix it, then I think it would just be software.
- lxgr 7y agoSince the bug is apparently in FullMAC devices, it would be a firmware fix in most cases (unless someone is running a FullMAC device as SoftMAC for whatever reason). Also, the boundaries between firmware, hardware and (driver) software are pretty murky as far as Wi-Fi drivers are concerned: I remember reading that many FullMAC devices contain their own firmware in a ROM and have some room in on-chip RAM for patches (but not an entirely new firmware image!). These patches can be uploaded at device initialisation time and are contained in the device driver. This is similar conceptually to microcode, both in that such updates are not persistent (i.e. have to be applied again after every boot) and optional (compared to a mandatory firmware blob upload, you won't notice if your driver is outdated or simply not installing updates for a known vulnerability).
- heavyset_go 7y agoThanks for your detailed post. > Also, the boundaries between firmware, hardware and (driver) software are pretty murky as far as Wi-Fi drivers are concerned Yeah, this is why I ask if it can be fixed via software. I've been utterly surprised at the amount of bugs that exist in firmware but can be mitigated on the seemingly software-side of things. I have a device that used the brcmfmac driver on Linux until today, and am hoping I won't have to shelve it forever.
- titzer 7y agoWhat I gathered from my quick scan of their PDF: An attacker can trigger a dissociation between the device and the access point. The dissociation causes the device to zero its temporary encryption key called the TK (transient key), which is the key used to encrypt traffic between the device and the access point. Unfortunately, some data frames still on the device could then be encrypted with this zero key and sent anyway. Because the key is known to be zero, the attacker can decrypt these few data frames (a couple of kilobytes) trivially. Since the attacker can trigger this at will, they can leak an unbounded amount of data. It's essentially a race condition in hardware between clearing keys and finishing sending off the last few packets inside the transmission buffer. Nasty! This is going to require you to patch your firmware.
- dfox 7y agoThe fact that attacker can cause dissociation is separate vulnerability slash wifi design decision. Detecting active attackers doing exactly that is in fact (literal) text book example of what statistical IDS does. The question of what exactly you are going to do if you detect such an attacker is unfortunately another matter. Edit to add: this vulnerability essentially upgrades a class of well-known DoS attacks against WiFi networks to potential data exfiltration. On the other hand I feel like that intentionally exploiting this combination for data exfiltration by actively causing disassociations is not exactly practical attack, because you are going to cause significant disruption to operation of the network, ie. the target users are just going to give up and complain that the network is broken.
- mjevans 7y agoThe next time I update (wifi) routers I'm responsible for, I think I'm going to go fully Internet Only DMZ, and Wireguard 'VPN' for entry to the LAN.
- josteink 7y agoThat sounds nice on paper, but will make common things like accessing Plex-servers from apps on the set-top box, Chromecasting and what not a royal pain in the ass.
- bflesch 7y agoYou can still disable wireguard at any time and fall back to "unsafe" use for chromecast etc
- heavyset_go 7y agoI thought this would be the case, but I have most of my WiFi-enabled devices using WireGuard, and don't have a problem accessing my self-hosted services, nor with casting. This is the case even with phones using WireGuard. I can cast, use Jellyfin, and cast from Jellyfin just fine. edit: I should mention that I don't have an internet-only DMZ, just WireGuard for the LAN.
- apfsx 7y agoI can't get any casting to work when my phone is connected with WireGuard. I have exclude private IP's on for the one I'm connected to. It'll show for instance in the YouTube app but not actually be able to cast. Disabling VPN and retrying works immediately.
- heavyset_go 7y agoIt might have something to do with how you've implemented your VPN on the server-side. I had to play with iptables to get my devices to talk with one another seamlessly. Possibly had to do something on the OpenWRT side, as well, but it's been a while since I initially configured my network to work with WireGuard.
- jascii 7y agoLess sensationalist and more informative link: https://nvd.nist.gov/vuln/detail/CVE-2019-15126 https://nvd.nist.gov/vuln/detail/CVE-2019-15126 (CVSS Severity Base Score: 3.1 Low) Eh yeah, you shouldn't use WPA2 as your sole defence against data exfiltration. Nice way to drive traffic to your website though..
- dfox 7y agoTo summarize the mechanism: the affected chips will transmit packets that are waiting in the Tx buffer even after the station was disassociated and because the station is disassociated (and thus the encryption key was zeroized), these packets are going to be transmitted encrypted with all-zero key.
- tptacek 7y agoNot that I think this an especially scary vulnerability, but I wouldn't use CVSS scores as a basis for evaluating any kind of bug. CVSS is a ouija metric without any real merit. The underlying work here is good and interesting. If companies are going to hype bugs, let it be for stuff like this!
- Fnoord 7y agoI never see Temporal Score and Environmental Score being used. I wonder if it could add nuance where needed.
- jascii 7y ago> CVSS is a ouija metric without any real merit. Tell that to the hard working folks that define the standard, I'm sure they'll appreciate it.. Like any such metric, CVSS is far from perfect, however, in the real world you are sometimes called upon to express things in a quantitative manner even if they are better expressed in a qualitative manner, for instance when you need to justify security spending in a corporate environment, or in the context of compliance reporting. Do you know of a better tool/standard? > If companies are going to hype bugs, let it be for stuff like this! That's a bit like crying wolf though, isn't it? It desensitises people to actual issues and takes focus and funds away from them. This kind of fear based marketing might be useful if your goal is to suck a naive client dry for a year or so, if you are actually trying to make the world a safer place it does more harm then good.
- raybb 7y agoRelated Wikipedia article: https://en.wikipedia.org/wiki/Kr00k https://en.wikipedia.org/wiki/Kr00k