Slashdot Mirror


Black Hat Presentation Highlights SSL Encryption Flaws

nk497 writes "Hackers at the Black Hat conference have shown that SSL encryption isn't as secure as online businesses would like us to think. Independent hacker Moxie Marlinspike showed off several techniques to fool the tech behind the little padlock on your screen. He claimed that by using a real world attack on several secure websites such as PayPal, Gmail, Ticketmaster and Facebook, he garnered 117 email accounts, 16 credit card numbers, seven PayPal logins and 300 other miscellaneous secure logins."

152 comments

  1. Oh god by LordKaT · · Score: 3, Funny

    Someone fix the summary before my brain melts.

    1. Re:Oh god by mapsjanhere · · Score: 1, Offtopic

      Well, if the hacker types like the submitter, I'm not too worried about my login credentials.

      --
      I'm aging rapidly, I bought a new game and had no idea if my machine was good for it.
    2. Re:Oh god by gnick · · Score: 4, Funny

      You simply misunderstood the summary - It's fine the way it is.

      Independent hacker Moxie Marlinspike showed off several techniques to get fool the tech behind the little padlock on your screen.

      "fool the tech" is a little bot that hides behind the padlock on your browser, watches what you're typing, and reports it back to Moxie. Moxie has several techniques for getting Fool behind the padlock. Why Moxie named the little tech Fool, I have no idea.

      --
      He's getting rather old, but he's a good mouse.
    3. Re:Oh god by Lord+Ender · · Score: 3, Informative

      OK: "Some implementations of SSL encryption are flawed. These can be fixed. SSL encryption itself is not flawed."

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    4. Re:Oh god by Anonymous Coward · · Score: 0

      SSlStrip is old news. Seen similar attacks to this performed many times. See also: surfjacking, sidejacking and SSL MiMT attacks.

      Weak sauce.

    5. Re:Oh god by Anonymous Coward · · Score: 0

      Cool. Can you enumerate which implementations are flawed for me? I need to know so 1) I can avoid them and 2) put whatever insignificant amount of pressure I can on developers to get the bugs fixed.

      Anyone know of a test suite for SSL? If a site is using a SSL implementation which is flawed, can I test for it or is that something that only hackers can do?

      If a page has a badge from VeriSign on it does that mean that it passed some battery of tests (at least at one point) to get it or is it merely a proof of purchase mark for certificates?

    6. Re:Oh god by IamTheRealMike · · Score: 1

      SSL is flawed, at least for the web. Usability studies have shown time and time again that the vast majority of people do not understand and will ignore the bad cert error dialogs. That's a pretty fundamental problem, and why Firefox now makes it really hard to bypass them, but all it's doing is putting a sticking plaster on a bullet wound.

    7. Re:Oh god by Lord+Ender · · Score: 3, Insightful

      You are absolutely wrong. SSL is not flawed. The UI browsers have implemented regarding SSL is flawed. The UI should make it clear to the users exactly where they are sending their information. It should also make it clear when they are submitting a password over plain text.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    8. Re:Oh god by leromarinvit · · Score: 2, Interesting

      Firefox even has everything needed to defeat this already built in - it's just not enabled by default. By setting browser.identity.ssl_domain_display to 1 in about:config, it displays a blue strip left of the URL with the last two parts of the domain name, similar to the green strip with the registrant's name for EV certs.

      They should enable this by default, and whoops, the iiijk.cn attack described in the PDF is instantly obvious.

      --
      Proud member of the Ferengi Socialist Party.
    9. Re:Oh god by ultranova · · Score: 1

      SSL is flawed, at least for the web. Usability studies have shown time and time again that the vast majority of people do not understand and will ignore the bad cert error dialogs. That's a pretty fundamental problem, and why Firefox now makes it really hard to bypass them, but all it's doing is putting a sticking plaster on a bullet wound.

      To put it bluntly: if you ignore a warning saying that you might be being scammed when visiting your banking site, the flaw is in your brains, not in SSL. Altought I suppose the neverending cascade of popups Windows is so fond of throwing on its poor users is at least partially to blame for training them to just click past all of them.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    10. Re:Oh god by starfishsystems · · Score: 1

      Not even that. The issue identified in the conference talk isn't with SSL at all. It's with X.509 certificate validation.

      And to be precise, there is nothing wrong with certificate validation itself, just with the particular combination of (a) certificate authorities which erroneously issue certs which permit signing, and (b) broken implementations which don't check the X.509v3 constraints while traversing the certificate chain.

      --
      Parity: What to do when the weekend comes.
  2. Mind hacked! by BadAnalogyGuy · · Score: 1

    Independent hacker Moxie Marlinspike showed off several techniques to get fool the tech behind the little padlock on your screen.

    What do you command, master...

    1. Re:Mind hacked! by PrescriptionWarning · · Score: 1

      Sounds more like an article by Mr. T.... fool!

    2. Re:Mind hacked! by Joebert · · Score: 1

      How do you know Mr. T isn't pretty handy with computers ?
      How do you know Mr. T didn't hack in and create a Knight F Mowawk class ?

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    3. Re:Mind hacked! by Anonymous Coward · · Score: 0

      How do you know Mr. T didn't hack in and create a Knight F Mowawk class ?

      Do you mean Night Elf Mohawk?

  3. Hacking by eclectro · · Score: 3, Insightful

    It's always about getting the fool.

    --
    Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
    1. Re:Hacking by Anonymous Coward · · Score: 0

      I always pity the fool.

  4. Sounds like OSI level 8 error by Seth+Kriticos · · Score: 5, Insightful

    Come on, this does not highlight vulnerabilities of SSL, but errors in implementing it for specific platforms. This was always a weak point.

    1. Re:Sounds like OSI level 8 error by SanityInAnarchy · · Score: 1

      Worse than that, it seems to be about the vulnerabilities of not using SSL, not anything inherent in SSL itself.

      Unless I'm mistaken, the only vulnerability in redirecting all HTTP traffic to HTTPS is that users might type paypal.com, end up on https://paypals.com/ and not notice.

      Sensationalist, as usual.

      Granted, most sites are still quite a bit worse off than that -- forms served over HTTP that send your password over HTTPS -- but as usual, there are simple workarounds. For example, bookmark https://mail.google.com/ -- problem solved for Gmail.

      --
      Don't thank God, thank a doctor!
    2. Re:Sounds like OSI level 8 error by Anonymous Coward · · Score: 0

      Come on, this does not highlight vulnerabilities of SSL, but errors in implementing it for specific platforms. This was always a weak point.

      Which in turn illustrates that this is an OSI level 9 error, just like most things ^_^

  5. No problem at all by Tei · · Score: 1

    Maybe the bad guys are busy elsewhere... wait...

    --

    -Woof woof woof!

  6. It's not a problem with SSL /per se/ by MadMidnightBomber · · Score: 5, Interesting

    It's a problem with sites that start out with http://example.com/ and then transition to https://secure.example.com/.

    If I read it right, encrypt it all, turn off http except as a 301 redirect to https and you should be fine. Anyone confirm this?

    Course, you still should check the certificate is the one you're expecting.

    --
    "It doesn't cost enough, and it makes too much sense."
    1. Re:It's not a problem with SSL /per se/ by Anonymous Coward · · Score: 2, Interesting

      They did say in the video they rewrite the http->https redirects so I don't think that's the way. The only solution is to turn of HTTP completely, but that'd mean your users would have to type https:/// to use port 443 and https all the time.

    2. Re:It's not a problem with SSL /per se/ by Qzukk · · Score: 5, Insightful

      It looks like there are a couple of things, but their main one is a man-in-the-middle attack based on the user not paying attention to the browser's SSL flags. See the difference between page 61 and 62 of their presentation: https://www.blackhat.com/presentations/bh-dc-09/Marlinspike/BlackHat-DC-09-Marlinspike-Defeating-SSL.pdf

      They show on page 69 how it looks once they substitute a lock image for the favicon (if they had wanted to be Extra Evil, they'd have given their fake favicon a blue background, which would have made firefox 3 look exactly like it was SSL protected, except for the S missing in the URL)

      They then proceed to show how allowing unicode in the hostname continues to confuse and confound people. Register a cert for *.foo.com, then set up a hostname of www.google.com[unicodeslashlike]login[unicodeslashlike]blah[unicodeslashlike]blah[unicodeslashlike]blah.foo.com and presto, you have a valid certificate for a site that looks more or less like https://www.google.com/login/blah/blah/blah.foo.com, except that it's not hosted by google.

      Basically all of these are attacks on the end user, what you do or don't do on the server won't change a thing.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    3. Re:It's not a problem with SSL /per se/ by Lord+Ender · · Score: 2, Insightful

      You are almost right. It is a combined flaw of both browsers and web site implementations. If just one of the two were flawed, it wouldn't be a major issue. But since both are, even security-conscious users are likely to get duped by this.

      So many engineering disasters rely on multiple little things going wrong simultaneously...

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    4. Re:It's not a problem with SSL /per se/ by Deanalator · · Score: 2, Interesting

      No, that will not fix this attack. I have not been able to find a copy of his tool online yet, but I am going to assume that he did it right.

      This tool should still be able to pull down the html from the https the website, and present it to the user as an http site. No amount of javascript, HTTP redirects, or a href="https:// ... is going to save you in this case. The MITM proxy is always going to be able to strip any of that out, and replace it with something that keeps the clear session alive.

      The way to fix this is to change the way firefox implements SSL. Once firefox has visited a website using SSL, firefox needs to automatically connect to SSL, and never trust unencrypted data from that site again. Even that won't help for websites on the first visit. I think firefox should also give big fat warnings if you attempt to POST a password field over an unencrypted channel (that means you slashdot). Furthermore, I am of the opinion that the SSL fingerprint should be cached at that moment as well, so the user can be warned if the cert ever magically changes. This would protect against the possibility of malicious people getting their hands on a root CA.

    5. Re:It's not a problem with SSL /per se/ by zappepcs · · Score: 4, Insightful

      What exactly is wrong with that? I'm sure that someone can write a script for FF that will detect the error and automatically add the 's' and resend. People had to get used to typing http://www/ in the first place. It's not such a huge jump to add the 's'.

      This is the same argument that I see with switching to Linux: oh, users will have to relearn things, it's different than Windows. Yet those same users have to relearn when they get a new cable box and remote. They have to relearn when they get a new microwave. They have to relearn when they get a new television. They have to relearn when they change banks, and on and on and on. It's a lame argument.

      In the end, users in general are uninformed, lazy, and lack the drive to become well versed in computer security. SSL encryption issues are hardly the biggest security flaw in computing today. The biggest security flaw is between the ears of the end user. SSL issues hardly register on the list of problems behind the spread of the most devastating malware we know about today.

      meh

    6. Re:It's not a problem with SSL /per se/ by Vellmont · · Score: 2, Interesting


      If I read it right, encrypt it all, turn off http except as a 301 redirect to https and you should be fine. Anyone confirm this?

      Not really. You've only shifted the problem into one of intercepting and modifying the 301 redirect, from intercepting the individual links.

      You could turn off http entirely, but then you'll get people complaining that your website doesn't work from the vast majority of people (hell, including me really).

      This is really a browser problem, and a user problem. One way to fix this would be for the browser to recognize sites (domains really) that should be HTTPS ONLY, and refuses to use HTTP when going to them. I.e. the user types, clicks, or uses a bookmark to go to www.mybank.com, and instead of the default http, it goes to https. If it encounters a non-http link for that domain, it simply disobeys (or puts up a huge warning flag).

      --
      AccountKiller
    7. Re:It's not a problem with SSL /per se/ by sakdoctor · · Score: 1

      They show on page 69 how it looks once they substitute a lock image for the favicon (if they had wanted to be Extra Evil, they'd have given their fake favicon a blue background, which would have made firefox 3 look exactly like it was SSL protected, except for the S missing in the URL)

      WTF? No. The box where that icon is shown in FF3 isn't 16x16 pixels. Having a blue background would look weird and out of place.

    8. Re:It's not a problem with SSL /per se/ by Vellmont · · Score: 1


      Once firefox has visited a website using SSL, firefox needs to automatically connect to SSL, and never trust unencrypted data from that site again.

      There's at least one problem with that approach. The one I can think off the top of me head is the initial landing site might be http only, and the login site is https. So your browser goes to http://www.nameofmybank.com/ you click on a link to https://login.nameofmybank.com/ If the browser only cares about the whole site name, it'll only go to the http site when you start at the landing page. If that's the case, you're sunk and the attack works.

      Such a fix would need to be domain wide (which may or may not work for some domains). So I'm not sure if there's any EASY, generalized way to fix this problem.

      --
      AccountKiller
    9. Re:It's not a problem with SSL /per se/ by AusIV · · Score: 2, Informative
      The problem is that a MITM can modify that 301 redirect from https://secure.example.com/ to http://secure.example.com/ Since they're in the middle of the transaction, they capture your packets and encrypt them before forwarding them on to https://secure.example.com./ The only indicator that something is amiss is the lack of an 's' in the protocol, which lots of people won't notice.

      Alternatively, he might redirect from https://secure.example.com/ to https://secure.example.com/.ijj.cn, except that the slashes and dots in the last example are unicode characters that look like slashes and dots, so they don't register with the browser in the same way. He gets a legit cert to *.ijj.cn, then logs everything and forwards your responses to the address before .ijj.cn. For long URLS (which many secure logins have), the trailing .ijj.cn ends up past the end of your URL bar, and you don't notice.

      After seeing Moxie's presentation, I'll be double checking every URL that needs to be secure to verify the 'https' protocol, and doesn't have any unusual endings. For things like the bank, I'll probably just bookmark the https version and never request the http version.

    10. Re:It's not a problem with SSL /per se/ by Anonymous Coward · · Score: 0

      Why don't we use httpss:// (super-secure) on port 806 then?

    11. Re:It's not a problem with SSL /per se/ by prefect42 · · Score: 1

      If I turn http off for my domain, but users type in http, then your malicious hacker can intercept the http request (even though it would never succeed), and respond with a redirect to https.

      So turning off http does not solve this problem. It's still not a bug with SSL though.

      --

      jh

    12. Re:It's not a problem with SSL /per se/ by salimma · · Score: 1

      Makes me wonder: perhaps the OpenBSD team should design a secure browser next. OpenSSH does a lot of the things you mention -- loud warning if the server key changes under you, etc.

      --
      Michel
      Fedora Project Contribut
    13. Re:It's not a problem with SSL /per se/ by hardburn · · Score: 1

      SSL keys have to change regularly with expiration. This isn't just for repeat business for the CAs (although that is part of it); there are good cryptographic reasons why you want to be changing your keys every 2-5 years, depending on how paranoid you are. Technically, you should be doing the same with SSH keys, too.

      Also, OpenBSD might have a good security track record, but OpenSSH does not.

      --
      Not a typewriter
    14. Re:It's not a problem with SSL /per se/ by mcgrew · · Score: 2

      "Disaster" is a pretty strong word. The Titanic was an engineering disaster, the Challenger and Columbia accidents were engineering disasters, that bridge that collapsed a few years ago was an engineering disaster, there was a type of cancer radiation machine a while back that was killing people because of a software bug that was an engineering disaster, the Ford/Firestone automobile rollovers were engineering disasters. To call getting hacked a disaster is a bit out of proportion.

    15. Re:It's not a problem with SSL /per se/ by hardburn · · Score: 1

      As others have mentioned, sslstrip already handles any redirects you do. The user would have to explicitly type 'https://' every time. Further, there are certain things that are just no good over SSL. For instance, caching proxies aren't supposed to cache SSL connections. Doing everything over SSL sounds nice, but doesn't really work in practice.

      The first use of of sslstrip was against implementations that didn't do enough checking on a chain of certificates. Some implementations still don't do it right, and I question the usefulness of the feature in the SSL standard.

      The current version handles existing session cookies held by the client by sending a 302 request back with a Set-Cookies header that blanks them out, forcing the client to reload them. The MITM can then get the new session cookie.

      In this case, the server will notice a client it's seen before getting new cookies. The client notices the server setting a new session cookie when it had already sent good ones. This could be used to build a signature of the attack, but on its own, there are too many ligitamate reasons on both sides for it to be a reliable attack signature.

      There's a more general problem here, which is that we've taught people that the little padlock means the site is secure. This isn't necessarily the case, of course, but how do we teach people otherwise? It's unfair to say they need to be more careful when people have a larger life to live. How can we get users to verify the security of a site in a way that's almost as easy as looking for the padlock?

      --
      Not a typewriter
    16. Re:It's not a problem with SSL /per se/ by osu-neko · · Score: 1

      A lot of people use disastrously bad comparisons. People who use hyperbole usually take it to astronomical levels.

      --
      "Convictions are more dangerous enemies of truth than lies."
    17. Re:It's not a problem with SSL /per se/ by Lord+Ender · · Score: 1

      If you read more carefully, you would notice that I did not specifically refer to this issue as a "disaster." My point was about small problems leading, unpredictably, to a much larger problem.

      However, since this could be used to empty the life savings of thousands of people, it has the potential to lead to disaster.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    18. Re:It's not a problem with SSL /per se/ by maxume · · Score: 1

      Better disable javascript so that a web page doesn't simulate a password field and post that.

      I think having a "banking mode" that enforced https and limited the domains that could be accessed at the same time would provide a better end user experience for secure browsing and for normal browsing.

      Making it a separate app would trick people into thinking it was easy to switch in and out of banking mode.

      --
      Nerd rage is the funniest rage.
    19. Re:It's not a problem with SSL /per se/ by naasking · · Score: 1

      Exactly. Of course, if you use the Petname Toolbar, none of these attacks work.

    20. Re:It's not a problem with SSL /per se/ by Anonymous Coward · · Score: 0

      They then proceed to show how allowing unicode in the hostname continues to confuse and confound people. Register a cert for *.foo.com, then set up a hostname of www.google.com[unicodeslashlike]login[unicodeslashlike]blah[unicodeslashlike]blah[unicodeslashlike]blah.foo.com and presto, you have a valid certificate for a site that looks more or less like https://www.google.com/login/blah/blah/blah.foo.com [google.com], except that it's not hosted by google.

      Fixed in 2005?

    21. Re:It's not a problem with SSL /per se/ by zappepcs · · Score: 1

      I have only one thing to say: When my spouse was frustrated with OOo because of lack of understanding in how to manipulate headers/footers in OOo, I asked "Do you know how to handle this in MS Word?" When the inevitable reply of "no" came, I asked why blame OOo then?... end of argument. And to you I say that MS Windows and MS products are no easier to learn than anything else. They carry the same complexity as F/OSS software/systems. To argue otherwise is missing the forest for the trees.

    22. Re:It's not a problem with SSL /per se/ by shutdown+-p+now · · Score: 1

      People had to get used to typing http://www/ in the first place. It's not such a huge jump to add the 's'.

      Most people don't actually type that "http://", as all browsers I've seen add it automatically. Including Lynx.

      It doesn't help that a lot of ads these days don't bother to include "http://" in the URLs they display, either.

    23. Re:It's not a problem with SSL /per se/ by Anonymous Coward · · Score: 0

      People had to get used to typing http://www/ in the first place.

      I never type http://www.

      My web browser automatically assumes http: if I leave out the protocol. If I type example, my web browser automatically changes it to www.example.com. If I have previously visited www.example.edu and I begin typing exa, my web browser automatically completes it. So I never type http://www.

      If I am going to a secure site for the first time, I will type https://example.com, but I still don't type www, because by now any web server admin worth his pay has example.com either CNAMEd or redirected to www.example.com.

      I have been using Safari for six years now. How old is the browser you're using?

    24. Re:It's not a problem with SSL /per se/ by mcgrew · · Score: 1

      Taht's a good point. When depleted life savings end in suicide, that is indeed a disaster.

    25. Re:It's not a problem with SSL /per se/ by Anonymous Coward · · Score: 0

      the Challenger and Columbia accidents were engineering disasters

      The Challenger accident was a management disaster. Most of the engineers were saying that there was a problem, but management choose to ignore that.

    26. Re:It's not a problem with SSL /per se/ by badkarmadayaccount · · Score: 1

      Got a more secure implementation, sport?

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    27. Re:It's not a problem with SSL /per se/ by salimma · · Score: 1

      OpenSSH is quite secure. Just because some Linux distributions patch the version they ship and introduce security vulnerabilities does not mean the OpenBSD team is responsible.

      --
      Michel
      Fedora Project Contribut
    28. Re:It's not a problem with SSL /per se/ by mcgrew · · Score: 1

      Yes, it was management's fault, but it was still an engineering disaster. When a disaster happens because you don't listen to the engineers, it's still an engineering disaster.

    29. Re:It's not a problem with SSL /per se/ by Deanalator · · Score: 1

      Funny thing..

      There really is not much an attacker can do with a bank user/pass.

      Email accounts are significantly shittier to lose. Pretty much no matter what you do on the internet, your email ties into everything. From just the email account, they can get into any social networks, hosted servers, code repositories, domain management, paypal, amazon, online games, etc.

      It's made even worse when so many of the free email providers (especially google) seem to be allergic to HTTPS, and firefox is more than happy to pass obviously sensitive data over the wire in clear text.

    30. Re:It's not a problem with SSL /per se/ by maxume · · Score: 1

      You have to turn it on in the account preferences, but Gmail will do full https (I think it sets a cookie for login, so yeah, attention is needed if that cookie isn't set yet).

      Anyway, what you are talking about is quite a problem, but I don't think it can be solved by throwing technology at it. Something like Open-ID (backed with a physical token device) is a big improvement over the email story, but it is "hard", and it still doesn't take the user out of the loop.

      --
      Nerd rage is the funniest rage.
  7. Re:Disgusting grammar. by Anonymous Coward · · Score: 5, Funny

    If you are going to criticize someone's grammar. Your post should be grammatically flawless. And your post isn't. That's laughable.

    "I thought you editor's had better standards."

  8. God forbid... by ThrowAwaySociety · · Score: 2, Insightful

    ...hackers and phishers ever take a third-grade English class.

    Typos, grammar errors, and awkward Google transalations probably do more to alert average users to scams than SSL certificate warnings.

    1. Re:God forbid... by Anonymous+Monkey · · Score: 4, Insightful

      Reminds me of the first lesson in hacking: Social Engineering is More Powerful than Passwords. Only the other way around. If you learn what hackers do, you can avoid them (most of the time). And if their is a Master Hacker who can dupe me, I doubt their is much I can do to stop him. Thankfully I'm not important enough to be a target.

      --
      We are the Borg...
    2. Re:God forbid... by Anonymous Coward · · Score: 0

      their => there

    3. Re:God forbid... by Ginger+Unicorn · · Score: 0, Offtopic

      Transalations? How well did your third grade go? :p

      --
      (1.21 gigawatts) / (88 miles per hour) = 30 757 874 newtons
    4. Re:God forbid... by Joebert · · Score: 2, Funny

      The only question is, are you attempting to look unimportant so you will be looked over, or because you know someone will look at that as a dead give away that you're trying to "look" unimportant because you actually have a lot to hide and want to draw attention to yourself because you actually are, unimportant ?

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    5. Re:God forbid... by Vellmont · · Score: 4, Insightful


      Thankfully I'm not important enough to be a target.

      A common myth, based on a belief that "hacking" is done by some smart guy sitting around thinking about which "important person" to go after next.

      The answer (if you're smart enough and slightly lazy) is "why not everyone?" or at least "anyone that falls into the trap". An automated program doesn't really care who you are, if you're "important" or not. Only that it can trick you into losing some money. Personally I think that's why a lot of people fall for 419 scams.

      --
      AccountKiller
    6. Re:God forbid... by KillerBob · · Score: 2, Interesting

      I think he was talking about people specifically trying to break into his box, presumably a server. Like him, I don't really think my server is that juicy a target. A determined hacker *can* break into it, no argument. But it's got enough of a deterrent in place, in the form of frequent updates by a sysadmin who subscribes to the mailing lists for all the software she's running, requiring SSH to log in, the non-existence of any remote administration tools except for SSH, only allowing one user shell access (unfortunately, I'm on a dynamic IP, else I'd be restricting it to IP as well), and said user having a password that expires every 30 days, to make it an unattractive target for that kind of attack.

      When it comes to viruses, trojans, and other forms of malware, you're absolutely right. The human will always be the weak factor, and the software doesn't give a damn what human it's targetting. A little bit of common sense and a little bit of knowledge about how these kinds of things work will do wonders to protect you from harmful attack. But when it comes to securing a server against intrusion, it's not about preventing attack: there's nothing you can do short of taking the server offline to 100% guarantee that it won't be attacked. It's about making it enough of an annoyance to break into your computer that anybody who doesn't have a personal vendetta will go after an easier target.

      --
      If you believe everything you read, you'd better not read. - Japanese proverb
    7. Re:God forbid... by osu-neko · · Score: 1

      If looking ordinary is suspicious, sure, I'm making myself a target. However, if the person who suspects looking ordinary is a cover for being important is using that strategy to find important people, I can rest easy knowing that, with that strategy, they'll have to work through about three billion false positives on average before they get to looking at me.

      --
      "Convictions are more dangerous enemies of truth than lies."
    8. Re:God forbid... by msimm · · Score: 1

      I think he's saying he's probably smarter then the average program. A targeted attack, unlike a lazier automated attack still has a better chance of success. What you present is a low-hanging fruit argument.

      --
      Quack, quack.
    9. Re:God forbid... by Anonymous Coward · · Score: 0

      I've been in your browser history and I know what you've seen! Don't pretend to be "ordinary" to me!

    10. Re:God forbid... by Vellmont · · Score: 1


      I think he's saying he's probably smarter then the average program.

      An attitude that can get you in a lot of trouble. Richard Feynman once said "I'm smart enough to know that I'm dumb." In other words, don't think you're so smart you can't be fooled.

      What you present is a low-hanging fruit argument.

      There's some of that to be sure. But anyone can get hacked, even by an automated program. Do _YOU_ check the security link every time you login to your bank website? The biggest problem with ALL of this damn security is it partially relies on the user to be aware of the implications of everything. Reading through the various attack vectors, I'm not even certain _I_ could be 100% sure I'm not getting hacked in some way, and I'm a software developer with experience in web development, and an interest in security.

      --
      AccountKiller
    11. Re:God forbid... by msimm · · Score: 1

      Do _YOU_ check the security link every time you login to your bank website?

      I do. And I certainly don't mean to suggest being smart == impervious, in fact I believe it's more likely that an educated user will avoid many of the low-hanging fruit scenarios precisely because of their increase in vigilance.

      --
      Quack, quack.
    12. Re:God forbid... by Fulcrum+of+Evil · · Score: 1

      Thankfully I'm not important enough to be a target.

      Bullshit. You don't get attacked for being important, you get attacked because you're there.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    13. Re:God forbid... by Anonymous+Monkey · · Score: 1

      Part time job as an accountant. Volunteer work with Deaf people the rest of the time. Live in a one bedroom apartment with my wife. Nope, not important. That is unless you like to harass people without money.

      --
      We are the Borg...
    14. Re:God forbid... by Anonymous+Monkey · · Score: 1

      Right, I said "Master Hacker," the kind in movies that go after one person and then take over everything about them. Not the kind that sets up goofy phishing schemes.

      --
      We are the Borg...
    15. Re:God forbid... by Vellmont · · Score: 2, Insightful


      Part time job as an accountant. Volunteer work with Deaf people the rest of the time. Live in a one bedroom apartment with my wife. Nope, not important.

      A hacking program designed to find exploits in your computer, at your ISP, or any of the internet infra-structure between you and doesn't really care how "important" you are. It only cares about the logic with which it was written.

      Your internet connection is only the most easy thing to steal. If an automated program (you can call it a "virus" or "worm" if you really want) can get somewhere within the infrastruture, anytime you use a credit card, the CC# could be stolen. Do you ever bank online?

      Importance only matters when an attacker has to pick and choose his targets do to a limit on his own attention. When the computer does the attack for him, "important" is irrelevant, and "ability to exploit" and return is a much bigger factor.

      --
      AccountKiller
    16. Re:God forbid... by Ihmhi · · Score: 1

      Spelling mistakes... hmm... he's a hacker! GET 'IM!

    17. Re:God forbid... by Anonymous Coward · · Score: 0

      ...hackers and phishers ever take a third-grade English class.

      Typos, grammar errors, and awkward Google transalations probably do more to alert average users to scams than SSL certificate warnings.

      Indeed.

    18. Re:God forbid... by Anonymous+Monkey · · Score: 1
      Good point, and as my ATM card has been eaten by the machine at the bank because my account got hacked perhaps I should restate the reason for my lack of concern.

      I'm not very exposed to risk online. My bank account and credit cards shut down and lock up tight if they suffer a breach, and I tend to carry enough cash to get back home, so I'm not worried about that. If an odd charge shows up on my bank statement I go to the bank and they reverse it without any question (it's good to be old friends with most of your bank staff). The point is, the risk is on the side of the bank and credit card company, at most I'm on the hook for is a minimum charge for fixing the error. Big deal.

      Oh, and the breach on my bank account had to do with my check card. A subcontractor for Visa had a security breach, so the problem affected several banks and was not due to my online activity. My wife's check card was unaffected, strangely enough, and we had no abnormal activity on our account.

      --
      We are the Borg...
    19. Re:God forbid... by velja27 · · Score: 1

      I am not native English speaker but i so often see that mistake and wonder how can someone confuse those two,they spelled differently and spoken differently why the confusion?!

    20. Re:God forbid... by hobbit · · Score: 1

      "Their" is like "her": "They took their ball home", "She took her ball home".

      "There" is like "here": "They went there", "They came here".

      "They're" is short for "they are": "They're hoping to find their friends there", "She is hoping to find her friends here".

      --
      "Wise men talk because they have something to say; fools, because they have to say something" - Plato
  9. OK, so don't implement the security. by russotto · · Score: 5, Insightful

    If you don't implement the security, you're not secure. The author claims that some browsers don't check to see that an intermediate certificate is actually authorized to sign other certificates. So naturally there's a simple attack based on that, but it doesn't really show a flaw in SSL.

    The author also complains about companies which post secure forms on non-secure pages, which is a valid complaint but is also a case of "You're using it wrong" rather than a problem with the protocols. Most users are never going to check for the lock (or whatever), so the basic problem will be with us forever, but banks don't have to screw it up by putting login forms on non-secure pages normally. Yes, it's convenient to have a login on a home page, and yes it would consume too many resources to make every home page hit into an https hit, but security ought to count for something, particularly with a bank.

    1. Re:OK, so don't implement the security. by Lord+Ender · · Score: 1

      No, the problem does NOT have to be with us forever. If browser makers simply gave pop-ups whenever a form with a password control were submitted: "Do you really want to send your password to asdfasdf.cn?" for ssl or "You are sending a password unencrypted! It could be intercepted by hackers. Are you sure you want to do this?" for http, then the problem would go away.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    2. Re:OK, so don't implement the security. by MobyDisk · · Score: 1

      But with his trick of using SSL + unicode characters, it would say:
      "Do you really want to send your password to https://www.google.com/SecureLogin.asp?ijkll"
      Which looks perfectly valid.

    3. Re:OK, so don't implement the security. by AnEducatedNegro · · Score: 1

      And lets put a checkbox underneath that says 'Do not show this message in the future' so we don't annoy the hell out of all of our users!

      Oh wait, browsers already do that. And then users check the box. And then they get suckered into these sites....

      aEN

    4. Re:OK, so don't implement the security. by Tx · · Score: 1

      I can't tell if this is humour or not. Are you on the Microsoft UAC team, or are you having a laugh?

      --
      Oh no... it's the future.
    5. Re:OK, so don't implement the security. by Deanalator · · Score: 1

      Sorry, but which browsers warn users about sending POST variables from password fields over unencrypted channels?

      Maybe you are thinking of the "you are leaving an encrypted web page" warning that IE does.

    6. Re:OK, so don't implement the security. by Anonymous Coward · · Score: 1, Insightful

      It's ironic that Slashdot displays "[google.com]" after the link, showing that the address can be made clear, and ruining your argument.

    7. Re:OK, so don't implement the security. by nabsltd · · Score: 1

      Not password fields per se, but any unencrypted POST can result in a warning dialog with pretty much any popular browser.

      Firefox 3.x has the config on the Security tab in the options dialog...the "Warnings" section.

      IE has the config on the Security tab in the options dialog...click the zone you want to affect, then click "Custom Settings" and find the "Submit non-encrypted form data" under "Miscellaneous".

      As you can tell from my descriptions of how to find these, they aren't that "in your face", so maybe that could be improved.

    8. Re:OK, so don't implement the security. by dave562 · · Score: 1

      Browsers already do that. The first time you use IE or Firefox and submit form data over HTTP it will tell you something to the effect of, "You are about to submit unencrypted data over the Internet where it might be intercepted. Do you want to do this?" Then right under that, there is a check box to disable the feature.

    9. Re:OK, so don't implement the security. by Lord+Ender · · Score: 1

      What I propose is specific to password controls, and would not have a 'permanently disable' button.

      Would this annoy users? Yes. Would it save them from being hijacked? Yes. This is called a trade-off.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    10. Re:OK, so don't implement the security. by redJag · · Score: 1

      Pop-ups? You mean those annoying things I have to click OK to before my computer will do what I want? Putting those in doesn't make the problem go away, just shifts the liability even more on to the user.

    11. Re:OK, so don't implement the security. by MasterOfMagic · · Score: 1

      Until they installed the Firefox extension that turns this feature off, and if that can't be done, until they download a version of Firefox with this hacked out.

      People care more about a smooth experience than they do about security, which is why Microsoft will never do this, especially after the UAC debacle.

    12. Re:OK, so don't implement the security. by Lord+Ender · · Score: 1

      You've got it wrong again. UAC annoyed people every time they did things they were supposed to do. That's not the same thing. People aren't supposed to send passwords in plain text. People don't actually mind getting alerted when they do something they are not supposed to do... example: lights/gates at railroad crossings.

      You are essentially arguing that there is no point to having SSL at all, because nobody cares who has access to their credit cards and passwords. That's incorrect.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    13. Re:OK, so don't implement the security. by MobyDisk · · Score: 1

      Except that I didn't actually use the hack.

    14. Re:OK, so don't implement the security. by bugg · · Score: 1

      Perhaps what browsers should do is have a separate class of errors for whenever there's a password field in the form. Given how often people google, comment on blogs, or what-have-you, I'm not about to tolerate an additional click for every POST. But I will tolerate an additional click for every POST where one of the fields was a password.

      --
      -bugg
  10. Re:Disgusting grammar. by Anonymous Coward · · Score: 5, Funny

    If you are going to criticize someone's grammar. Your post should be grammatically flawless.

    If YOU are going to. criticize someone else's. Grammar. Don't use sentence fragments to do. It.

  11. People don't type https:// by gzipped_tar · · Score: 5, Interesting

    One of the claims from the presentation (linked in TFA: https://www.blackhat.com/presentations/bh-dc-09/Marlinspike/BlackHat-DC-09-Marlinspike-Defeating-SSL.pdf, PDF file) is "people don't type https:///" -- they reach SSL-enabled urls either by submitting a form (from non-SSL page!) or the result of HTTP redirect. And "that has made all the differences" according to the hacker.

    Maybe we need a special TLD for HTTPS-only traffic. Let's say ".s". For a given URL, if the hostname is of ".s" domain but the protocol part is not "https:" (or other secure protocols) then the URL is invalid by standard. A browser should be mandated to use HTTPS for such a host if the URL is given incomplete (e.g. user typing "example.s" rather than "https://example.s/" in the Awesome Bar). It should also fail to use a non-secure protocol even if it's available for a ".s" site during any phase of communication.

    I don't think this idea is good enough but it's the first thing coming to my mind..

    Also I'd like to know more about another exploit mentioned in the presentation.. the failure to check the "Basic Constraints" field of a SSL cert. Is Firefox vulnerable?

    --
    Colorless green Cthulhu waits dreaming furiously.
    1. Re:People don't type https:// by imemyself · · Score: 2, Interesting

      I kind of agree with you about having something in DNS to tell the client that it must use SSL. When I read through the Powerpoint, I was wondering about using TXT records, or SRV records or some other type of DNS records to tell the client that it must connect using SSL.

      I wonder how practical this would be? I think it would be easier to "bolt-on" than using a new TLD, but would it be more vulnerable to DNS spoofing than using a new TLD?

      --
      Every time you post an article on Slashdot, I kill a server. Think of the servers!
    2. Re:People don't type https:// by Anonymous Coward · · Score: 0

      Balls to having a TLD that is secure. Just force EVERYTHING to run over SSL. While we are moving to IPv6 why don't we just cut all straight http traffic as well.

      Encrypt the lot, suck up the negatives and this sort of vunerability should go away.

    3. Re:People don't type https:// by gujo-odori · · Score: 1

      The AC who said "balls to that" is right. Sure, it might work, but it's not needed, and the same people who make a lot of https exploits possible by embedding secure elements in insecure pages (like, uhhh, pretty much every financial institution, with a few exceptions) would not implement it, for the same reason they put that little secure login section in an insecure page: they don't want to spend the extra bandwidth and CPU time to run the whole site over https. If they would just do that - run a separate login page over https only, and run everything beyond it over https only, that would make exploits much harder. Simple, easy, safe, and they won't do it. Wonderful.

    4. Re:People don't type https:// by osu-neko · · Score: 1

      One of the claims from the presentation (linked in TFA: https://www.blackhat.com/presentations/bh-dc-09/Marlinspike/BlackHat-DC-09-Marlinspike-Defeating-SSL.pdf, PDF file) is "people don't type https:///" -- they reach SSL-enabled urls either by submitting a form (from non-SSL page!) or the result of HTTP redirect. And "that has made all the differences" according to the hacker.

      Hmm. I usually reach them from a bookmark. Rather than a special TLD, why not simply a meta tag that ensures anyone bookmarking the page gets the 'S' in the bookmark, even if they came to the non-SSL homepage. I notice, for example, that my bookmark for PayPal says "https://www.paypal.com", even though I'm sure they're reachable via the usual http. My bank's bookmark did not have the 'S', but I just changed it and works fine with it -- it really should have just had it all along.

      --
      "Convictions are more dangerous enemies of truth than lies."
    5. Re:People don't type https:// by Simetrical · · Score: 1

      I kind of agree with you about having something in DNS to tell the client that it must use SSL. When I read through the Powerpoint, I was wondering about using TXT records, or SRV records or some other type of DNS records to tell the client that it must connect using SSL.

      You're talking about a situation where the attacker is in a MITM position. If they can intercept and rewrite HTTP traffic, they can intercept and rewrite DNS traffic too. A new TLD would solve this problem quite cleverly, although of course it brings its own problems.

      --
      MediaWiki developer, Total War Center sysadmin
  12. Re:Can you say criminal? by Anonymous Coward · · Score: 0

    he needs to spend some time in jail as a reminder of how to work within the law

    Don't be so clueless. Half the people at Black Hat are Feds. Reasoned accommodations were solidified years ago.

  13. Re:Disgusting grammar. by Anonymous Coward · · Score: 0

    Woooooooosssssssshhhhhh!

  14. Re:Disgusting grammar. by Anonymous Coward · · Score: 1, Funny

    Yeah, it should be, "I thought you're editor's had better standard's."

  15. The same guy. by Anonymous Coward · · Score: 2, Informative

    This is the same guy who published the infamous basic constraints IE vulnerability a few years ago. His website and the software is www.thoughtcrime.org

  16. End to end encryption for a safe internet by master_p · · Score: 5, Insightful

    End-to-end encryption is required at all levels of the internet. Until that is available, the internet will never be secure, because someone will be able to read the non-encrypted data you send and reply with a fake response.

    1. Re:End to end encryption for a safe internet by buchner.johannes · · Score: 1

      Impossible for performance reasons, keyword: caching. A balance has been found.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    2. Re:End to end encryption for a safe internet by Anonymous Coward · · Score: 0

      Never mind that it is not just encryption. It is also about authentication and authorization end to end, for every action you take. Unfortunately to have these features it also means you would sacrifice a lot of privacy and freedom. We have a pretty decent balance now. Though your average user has no chance against a malicious attacker that understands how to exploit SSL.

    3. Re:End to end encryption for a safe internet by Anonymous Coward · · Score: 0

      Right now, if you go to mozilla.com and download Firefox, the executable will be sent over HTTP. So you're fucked right from the get go.

      There's no need to encrypt Firefox of course; the issue is verification. There's no reason a web cache can't cache signed files.

  17. The problem is with the trusting user, and can be by gilado · · Score: 1

    People click fake urls in their email, and provide their bank credentials to phishers.

    The problem is that bank's website forces the user to authenticate themselves but currently there's no mechanism to force the website to authenticate themselves to the user.

    The solution: Smart Cards (e.g. Credit Card with a chip) and Smart Card readers. Or a USB device doing the same; i.e. a fob

    Of course the banks will have to spend a few bucks to provide that to their customers; currently it probably is cheaper for the bank to insure and stick the bill to the customer.

  18. Re:Disgusting grammar. by Anonymous Coward · · Score: 0

    Yet another fine example of irony, present on 90% of the ./ posts that complain about spelling, grammar, or both.

  19. Re:Can you say criminal? by Vectronic · · Score: 1

    You bet we worship them...

    Now that this is "out" (publicly anyways, probably been around for awhile) it can be resolved.

    Besides, has anyone ever asked you to drive their car somewhere before? did you decide to take it to a chop-shop instead? or sell it?

    Ever broke into your neighbours house and stole their stereo, just because you know they don't bother to lock the door?

    Ever been waiting at the counter in a store/office/etc, and seen someones information? did you use their creditcard number? did you try and steal their identity?

    Did you ever do that, then announce it publicly over 3 different types of media?

  20. Hacking isn't attacking the encryption. by FooAtWFU · · Score: 1
    You don't attack the encryption. You attack how it's used.

    (Well, okay, sometimes they're using WEP or ROT13 or memfrob, but in general...)

    --
    The World Wide Web is dying. Soon, we shall have only the Internet.
  21. Re:The problem is with the trusting user, and can by Joebert · · Score: 1

    What's the difference between data sent from the keyboard and data sent frm a smart card ?

    If it still has to be transfered it doesn't matter what peripheral created the signal.

    --
    Wanna fight ? Bend over, stick your head up your ass, and fight for air.
  22. How to verify a cert? by Anonymous Coward · · Score: 0

    How do I actually verify the authenticity of a certification. For ex. if I go to mo bank's site I get the SSL enabled and yellow url bar and can look at the details of the cert. Issued by / to etc.. it also has a MD5/SHA1 - can I just go to verisign.com and look up that cert and compare the MD5/SHA1? The only thing I came up with on their site is a way for webmasters to check their installation but it seems to require Flash - which is a no go.

    1. Re:How to verify a cert? by gujo-odori · · Score: 1

      That's an interesting problem. Your browser can recognize a bogus certificate, or at least one that's signed by a CA for which it doesn't have a root certificate, so barring an exploitable browser vulnerability, it would be necessary for the phisher to steal the signing certificate from the CA, break its passphrase, create a bogus SSL certificate, and place said certificate on the bank's website. Then snarf your info. If they've penetrated that far into the bank's infrastructure, they can probably just snarf your info from that side of the https connection without bothering with all that certificate compromise hokey pokye.

      Going back to your original question, if they had gotten far enough inside the CA to steal its signing certificate and compromise the password, you couldn't trust any MD5 sum that site gave you, either. An unbreakable web of trust is hard. Maybe impossible. That's a reason why security organizations symmetric ciphers with keys carried in locked diplomatic bags, and one-time PADs.

  23. Re:The problem is with the trusting user, and can by gilado · · Score: 2, Insightful

    RSA encryption and authentication is the difference
    You can't expect the user to do RSA authetication using a keyboard

    But the chip in the smart card does exactly that.

  24. Paranoid by indre1 · · Score: 1

    I'm going back to pen and paper to send mail, then there's no encryption for hackers to break!

  25. Re:Disgusting grammar. by hairykrishna · · Score: 5, Funny

    Shatner, is that you?

    --
    "Physics is to math as sex is to masturbation." -R. Feynman
  26. Re:The problem is with the trusting user, and can by zippthorne · · Score: 1

    But where do you use your smart card? I don't think i've ever seen an actual reader in person.

    --
    Can you be Even More Awesome?!
  27. Pop-up is bad, telling the user is good by jonaskoelker · · Score: 3, Interesting

    If browser makers simply gave pop-ups

    No. No no no! Death to pop-ups.

    And here's why: they interrupt you in what you're trying to do. If they surprise you, you feel less in control of your environment which is bad (see http://en.wikipedia.org/wiki/Learned_helplessness and http://en.wikipedia.org/wiki/Locus_of_control). If they don't they're pointless because you'll already know in advance what your answer is going to be, so why can't you just tell the program what your answer is when you tell it to go do whatever made it interrupt and annoy you?

    A better solution is the slide-down bar which you probably know from using firefox. Instead of being in your way, it steals a little screen real estate near the edge and uses a color to tell you "you might want to pay attention here" without being in the way of what you really want to look at. Something similar happens when gedit and evince encounter an error.

    They're much better than pop-ups, in the cases where you have enough room for the text you need to display to the user.

    But you-the-browser probably should tell the user "Your password will be sent to $OTHER_DOMAIN. This is likely to be a security problem", so use a slide-down bar for this.

  28. Odd choice of words by Garse+Janacek · · Score: 4, Insightful

    SSL encryption isn't as secure as online businesses would like us to think.

    What? I mean, are online businesses down in their underground lairs, laughing at the misinformation perpetrated on an unsuspecting public? "Hah! They believe that SSL encryption is secure!"....

    Maybe it should be "...isn't as secure as online businesses would like it to be." I think that it is in the interests of businesses as well as their customers for SSL transactions to remain secure. We can address incompetently implemented security protocols without treating it like a conspiracy on the part of the sites...

    --

    I am the man with no sig!

    1. Re:Odd choice of words by daemonburrito · · Score: 3, Informative

      It's not a conspiracy theory. It appears that a lot of businesses have concluded that occasionally eating the loss on a fraudulent transaction is cheaper than fixing problems.

      Maybe it should be "...isn't as secure as online businesses would like it to be."

      If they "would like it to be" secure all they would have to do is spend more money on their infrastructure to encrypt everything. So, while it's not a "conspiracy", users who trust sites like paypal or their bank should be upset that these businesses have decided that security is too expensive. Users should be upset that big sites that handle money have decided that it is cheaper to wait for you to notice that money is missing, contact them, and then credit your account (maybe). And if you don't notice, well... it's not their responsibility.

      I think that it is in the interests of businesses as well as their customers for SSL transactions to remain secure.

      I would think so, too. However, people who run these companies' IT appear to have come to a different conclusion: Spend a certain amount of money on a somewhat secure system, and then put the responsibility on the customer to notice fraud. If noticed, credit the customer's account. Since the problems with mixing secure and non-secure elements have been known and exploited for years, we can conclude that these companies have done their cost-benefit analysis on the current way of doing things and found it to be acceptable.

    2. Re:Odd choice of words by Simetrical · · Score: 1

      If they "would like it to be" secure all they would have to do is spend more money on their infrastructure to encrypt everything.

      Wrong. User types "paypal.com" into their URL bar. Browser sends a request for http://paypal.com./ PayPal might automatically redirect to HTTPS (in fact it does, when I try it), but by then it's too late. A MITM can have already served up the fake page as HTTP, and few users will notice the difference.

      What's needed is some way for the browser to know in advance that it should not accept any unencrypted traffic from the domain name. The only way I can see to do this is to encode that information in the domain name itself, for instance with a new .secure TLD. The only information available to the browser without going to the network is the domain name, so it seems like this is the only place to store "don't do stuff unencrypted" info.

      --
      MediaWiki developer, Total War Center sysadmin
    3. Re:Odd choice of words by daemonburrito · · Score: 1

      Wrong. User types "paypal.com" into their URL bar. Browser sends a request for http://paypal.com/. PayPal might automatically redirect to HTTPS (in fact it does, when I try it), but by then it's too late. A MITM can have already served up the fake page as HTTP, and few users will notice the difference.

      Replying with a 302 to an http request or responding to an "https link click" is not encrypting everything.

      But paypal.com does not have to reply with a 302 to the http request. Or better yet, we could all just strongly discourage using a redirect from http to https under any circumstances, and utterly ban https clickys in http (like the wachovia site). The latter concern is totally unforgivable. The user has to take it on faith that the POST is secure.

      The .secure TLD doesn't sound like a terrible idea, but wouldn't it be easier to approach this from the browser? We could accommodate the the keyboard-averse by having some gui element for "secure" urls, that would behave differently than the normal url bar, i.e. prepend "https://" instead of "http://". On the server side, no more responding to http. Instead show a static page telling the user how to access the site properly.

      Apologies if you've already read this, but here is the pdf from the conference.

    4. Re:Odd choice of words by Simetrical · · Score: 1

      The .secure TLD doesn't sound like a terrible idea, but wouldn't it be easier to approach this from the browser? We could accommodate the the keyboard-averse by having some gui element for "secure" urls, that would behave differently than the normal url bar, i.e. prepend "https://" instead of "http://". On the server side, no more responding to http. Instead show a static page telling the user how to access the site properly.

      So you're requiring users to remember which sites they access are secure or not? Users will just use a different browser if they have to click an extra button every blasted time they want to go to Gmail or whatever (but not 95% of the other sites they use!). That much annoyance to users is probably just not worth the slight gain in security, in the same way that a highway speed limit of 30 MPH is not worth the lives it would save. Any good solution needs to add no noticeable burden to users' normal web browsing.

      --
      MediaWiki developer, Total War Center sysadmin
    5. Re:Odd choice of words by daemonburrito · · Score: 1

      So you're requiring users to remember which sites they access are secure or not? Users will just use a different browser if they have to click an extra button every blasted time they want to go to Gmail or whatever (but not 95% of the other sites they use!). That much annoyance to users is probably just not worth the slight gain in security, in the same way that a highway speed limit of 30 MPH is not worth the lives it would save. Any good solution needs to add no noticeable burden to users' normal web browsing.

      Funny... Even accepting the analogy I still disagree (ie, 0 crash deaths, less pollution, and trains would be pretty great actually). YMMV.

      One thing this presentation showed is that security can not be incremental in this arena. There is no "slight gain in security"; there is secure and there is totally exploitable.

      Yes, I think it should be very very obvious to the browser user when they are using tls. The drive to "add no noticeable burden to users' normal web browsing" is part of the problem, imho. And yes, the idea is for user to think, "Hey, this is my bank account login, it should be secured." Of course, as I mentioned previously, this requires site owners not to be stupid, which may be a tall order.

  29. Still a man in the middle attack. by Anonymous Coward · · Score: 0

    This doesn't seem to me to be as serious as it might sound. You don't actually sites with this method, the attack is against the users of a compromised LAN who are trying to connect to the secure sites. That limits the scope of a real attack to networks in which a tool like sslsniff can be run. That means the attack is either from an internal user, or someone who has been able to compromise a box on your network. Home users should be relatively safe, unless you can spoof DNS or trojan their systems.

  30. Re:Disgusting grammar. by mcgrew · · Score: 1

    What a disgusting display of English grammar. Come on, Slashdot! I thought you editor's had better standards

    Oh look, the iron "E" is back.

  31. using it wrong == out of compliance by louzerr · · Score: 1

    If you're handling credit card data at least, you should (better) be familiar with PCI-DSS. Basically, the credit card industry has gone to great lengths to set standards that can simply be followed to help assure that you're NOT handling data (or HTTP) in an insecure manner.

    It's amazing what proper due diligence can do for you. It's also amazing how many people think because they CAN take credit card data online, that they automatically should.

    --
    "The large print giveth, and the small print taketh away" -- "Step Right Up", Tom Waits
  32. Re:The problem is with the trusting user, and can by Kickasso · · Score: 0, Offtopic
  33. replying to myself by Kickasso · · Score: 1

    Er... please mod down, make fun of, and otherwise disregard the parent comment. And this one, too.

  34. He makes some good points by 93+Escort+Wagon · · Score: 2, Interesting

    I remember a few years ago banks (and others) were trying to "educate" people about not forcing https connections to their main pages for login purposes. Their explanation was "our login forms submit to a processing script that runs on https, so there's no problem". Well, one thing Moxie demonstrated is an effective way to attack this exact sort of situation via MITM.

    I do take issue with his statement "no one types in https (or http for that matter)". With many people he's correct; but I know I do pay attention to this, and I try to get my family and friends to do so as well. Also (especially nowadays) people need to start paying attention to whether they're in situations where MITM is made much easier, such as on unencrypted wireless networks.

    --
    #DeleteChrome
  35. Re:The problem is with the trusting user, and can by Anonymous Coward · · Score: 0

    The problem is that bank's website forces the user to authenticate themselves but currently there's no mechanism to force the website to authenticate themselves to the user.

    No, the problem is that the user is sending their creds to the bank instead of verifying their creds.

    Instead of sending your username + password over an encrypted channel, server sends you a key + challenge encrypted with your password. You send back the challenge, encrypted with their key, that proves you knew the password. Then you use the challenge to encrypt the rest of the data. If anybody intercepts it, everything is encrypted and your password isn't even in the data so they can't reuse it later. The only chance to intercept this would be the very first time the user went to the bank site, when they entered their password.

    That's the gist of how SSL works.

    Of course, if you registered a new account on the hacker's site and used the same password then they would know how to decrypt the bank's messages, which is why a better way is for the bank to store a smart card / USB fob public key instead of a password. But a smart card or fob certainly isn't necessary to prevent mitm hacks.

  36. Re:Disgusting grammar. by msimm · · Score: 1

    Maybe he's writing in character? *queue fat man leaning at the top of a long staircase*

    --
    Quack, quack.
  37. Re:The problem is with the trusting user, and can by dave562 · · Score: 1

    Fraud is so prevelent the banks have written it off as a cost of doing business. I had my account compromised a couple of months ago. I called the bank on the same day that I noticed the fraud and by the end of the day they had credited my account for the fraud, opened an investigation, and setup a new account for me. I didn't even need to redo any of my direct deposits, or automatic billing because it all transfered over to the new account. Wells Fargo calls it a "lost stolen transfer". I'm sure that other banks have similar catchy phrases for their own process.

    In my case, I made the mistake of buying WoW gold from China. It always comes down to user education. If a person knows how to use a computer, they can make educated decisions and keep themselves safe. I live in Long Beach, CA and my city has a couple of classes a month about how to avoid online fraud. They are directed toward seniors and anyone else who is interested. I haven't been to one, but they probably just cover the basics. "Your financial institution will never contact you asking for your personal information." "Unless you initiate the transaction, it's probably suspect." "This is how you type https://.../ into the web browser."

  38. Re:Disgusting grammar. by arndawg · · Score: 1

    If you are going to criticize someone's grammar. Your post should be grammatically flawless.

    Because the commenter is a professional writer? Do you expect the same level of grammatic correctness from a journalist and a janitor?

  39. Re:Disgusting grammar. by palegray.net · · Score: 1

    He's speaking the language of the deal.

  40. DNS? by XanC · · Score: 1

    That sounds like a good idea. There could be a DNS option on the domain for secure-only. Of course DNS has had its own issues, but every bit helps.

  41. Re:The problem is with the trusting user, and can by Anonymous Coward · · Score: 0

    It is a bit late now but actually ensuring no password is sent in the clear (i.e. browser controls password entry via its own unfakable UI, specifically the one for HTTP auth, but clarifying whether it is unsecure basic auth vs. secure digest auth) would at least partially solve this problem as well. I would not want to use it for a bank, but getting users used to typing their passwords straight into HTML forms where they will (most likely) be transmitted in the clear was a bad idea.

    As that is not really possible, smart cards are a good idea as long as they are carefully designed to actually be secure (ex. the RSA keyfobs that show numbers can just be MITM'd if the attacker can convince you to give your login details to them -- they just have to login immediately to use the information).

    Also, if the card has direct contact with the computer, then any spyware running on the computer could use it to log into the user's bank while it is connected. This can be partially worked around by not allowing simultaneous logins (especially from the same unique smart card) (which banks probably already do, but I, naturally, have not tested) and notifying the user of their last login time (which my credit card company does).

  42. Definitely by XanC · · Score: 1

    It can start as a specially-formed TXT and transition to its own field, like SPF did. DNS spoofing is its own problem; if they own DNS they have you anyway.

    1. Re:Definitely by imemyself · · Score: 1

      DNS spoofing is its own problem; if they own DNS they have you anyway.

      To some extent that's true, but at least in theory proper SSL could warn the user that something's wrong, because the cert the attackers have wouldn't be valid.

      --
      Every time you post an article on Slashdot, I kill a server. Think of the servers!
    2. Re:Definitely by XanC · · Score: 1

      Well, right, but I think that's an orthogonal problem to the one that an SSL-only DNS option would solve.

  43. Re:Disgusting grammar. by EvolutionsPeak · · Score: 1

    I think he just invoked Muphry's Law

  44. This is an X.509 problem by laoc00n · · Score: 2, Informative

    This is actually not a problem with SSL. It's a basic flaw in the design of X.509 (the certification spec that SSL uses), and has been known and talked about from the beginning. You have critical policy information (e.g., the "basic constraints" certificate extension) being expressed in a credential, but the consumer of that credential may or may not interpret the information correctly. The lesson here (which gives the lie to all the PKI hype) is that you cannot separate certification policy from application policy.

  45. Tis I? Shat, Ner. by Anonymous Coward · · Score: 0

    Yes.
    it is?
    me.

    How,
    ...
    did? you know.

    I was being.
    so damn care
    ful.
    about that...

  46. http login form then submit to https problem by Pla123 · · Score: 1

    Some credit card sites have this bug.

    Log-in page loads over http:/// and then it submits to https:/// which is very vulnerable.

    I hacker can change the login page (over http) to point to his own site. Before clicking submit you have to debug the page to find out if it is submitting to the correct site... and by that time it is too late. They can afterwards fake loading error and forward to original page...

    And even worse, on some site I couldn't find a log-in form loaded over https.

    Please note, that no fishing is required to do this - it can be done over live traffic. The attacker modifies the login page on the fly because it is loaded over http.

  47. Here are some solutions by Khopesh · · Score: 4, Insightful

    My biggest gripe about these black hat papers is that they aren't as useful to non-black hats; there are no proposed solutions or workarounds.

    I think the most important trick in the paper is that first one you mentioned, of MITM translating server-side SSL to client-side plain-text and assuming the reader won't notice (or care). The easiest workaround is to get Firefox to return the yellow background. You still have to train users to mentally require it, but it's a step in the right direction.

    On to the second hack you noted. The article specifically mentions that .com and several other top level domains (TLDs) are purposefully punycoded (see page 90). However, the logic is still sound and the actual TLD doesn't matter. The example Moxie used was *.ijjk.cn.

    A solution proposal (from the top of my head): In the specific case of IDN-valid characters that approximate slash and question-mark, the simple solution is to propose a feature in firefox that recognizes them. Specifically, anything that appears to be forging a protected TLD, so punycoding IDN domains matching a regex like \w\W+(com|net|org)\W (and perhaps additionally a search for any of the proposed confusing characters), would cover a lot of ground. In the meanwhile, you could put the domain up in firefox's blue SSL box.

    The final vulnerability discussed in the paper (the first one in the paper's ordering) was that of standard certificates acting as intermediate certificates in the chain. This has an obvious solution and the paper even implies (but doesn't verify ... freaking black hats) that Firefox already has it implemented.

    --
    Use my userscript to add story images to Slashdot. There's no going back.
  48. Telcos and SSL. by Jason+Pollock · · Score: 1

    Mobile phone companies are looking to do exactly this to HTTPS traffic transiting the GPRS network:

    http://blog.masabi.com/2009/01/how-do-transcoders-affect-https.html

    It won't be long before ISPs that provide dial-up connections do the same with their "web accelerator" products.

    Oh, and Opera Mini does this as a matter of course.

  49. Re:The problem is with the trusting user, and can by imemyself · · Score: 1

    A lot of business class notebooks have smartcard readers.

    --
    Every time you post an article on Slashdot, I kill a server. Think of the servers!
  50. Re:The problem is with the trusting user, and can by badkarmadayaccount · · Score: 1

    business class != general use;

    call me when you have to actively avoid getting one without a smartcard reader.

    --
    I know tobacco is bad for you, so I smoke weed with crack.