Slashdot Mirror


Rogue SSL Certs Issued For CIA, MI6, Mossad

Orome1 writes with this excerpt from Help Net Security: "The number of rogue SSL certificates issued by Dutch CA DigiNotar has ballooned from one to a couple dozen to over 250 to 531 in just a few days. As Jacob Appelbaum of the Tor project shared the full list of the rogue certificates, it became clear that fraudulent certificates for domains of a number of intelligence agencies from around the world were also issued during the CA's compromise — including the CIA, MI6 and Mossad. Additional targeted domains include Facebook, Yahoo!, Microsoft, Skype, Twitter, Tor, Wordpress and many others."

40 of 152 comments (clear)

  1. Can we move on now? by ka9dgx · · Score: 5, Interesting

    We've now had proof positive that no centralized trust system is workable against a sustained attack. Can we start to get some distributed trust systems in place, instead? The idea of a single proof of identity has failed. It's time to move on to a system that allows multiple checks and balances.

    Monocultures are great for creating massive failures, which is why nature wipes them out over time.

    1. Re:Can we move on now? by Anonymous Coward · · Score: 2, Interesting

      Delete all your root certs. Add sites on an individual basis.

    2. Re:Can we move on now? by Ken_g6 · · Score: 2

      Can we start to get some distributed trust systems in place, instead?

      I suggest getting some Perspectives on the whole issue. Not only does it bypass warnings about self-signed certs, it gives an extra warning if a secure site looks hinky despite a valid cert.

      --
      (T>t && O(n)--) == sqrt(666)
  2. well managed self-signed certs are safer by YesIAmAScript · · Score: 3, Insightful

    At least you know how many and which certs were issued from an authority that you run yourself.

    The chain of trust is only as strong as the weakest link in the chain.

    --
    http://lkml.org/lkml/2005/8/20/95
    1. Re:well managed self-signed certs are safer by elsurexiste · · Score: 5, Interesting

      That may very well work for you or your organization. Not so much for third parties or the internet, which is the case here. I mean... would you trust a bank's homepage if it's self-signed?

      --
      I rarely respond to comments. Also, don't ask for clarifications: a brain and Google are faster, believe me!
    2. Re:well managed self-signed certs are safer by Zerth · · Score: 4, Interesting

      If I could pick up the cert from a local branch or by taking a picture of a barcode on the screen of an ATM, probably.

    3. Re:well managed self-signed certs are safer by rtaylor · · Score: 2

      How does manual verification help the bulk of the population identify fake certs?

      --
      Rod Taylor
    4. Re:well managed self-signed certs are safer by elsurexiste · · Score: 2

      I would rather say we rely on CAs to avoid the hassle. If I trust "X", and "X" says I can trust "Y", that should be enough. I think dropping the hierarchical scheme and adopting a distributed scheme is better than individual verification (most people don't understand what is good for them anyways).

      --
      I rarely respond to comments. Also, don't ask for clarifications: a brain and Google are faster, believe me!
    5. Re:well managed self-signed certs are safer by plover · · Score: 2

      No, you don't need a centralized trusted org. That is the entire point between the "web of trust" of PGP. I sign my own key and rate it level 4. I sign the keys of my best friends, employer, and the banks where I do business and rate them a level 3. I sign the keys of retail stores where I'm a customer, and the keys of casual acquaintances level 2. I sign the keys of people I know only on the web and rate them no higher than level 1 or 0.

      Now, when you are trying to evaluate the key of www.shadybank.com, you can look at their signers. You can say "I see that my good buddy Fred signed your key, and I trust him at level 3, therefore I'll trust you to level 2." You can say "I see that four friends who all trust you at level 2 have signed your key, so I'll trust you at level 1" or even "I see that I have a dozen friends at level 2 all signed your key, so I'll also trust you at level 2." You could say "I trusted this site at level 0 for a transaction last year, and I've used them three times since and didn't get my ID stolen, so I'm going to bump them to a 1." Or you could even happen by the offices of ShadyBank, examine the framed key they have posted on the wall, and decide to bump your trust level to 3 anyway.

      The point is that you can establish your own criteria for figuring out whether or not you want to trust a third party. You assign levels of trust to people and organizations you trust. And you place your trust in those who you think deserve it. Today, you get whatever random crap the CAs sign. And you get all of the crappy CAs built into your browser, including diginotar, and who knows who else?

      I'm thinking I'd like a "web of trust" of CAs. I have no idea which ones to trust, and I'm not sure I trust the Mozilla Foundation or Microsoft or Google to pick the trustworthy ones. Instead, if I could have ratings from my friends saying "GoDaddy is a good CA, but Diginotar is crappy", I could use that.

      --
      John
  3. F-secure has a partial list by nweaver · · Score: 5, Informative

    It may not be complete, but, F-secure has a list of the ones created, including *.*.com, *.*.org, www.cia.gov, addons.mozilla.org, *.torproject.org, etc...

    --
    Test your net with Netalyzr
    1. Re:F-secure has a partial list by AVee · · Score: 3, Insightful

      I'm kind of perplexed by the *.*.com certificate, is there any use in having such a cert? Realistically there is no (legitimate) reason for such a certificate to exist. Is there any software around that will actually accept certificates which are that broad? I mean, if there ever is a clear giveaway for a MITM attack it would be a certificate like that.

    2. Re:F-secure has a partial list by Jeremy+Erwin · · Score: 2

      There may be add-on for mozilla that supports wildcard certificates. And since addons.mozilla.org is associated with an alternative certificate, well...

    3. Re:F-secure has a partial list by rtfa-troll · · Score: 2

      including *.*.com, *.*.org, www.cia.gov, addons.mozilla.org, *.torproject.org, etc...

      err.. forget all those. There's only one you need to know: www.update.microsoft.com

      Ownage.

      --
      =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
  4. But its NOT centralized trust... by nweaver · · Score: 4, Interesting

    The root of the problem (pun intended) is NOT that the SSL/TLS certificate hierarchy is a centralized trust, but that there are hundreds of roots of trust, any one of which may be compromised, and all of which are considered equally valid by the browser.

    Who outside of the Netherlands even heard about DigiNotar before this happened?

    This is why some people like the idea of using DNSSEC for distributing key material: there exists only a single valid path of trust to a single root for a key associated with any given name: its actually more centralized than SSL/TLS, which is what is desired.

    --
    Test your net with Netalyzr
    1. Re:But its NOT centralized trust... by mellon · · Score: 3, Interesting

      The trouble with this is that it makes the root cert *insanely* valuable if we start using it in the way you describe. As a practical matter, there needs to be some additional system in place to provide a backstop for the root, so that merely compromising the root is not enough to successfully spoof every domain. DNSSEC + SSL CA is actually not a bad idea. But I am really worried about the push to use DNSSEC as the new single point of failure.

    2. Re:But its NOT centralized trust... by Sancho · · Score: 3, Interesting

      its actually more centralized than SSL/TLS, which is what is desired

      Centralization only works if you place a high amount of trust in the central organization. Do you trust ICANN? Do you trust .us? .ir? .uk?

      The CA system is only broken because there are weak links. The client trusts 200 CAs, and any one of them can sign for any domain. But what if we required 2 CAs to agree? 5? 10? It would be up to the admins of the server to decide how many CAs they wanted to use, and users could decide for themselves how many are required to agree in order to consider the cert valid.

      Moxie Marlinspike has some other ideas that sound pretty neat. Unfortunately, at first glance, his techniques seem to also rely on SSL, creating a chicken-and-egg problem. I may have been misunderstanding him, though.

    3. Re:But its NOT centralized trust... by AlXtreme · · Score: 2

      But what if we required 2 CAs to agree? 5? 10? It would be up to the admins of the server to decide how many CAs they wanted to use, and users could decide for themselves how many are required to agree in order to consider the cert valid.

      Interesting, but all that would do is spur companies to automatically obtain multiple certificates from multiple CAs. If such a system were compromised we'd be in the same situation as now.

      Perhaps both avenues are required: Each CA may only service one tld (so a compromise at a .nl CA would not put Iranians at risk via bogus .com certificates, partitioning the trust each CA can give) and extra security by having certificates signed by multiple CAs. You could even image browsers expanding their current flawed color-coding: 2 CAs = yellow, 5 = half-green/half-yellow, 10 = full-green.

      But even then the skeptic in me knows that the DigiNotar's of such a system will still be able to screw it up...

      --
      This sig is intentionally left blank
    4. Re:But its NOT centralized trust... by Junta · · Score: 2

      : its actually more centralized than SSL/TLS, which is what is desired.

      The key is not the centralization or de-centralization (though a system without well-defined roots of trust or in which the end-user is responsible for tracking the validity of the roots of trust would be bad). The issue at hand is DNSSEC has no concept of validation beyond DNS cache lifetimes. If an authority key is compromised, then you push out your fixed keys and the threat ages out of the system in relatively short order. 100% OSCP with unforgiving clients would be the most trivial fix to this mess. If you think that can't be accomplished, then DNSSEC is certainly never going to pan out as the same people not doing it right with x509 today aren't going to do it right with DNSSEC either. DNSSEC is only promising now because it is not ubiquitous. The people doing it are intrinsically interested in security and therefore no one is yet watering down the security for various 'practical' concerns.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  5. Draw the consequences by jeti · · Score: 2, Insightful

    You can't trust the root CAs. The whole infrastructure is broken and needs to be replaced with something else.

    For a start, webbrowsers should notify users if a certificate was replaced, even if the replacement is signed. And browsers shouldn't go into full panic mode over self-signed certs. They're still safer than using an unencrypted connection.

    1. Re:Draw the consequences by mellon · · Score: 2

      YES. User interface is at least as important as tech in security: if you have a bad UI, it doesn't matter how secure the infrastructure is, because people will use the bad UI to bypass it.

      There are some problems with self-signed certs, but they can be addressed by a better UI. You don't want users to get into the habit of clicking through self-signed certs. But an intelligently thought-ought security model here would be a huge win, because as you say, self-signed certs do add value, particularly in a world where HTTP authentication sends passwords in the clear (or effectively in the clear, depending on which model you use).

    2. Re:Draw the consequences by xororand · · Score: 3, Informative

      For a start, webbrowsers should notify users if a certificate was replaced, even if the replacement is signed.

      Certificate Patrol for Firefox.
      "This add-on reveals when certificates are updated, so you can ensure it was a legitimate change."
      The UI is good too. Certificate Patrol, along with NoScript and Cookie Monster, is a major reason to use Firefox.

      X.509 handling is largely neglected by UI designers, not just in web browsers.
      Sometime clients actually have options like "[x] Accept all certificates".

  6. Extended validation certificates by sakdoctor · · Score: 2

    Extended validation certificates were definitely a step in the right direction, with a pretty green favicon background.
    But that wasn't enough. So we went to Ultra-yotta-analprobed-extented-validated-certificates with a plaid favicon background, thus fixing the problem forever.

  7. Re:Way past time... by maxume · · Score: 2

    Uh, it pretty much already happened.

    (That is, Microsoft, Google, Mozilla, etc., have dropped them, the various logistics are shaking out as we speak.)

    --
    Nerd rage is the funniest rage.
  8. Re:Consider me naive... by anglico · · Score: 2

    According to this article:
    "Actually I think the secret service domains are the least alarming part. It's sexy, and will probably lead to a lot of questions and interest from government agencies. Of course, nobody wants to get caught with their pants down, but there's really no classified information on these domains. Those are on separate, secured internal networks. So the practical security impact of the Iranian government getting a certificate for the CIA is nill. It's really just very embarrassing, that's all," said Soghoian in an interview with Webwereld.

  9. Re:Wow... by FriendlyLurker · · Score: 5, Interesting

    Related: Forget Rogue, Microsoft handed ability to intercept SSL on windows (Another Wikileaks revelation, translated) to Tunisian dictator Ben Ali, apparently in return for contracts, stifling open source competition etc etc in Tunisia and allowing them to intercept Facebook, Google,... before the Arab spring revolution took place.

  10. Re:Facebook by mellon · · Score: 2

    Yeah it does. Go look at your account settings again. I've been using SSL on facebook for several months now.

  11. Re:Wow... by AVee · · Score: 4, Informative

    And according to TrendMicro 'someone' make rather heavy use of the diginotar certificates on ~40 different networks in Iran: http://blog.trendmicro.com/diginotar-iranians-the-real-target

  12. capitalism isn't the answer by YesIAmAScript · · Score: 2

    This is capitalism. Digitnotar screws up so they won't be able to charge money anymore.

    What you've described is exactly what we have right now except for the pubkeys in DNS part.

    A domain owner does establish their own keys, you generate a key pair and send it to the registrar to be signed.

    The problem right now isn't lack of capitalism. It isn't that you can't establish your own key.

    The problem is that there 150 registrars you might trust to certify a site. One of them is valid and the other 149 are just opportunities to get fooled by bogus certs. And the system doesn't even try to make it easier to figure out which is which.

    --
    http://lkml.org/lkml/2005/8/20/95
  13. Re:Wow... by yakatz · · Score: 2

    Unfortunately (or fortunately, depending on your point of view), most browsers do not support nested-wildcard certificates.
    (I have tried it).
    The CA I usually use catches it and warns you, but some other CAs take your money and leave you with a mostly-useless certificate.

  14. Re:Way past time... by Nick+Ives · · Score: 2

    I've just checked my certs in Chrome and DigiNotar isn't there. I've got the "check for server certificate revocation" option ticked, which I guess must be on by default.

    --
    Nick
  15. Vasco is scared shitless and rightfully so by Anonymous Coward · · Score: 2, Interesting

    See this statement:
    http://www.4-traders.com/VASCO-DATA-SEC-USD-11275/news/VASCO-DATA-SEC-USD-VASCO-DigiNotar-Statement-13782237/

  16. Re:PGP-based system? by GameboyRMH · · Score: 3, Informative

    Self-signed certs are an improvement because they're harder to forge or steal. In case you haven't been paying attention over the last few years, we have this thing called Distributed Verification AKA an SSL Notary system to prevent MITM attacks.

    The centrally controlled system of CAs relies on perfect security at the CA (which as we've seen, they don't have) and a constant game of whack-a-mole to revoke certs. Long story short we have to stop using certs for authentication, it was a stupid idea but we all crossed our fingers and hoped it could work, but as we can see now, it can't. It's better to just use a self-signed cert that can't be stolen or forged at your choice of a few convenient locations and use distributed verification to prevent MITM attacks. That way you know you have an encrypted connection between your PC and the web host using the same cert other people around the world are seeing, and that's the most you can hope for without sending out-of-channel information (which isn't the worst idea in the world, BTW) or relying on some idiotic system of "trust dealers" like CAs which are just a disaster waiting to happen.

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
  17. Re:PGP-based system? by GameboyRMH · · Score: 2

    And how is this web of trust better than a distributed verification system like Perspectives / Convergence? I think asking Average Joe users to attend key signing parties is a bit much

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
  18. Re:PGP-based system? by GameboyRMH · · Score: 2

    Hot chicks? Oh yeah you bet!...most likely...probably...

    Anyways, here's a pic of some of the hot action you might get to be a part of!

    http://en.wikipedia.org/wiki/File:FOSDEM_2008_Key_signing_party.jpg

    --
    "When information is power, privacy is freedom" - Jah-Wren Ryel
  19. Re:Presumably the CIA, NSA, et al generate own cer by rtfa-troll · · Score: 2

    The Three Letter Agencies generate their own cert chains themselves (except those outsourced by the Shiva program), and employees used to manually confirm the fingerprints and tell their browsers to trust those custom certs plus those of their Sri Lankan support agency; Chinese contractors and another 5375 certificates from old contracts that nobody can remember which ones matter any more? In other words, their internal sensitive data shouldn't be at greater than commercially acceptable risk of exposure due to the DigiNotar problems, because they'd have been be crazy to depend on a cert root that they didn't generate in the days when they could afford to spend time defending the USA and not just chasing down evil anti-globalisation and other protesters anyway whilst having to spend hours a day listening to whining from prisoners they're torturing. I can see how this whole fiasco might make a difference for some non-employee accessing a CIA (or whichever) web site, but other than that, it shouldn't be significant for the TLAs senior management... right?

    -Karl Fogel

    FTFY. Sorry about the loss of conciseness.

    --
    =~ s,(.*),<sarcasm>$1</sarcasm>,g if any_point_you_wish();
  20. Re:Wow... by BCoates · · Score: 4, Interesting

    Not really. Any government can get their state CA included in the windows root CA list just for the asking. OSX and Firefox are slightly more restrictive, but not in a useful way, they allow lots of state CAs as well.

    This is a broad problem with the HTTPS system, too many unrestricted root CAs with no concern for realistic security scenarios.

    This is not a good system, but it has nothing to do with Tunisia. The wikileaks cable you posted doesn't even talk about SSL, just about how using supported Microsoft software in the government will make the government more effective at everything, including domestic espionage.

  21. Alternatives by autocracy · · Score: 3, Informative

    There has been a lot of push at the recent DEFCON conferences, and associated conversation since, to look at alternatives to the current CA system. Moxie Marlinspike has been pushing a remote-view notary system called which is currently a Firefox plug, and Dan Kaminsky has been pushing for DNSSEC.

    There has been an awful lot of discussion about the technical details of SSL certificates on the Security StackExchange (Stack Overflow cousin) website, including the related blog post I penned: A Risk-Based Look at Fixing the Certificate Authority Problem.

    --
    SIG: HUP
  22. Re:PGP-based system? by Kalriath · · Score: 2

    Why, oh why, do "FOSSies" constantly suggest unworkable solutions that simply would not work for the vast majority of people on the internet? "Web of trust"? Really? Unless you plug that into some kind of by extension untrusted system (like Facebook, MSN, or something of the like) then noone except the "nerds" will bother to set up that web - resulting in the same security we have now. "Verify fingerprints at the branch"? Noone (not even most nerds) will bother with that - the very thought of expecting normal, average people to go "verify" a 64-character (or longer) SHA-1 thumbprint in the flesh is laughable. They'll just click "accept" like they do now, and wonder why someone in Zimbabwe stole all their money.

    --
    For a site about things like basic rights, Slashdot users sure do like to censor "dissent".
  23. Re:Way past time... by Amarantine · · Score: 2

    Uh, it pretty much already happened.

    (That is, Microsoft, Google, Mozilla, etc., have dropped them, the various logistics are shaking out as we speak.)

    Except... in the Netherlands, where DigiNotar is operating from. The government has demanded Microsoft in the Netherlands to delay the rollout of this patch, because it would cause too many problems for users, and because they need more time themselves to get all certificates replaced.

    Dutch article about this, including a link to the preliminary report about DigiNotar, here: http://tweakers.net/nieuws/76587/overheid-dwingt-bij-microsoft-vertraagde-windows.html

  24. Re:PGP-based system? by FireFury03 · · Score: 2

    In the end it was both disturbing how easy it was for someone to use my credit card, and impressive how a couple of minor charges were so quickly and accurately detected as fraud...

    On the other hand, the fraud detection systems on credit cards can often be a pain to customers because they get a large number of false positives. My cards have been disabled numerous times because the bank thought that I was making a fraudulent transaction, usually either when I made a card-not-present purchase over the phone, or when I was away from home and therefore not within my normal pattern of transactions and locations.

    The bank's automated systems do phone me to tell me that they have detected fraud, but this isn't helpful if I'm away on holiday somewhere where I can't get a mobile phone signal - I could be left without access to any money for a week until I can get somewhere where there is a phone signal. Also, usually they require that I phone them back on an 0845 or 0870 phone number to confirm the transaction is ok, which is quite costly to me (but not to them - they get paid to receive calls on these numbers, which makes it not really in their interest to improve the system).

    I'm also increasingly finding that the banks engage in security theatre, implementing systems that inconvenience their customers whilst providing no extra security. For example, to "increase security", one of my banks now requires me to remember about 15 random digits that can't be changed in order to log into the online banking system. They advise that I must not write down these digits... needless to say, I wrote down the numbers because I'm buggered if I can remember 15 random digits. Does this really increase security? If it were 4 digits then an attacker would require an average of 500 attempts to log in and I would hope the bank's login system would lock the account out long before that many attempts were made. In fact, making the login details impossible to remember actually decreases security because the user is forced to write it down.

    Another example is the crazy 3Dsecure system, which involves the customer entering confidential details into a web page that is served from some random unrecognisable domain (it isn't the website they are purchasing from, it isn't their bank, it isn't visa/mastercard themselves, it is some random third party domain).

    One thing I have found good is Santander's recent introduction of SMS OTP - if I make a money transfer via their web banking system, it will SMS me a one time passcode which I then enter before the transaction goes ahead. This works well for me because I pretty much always have my phone with me, and is much better than the other banks I deal with who have bulky "card reader" devices to generate keys, which are almost as big as my phone and I'm not going to carry them around with me so web banking suddenly becomes a lot less useful.