Slashdot Mirror


Microsoft: As of October, 1024-Bit Certs Are the New Minimum

way2trivial writes with this snippet from Information Week about a warning from Microsoft reminding Windows administrators that an update scheduled for October 9th will require a higher standard for digital certificates. "That warning comes as Microsoft prepares to release an automatic security update for Windows on Oct. 9, 2012, that will make longer key lengths mandatory for all digital certificates that touch Windows systems. ... Internet Explorer won't be able to access any website secured using an RSA digital certificate with a key length of less than 1,024 bits. ActiveX controls might be blocked, users might not be able to install applications, and Outlook 2010 won't be able to encrypt or digitally sign emails, or communicate with an Exchange server for SSL/TLS communications."

45 of 207 comments (clear)

  1. Why 1024? by fsck1nhippies · · Score: 5, Interesting

    System have the ability to go further, why not make 2048 the minimum? Does anyone know why 1024 was selected? I would guess it has to do with some backwards compatibility with something. Some of the issuers are making it next to impossible to go below 2048.

    1. Re:Why 1024? by Penguinisto · · Score: 5, Interesting

      Thinking much the same thing here as well. Even a CA like GoDaddy won't take anything smaller than a 2k cert key.

      Most SSL certs we cook up have a 2048 minimum anyway, and some certs we use have a standard of at least 4096 (I work in the banking/financial industry, so we're used to using the bigger keys).

      I'm thinking that they stuck with 1024 because most IIS 7.x (Win2k8 Server) allows for a minimum 1024 key size when making CSRs, and (maybe? can't remember) the really old crap (IIS5 or 4?) won't interpret anything bigger, which means enterprises with those old installs will scream bloody murder if they have to re-key but can't meet minimum length.

      --
      Quo usque tandem abutere, Nimbus, patientia nostra?
    2. Re:Why 1024? by SCPRedMage · · Score: 5, Interesting

      Probably because they didn't want to break a greater number of certs.

      --
      My sig can beat up your sig.
    3. Re:Why 1024? by Jane+Q.+Public · · Score: 2, Insightful

      "Does anyone know why 1024 was selected?"

      But one has to wonder why Microsoft is doing the selection.

      I'm not Microsoft-bashing here, but if I had an old cert on a site somewhere, there is no way in hell I would update it just to be compatible with Internet Explorer. Let Explorer users do without. I don't care in the slightest.

    4. Re:Why 1024? by jrumney · · Score: 4, Informative

      1024 was selected because this will not affect any US corporations, who always used 1024 bit certificates. Lower bit lengths were only ever offered because US export law would not allow high strength encryption products to be exported from the US, so MS and others shipped a lot of crippled copies of Windows NT, 95, 98 and maybe even Windows 2000 to customers outside the US.

    5. Re:Why 1024? by bloodhawk · · Score: 2

      because in many environments 1024 are still quite commonly used, especially in scenarios where cost of encryption for 2048 is a factor. Breaking the rare place that uses less than 1024 is probably ok, breaking the MANY that still use 1024 would have huge repercussions. while 1024 is not long enough to be considered completely secure, it is still good enough for many scenarios.

    6. Re:Why 1024? by fsck1nhippies · · Score: 2

      I am sorry to tell you that Certs are predominately used to secure communication between two points. They can be used for authentication of executables as well as users, and microsoft is pushing this requirement(gradually). To suggest that the selection of certificate bit length is to "pretend" that the are secure is crazy. Can you give an example of how this has been used in the past?

    7. Re:Why 1024? by smash · · Score: 5, Insightful

      Because NSA / CIA haven't cracked 2048 bit yet, silly.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    8. Re:Why 1024? by fast+turtle · · Score: 4, Informative

      smart/feature phones

      There's your biggest drawback to the 1k keysize. How many of them can handle more then that? Simply put, it's the U.S. Telco's that aren't able to handle anything larger as everyone else offers phones that can handle 2k+ certs.

      --
      Mod me up/Mod me down: I wont frown as I've no crown
    9. Re:Why 1024? by yuhong · · Score: 4, Interesting

      On Win2000, US lifted export restrictions only one month after Win2000 RTMed in Dec 1999, so MS had to ship the high encryption pack on a floppy disk inside the Win2000 package in addition to making it available for download. SP2 finally built it in.

    10. Re:Why 1024? by viperidaenz · · Score: 4, Informative

      I don't know about you, but I went to school. I see a factor of 10 between 1 and 10.
      Have a look at http://en.wikipedia.org/wiki/Birthday_problem A group of just 23 people is required to get a 50% probability two people will have the same birthday, despite there being 366 different days in the year. 57 for 99% probability. That equates to 6.3% change, hits 50% probability and 15.5% hits 99%.

      If moving to 2048bits makes 15% of the certs in use invalid, the vast majority of your users will be effected.

    11. Re:Why 1024? by betterunixthanunix · · Score: 4, Insightful

      So you are going to tell one of your biggest customers, "We told you over a year ago that you had to replace those hardware modules, so why did you not do it?"

      It is easy for Microsoft to phase out 768 bit keys; hardly anyone uses them these days. 1024 bit keys are a completely different story; they are widespread, popular, and it is going to be expensive to replace them all. For over a decade, 1024 bits has been the default, and during that time a lot of systems were deployed, including a lot of hardware modules. Some of those systems have the key-length set in stone, and some of those systems are hard to replace (imagine taking a mission critical system down to upgrade your key length -- try selling that one to management).

      1024 bit is deprecated, but it is not going to be gone any time soon. There is just too much friction, and too little understanding of why key lengths should be increased.

      --
      Palm trees and 8
    12. Re:Why 1024? by Firethorn · · Score: 4, Insightful

      From reading on the issue, the problem isn't fresh keys, it's older programs and hardware that can't handle anything greater than 1024. Not all of them have the option to handle 2048+. So we have to wait until those are replaced before breaking support for them.

      --
      I don't read AC A human right
    13. Re:Why 1024? by bloodhawk · · Score: 3, Informative

      when I say cost, cost is not always in financial terms (they I suppose these do have financial impacts too). processing 2048 bit encryption is more expensive processor wise than 1024 bit. Higher bit keys mean you are sacrificing performance/CPU/battery in order to utilise better security, The more SSL negotiations you require in your device/app/webpage etc the higher this cost is. if better security isn't required then that sacrifice may not be worth while in some scenarios.

    14. Re:Why 1024? by aaarrrgggh · · Score: 3, Insightful

      Bigger keys in banking? Why do we still have the 14 bit pin codes then...

    15. Re:Why 1024? by Anonymous Coward · · Score: 2, Insightful

      For the same reason you don't carry a vault in your pocket. 14 bits is enough to protect the $10^3 moving out of your ATM account, but something better is called for when processing $10^9 interbank transactions.

    16. Re:Why 1024? by aliquis · · Score: 2

      So we have to wait until those are replaced before breaking support for them.

      And they wait with replacing until the software can't support what's needed.

      See what I did there? =P

  2. Re:open source by bloodhawk · · Score: 5, Insightful

    just because it is closed source doesn't mean people can't read the source. thousands of universities and government agencies and even other organisations have access to the source code for windows for development purposes, security evaluation purposes and research purposes.

  3. This was announced several months ago by Meshach · · Score: 5, Informative

    TechRepublic noted this a while ago and provided detailed instructions on how to work-around the issue.

    --
    "Maybe this world is another planet's hell"
    Aldous Huxley
  4. Close Goate.cx instead by Anonymous Coward · · Score: 5, Funny

    Wouldn't be much of an OS if it didn't have a reach-around.

    1. Re:Close Goate.cx instead by Anonymous Coward · · Score: 3, Funny

      With Microsoft products, it always more of a bend-over than a reach-around.

  5. Re:open source by Anonymous Coward · · Score: 2, Funny

    Did you oversee Debian's SSH build when they fucked it up?

    I did. I'm sorry, but that week the NSA check came late, so I wasn't able to make the compromises less obvious.

    They paid up later.

  6. Open source suffers from quasi-religious stuff too by perpenso · · Score: 4, Informative

    No matter how few people actually read through the Linux kernel code, it's sufficiently open that blatant backdoors are not going to be inserted.

    Open source suffers from quasi-religious stuff too, as you just demonstrated with your claim. Ken Thompson, of Bell Labs and Unix and C fame - the "K" in K&R, demonstrates the insufficiency of being able to read the source code.
    http://cm.bell-labs.com/who/ken/trust.html

  7. Re:open source by Anonymous Coward · · Score: 3, Interesting

    Do you oversee Red Hat's build servers? Did you oversee Debian's SSH build when they fucked it up?

    Thanks for so clearly spelling out one of the great advantages of the Linux ecosystem. Namely, that a vulnerability in RedHat isn't necessarily a vulnerability in Debian so the damage doesn't propagate to the overall community of users. That's one of the great things about there being so much diversity and unique approaches to Linux. Again, thank you and I commend you on your evangelism of Linux. People need to know!

  8. Re:Theoretical Access to MS Source Code by Electricity+Likes+Me · · Score: 2

    That many institutions have access to MS Source Code is kinda like instituting a needle-inna-haystack search.

    Yes you might find a needle, but unless you're a needle-collector or perhaps a seamstress what in this universe d'you think you're gonna do with it?

    At least with Open Source you can
    (1) fix the problem with the code
    (2) submit the code back to The Author
    (3) expect that The Author will either accept the fix as is or perhaps integrate the solution with more elegance

    Sure not *always* but the expectation would be more-often-than-not your fix (in one form or another) reaches the wider community of users.

    You also fork the code and encourage people to download the fixed version, or to use your patch against the official sources until the upstream realizes the significance.

    Digging through a small patch to ensure it's not overtly malicious is actually pretty easy.

  9. Re:open source by man_of_mr_e · · Score: 4, Informative

    Nice weasel word there. Blatant. What makes you think that if there are backdoors in Windows they're blatent?

    Think back to the AARD code, they went way out of their way to obfuscate it. Microsoft would not be so stupid as to put a well commented backdoor in there.

    Of course, I'm sure someone will bring up the NSAKEY incident, which various security researches (such as Bruce Schneier) have dismissed as merely allowing the NSA to install their own key to be install for their internal systems without having to have MS sign it.

    You do know that backdoors have been inserted into Linux distro's in the past, and some of them took a great deal of time to be discovered. Then of course, one never really knows if a security vulnerability is intentional or not (on any platform).

    There have also been some near calls as well in the kernel itself. For instance, who remembers this doozy?

    http://www.securityfocus.com/news/7388

    Yes, it was caught, but not because of "many eyes". It was because the attacker chose to try to modify the version control file directly. Had it gone in by some other means, it may not have been caught at all.

  10. Re:open source by Anonymous Coward · · Score: 5, Interesting

    Not true when kernel.org itself gets hacked.

    On the contrary. Which distros actually compiled and released a version of the kernel that was compiled from code downloaded during the window this attack was in effect? If you're running Debian then your kernel is anywhere from just now old to 2 years on the stable version. And if you're doing the right thing and using Ubuntu LTS releases instead of the beta interim stuff then it's the same deal. With Windows, there's only 2 releases to the mainstream. The server and the desktop versions. So whatever kernel MS builds, that's the one everybody uses. With Linux even with kernel.org getting hacked, you have a fighting chance but with Windows, you're done.

  11. Re:open source by GigaplexNZ · · Score: 4, Informative

    The website was hacked. The Linux source was not compromised.

  12. Re:open source by Zero__Kelvin · · Score: 2

    "just because it is closed source doesn't mean people can't read the source. thousands of universities and government agencies and even other organisations have access to the source code for windows for development purposes, security evaluation purposes and research purposes."

    They present a version of the source code. How do you know it is the version that ships with every OEM and in every COTS box?

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  13. Re:open source by chentiangemalc · · Score: 2

    Closed source doesn't prevent from disassembling windows functions or testing through a kernel debugger. Open source = easier to see find backdoors, easier to find security vulnerabilities. It's also easier to take legitimate code from the OS modify it maliciously and distribute the binary. In other words being open can work for you and against you. The good guys have an edge, but it's wiped out by edge bad guys get. Closed source it's harder to find backdoors and it's also harder to find security vulnerabilities.

  14. Re:open source by LordLimecat · · Score: 4, Insightful

    I don't really understand how anyone can care whether a closed source operating system is secure.

    This is so much garbage.

    Opensource systems have their share of holes, and the idea that there is a gigantic pool of people qualified to catch backdoors in something as relatively simple as a web browser-- let alone an OS-- is absurd. Just because you can look at the source doesnt mean you can do a remotely competent job of auditing it; and the idea that a single person could somehow audit hundreds of thousands of lines of code for security "on a whim" is even more absurd.

    There are a lot of benefits to open source, but sometimes its advocates really stretch the imaginations with some of the claims and accusations they level against proprietary software.

    it's sufficiently open that blatant backdoors are not going to be inserted.

    So I suppose the whole potential IPSEC backdoor in freeBSD thing was just my imagination, then?

    Youre talking nonsense. Consider that OpenSSL is widely considered a horrendously complex pile of spaghetti code, which I believe has had its share of security issues, and yet we still use it. Is it because we're lazy? No, its because sometimes some of this security stuff is phenomenally complicated, and it would take a horrendous number of man-hours from incredibly talented people to refactor or replace it.

    One of the benefits of paid software is that, if theyre competent, they can devote a lot of time to it because they are paid. Im gonna go out on a limb here and say that one of the biggest helpers to good code in a lot of OSS projects are the paid volunteers, not the mere fact that its "open" as if that dash of pixie dust makes a project magically better.

  15. Re:open source by gagol · · Score: 3, Funny

    Not true, I heard many people were able to download the source code since then ;-)

    --
    Tomorrow is another day...
  16. The real K&R by notdotcom.com · · Score: 3, Informative

    The "K" of K&R is wrong.

    "K" is Brian Kernighan. You know, the Brian Kernighan of "The C Programming Language" fame. He wrote a book or two. He's quite famous. Maybe you've heard of him.

    Look it up.

    --
    Grandpa: My Homer is not a communist. He may be a liar, a pig, an idiot, a communist, but he is not a porn star.
    1. Re:The real K&R by perpenso · · Score: 2

      The "K" of K&R is wrong.

      Yeah, I actually know that. My 1st and 2nd editions of K&R are well used. I have no idea why I referred to Ken Thompson. I guess I was thinking about C compilers, hacking them, Ken Thompson's paper and had a major brain fart connecting the language and the book. Its quite embarrassing.

  17. Re:Only 10 years behind the times by viperidaenz · · Score: 2

    But nobody else has completely blocked 1024bit keys.

  18. Re:Only 10 years behind the times by betterunixthanunix · · Score: 3, Informative

    As everyone moves to 2048 bit keys

    1. The most common key length is 1024 bits, and that is not going to change for a while. Despite the fact that most popular software packages default to 2048 bits, the increased load on servers, the lack of any successful attack on 1024 bit RSA (except for implementation attacks), and the general effort required to replace a public key will mean that most people will not bother for many years to come. There is also a lot of hardware out there that was built with a 1024 bit maximum, and that hardware is going to be expensive to replace.
    2. If you really want to get with the times, you should be talking about 3072 bit keys (roughly equivalent to AES-128), or you should be talking about ECC. If I had to guess, I would say that we will see elliptic curve systems become popular before 2048 bit RSA -- ECC has more promise in terms of efficiency and the security level you get per bit. Even the OpenPGP standard now includes ECC.
    --
    Palm trees and 8
  19. Re:open source by 10101001+10101001 · · Score: 2

    Opensource systems have their share of holes, and the idea that there is a gigantic pool of people qualified to catch backdoors in something as relatively simple as a web browser-- let alone an OS-- is absurd.

    It doesn't take "a gigantic pool of people qualified to catch backdoors" to fix software bugs. If it did, closed source projects would be inherently hoplessly doomed security wise. What it does take is a few or even just one qualified person to catch backdoors. For closed source, the lure of money is usually enough to hire qualified people to do the job, presuming the owner of the code cares to offer such a lure. For open source, the idea is that statistically, there's such a gigantic pool of people out there interested at all with the code that presumably a few qualified people will be in the lot and find the backdoors.

    Just because you can look at the source doesnt mean you can do a remotely competent job of auditing it; and the idea that a single person could somehow audit hundreds of thousands of lines of code for security "on a whim" is even more absurd.

    Not so much "on a whim", but there's been multiple security audits by researchers from different universities, often in testing automated code checkers. The same presumably happens against Windows code too, as MS offers access to source code to universities for presumably the same reason. Having said that, it's an actual known when it's done with Linux because there's no NDAs to hide any of the source or otherwise hold back the results from public scrutiny. And probably just as important, it might take a competent person to find the bug, but it often doesn't take a competent person to fix the bug--in part because often researchers spell out the fix. Yet, MS is the only one can fix their bugs--short of some potentially nasty reverse engineering--while there's a gigantic pool of people who can fix the open source bugs.

    There are a lot of benefits to open source, but sometimes its advocates really stretch the imaginations with some of the claims and accusations they level against proprietary software.

    Well, it's not much of an accusation to point out that Oracle and Adobe frequently learn of security vulnerabilities and seemingly sit on them for months or even years, with no reasonable possibility of anyone else offering a fix--again, short of some nasty reverse engineering. Meanwhile, as much as open source bugs have been discovered, announced, and a few times ignored, the barrier is a lot less as a point to fixing such bugs with open source--with some exceptions on the complexity of reproducing the needed build environment, at times.

    So I suppose the whole potential IPSEC backdoor in freeBSD thing was just my imagination, then?

    You mean OpenBSD? And you notice that it's still only potential-at least, AFAIK--with no code audit so far showing any evidence of a actual backdoor? Meanwhile, in Windows world, if one of the developers on the MS IPSEC code was paid by the FBI, would MS tell us about the potential IPSEC backdoor, would MS do a code audit, would we be aware of that code audit, and would MS bother telling us everything looks okay? You see, as horrible as the whole situation might be with the potential OpenBSD's IPSEC backdoor, the fact that we know about it gives us the option to audit the code or to outright avoid the code because we know of the potential threat. Meanwhile, it's much harder to trust that a corporation, which has a vested interest in keeping as quite as possible about potential vulnerabilities as it risks their bottom line, will be open about the risk to their customers. Sometimes they try to rationalize it within the scope of "responsible disclosure". But it's only really responsible if one presumes that (a) users must use the relevant code and (b) not revealing

    --
    Eurohacker European paranoia, gun rights, and h
  20. Key length is the least of concerns for SSL by js33 · · Score: 5, Interesting

    There is an entire collection of root certs in your browser that are all trusted unconditionally. Hundreds of them, in fact. These root certs have signed thousands (who knows how many, really?) intermediate certs. All of these intermediate certs are trusted unconditionally to authenticate any SSL server whatsoever. It's pointless to have a key longer than the shortest intermediate cert key length in use anywhere. When you use SSL, you are trusting thousands of unknown parties with absolute cert-signing authority. SSL certificates are known to have been used for explicit man-in-the-middle purposes: Trustwave sold root certificate for surveillance. Sure they revoked that one key because of the bad publicity, but it's common industry practice. How is SSL hopelessly broken? Let us count the ways.

  21. Re:open source by dbIII · · Score: 2

    the idea that there is a gigantic pool of people qualified to catch backdoors in something as relatively simple as a web browser-- let alone an OS-- is absurd

    It may sound absurd, but reality is sometimes like that. A large portion of the vast pool is called "students" and the more qualified deep end of that pool is called "graduate students", and many thousands are looking at open source software from all angles for their own benefit.

  22. Re:open source by steelfood · · Score: 2

    That particular one came down to code standards and review. There's a reason why most coding standards explicitly disallow assignment inside a conditional structure. It's a security hole waiting to happen, just like null-terminated buffers or processing unsanitized input.

    NASA's guidelines, for example, are fairly stringent. An attack would have to be very sophisticated, where the attacker would have to know the system fairly well, and insert seemingly-innocuous code in multiple places. It's harder to attack NASA because a lot of their systems are hidden behind obscurity and contractor diversification. That, and there's nothing to be gained by hacking them. Their standards exist more to prevent careless bugs from creeping in (which is really just a less-glamorous term for "security hole"). But for software like the Linux kernel where the system is completely transparent and then some, doing proper code reviews and strictly enforcing standards is absolutely necessary.

    It's also a good reason to not trust binary blobs. But then again, nobody'd be dumb enough to mix their secure system with their gaming system, right?

    --
    "If a nation expects to be ignorant and free in a state of civilization, it expects what never was and never will be."
  23. Re:Only 10 years behind the times by Anonymous Coward · · Score: 2, Informative

    True. ECC is definitely the way forward. NSA has already switched all their systems to it and the DoD mandated that all systems must switch from conventional public keys to ECC by 2010 (2 years ago). Whit Diffie said that NSA insiders told him the same thing (i.e. they trust ECC more). This has lead some to speculate there is an unpublished (NSA discovered) weakness with RSA (a speculation which may have some merit according to James Bamford, who in his infamous Wired article claims NSA "made a huge breakthrough in cryptanalysis a few years ago." Bamford didn't give specifics because his contacts didn't give specifics, but it seems much more likely they have broken RSA than the much more difficult AES (breaking RSA would give you the keys to the AES kingdom since AES keys are protected by RSA in hybrid systems like PGP/SSL. Break RSA and you have access to the AES key underneath).

    It's all speculation about RSA having flaws. Maybe NSA broke AES instead. Maybe they broke both. Maybe they have "broken" it in the sense of a novel side-channel attack. Maybe the insiders lied to Bamford for disinformation purposes. We don't know. Either way, ECC is better all around due to its reduced key size and at least as strong security. The problem is even though it is in the OpenPGP standard, it will not be in widespread use for many years yet. Werner Koch, the lead developer of GNUPG, says it will take many years for it to become widespread due to all the legacy systems, old software, people not upgrading, etc. There are many software implementations of OpenPGP, and not all of them will include ECC at the same rate. Plus lots of people have RSA keys with lots of signatures and they aren't going to want to go through all of those key signing parties again.

  24. Re:open source by YttriumOxide · · Score: 3, Interesting

    Certainly noone would accuse Google of hiring slouches.

    No, but I would accuse them of having hiring practices that discourage creativity (even if their employment practices promote it).

    I interviewed with Google a little while back. Right at the start I told them I was not interested in the job they were offering as it's somewhat "below" what I currently do (and would require moving to a more expensive city for a similar level of pay as what I'm on now). They said they'd like to interview me anyway and perhaps after that offer me a job that would better fit my skills.

    The short version is that after going through their rather long and drawn out process, involving mind-numbingly boring "solve this well known algorithm problem" questions, they offered me the job that I said I didn't want. After I turned them down, they then sent me a letter saying that "after consideration, we don't think you're a good match for Google".

    Personally, I would've really liked to work there. But NOT as a code-monkey on their generic sites. I'm a pretty good developer (although by no means brilliant); but where I really shine is creating new things from scratch. I'm an ideas person with the technical aptitude to put the ideas in to practice. Their hiring process showed me very clearly that they had no interest in my creativity and only wanted someone who can churn code, find bugs, and patch systems to keep them running (all important; but not the only thing in the world; and definitely not for me).

    --
    My book about LSD and Self-Discovery
    Also on facebook as: DroppingAcidDaleBewan
  25. Re:open source by Zero__Kelvin · · Score: 2

    That won't work. You don't know how they built, which compiler version they used, etc. A mismatch is almost 100% certain and in no way indicates that the same code base wasn't used to build it.

    --
    Guns don't kill people; Physics kills people! - John Lithgow as Dick Solomon on Third Rock From The Sun
  26. Fragmentation is a good thing by aNonnyMouseCowered · · Score: 3, Interesting

    Up to a point fragmentation or variety is a good thing. And not just in software. In agriculture, if your field consists of only one crop, your goose is cooked if there's an outbreak of a plant disease. A country whose GDP comes from a single source, say oil or a single cash crop, is also more vulnerable to price fluctuations in the global market. A crash in the prices of that product would lead to a crash in the country's economy as well.

    Too much fragmentation of course is bad. But as far as Linux, the major distros are quite few, namely, Ubuntu, Redhat, Fedora, Debian, and possibly Suse. It's their derivatives that give the impression of excessive fragmentation. Derivatives tend to be compatible with the mother distro at least as far as the installation of third party programs not in the main repository. A binary-only printer driver that can run in Ubuntu would be compatible with Linux Mint for example.