How To Protect Your Login Information From Firesheep
techcrunch.com
techcrunch.com
For most people there is a huge gap between "can read everything I write" and "can gain full control/impersonate me". On the technology side, these two things are unfortunately coupled. It is way more than a privacy risk.
If it were possible to pass the cookie on an encrypted channel but the content of the web page unencrypted this would match most people's idea of how it works. Unfortunately that's not the case.
Has there even been any attempt to standardize something like this? This problem certainly isn't a new one, so I would have guessed this had been looked into before
Yes. HTTP Digest authentication is an "encrypted cookie".
The problem is that it only protects against passive sniffing. Attacker able to inject packets can bypass it (e.g. replace Digest with Basic auth.)
IMO, a better solution is that of a SOCKS proxy as outlined in this comment: http://news.ycombinator.com/item?id=1828631
Using ssh as a SOCKS server has the added benefit of tunneling all traffic securely, not just that of Firefox.
So, today I set up a VPN using these instructions:
http://library.linode.com/networking/vpn-services/openvpn-ub...
Problem solved.
Note that if you have a tun/tap driver installed on both endpoints, ssh can even operate as a full-on VPN (-w option), thus not requiring any client software support.
None of the above (or OpenVPN) will work on a non-jailbroken iPhone/iPod/iPad, unfortunately. You'll need a pptp or IPSEC server for that.
Also beware of apps which do use SSL to communicate but don't check certificates. You'd be surprised how many get this wrong. This leaves the connection wide open to MITM attacks.
EDIT: objective arguments > downvoting
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?
"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.
[0] 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/ "computed hash tables for the 1000 most common SSIDs against a million common passphrases"
[2] 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."
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.
WPA on the other hand cannot be broken like this. WPA is broken by capturing the handshake between the router and a user. This handshake can then be brute forced with a dictionary. The reason it's so difficult to crack is because the encryption key is salted with the essid of the router making rainbow tables extremely difficult to pre-compute. However, if the user uses a standard essid that came with the router, then pre-computed rainbow tables can most likely be found for it. They can be computed though while capturing the handshake, and I find it's beneficial to create the rainbow tables if you have a large dictionary.
Take a look at aircrack-ng for a lot more detail. This is just a basic overview of it all.
This is a concept that many people should really think about, since many belive that a switched network is "secure".
Here's the man page: http://linux.die.net/man/8/ettercap
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.
From what I've seen it should capture them from everyone on the network, since Firesheep is simply capturing packets from whatever the adapter sees over TCP port 80. I haven't tried that yet, so you might be right.
Also, an attacker can simply use SSLStrip and get the cleartext passwords for online services anyway. This isn't anything novel, since there have been plenty of attacks that allow you to session hijack rather easily (i.e. hamster). You can even simply monitor in Wireshark and manually enter the session information into your cookies.
Even if on a WPA encrypted network, the AP operator (or anyone between the AP and the internet provider) can steal your data. (Of course the internet provider could do this as well, they are just probably less of a problem than the next guy with firesheep or an open AP set up for logging your sessions and passwords.)