Slashdot Mirror


How To Protect Against Firesheep Attacks

Monday we mentioned Firesheep, a plug-in that trivializes ID spoofing on social networks. Since then various security researches have come out to suggest How to Protect Yourself against Firesheep Attacks (submitted by Batblue). Of course the advice is pretty obvious: Don't use free Wi-Fi, use SSL, or a VPN. It seems to me that the big sites should start by redirecting all non-SSL traffic to https automatically. If you want to be insecure, you'd have to explicitly state that you can't encrypt for some reason.

29 of 208 comments (clear)

  1. Defense is Easy by The_mad_linguist · · Score: 5, Funny

    All you really need to do is stay out of the tall grass on Route 32. If you do have a firesheep attack, I recommend sending out a water type like wartortle.

    1. Re:Defense is Easy by idontgno · · Score: 2, Funny

      Blastoise, I choose you!

      Blastoise uses "SSL Fountain"!
      It's super effective!

      --
      Welcome to the Panopticon. Used to be a prison, now it's your home.
    2. Re:Defense is Easy by Monkeedude1212 · · Score: 5, Funny

      Come on, we're all adults here.

      Meaning, you should have a Blastoise by now.

  2. slashdot's method by Lord+Ender · · Score: 5, Insightful

    Slashdot does the opposite. It redirects SSL connections to HTTP. They must want their users' accounts to be hijacked... and their privacy to be invaded.

    --
    A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    1. Re:slashdot's method by astrashe · · Score: 2, Funny

      My precious, precious karma. :)

    2. Re:slashdot's method by NatasRevol · · Score: 3, Funny

      I *did* make the same post!

      --
      There are two types of people in the world: Those who crave closure
    3. Re:slashdot's method by ALeavitt · · Score: 2, Funny

      What kind of idiot would use his real name for a Slashdot account?

      --
      This sig has been stolen. Return it to its original user for a reward.
    4. Re:slashdot's method by betterunixthanunix · · Score: 2, Funny

      Oh the horror! You might look like an idiot on Slashdot of all places!

      In all seriousness, people should not be using Facebook in a way that could cause any damage to them if their accounts are hijacked. Facebook is a toy, and treating it like anything other than a toy is asking for trouble.

      --
      Palm trees and 8
  3. Re:how about by Timmmm · · Score: 2, Informative

    How about you RTFA? It's obviously not specific to social networks.

  4. Re:how about by rakuen · · Score: 3, Informative

    Guess you're going to have to quit /. because we're using vanilla http at the moment as well.

  5. Re:Let's just encrypt everything all the time by John+Hasler · · Score: 2, Insightful

    I think it is the cost of the extra server load, not the cost of certificates that keeps FaceBook off https. After all, most of their users don't care about privacy (and I mean that they don't care, not that they "don't understand").

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  6. Myopic view of how browsers treat SSL by kamelkev · · Score: 4, Informative

    The idea that "It seems to me that the big sites should start by redirecting all non-ssl traffic to https automatically" is very shortsighted when you consider how social networking sites actually work.

    Social networks by their very nature include cross posting of content found from around the internet. If a site is running in "SSL only" mode then you'd very quickly see intermixed SSL and non-SSL content living side by side, and this creates a disaster for the admins of any web service.

    For those who aren't familiar, modern web browsers throw up warnings whenever you intermix SSL and non-SSL content - it's been this way for years, it's a problem for anyone who accepts user generated content cross-site content.

    If someone like Facebook were to implement this policy they'd immediately get a flood of complaints about these warnings.

    SSL isn't very good protection nowdays anyway - we need something better.

  7. Re:Let's just encrypt everything all the time by bunratty · · Score: 4, Informative

    I read that when Google switched Gmail over to HTTPS that their server load increased by 1%. Today's CPUs are blazingly fast. Why would you think that the server load would be an issue with encryption and decrypting all communication? A web site is largely about having a large enough Internet connection and a large and fast enough database to keep up with the Internet traffic. Those CPUs are mostly just sitting around twiddling their thumbs waiting for I/O.

    --
    What a fool believes, he sees, no wise man has the power to reason away.
  8. Re:That's Expensive by IAmGarethAdams · · Score: 3, Interesting

    Not necessarily true, Google have a solution which means that

    SSL/TLS accounts for less than 1% of the CPU load, less than 10KB of memory per connection and less than 2% of network overhead

  9. Re:Let's just encrypt everything all the time by Bert64 · · Score: 2, Interesting

    Put SSL accelerator appliances in front of the webservers, use dedicated hardware which is designed to handle ssl.

    --
    http://spamdecoy.net - free throwaway anonymous email - avoid spam!
  10. A little paranoia here... by fuzzyfuzzyfungus · · Score: 2, Informative

    Now, firesheep is ooh scary because it makes it visible and obvious that complete strangers can jack-yo'-myspace in the coffee shop.

    This works because an open WLAN is the equivalent of an old unswitched ethernet network, with every wi-fi reciever in radio range plugged in. It can be mitigated, however, if you are VPN connected to a secure network, because your traffic will be nothing but inscrutable VPN noise, even if the site in question is sloppy.

    However, here is the part where the paranoia starts to tickle... Y'know who always has access to any traffic that isn't encrypted between you and your remote host? Your ISP. Y'know who(unless you are buying a pretty serious business class line) you've signed a ridiculously one-side contract with, one that allows them to do basically anything at any time, for any reason? Your ISP. Y'know who hates being reduced to a dumb pipe, and looks covetously at the ad money flowing through the various web companies? Your ISP(See Phorm, Nebuad, et al.). Y'know who could be, totally silently, Firesheeping every non-SSL login you make, and observing all the fun consumer data that advertisers will pay for? Your ISP...

    Forget the neckbearded script-kiddie in the coffee shop. He is trivial to work around.

    1. Re:A little paranoia here... by fuzzyfuzzyfungus · · Score: 3, Insightful

      Given that transmissions from both the AP and the client are in the clear, and generally coming from a reasonably omnidirectional antenna, AP isolation on an open AP doesn't buy you very much.

      It does slightly inconvenience the attacker(since they need a NIC that will let them listen in promiscuous mode, and probably something closer to Wireshark than Firesheep, for all frames being transmitted about, rather than just connecting to the network and getting them for free, unswitched network style); but all the data are still flying around in the clear, subnet isolation or not.

    2. Re:A little paranoia here... by John+Hasler · · Score: 2, Insightful

      Y'know who could be, totally silently, Firesheeping every non-SSL login you make, and observing all the fun consumer data that advertisers will pay for? Your ISP...

      So what?

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  11. Re:Let's just encrypt everything all the time by RedACE7500 · · Score: 3, Informative

    Just terminate the SSL at your load balancer. This also allows you to offload the SSL work to a machine(s) dedicated to do so and keep that work off your web servers.

  12. Re:That's Expensive by gad_zuki! · · Score: 3, Interesting

    The difference here is that gmail and facebook are two very different applications. Facebook relies on a lot of client-side caching (html pages, photos, graphics, flash objects, etc) while gmail is mostly dynamic and does a lot of heavy lifting on the client side. With SSL enabled the clients won't cache anything and mixing http and https objects throws a security error on one or more of the major browsers. I'm sure Facebook can force SSL but end users won't like the diminished performance and if Facebook mixes items then end users will complain or freak out when their browser warns them about it.

    I think the browser makers need to address this. I don't see why we shouldn't cache SSL items. They can simply be cached in an encrypted volume using the SSL key. That's probably less of a performance hit than going back on the network and re-requesting all those objects.

  13. Re:That's Expensive by LordMyren · · Score: 2, Insightful

    1% of Google's CPU load.... that's 1% of the biggest collection of the largest data centers on the planet. Find a real metric for SSL cost, including any additional latency full end to end induces on each request, or GTFO.

    Conversely, people saying "it's expensive" should have some numbers as well. Both on cpu utilization, request latency, effects on http pipelining, &c &c &c. SSL has numerous "costs", including places where full end to end encryption is not permitted. Ultimately the argument that seals the deal is the last one: this is an authentication problem, a trivial MITM attack; that doesnt require end to end encryption, that just requires authentication (see: Kerberos). Cookies, by themselves, just happen to not cut it there.

  14. SSL doubles the cost of a personal web site by tepples · · Score: 2, Insightful

    It's best practice to always use SSL whenever possible, period.

    Which doubles the cost of hosting a personal web site. How do you plan to make the business case to hobbyists that an SSL certificate from a commercial CA and a dedicated IPv4 address* are worth the extra $50/yr on top of the $50/yr that they're already paying for a domain and budget shared web hosting?

    * Windows XP, BlackBerry, and iOS before 4 don't support the extension that allows name-based virtual hosting over SSL.

  15. Re:Let's just encrypt everything all the time by buchner.johannes · · Score: 2, Insightful

    I read that when Google switched Gmail over to HTTPS that their server load increased by 1%. Today's CPUs are blazingly fast. Why would you think that the server load would be an issue with encryption and decrypting all communication? A web site is largely about having a large enough Internet connection and a large and fast enough database to keep up with the Internet traffic. Those CPUs are mostly just sitting around twiddling their thumbs waiting for I/O.

    And what about their bandwidth usage?
    There is a well-thought out caching system in HTTP -- implemented throughout the internet -- that saves a lot of bandwidth. You can kiss all this goodbye, and have every request come to your server. This also means akamai doesn't work, which many large sites rely on.

    The real solution for facebook and others would be to make large, static content, such as images, stylesheets available on another, cache-able domain, and not send cookies on this domain. The dynamic content -- and javascript -- should stay on the main domain and be encrypted.

    "Let's just encrypt everything all the time" is just a narrow-minded comment of an end-user.

    --
    NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
  16. Re:Let's just encrypt everything all the time by vadim_t · · Score: 3, Insightful

    last, maybe you have the budget to be running as many servers and to be hogging as much energy as you want, but what about all the mobile phone users connected to your site? is it acceptable that every single little AJAX interaction now has to go through the encryption/decryption straw on their 400 mhz oldschool mobile phone?

    Sure, why not? I tested mine, it can do aes-128 at 8MB/s. That may not seem like terribly fast, but it's faster than the ideal case for 3G (with the real world rate being considerably lower)

    My laptop (nothing especially impressive, chosen for battery time and not power) can do it at 90MB/s. My desktop does it at 250MB/s, and isn't terribly new either (Phenom II 940).

    what about places where, for various reasons, encryption is controlled or restricted? are we going to tell them no, unless you have full end to end encryption, you cant use the web?

    Yes? Because those places either have no access to anything modern anyway, or nobody cares about what the law says. Encryption is so common that many games like WoW use it.

    the hubris of "just throw more end to end encryption" at it is bullshit, rotten wrong incorrect bullshit. what we need is a cookie solution not susceptible to man in the middle attacks. anything else is irresponsible overkill, and ignorant to the real problem and diverse requirements and use cases of the web. authentication does not have to be tied to end to end encryption, at least thats my mangled crippled understanding of Kerberos.

    Why? You provide no good justification for it. The fact is that currently encryption is fast even on limited devices on cell phones, and on modern hardware doing full disk encryption amounts to a rounding error. Encryption is also easy to implement in hardware, where it gets even better performance.

    I don't understand why would it be "hubris" anyway. The way I see it, everything remotely possible should be encrypted, all the time. There's no good reason for random third parties to be looking at my packets anyway.

  17. Use a switched network by KevMar · · Score: 2, Interesting

    Use a switched network ....

    This is a packet sniffer. If you are on a switched network, the degree of difficulty to pull this off is much greater. it is not a solution because of other tricks like arp poisoning.

    This is nothing new, but it is good publicity to remind people how important SSL is. This addon did not change anything except now more script kiddies have access to another tool.

    --
    Im a gamer, not a grammer major. This post is full of spelling and grammer mistakes.
  18. Re:That's Expensive by goofy183 · · Score: 3, Informative

    You can tell a browser to cache things provided over SSL by setting the cache-control and expires headers appropriately as well as making use of etags and 304 responses. Its not hard and with good use of etags you can reduce a LOT of both network and application work.

  19. Re:Let's just encrypt everything all the time by dgatwood · · Score: 3, Informative

    Akamai works just fine with SSL. Akamai is not a transparent cache, but rather an explicit push cache in which a web administrator chooses content to host on Akamai, pushes the content to their servers, and modifies local content to point to the Akamai copy when it has been fully staged. Akamai has supported SSL for almost a decade now.

    --

    Check out my sci-fi/humor trilogy at PatriotsBooks.

  20. Re:Let's just encrypt everything all the time by cbhacking · · Score: 2, Informative

    And what about their bandwidth usage?

    Less than 2%. Before you ask, the RAM overhead was under 10 KB/connection.

    Seriously, the old "but SSL overloads the servers" crap is completley out of date. It costs a *tiny* bit more, yes, but the end result is far better.

    Source: http://www.imperialviolet.org/2010/06/25/overclocking-ssl.html

    --
    There's no place I could be, since I've found Serenity...
  21. Re:Let's just encrypt everything all the time by TheoMurpse · · Score: 2, Insightful

    After all, most of their users don't care about privacy (and I mean that they don't care, not that they "don't understand").

    No, you asshat. We just don't care about certain things remaining private that you care about. You might as well say anyone who goes outside "does not care about privacy."

    I don't care if a corporation knows I like Ben Folds and have a friend who goes to MIT. I do care if a random person at Borders can log in as me and change my profile picture to Goatse or send a message to a friend insulting them subtly, so that it is not obvious that I was hacked.