4 ms·
Okay, I must have misunderstood something. At which point does Firesheep get your credentials? Really, the only case I am aware of is if you are on a wifi netwo
by StavrosK 16y ago
Okay, I must have misunderstood something. At which point does Firesheep get your credentials? Really, the only case I am aware of is if you are on a wifi network, and I'm not sure if all the users on a secure network use the same encryption key.
I haven't seen a hub in ages, so when you're on a LAN you shouldn't be getting any packets that weren't meant for you. When exactly does Firesheep work?
- chaosmachine 16y agoI'm not an expert on wifi security, but here is what I found while doing some research: "Wireshark can decrypt WEP and WPA/WPA2 in pre-shared (or personal) mode. WPA/WPA2 enterprise mode decryption is not yet supported." Since Wireshark and Firesheep both use WinPcap, I assume this applies to both. Also, while testing on an unsecured network, I found Firesheep was easily able to grab my HN session off my Android phone.
- StavrosK 16y agoI think that only applies to being able to decrypt packets after you've acquired the key, I'm not sure if it applies here...
- chaosmachine 16y agoYes, you need the key to decrypt, but getting the key is not difficult for WEP [0], and only moderately difficult [1][2] for WPA PSK, if I understand correctly. [0] http://www.cyberciti.biz/tips/howto-crack-wirless-wep-104.html http://www.cyberciti.biz/tips/howto-crack-wirless-wep-104.ht... "The actual computation takes about 3 seconds" [1] http://www.renderlab.net/projects/WPA-tables/ http://www.renderlab.net/projects/WPA-tables/ "computed hash tables for the 1000 most common SSIDs against a million common passphrases" [2] http://securityandthe.net/2008/10/12/russian-researchers-achieve-100-fold-increase-in-wpa2-cracking-speed/ http://securityandthe.net/2008/10/12/russian-researchers-ach... "This means that a WPA or WPA2 key could be cracked in days or weeks instead of years."
- StavrosK 16y agoOn the contrary, it is moderately difficult for WEP and almost impossible for WPA, if the key is long, and very very hard otherwise. For WEP, the actual cracking is the easiest part, it's gathering all the IVs that's a hassle. For WPA, the rainbow tables only cover common SSIDs and passwords, which doesn't really give you a very high probability of cracking it. The research in the third link you posted hasn't been made practical yet, as far as I know.
- cpach 16y agoIf you have a WLAN NIC that supports traffic injection, gathering IV:s can be done in a few minutes. http://www.aircrack-ng.org/doku.php?id=simple_wep_crack http://www.aircrack-ng.org/doku.php?id=simple_wep_crack
- StavrosK 16y agoI know, I've been doing it for a while. It still isn't trivial, you need to get the handshake, do the replay attack, gather enough IVs, crack them, etc. It takes 5 minutes, but it's not plug and play.
- tptacek 16y agoIt is more than "moderately difficult" to recover WPA keys; what you're looking at are tools and techniques used to crack passphrases for WPA.
- chaosmachine 16y agoCan you explain what makes it more than moderately difficult? Are you saying that getting the ssid and passphrase is not enough to get the key, or am I misunderstanding?
- tptacek 16y agoWhen people talk about WEP insecurity, they are talking about fundamental flaws in the protocol that make the passphrase almost irrelevant.
- CrLf 16y agoConvincing an ethernet switch to send you packets that are not meant for you is, unfortunately, easy. This is a concept that many people should really think about, since many belive that a switched network is "secure".
- StavrosK 16y agoHmm, how is it done? I guess you could send requests with fake IPs but real MACs?
- meinhimmel 16y agoTake a look at Ettercap's man page. That'll give you a nice list of making a network behave like this.
- StavrosK 16y agoettercap does ARP poisoning, if I remember correctly, for MITM attacks. I was wondering if there was a way to set it to the equivalent of promiscuous mode, not spoof IPs.
- meinhimmel 16y agoYes, Ettercap, by default, is in promiscuous mode. It does quite a bit more than just ARP poisoning though, it can also do DHCP and ICMP spoofing among others. Here's the man page: http://linux.die.net/man/8/ettercap http://linux.die.net/man/8/ettercap
- StavrosK 16y agoI meant set the router in a sort of promiscuous mode (i.e. make it send you all the packets, regardless of their original destination), not the adapter. These types of poisoning are very useful, but they're not what you need for Firesheep. With a poisoning attack, you override the packet's destination and it's up to you to send (it's an active attack). Firesheep just monitors passively, which is why I was wondering if it worked anywhere. I agree with you, I'm just saying that the type of passive monitoring Firesheep does only works on unsecured wifi networks and is, thus, not very useful.
- StavrosK 16y agoSince I can't edit my comment, I'll reply. I tested this and it only appears to work on unsecured wifi networks. I can't find any other usecase where my network adapter will receive packets not meant for me.