News for hackers. Stuff that matters.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by twitchyliquid64 on Monday October 16, 2017 @08:33AM (#15482726)
This is not an end-of-the-world type vulnerability.

1. Does not affect long-term credentials - certs, wifi passwords are still safe. Rather, confidentiality (secrecy) from client --> AP is affected, and in some cases packet forgery is possible (integrity).

2. Actually accomplishing this attack, for now, requires special and expensive hardware (med to high range SDR gear). Its also not that reliable outside of a lab environment.

3. Everything you care about _should_ be going over TLS, which mitigates all effects of this attack. If it isnt, fix it.

This is a great moment for you to fire up wireshark and audit the traffic going over your wireless link. If its not adequately protected and you care about it, fix it.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by mikehollinger on Monday October 16, 2017 @09:35AM (#15483034)
Special gear isn't all that expensive. From a cursory view of the video and a skim of the paper, they're using hostapd, which means that they simply need a wifi adapter with a sufficiently-good driver. Anything with the RTL8188CUS seems to be pretty nice (that's what I'm using in a raspberry pi project, myself).

So - I agree with you that there's a barrier to entry, but it's not that big of a barrier.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by bitexploder on Monday October 16, 2017 @10:23AM (#15483367)
Agreed. Not specialized equipment. Just something that lets you shoot raw frames and run as a WiFi AP. I have 2 such USB WiFi dongles in my bag for setting up such environments.

Give: http://www.tp-link.com/us/products/details/cat-5520_TL-WN722... a shot. It will let you setup an AP in a VM easily, etc. It is our currently anointed dongle for VM hosted MiTM setups.

I haven't tested it, but it should work fine if they are just using mods to hostapd.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by ktta on Monday October 16, 2017 @12:40PM (#15484543)
Note that there are two versions of that dongle. The version 1 has Atheros Chip[1] with the best wi-fi support but version 2 has a Realtek chip[2] with subpar support. AFAIK it isn't possible to get version 1 of the dongle today.

My suggestion is Alfa AWUS036NHA (The last three letters are important!) which has AR9271 chip with great support with the ath9k driver.

[1]: https://wikidevi.com/wiki/TP-LINK_TL-WN722N

[2]: https://wikidevi.com/wiki/TP-LINK_TL-WN722N_v2

[3]:http://www.ebay.com/itm/ALFA-AWUS036NHA-802-11n-Wireless-N-W...

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by bitexploder on Monday October 16, 2017 @12:57PM (#15484727)
Hmmn, I wasn't aware. I will have to check and see, but it is probably I have a v1, since I have had it for a while. It has always taken a bit of effort and hunting to find WiFi cards with good chipsets that support monitor mode and AP modes painlessly (for WiFi frame capture, etc.).

Thanks for the info... I am a little disappointed, the ones we have been using are all very reliable and worked out of the box, so we must have the Atheros ones. It also seems impossible to order the older version specifically.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by ktta on Monday October 16, 2017 @12:59PM (#15484742)
>It also seems impossible to order the older version specifically.

Yep. I've been trying for a while, but couldn't be sure if what I was looking at was version 1. Especially since the Alfa alternative is bulkier.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by bitexploder on Monday October 16, 2017 @01:14PM (#15484876)
Arch Linux Wiki and Amazon comments are sometimes the best resources for hardware compatibility and reviews. Sort of amusing.

Also, confirming, everyone even as recent as a few months back seems to have gotten a 1.0 or 1.1 version, but newer ones are now 2.0

https://imgur.com/a/jcnbE (one from my bag).

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by twitchyliquid64 on Monday October 16, 2017 @05:04PM (#15486645)
On second read, timing requirements arent a thing if you are spoofing the network (obviously) so for that attack vector you don't need specialized hardware. (wont let me edit :( )
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by firewall-bad on Monday October 16, 2017 @11:21AM (#15483814)
I do think it's an end-of-the-world type vulnerability, at least as far as Wi-Fi goes.

1) The paper claims confidentiality compromise allows the attacker to hijack a tcp connection: "allow an adversary to decrypt a TCP packet, learn the sequence number, and hijack the TCP stream to inject arbitrary data", this on all cases, even in the cases where it doesn't allow forgery (CCMP)

2) There's no such claim on the paper and according to the researcher, exploiting this on Android and Linux is trivial. Apparently also macOS. Did you see the video on their website?

3) There's no way for you to control this (apps, https stripping, for instance). Most importantly, there's no way for the average user to control this, short than using a VPN.

Again, as far as Wi-Fi security goes, seems pretty end-of-the-world to me. I don't think the huge attention this is getting is unwarranted.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by notyourday on Monday October 16, 2017 @12:29PM (#15484418)
Sky-is-falling is FUD:

The attack is a standard break exiting secure TCP connection and trick the target to re-create it to a host controlled by the attacker via arp poisoning or route hijacking. After that either convince target to accept a bogus cert or redirect to insecure connection. In the former case the issue is that browsers have way too many root CAs included in them and those CAs can issue certs for any domain; the issue in the second case is that users are not being paranoid enough.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by firewall-bad on Monday October 16, 2017 @01:56PM (#15485235)
That's not the attack at all. And there's nothing standard about it.

The attack is the fact that someone couldn't do this you're describing on any WPA-2 protected Wi-Fi network before, and now they can.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by SadWebDeveloper on Monday October 16, 2017 @12:14PM (#15484314)
You have two school of thought here... optimist vs pessimist.

Remember that the attack affects mostly client implementations therefore still needs proximity to victim(s), this makes most of the end-of-the-world type scenarios impractical (they even state these on their QA) and leaves exploitation to direct/APT-groups alone.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by firewall-bad on Monday October 16, 2017 @01:54PM (#15485216)
Well I did mention it's "an end-of-the-world type vulnerability, at least as far as Wi-Fi goes".

I don't think it's a lot of consolation saying something along the lines of "Wi-Fi security is broken, but it's not so bad because it's Wi-Fi"

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by SadWebDeveloper on Monday October 16, 2017 @02:42PM (#15485628)
You should read "Silence on the Wire: A Field Guide to Passive Reconnaissance and Indirect Attacks" by Michal Zalewski to expand your universe on things you should be afraid pal.

Interesting book that can really burst your bubble on how bad things are and yet we are still here.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by firewall-bad on Monday October 16, 2017 @03:20PM (#15485905)
Yeah I've had 'Silence on the Wire' for awhile - brilliant book, although I confess I haven't ever been able to sit down and really read it end to end. But I'd say I'm familiar with the topics he talks about.

I'm not sure how that compares to the fact that WPA2 is completely insecure and trivial to decrypt on Android as "no, that is bad". Except maybe in a "well who trusts Wi-Fi security anyway?" to which I'd reply: "Actually, a lot of people. Including people on this thread".

I actually buy the argument that the RSA issue that affects YubiKey, that was announced today, is perhaps more important since it's harder to mitigate than using a VPN, but I don't know how bringing up silence in the wire makes this any less important.

Again, I haven't fully or detailedly read the book, so I could be wrong about that I guess.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by panarky on Monday October 16, 2017 @11:46AM (#15484027)
> 3. Everything you care about _should_ be going over TLS, which mitigates all effects of this attack.

This is probably the biggest misconception.

Many, many websites and APIs don't have HSTS enabled to force all connections to use TLS.

The author demonstrates using sslstrip to downgrade the connection of match.com to steal credentials.

How many people watch the green "secure" indicator in the URL bar to ensure it doesn't change mid-session?

How many thousands of apps don't even have such an indicator to observe?

How many millions of phones and APs will never get patched?

This is a severe vulnerability.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by twitchyliquid64 on Monday October 16, 2017 @05:10PM (#15486674)
> Many, many websites and APIs don't have HSTS enabled to force all connections to use TLS.

True. Yet another reason for us to push for it.

I have a chrome extension that sets the background-color of all form fields to red if the site it was served on or the ACTION attr are not https.

That said, pretty much every website in my day except for casual reading is pinned to TLS. APIs are the notable exception you pointed out, but otherwise HSTS is quite widely used, and especially effective with preload lists.

> How many thousands of apps dont have this indicator to observe?

Sure there will be some, but your standard Java apache client (along with 99% of the libraries used in Apps) dont have this kind of downgrade behaviour. If they expect validated https, they will fail without it.

> This is a severe vulnerability.

Yepp :D Not the end of the world. I think the main fallacy here is the implicit assumption that the link layer is secure. That has never really been the case and a broken wifi model is merely one more testament to this fact.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by mercer on Monday October 16, 2017 @12:32PM (#15484457)
> How many thousands of apps don't even have such an indicator to observe?

I honestly never considered that one...

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by mrb on Monday October 16, 2017 @11:12AM (#15483722)
No, you do not need expensive hardware such as SDR to carry the KRACK attacks. Most plain standard WLAN adapters support AP mode, which is all you need to simulate the rogue network, as demonstrated in the video.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by SadWebDeveloper on Monday October 16, 2017 @11:38AM (#15483947)
You still need proximity to the client, a powerful SDR will definitely improve reliability on real-life environments.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by twitchyliquid64 on Monday October 16, 2017 @07:41PM (#15487545)
I stand corrected. Rogue AP / MiTM only needs a AP with the ability to send raw packets, gotcha.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by danilocesar on Monday October 16, 2017 @10:05AM (#15483251)
Where did you find the information that it needs SDR? I couldn't find it in the paper (but I didnt fully read it) or the website.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by bitexploder on Monday October 16, 2017 @10:27AM (#15483385)
Speculating. I don't think SDR is needed. Logically, all you need is a WiFi card that lets you do fairly standard things with the WiFi frames.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by jim-greer on Monday October 16, 2017 @12:01PM (#15484186)
As far as I can tell that’s dangerous misinformation.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by cryptonector on Monday October 16, 2017 @11:32AM (#15483898)
Most IoT devices never get patched. With this vulnerability you can just drive around and spy on webcams. I mean, that's pretty bad. It's enough to make me want to build rpi wifi-wired bridges/gateways for every IoT I own (which, thankfully, isn't all that many, but enough to annoy me).
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by collinmanderson on Monday October 16, 2017 @10:45AM (#15483522)
Don't forget about HSTS. The author demonstrates in the video that you can sometimes bypass TLS if HSTS is not set up.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by cm2187 on Monday October 16, 2017 @08:45AM (#15482784)
Also doesn't it require the attacker to have access to your wifi already? If that's the case, it's a hazard for connecting in a Starbucks or on your mobile service wifi, but you would be safe on your home or corporate wifi (unless the attacker is a colleague or relative!).
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by danilocesar on Monday October 16, 2017 @08:55AM (#15482827)
> Also doesn't it require the attacker to have access to your wifi already?

No it doesn't. Watch the video. It creates a clone of your network and tricks the victim's software stack to connect into it.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by makomk on Monday October 16, 2017 @10:19AM (#15483338)
Nope. The man-in-the-middle attack it uses involves forwarding and replaying encrypted packets without decrypting the contents, so all it requires is that the attacker be within range of your wifi; they don't need any of your keys or passphrases.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by snerbles on Monday October 16, 2017 @08:52AM (#15482816)
Totally safe, until your local war-driver sniffs out your insecure device and comes back at two in the morning to upload illegal content via your ISP.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by ibmthrowaway218 on Monday October 16, 2017 @10:18AM (#15483331)
Except the attack doesn't get you access to their wireless network. It allows you to redirect someone from their wireless network to your own (spoofed) wireless network and then you can snoop the traffic.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by lightedman on Monday October 16, 2017 @10:55AM (#15483616)
If it works in one way what reason is there to think it won't work the opposite direction? This flaw is in the protocol itself.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by macawfish on Monday October 16, 2017 @09:38AM (#15483056)
You're freaking me out with that scenario
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by iKenshu on Monday October 16, 2017 @10:45AM (#15483519)
So, even if I'm using the extension HTTPSEverywhere I'm safe?
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by wskinner on Monday October 16, 2017 @11:27AM (#15483864)
HTTPSEverywhere will not magically upgrade a site that doesn't serve HTTPS to HTTPS. If you connect to a site that doesn't support HTTPS, you are vulnerable.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by iKenshu on Monday October 16, 2017 @11:33AM (#15483904)
Oh I see, Thanks for the answer! For what is useful the extension then?
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by thecrazyone on Monday October 16, 2017 @11:53AM (#15484110)
The extension makes you use the HTTPS connection when the site you are connecting to is known to support HTTPS.

Websites can automatically redirect to HTTPS if the client connects on http, but many websites don't redirect

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by kzahel on Monday October 16, 2017 @12:07PM (#15484246)
It has the option to block HTTP traffic, making sites that don't support HTTPS unusable.

You could create a separate "secure" profile and feel safe that all traffic is secured, while still being able to browse HTTP in another profile, for instance.

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by spsful on Monday October 16, 2017 @11:31AM (#15483896)
Theoretically. The extension can refuse to load sites that aren’t using HTTPS, but the real flaw is sites that use SSL instead of TLS. Attackers can reject SSL but they can’t do anything about TLS, so the security of your browsing would be affected by the website’s HTTPS configuration, and whether they use SSL, TLS, or both (the only 100% safe method is TLS only). I know for most people disabling SSL and going TLS-only isn’t high on their list of priorities so I expect this attack to be very successful on the internet as it is right now.
Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by andoma on Monday October 16, 2017 @10:44AM (#15483518)
tcpdump -nw - | strings -n 6

Credit to https://twitter.com/marcan42

Re:Key Reinstallation Attacks – Breaking WPA2 by Forcing Non... by cratermoon on Monday October 16, 2017 @12:12PM (#15484298)
What exactly should a person who uses this command be seeing or looking for that would indicate a problem or not?