Slashdot Mirror


Researchers Find Way To Zap RSA Algorithm

alphadogg writes "Three University of Michigan computer scientists say they have found a way to exploit a weakness in RSA security technology used to protect everything from media players to smartphones and e-commerce servers. RSA authentication is susceptible, they say, to changes in the voltage supply to a private key holder. While guessing the 1,000-plus digits of binary code in a private key would take unfathomable hours, the researchers say that by varying electric current to a secured computer using an inexpensive purpose-built device they were able to stress out the computer and figure out the 1,024-bit private key in about 100 hours – all without leaving a trace. The researchers in their paper outline how they made the attack (PDF) on a SPARC system running Linux."

173 comments

  1. Like lead pipe cryptanalysis... by Anonymous Coward · · Score: 5, Funny

    ...whether interrogating a human or a computer, apparently it is a simple matter of voltage.

    1. Re:Like lead pipe cryptanalysis... by Jurily · · Score: 1

      You, sir, win this thread. Congratulations.

    2. Re:Like lead pipe cryptanalysis... by Anonymous Coward · · Score: 0

      liquid cooling used to waterboard your cpu

  2. Article == Summary by fishwallop · · Score: 4, Informative

    The only thing the article "ads" to the summary posted here is a pretty splash screen, which in my case tried to sell me SQL Server.

    1. Re:Article == Summary by Sir_Lewk · · Score: 3, Informative

      A first poster that actually RTFA? What the hell is slashdot coming to?!?

      He's right though, skip TFA and just read the linked PDF if you want more details.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    2. Re:Article == Summary by Anonymous Coward · · Score: 1, Funny

      Nah, he was actually the second poster. I was going to be the first poster, but my computer's voltage supply started to fluctuate as I was trying to post, causing me problems. Have no fear, as this would-be-first-poster indeed did not RTFA.

    3. Re:Article == Summary by wizardforce · · Score: 2, Informative

      There are two articles, one is mostly worthless. The other is a PDF which is actually much more informative. The attack focuses on the implementation of RSA in OpenSSL and uses a cluster of processors to carry out the attack. All in all TFA notes that about a year of computing time is actually required to extract the key. The voltage manipulation causes faults which are used to extract the key after quite some time.

      --
      Sigs are too short to say anything truly profound so read the above post instead.
    4. Re:Article == Summary by poetmatt · · Score: 1

      and the only thing it lacks is that all of this is basically impossible under FIPS 140-2 on level 4 products. Notice how it talks about voltage sensitivity. Meanwhile FIPS 140-3 is on it's way, and from level 4 on involves this.

      I myself don't know how widespread using level 1-3 devices is, however.

    5. Re:Article == Summary by Anonymous Coward · · Score: 0

      which in my case tried to sell me SQL Server.

      That's funny. Mine tried to sell me male enhancement products.

    6. Re:Article == Summary by Brian+Gordon · · Score: 1

      When the summary is taken straight from the article, it's a good idea to at least link to them..

    7. Re:Article == Summary by electrostatic · · Score: 3, Informative
      A very pertinent comment.

      Level 4

      Security Level 4 provides the highest level of security.

      At this security level, the physical security mechanisms provide a complete envelope of protection around the cryptographic module with the intent of detecting and responding to all unauthorized attempts at physical access.

      Penetration of the cryptographic module enclosure from any direction has a very high probability of being detected, resulting in the immediate zeroization of all plaintext CSPs.

      Security Level 4 cryptographic modules are useful for operation in physically unprotected environments. Security Level 4 also protects a cryptographic module against a security compromise due to environmental conditions or fluctuations outside of the module's normal operating ranges for voltage and temperature. Intentional excursions beyond the normal operating ranges may be used by an attacker to thwart a cryptographic module's defenses. A cryptographic module is required to either include special environmental protection features designed to detect fluctuations and zeroize CSPs, or to undergo rigorous environmental failure testing to provide a reasonable assurance that the module will not be affected by fluctuations outside of the normal operating range in a manner that can compromise the security of the module.

    8. Re:Article == Summary by phillipsjk256 · · Score: 1

      I didn't really notice. That said, I don't have flash installed and JavaScript is disabled. I you want to control your computer while web-browsing, you should disable Client-side scripting as well.

      Since you mentioned it, I looked at the page again. About a third the space is devoted to banner ADs.

  3. Oh well... by judolphin · · Score: 1

    Just means it's time to break out the megabit keys!

    --
    The Institute of Incomplete Research has determined that 9 of out 10
  4. "overclocking" machines vulnerable by Animats · · Score: 4, Informative

    Machines where software can alter the CPU voltages and clock speeds for "overclocking" purposes may be especially vulnerable to this attack. "Advanced power management" may also offer an attack vector.

    Also worry about Intel's Nehalem architecture, where there's a small CPU dedicated to power, clock, and thermal management. Access to that allows detailed control over power.

    1. Re:"overclocking" machines vulnerable by pegr · · Score: 3, Insightful

      "the researchers say that by varying electric current to a secured computer"...

      Um, if they have physical access to the computer (in order to monkey with the power), why would it be considered secure?

    2. Re:"overclocking" machines vulnerable by Ignorant+Aardvark · · Score: 4, Insightful

      Um, if they have physical access to the computer (in order to monkey with the power), why would it be considered secure?

      This vulnerability is dangerous in the case when the same key is being used in many devices. Cracking one means you've cracked them all. This is a fairly common situation in consumer devices. See the HD-DVD player keys, or the TI graphing calculator signing keys.

    3. Re:"overclocking" machines vulnerable by gringer · · Score: 1

      if they have physical access to the computer (in order to monkey with the power), why would it be considered secure?

      You've got me stumped. Perhaps you should ask the companies who make these media players, smartphones, and other devices that use RSA. While you're at it, could you please also ask the same question to the companies who distribute digital files for use on these devices?

      --
      Ask me about repetitive DNA
    4. Re:"overclocking" machines vulnerable by pz · · Score: 5, Informative

      "the researchers say that by varying electric current to a secured computer"...

      Um, if they have physical access to the computer (in order to monkey with the power), why would it be considered secure?

      The faults described by the paper are so ... what's the word ... specialized that it challenges believability. Not only does the attacker have to have physical access -- and likely pretty good physical access -- they have to know precisely when the encryption algorithms are being performed so that the faults can be induced then and only then otherwise the operation of the computer will be compromised. Furthermore, the faults must be induced at a reasonable, but not too great, rate, and at randomly varying times in the computation, so as to explore the full error space and have insight into the keys. And the computations have to be repeated MANY times over in order to extract enough information. So, not only do attackers have to know exactly, to the microsecond, when the system under attack is computing the RSA algorithm, they also have to be able to vary the voltage to the CPU. Their physical proof of concept, as much as it is described in the paper, is contrived. Their assertion that the technique does not require physical access is wholly unsupported. Color me skeptical. Anyone with this level of access is going to be able to do more than trigger faults.

      The paper asserts that the probes can be done without leaving any trace. I don't know about the authors, but the voltages on my computers are monitored by software and excursions logged so that I can know if/when there are problems. Since the RSA-breaking technique requires substantial exploration of the response to voltage tweaks, it is likely to be detected by a decent monitoring program.

      Finally, the PDF does not carry any publication information suggesting strongly that it describes work that is not peer-reviewed. It is shoddy science to bypass peer review and release to the general public.

      --

      Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
    5. Re:"overclocking" machines vulnerable by ImprovOmega · · Score: 1

      If your signing key is on the same device that you're signing stuff for then you're doing it wrong.

    6. Re:"overclocking" machines vulnerable by khellendros1984 · · Score: 1

      RSA is an asymmetric encryption algorithm. If you have access to the public key, you can factor it (the hard part), and calculate the signing key based on that.

      In these schemes, encryption and signing use the same mathematical operation. For signing, the signer encrypts the message with their own private key, so only their public key can decrypt the message. For encryption, the message is encrypted with the public key of the intended recipient, so that only the recipient's private key can be used to retrieve the message. There is sufficient information in the public key to generate the private key (and it relies on multiplying together two large prime numbers). If the public key can be factored, then you have the two primes from the private key, and you can derive the private key. This is inherent to this encryption system, and it's why it's so important that you use large keys.

      --
      It is pitch black. You are likely to be eaten by a grue.
    7. Re:"overclocking" machines vulnerable by lgw · · Score: 1

      Cryptographic "breaks" are almost never useful attacks in the real world. They are merely ways to make it slightly easier to get to the plain text, in some case. These accumulate over time, and eventually you retire an algorithm because it seems like in just a few more years a practical break might happen.

      Product-of-prime-numbers asymmetric encryption (what some people call RSA encryption) has been deprecated by the NSA for new systems for about 5 years now.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    8. Re:"overclocking" machines vulnerable by razathorn · · Score: 1

      Perhaps we need to think less about how they implemented the hardware faults to prove the concept and how an attacker may, in the future, implement the faults. There are technologies like strong EMP that we know disrupt electronic devices. Perhaps something with strong em/rf fields could aid in this. Perhaps somebody just takes up residence next door and plugs in a device that adds precision loads to the power distribution system that both buildings use. We've all seen the lights dim or go bright when a transformer pops down the street. There are many attack vectors for causing faults like this yet to be discovered too. There are already devices that cause computer based slot machines to pay out or alter the odds supposedly.

    9. Re:"overclocking" machines vulnerable by dunng808 · · Score: 1

      There is sufficient information in the public key to generate the private key (and it relies on multiplying together two large prime numbers). If the public key can be factored, then you have the two primes from the private key, and you can derive the private key. This is inherent to this encryption system, and it's why it's so important that you use large keys.

      To me this sounds absolutely wrong. AFAIK (which isn't much) there is nothing is one key that can be used to generate the other. Please site a reference that supports your claim.

      --

      Gary Dunn
      Open Slate Project

    10. Re:"overclocking" machines vulnerable by Anonymous Coward · · Score: 0

      Finally, the PDF does not carry any publication information suggesting strongly that it describes work that is not peer-reviewed. It is shoddy science to bypass peer review and release to the general public.

      I'm really not sure how you made it through all the news sources to the PDF without ever seeing that this is being presented at Design, Automation and Test in Europe, a peer-reviewed conference sponsored by, among others, the IEEE and ACM.

    11. Re:"overclocking" machines vulnerable by Anonymous Coward · · Score: 0

      To me this sounds absolutely wrong. AFAIK (which isn't much) there is nothing is one key that can be used to generate the other. Please site a reference that supports your claim.

      Exactly. You don't know much. Almost nothing, to be honest. Anyway, this should help

    12. Re:"overclocking" machines vulnerable by Captain+Segfault · · Score: 2, Informative

      There is nothing, as far as we know, short of factoring a number that is a component of both the private and public keys.

      If you can factor that number you can very easily generate the private key from the public key. The point is that it's important to pick a number which is sufficiently large as to be impossible to factor with current technology.

    13. Re:"overclocking" machines vulnerable by phillipsjk256 · · Score: 1

      They do not need to time the attack for when the computation is underway. The CPU automatically uses more power during the computation, causing the errors the researchers are interested in.

      To make this attack possible, faults with the characteristics de- scribed must be injected in the attacked microprocessor. For this purpose, we exploit a circuit-level vulnerability common in micro- processor design: multiplier circuits tend to be fairly complex, and much effort has been dedicated to developing high performance multipliers, that is, multipliers with short critical path delays. Even so, often the critical path of a microprocessor system goes through the multiplier circuit [12]. If environmental conditions (such as high temperatures or voltage manipulation by an attacker) slow down the signal propagation in the system, it is possible that signals through the critical path do not reach their corresponding registers or latches before the next clock cycle begins. In such situations, one of the first units to fail in computing correct results tends to be the multiplier, because its "margin" of delay is minimal. Note that not all multiplications would be erroneous, only those which required values generated through the critical path.

      - Fault-Based Attack of RSA Authentication, Page 3, Section 4.

    14. Re:"overclocking" machines vulnerable by MichaelSmith · · Score: 1

      I used to do something like this with a 6502 and an AM radio.

    15. Re:"overclocking" machines vulnerable by Anonymous Coward · · Score: 0

      The faults described by the paper are so ... what's the word ... specialized that it challenges believability.

      Just a heads up, these types of attacks are not new. Your skepticism is in the right place, but people have been exploiting timing analysis, power analysis, and differential fault analysis for about two decades.

      So, not only do attackers have to know exactly, to the microsecond, when the system under attack is computing the RSA algorithm, they also have to be able to vary the voltage to the CPU

      You're describing excatly what engineers grit their teeth at being called an 'engineering problem'. Count clock cycles, some of which may even be under your control. If you think it is out of the realm of possibility to construct machinery that runs faster than the equipment you are trying to break, you're not skeptical enough.

      The paper asserts that the probes can be done without leaving any trace. I don't know about the authors, but the voltages on my computers are monitored by software and excursions logged so that I can know if/when there are problems. Since the RSA-breaking technique requires substantial exploration of the response to voltage tweaks, it is likely to be detected by a decent monitoring program.

      Your voltages are monitored only to a certain level of exactness. If you think that 3.3V line is 3.300000V, I have a fine bridge for sale. As for detection, as mentioned earlier in the comments, there are already standards in place for detection of such attacks. That doesn't mean they are in place now. A more recent example can be found here.

      George connected an FPGA to a single line on his PS3’s memory bus. He programmed the chip with very simple logic: send a 40 ns pulse via the output pin when triggered by a pushbutton. This can be done with a few lines of Verilog. While the length of the pulse is relatively short (but still about 100 memory clock cycles of the PS3), the triggering is extremely imprecise. However, he used software to setup the RAM to give a higher likelihood of success than it would first appear.

      In summary, you are talking out of your ass, but I ain't mad at ya.

    16. Re:"overclocking" machines vulnerable by marcansoft · · Score: 1

      It's "physical access" beyond most would even dream of... SPARC sounds like they're using an off-the-shelf computer system. They aren't. They downloaded the open source SPARC core (as in the source code to the CPU itself) and implemented it as a soft-processor in an FPGA chip. They're basically using their own custom computer system, with complete control and the ability to know exactly how it works, down to the deepest logic in the CPU.

      Call me when they implement this on an off-the-shelf secure embedded system (I'm going to assume this is pretty much impossible on an off-the-shelf PC, so I'm not even going to ask for that).

    17. Re:"overclocking" machines vulnerable by ToasterMonkey · · Score: 1

      Um, if they have physical access to the computer (in order to monkey with the power), why would it be considered secure?

      Because it's in a locked sheet metal box that makes every attempt to purge sensitive key material if tempering is detected?

    18. Re:"overclocking" machines vulnerable by zes · · Score: 1

      is there a reference for this? Not that I question what you say, I'm just curious. Is it public what "new systems" they use?

    19. Re:"overclocking" machines vulnerable by Weezul · · Score: 1

      Intel's Nehalem chips are vulnerable to far easier and speedier attacks using their HTT technology, plus HTT attacks do not require rooting the machine.
      http://www.daemonology.net/papers/htt.pdf

      --
      The Christian religion has been and still is the principal enemy of moral progress in the world. -- Bertrand Russell
    20. Re:"overclocking" machines vulnerable by rant64 · · Score: 1

      The parent is wrong w.r.t. the factoring part, but it does make sense.

      You don't factor the public key (it may even be prime), but you can factor the public modulo (which is part of both the public-key and private-key pair).
      The modulo is a product of two prime numbers (with certain properties) and it mathematically links the public and private keys together.
      There is only one correct answer to factoring the modulo, and if you do so you have figured the relationship between the public and private key. Then you can not only derive the private key from the public key, but then you also know for certain that it is the correct private key.

      http://fringe.davesource.com/Fringe/Crypt/RSA/Algorithm.html

    21. Re:"overclocking" machines vulnerable by arethuza · · Score: 1

      Yeah - that would be pretty interesting. Presumably the only reasonable inference that could be made if the NSA have deprecated RSA-style crypto is that they suspect/know that it has some real flaws that are much more serious than the type described in this article.

    22. Re:"overclocking" machines vulnerable by Cpt.+Fwiffo · · Score: 1

      This research shows it's feasible. As others have said, there are a multitude of crypto-systems for which it is worthwhile to determine the private key.
      * Determining what algorithm is used isn't that hard. Most are 'off the shelf'. Modifying cryptographic algorithms is almost always a no-no, as it requires heavy resources to ensure it's still accurately safe.
      * Determining when an RSA algorithm runs is also not as hard. First, turn down the clock speed. Second, check the energy input/output. This gives a fairly good idea which sort of statements are executed. And then match it to RSA.
      * Inducing faults at the proper time then isn't also that hard. Again, turn down clock speed, and do it a couple of times.

      In short, it has been done. If there's a one in 50 chance that you insert a proper glitch... and each glitch exposes one bit of the private key, then you'd (only) need 256 successfull glitches. Maybe you can cut it short to, say 200 (as the last 56 you can guess, which might be quicker/easier), so it would require some 1000 break-attempts.
      That's still far short of the 2^255 which you'd need to guess the key.

      And for expensive systems, it could mean good money.
      If I were to pay a couple of students $2000 for a week of dull work, they'd probably do it for me...

    23. Re:"overclocking" machines vulnerable by snemarch · · Score: 2, Interesting

      I'm guessing here, but probably elliptic curve crypto.

      --
      Coffee-driven development.
    24. Re:"overclocking" machines vulnerable by snemarch · · Score: 1

      While it might sound like this attact is über-theoretical, do keep in mind that voltage fuzzing was recently used to (partially) break the PlayStation3 hypervisor... that's definitely not an open-source chip :)

      --
      Coffee-driven development.
    25. Re:"overclocking" machines vulnerable by marcansoft · · Score: 2, Interesting

      The PS3 attack was very obvious (i.e. the hypervisor lives in external memory, essentially unsecured), and the Cell chip is fairly well documented itself. That's breaking security by obscurity (where obscurity is the high-speed memory bus), and isn't really comparable to what this article talks about. Also, it doesn't rely on tweaking CPU voltage to produce internal errors, but rather on glitching the memory bus. This is a lot easier, and has a (small - the PS3 hack as performed by geohot is highly unpredictable) chance of working and not screwing up the rest of the system (as long as the rest of the system is essentially quiescent). Keep in mind that the PS3 attack also relies on privilege escalation; it wouldn't work at all if you couldn't already run your own code under the hypervisor. Privilege escalation is a lot easier than breaking into a system from scratch.

      All the juicy PS3 crypto stuff does live inside the CPU (in an isolated SPE), and that's nowhere near broken yet. Heck, even with full physical access, I'd be very surprised if someone were able to use this article's technique to recover console-private RSA keys from the isolated SPE, even though you can glitch the Cell's power supply :)

      Really, the RSA hack is a very interesting mathematical procedure for recovering keys from glitchy signatures, but the physical attack as presented is pretty much impossible in practical systems, at least as presented.

    26. Re:"overclocking" machines vulnerable by snemarch · · Score: 1

      OK, thanks for the clarification :)

      --
      Coffee-driven development.
    27. Re:"overclocking" machines vulnerable by Anonymous Coward · · Score: 0

      Errr... no. The attack needs physical access to the computer that holds the private key, not to the devices that hold the public key.

    28. Re:"overclocking" machines vulnerable by Anonymous Coward · · Score: 0

      "the researchers say that by varying electric current to a secured computer"...

      Um, if they have physical access to the computer (in order to monkey with the power), why would it be considered secure?

      The faults described by the paper are so ... what's the word ... specialized that it challenges believability. Not only does the attacker have to have physical access -- and likely pretty good physical access -- they have to know precisely when the encryption algorithms are being performed so that the faults can be induced then and only then otherwise the operation of the computer will be compromised. Furthermore, the faults must be induced at a reasonable, but not too great, rate, and at randomly varying times in the computation, so as to explore the full error space and have insight into the keys. And the computations have to be repeated MANY times over in order to extract enough information. So, not only do attackers have to know exactly, to the microsecond, when the system under attack is computing the RSA algorithm, they also have to be able to vary the voltage to the CPU. Their physical proof of concept, as much as it is described in the paper, is contrived. Their assertion that the technique does not require physical access is wholly unsupported. Color me skeptical. Anyone with this level of access is going to be able to do more than trigger faults.

      The paper asserts that the probes can be done without leaving any trace. I don't know about the authors, but the voltages on my computers are monitored by software and excursions logged so that I can know if/when there are problems. Since the RSA-breaking technique requires substantial exploration of the response to voltage tweaks, it is likely to be detected by a decent monitoring program.

      Finally, the PDF does not carry any publication information suggesting strongly that it describes work that is not peer-reviewed. It is shoddy science to bypass peer review and release to the general public.

      The PDF doesn't include publication information because this was a talk given at a conference. http://www.eecs.umich.edu/~valeria/research/pubtype.html#conference

      URL analysis FTW!

    29. Re:"overclocking" machines vulnerable by bkuhn · · Score: 1

      It was reported that the paper is to be presented at a peer reviewed conference. Anyway, even if the findings are accurate, it doesn't really impact the security of any productions systems. I've written a more extensive discussion of this issue, and how people jump to bad conclusions about academic articles like this one.

    30. Re:"overclocking" machines vulnerable by pz · · Score: 1

      They do not need to time the attack for when the computation is underway. The CPU automatically uses more power during the computation, causing the errors the researchers are interested in.

      To make this attack possible, faults with the characteristics de-
      scribed must be injected in the attacked microprocessor. For this
      purpose, we exploit a circuit-level vulnerability common in micro-
      processor design: multiplier circuits tend to be fairly complex, and
      much effort has been dedicated to developing high performance
      multipliers, that is, multipliers with short critical path delays. Even
      so, often the critical path of a microprocessor system goes through
      the multiplier circuit [12]. If environmental conditions (such as
      high temperatures or voltage manipulation by an attacker) slow
      down the signal propagation in the system, it is possible that signals
      through the critical path do not reach their corresponding registers
      or latches before the next clock cycle begins. In such situations,
      one of the first units to fail in computing correct results tends to
      be the multiplier, because its "margin" of delay is minimal. Note
      that not all multiplications would be erroneous, only those which
      required values generated through the critical path.

      - Fault-Based Attack of RSA Authentication, Page 3, Section 4.

      Assuming that the RSA algorithm is going to burn more power than any other process, and base an attack that is intended to be undetectable on that assumption, is making a big mistake. Far more likely that a voltage tweak is going to affect some other part of the system that uses the multiplier and cause either an application or the kernel to fail. To get around that, the attacker needs to know at least *probably* when the RSA algorithm is going to be on-chip and executing. Unless I'm mistaken, that's kernel-level knowledge which means to exploit this weakness, the system must already have been compromised.

      --

      Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
    31. Re:"overclocking" machines vulnerable by phillipsjk256 · · Score: 1

      They know approximately when the RSA algorithm is being processed because they send a challenge message to the machine.

      You raise a valid point about the corruption of other processes. Erroneous results are not likely to cause those processes to quit as far as I know. They will simply produce "wrong" results, making the attack detectable.

      The attack is specialized for another reason: They put the entire system on a FPGA. This attack won't work for a server or workstation (with a case intrusion sensor) because the switch-mode power supply will draw extra current to compensate for low line voltage. This may be useful for things like cracking High Definition Content Protection (encrypts the signal between displays) for example (unless they use a chip resistant to the attack).

  5. Could this be considered... by ravenspear · · Score: 4, Funny

    ...electronic torture?

    We can just declare this method in violation of the computer's rights and solve the problem easily!

    1. Re:Could this be considered... by Anonymous Coward · · Score: 0

      LAME

    2. Re:Could this be considered... by Bakkster · · Score: 5, Funny

      ...electronic torture?

      Wattage-boarding

      --
      Write your representatives! Repeal the 2nd Law of Thermodynamics!
    3. Re:Could this be considered... by bluesatin · · Score: 2, Funny

      This isn't much use for LAME as it's open source, you can just grab any information you want off SourceForge.

    4. Re:Could this be considered... by Anonymous Coward · · Score: 0

      oggenc forever!

    5. Re:Could this be considered... by CityZen · · Score: 1

      We've declared torture of people illegal, and yet it still happens. Methinks this solution has some holes in it.

  6. Changing the voltage supply req. HW access, right? by anss123 · · Score: 4, Insightful

    In what kind of scenario would you have access to the PSU of the server you attacked? Private key servers should not be directly accessible after all.

  7. Linux on Sparc? by newdsfornerds · · Score: 0, Offtopic

    Gee, does anyone run Linux on Sparc in production, or know anyone who knows anyone who does or did? Heh.
    Yeah I know these distros exist and work well. It's just an odd choice of platform, IMHO.

    --
    Damping absorbs vibrations. Dampening is caused by moisture.
  8. xkcd already did it cheaper by snarfies · · Score: 3, Funny

    Rather than apply electrical current to a key holder, wouldn't it be easier and cheaper to apply a $5 wrench?

    1. Re:xkcd already did it cheaper by wall0159 · · Score: 1

      If I only ever saw XKCD via /. I'd swear there were only about 10 cartoons!

    2. Re:xkcd already did it cheaper by andi75 · · Score: 1

      Maybe there's only about 10 *good* cartoons...

    3. Re:xkcd already did it cheaper by c++0xFF · · Score: 1

      There's a relationship between slashdot and xkcd: there is a subset of his comics that touch heavily on what slashdot readers love and care about.

      I wouldn't even necessarily say that those comics are very good (I'm not impressed with the posted comic #538, for example) -- but there's just enough humor and overlap that the same ones get posted repeatedly.

    4. Re:xkcd already did it cheaper by Anonymous Coward · · Score: 0

      If I only ever saw XKCD via /. I'd swear there were only about 10 cartoons!

      Well, there were more, but someone *had* to create a Slashdot username "Robert'); DROP TABLE xkcd;--".

        That, and the red spiders keep getting in the way.

    5. Re:xkcd already did it cheaper by BitZtream · · Score: 1

      Naw, as the alt text says, you won't find a $5 wrench anymore :/

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    6. Re:xkcd already did it cheaper by Old+Man+Kensey · · Score: 1

      A free hunk of wood or metal found laying around outside is just as good for these purposes as a wrench of any type. Plus most people have a tire iron in their trunk, that's basically "free" since it costs you nothing to dig out and apply vigorously.

      --
      -- Old Man Kensey
    7. Re:xkcd already did it cheaper by SQLGuru · · Score: 1

      It's all in where you look: http://www.harborfreight.com/cpi/ctaf/displayitem.taf?Itemnumber=39642

      For the purposes expressed in the comic, the above wrench should be more than adequate. Granted it might not hold up long, but it'll get the job done. YMMV

    8. Re:xkcd already did it cheaper by zill · · Score: 1

      Shipping is $6.99 unfortunately.

    9. Re:xkcd already did it cheaper by SQLGuru · · Score: 1

      There's a Harbor Freight just down the parking lot from Fry's here in Austin.....shipping is "free".

  9. wrong headline by Lord+Ender · · Score: 4, Informative

    Researchers Find Way To Zap RSA Algorithm

    No, reasearchers find side-channel attack on SPARC CPU (which requires elevated access, anyway).

    --
    A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    1. Re:wrong headline by Andy+Dodd · · Score: 4, Informative

      To be more specific:

      No one attacked the algorithm itself here. They attacked one specific implementation of the RSA algorithm.

      Side channel attacks are nothing new. There are plenty of crytographic algorithms that have no known flaws which have had implementations broken via side channel attacks, due to flaws in the implementation, not the algorithm.

      --
      retrorocket.o not found, launch anyway?
    2. Re:wrong headline by osu-neko · · Score: 4, Insightful

      ...due to flaws in the implementation, not the algorithm.

      The "flaw in implementation" in most cases being the relatively common "flaw" of being implemented in real-world hardware, where it has to consume power, utilize moving electrical current, obey the laws of physics, etc, rather than existing only on paper where such "flaws" can be avoided.

      --
      "Convictions are more dangerous enemies of truth than lies."
    3. Re:wrong headline by OzPeter · · Score: 1

      There are plenty of crytographic algorithms that have no known flaws which have had implementations broken via side channel attacks, due to flaws in the implementation, not the algorithm.

      While I agree with you, I just want to go a bit philosophical and suggest that the robustness of the physical system is just as important as the algorithm when determining how flawed or not something like a security system is. Which is basically a "weakest link" consideration.

      --
      I am Slashdot. Are you Slashdot as well?
    4. Re:wrong headline by c++0xFF · · Score: 2, Interesting

      "In theory there is no difference between theory and practice. But, in practice, there is."

      (p.s. Who originally said this, anyway?)

    5. Re:wrong headline by Andy+Dodd · · Score: 1

      Right. Which is why there are guidelines for implementing crypto algorithms so as to avoid sidechannel attacks.

      Occasionally someone finds a new sidechannel attack (such as one that relied on the Pentium 4's hyperthreading implementation), but most of the "basic" ones are well known and can be designed against. (See, for example, FIPS 140-2 level 4, which requires protection against glitching attacks such as this.)

      --
      retrorocket.o not found, launch anyway?
    6. Re:wrong headline by blair1q · · Score: 1

      And unless I RFA'd wrongly, they had to map the SPARC to an FPGA in VHDL so they could be sure their assumptions about multipliers being the critical path would remain correct.

      Because if their glitching of the power supply is inducing bit-flip errors in anything other than the multiplier, they're probably going to crash the core, and they won't get the thousands of samples they need to reach 50% probability of pwning the private key in polynomial time.

      I.e., it is vanishingly unlikely that you are going to be able to pull this off by putting a variac on your RSA-chipped Commodore 64.

    7. Re:wrong headline by lgw · · Score: 1

      I believe it was the same sage who said "You can observe a lot just by watching." Of course, he also said "I never said most of the things I said," so it's hard to be sure.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    8. Re:wrong headline by Anonymous Coward · · Score: 0

      Yogi Berra?

    9. Re:wrong headline by Andy+Dodd · · Score: 1

      Being implemented in real-world hardware is not in and of itself a flaw, as long as you design your implementation under the assumption that it will be subjected to attacks like this.

      Attacks like this are NOT new. See, for example, the guidelines for FIPS 140-2 Level 4.

      http://csrc.nist.gov/publications/fips/fips140-2/fips1402.pdf

      --
      retrorocket.o not found, launch anyway?
  10. some ppl are seriously sick by Anonymous Coward · · Score: 3, Interesting

    hackers these days are seriously sick, not long ago one guy dissolved chips and listened in on instructions right on die
    now this, just take a look at that paper

    sure the principle is simple, create condition that causes errors and incidentally more of the bits you have guessed the less errors you have etc etc etc

    but seriously people who figure these things out and make them work... i question their sanity, brilliant but you have to be a mad scientist to achieve these things

    1. Re:some ppl are seriously sick by Just+Some+Guy · · Score: 4, Insightful

      but seriously people who figure these things out and make them work... i question their sanity, brilliant but you have to be a mad scientist to achieve these things

      You're in the wrong place, and your attitude sucks. Consider yourself lucky to live in a world with people who are this driven by their curiosity.

      --
      Dewey, what part of this looks like authorities should be involved?
    2. Re:some ppl are seriously sick by clone53421 · · Score: 4, Insightful

      This is moderated flamebait... I’m not sure why. I read the entire thing in a congratulatory tone.

      I guess some people think being called “sick” is an insult...

      --
      Alexander Peter Kristopeit bought his basement from his mommy for one dollar.
    3. Re:some ppl are seriously sick by Anonymous Coward · · Score: 0

      And, some people also think "fail" is a verb.

    4. Re:some ppl are seriously sick by Anonymous Coward · · Score: 0

      Mod parent: +1 Down with the kids

    5. Re:some ppl are seriously sick by Anonymous Coward · · Score: 0, Informative

      Your sarcasm meter is broken and your sense of humor sucks. The OP is essentially complimenting the dudes.

    6. Re:some ppl are seriously sick by shutdown+-p+now · · Score: 1

      but seriously people who figure these things out and make them work... i question their sanity, brilliant but you have to be a mad scientist to achieve these things

      I suggest you go look up the etymology of the word "geek".

    7. Re:some ppl are seriously sick by CityZen · · Score: 1

      Vive la différence!

      What's "normal" to you might be "insane" to someone else.
      For instance, do you sit for hours staring at a moving picture box? Isn't that like suicide?

    8. Re:some ppl are seriously sick by sapphire+wyvern · · Score: 2, Insightful

      What, you don't think "Look out! That reaction containment vessel is about to fail!" is a valid sentence?

      Fail is totally a verb. Adjective status in standard English is a bit more questionable, though.

  11. PS3 by zepo1a · · Score: 1

    Isn't this how the lastest guy who claimed to hack the PS3 did it also? Copycats! :)

  12. Re:Changing the voltage supply req. HW access, rig by Anonymous Coward · · Score: 2, Insightful

    In what kind of scenario would you have access to the PSU of the server you attacked?

    E.g. Hosted data center

  13. Re:Changing the voltage supply req. HW access, rig by fuzzyfuzzyfungus · · Score: 5, Insightful

    Probably much more threatening(though, frankly, that pleases me) to DRMed embedded systems and similar gear that is supposed to be "secure" vs. its immediate environment; but is also in the hands of the public in huge quantities.

    Yeah, if I can break into your datacenter and clamp some crazy widget onto the (presumably multiple) lines supplying your server's PSUs, a clever voltage attack is not the biggest of your problems.

    If, on the other hand, you can guess the private crypto keys out of a DRMed PMP just by clipping a 15 dollar device from some shady mod-chip vendor to the recharging port and waiting a few days, heads will roll. There are a lot of devices these days that are designed to keep keys secret from the owners of the hardware. Particularly for common ones, voltage attack devices might well become fairly common advanced hobbyist and/or grey market items...

  14. Re:Changing the voltage supply req. HW access, rig by daniel+de+graaf · · Score: 3, Interesting

    This attack is relevant when you are trying to extract the private key of something like a TPM, in order to defeat the DRM protections it is trying to provide, or decrypt the drive whose key it is holding.

  15. Re:Changing the voltage supply req. HW access, rig by benjamindees · · Score: 3, Insightful

    DRM, smart-cards, cable/tv access boxes, media players, stolen laptops, etc

    Probably not e-commerce servers exactly, but you never know depending on the physical security of your datacenter. And with DRM, of course, the purpose is to lock you out of equipment to which you have physical access.

    --
    "I assumed blithely that there were no elves out there in the darkness"
  16. !news by betterunixthanunix · · Score: 4, Informative

    This is just a fault injection attack. People have been doing similar things to block ciphers for years, it is not a mathematical weakness, just a side channel attack, and an active one at that. Cool that they did it against RSA, but not really headline news...

    --
    Palm trees and 8
    1. Re:!news by crunch_ca · · Score: 1

      In fact, even wikipedia references power monitoring attacks. And, yes, that's been sitting in Wikipedia since before March 2008.
      I agree, not really headline news.

    2. Re:!news by Ted+Stoner · · Score: 1

      They were able to crack a 1024-bit key in 104 hours using 80 slave workers. They also say the cracking app should scale linearly with the number of workers. So 800 slaves would mean on the order of 10 hours. That is pretty scary. Newer commercial apps should be using at least 2048-bit keys. I am not sure how that affects the results.

    3. Re:!news by betterunixthanunix · · Score: 1

      This is a side channel attack, not an attack on the mathematics. AES, which is often used for encryption in SSL (the public key crypto is only used to establish a shared secret for symmetric ciphers like AES), is also vulnerable to side channel attacks, and there is a large body of published literature on that. 3DES, which is also commonly used, is vulnerable to fault injection attacks too. There is nothing scary about any of this -- side channels attacks are just a fact of life, and for high security installations, measures are taken to protect against them.

      --
      Palm trees and 8
  17. Physical Access by KevMar · · Score: 5, Insightful

    If someone has physical access to your machine, then you have already lost.

    --
    Im a gamer, not a grammer major. This post is full of spelling and grammer mistakes.
    1. Re:Physical Access by IndustrialComplex · · Score: 1, Interesting

      If someone has physical access to your machine, then you have already lost.

      So everyone who ever uses colocation has lost?

      --
      Out of modpoints but really liked a post? 1BDkF6TtmmeZ3yqXbz9yhdYVqRYnwFoXDj
    2. Re:Physical Access by pushing-robot · · Score: 2, Interesting

      If someone has physical access to your machine, then you have already lost.

      Quoted for truth.

      If someone can gain access to your datacenter power systems remotely and change output voltages, your admins are idiots and you've got more problems than just a RSA vulnerability. And if someone already has physical access to your server thats performing the encryption in the first place, is it any surprise that they can bypass said encryption?

      It's a nifty attack, but not terribly practical.

      --
      How can I believe you when you tell me what I don't want to hear?
    3. Re:Physical Access by Eric+Smith · · Score: 3, Informative
      So everyone who ever uses colocation has lost?

      Yes. Are you actually surprised?

    4. Re:Physical Access by OzPeter · · Score: 4, Insightful

      So everyone who ever uses colocation has lost?

      Given that organized crime seems to be paying off minimum wage clerks to install card skimmers in gas pumps, wouldn't it be logical that minimum wage admins at co-lo facilities would also be vulnerable to the same vector - $$$$

      --
      I am Slashdot. Are you Slashdot as well?
    5. Re:Physical Access by lgftsa · · Score: 1

      Yep, they've made the decision that there's nothing on the server which they can't afford to lose. Or they're idiots.

      They're placing all their trust in the security and vetting standards of their co-lo, from the admins and techs, to clerical staff, plant and maintenance, cleaners, safety inspectors, linoleum layers, electricians, the list goes on. That assumes, of course, that the co-lo has standards and follows them without exception. I don't have the time or resources to audit them.

      Our server room is only accessible through the IT office and any non-IT visitor must be accompanied by an IT staff member when inside. All access is by RFID and is logged by the security system. Oh, not all IT staff have access to the server room in the first place. That's just basic security, and quite frankly I'm amazed that anyone would accept anything less.

      On the other hand, my personal website, and that of a club's that I also maintain, is with a hosting company on a shares server. I look at this as an acceptable risk, since there's no data on the site which is not publicly accessible anyway. Membership details are NOT public information, and so are NOT kept there.

    6. Re:Physical Access by the_fat_kid · · Score: 1

      in as few words as possible:

      Yes.

      If you co-anything you are giving up your security.
      now I have not just one, but mutiple targets for the tried and true XKCD wench hack. http://xkcd.com/538/
      so, if security is the name of your game, you have already lost.
      please try again...

      --
      -- Sig under construction...
    7. Re:Physical Access by Anonymous Coward · · Score: 0

      For sure, this is just the mechanism by which the set-top-box suppliers lose (again) to the customer who naturally has the set-to-box in their possession.

    8. Re:Physical Access by snspdaarf · · Score: 1

      Hell, even well-paid admins could be vulnerable. All kinds of things can result in a need for money. Insurance problem, spouse gets fired, simple greed....

      --
      Why, without your clothes, you're naked, Miss Dudley!
    9. Re:Physical Access by turing_m · · Score: 1

      Hell, even well-paid admins could be vulnerable. All kinds of things can result in a need for money. Insurance problem, spouse gets fired, simple greed....

      Gambling and drug problems are also classic cases of needs for lots of money and an addiction that overrides ethical considerations.

      --
      If I have seen further it is by stealing the Intellectual Property of giants.
    10. Re:Physical Access by Anonymous Coward · · Score: 0

      I am quite interested in this wench hack you speak of.

    11. Re:Physical Access by Anonymous Coward · · Score: 0

      I think everyone here knows that. Do you believe that this somehow makes the study useless, or are you just stating the obvious?

    12. Re:Physical Access by colinrichardday · · Score: 1

      But of course, no sysadmin at say, a dinosaur zoo would ever resort to such shenanigans. And he certainly wouldn't smuggle the hardware in a can of Barbasol.

    13. Re:Physical Access by Anonymous Coward · · Score: 0

      What's wrong with hosting a good HSM in a colo? They exist almost for that purpose...

    14. Re:Physical Access by Anonymous Coward · · Score: 0

      So everyone who ever uses colocation has lost?

      Yes.

    15. Re:Physical Access by Anonymous Coward · · Score: 0

      > > If someone has physical access to your machine, then you have already lost.

      > So everyone who ever uses colocation has lost?

      Worked at some point in an unnamed webhosting datacenter. One machine there had their network cables bridged through a blackbox device the FBI brought in (probably along the lines of Carnivore). So all traffic to the server went first through the TLA-Tivo. Aside from the initial brief (second or two) network interruption while switching the cables, the customer never knew about it/wasn't supposed to know about it.

    16. Re:Physical Access by Anonymous Coward · · Score: 0

      Ummmmm...yeah. Seriously dude, this comes as a shock to you? 90% or better of this kind of crime is undertaken by insiders who see a quick buck in rolling over to an outside "investor".

    17. Re:Physical Access by KevMar · · Score: 1

      Just stating the obvious. But this enforces it even more.

      --
      Im a gamer, not a grammer major. This post is full of spelling and grammer mistakes.
    18. Re:Physical Access by Thundersnatch · · Score: 1

      If the server admins at your co-location provider really are making minimum wage, you need to find another provider, pronto. When selecting vendors, due diligence is not optional. A simple facilities tour where you get to bounce questions off the admins would reveal that they are totally unqualified (which is the only way they would take such a job for minimum wage.)

      You did tour your co-location provider's facilities before signing up, didn't you? And investigated their financials (under NDA if necessary)? If something about their salary costs look wonky, and cannot be explained, and their pricing is too good to be true, you stay away.

  18. "without leaving a trace..." by starglider29a · · Score: 3, Funny

    ...except for the empty bags of cheese puffs, Rockstar cans, and several bottles of "lemon gatorade", no one would suspect that they had been there.

  19. Re:Changing the voltage supply req. HW access, rig by afidel · · Score: 1

    Yeah my first thought was ATM's =)

    --
    There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  20. Faster, Better, Cheaper way by Anonymous Coward · · Score: 0

    Rubber hose.

    To the back of the thigh.

    10 seconds.

    100 pesos.

    1. Re:Faster, Better, Cheaper way by OzPeter · · Score: 2, Insightful

      Rubber hose.

      To the back of the thigh.

      10 seconds.

      100 pesos.

      Since when did slashvertisments start to include BDSM offers?

      --
      I am Slashdot. Are you Slashdot as well?
  21. Interesting for devices by Anonymous Coward · · Score: 0

    While this poses interesting opportunities for handheld and consumer devices, I wouldn't fret over your corporate servers or internal machines, since most of them have restricted access and this requires power manipulation for the power going into the box (after UPS's).

    For devices and consumer electronics however, well, that's a different story.

    Of course, if a bug in a UPS allows for manipulation of its output power, that wouldn't be good...

  22. Re:Changing the voltage supply req. HW access, rig by metamatic · · Score: 3, Interesting

    Sadly, most DRM-crippled hardware isn't going to have the private keys inside. For example, the PS3 and Wii will only have the public keys in the hardware so that they can check signatures on code. The private keys will be on hardware somewhere inside Sony and Nintendo, and presumably carefully guarded from unauthorized access.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  23. Sci-Fi story by OzPeter · · Score: 1

    Back years ago I read a book where the good/Bad guys got a suitcase sized AI to break down and confess by cycling its power to the point where it couldn't take it any more.

    Good to see reality starting to mimic fiction

    BTW Can anyone tell me the title? About the only other main thing I remember about it was helicopter pilots being blinded by laser strikes.

    --
    I am Slashdot. Are you Slashdot as well?
    1. Re:Sci-Fi story by Anonymous Coward · · Score: 0

      Herp derp, torture brings about accurate information.

    2. Re:Sci-Fi story by Baby+Duck · · Score: 1

      Psychic Dictatorship in the U.S.A. talks about pilots being blinded by lasers when spying on Russian vessels. I don't remember anything about an AI in it, though.

      Despite its sensational title, the book declares mind control to be bogus. However, that hasn't stopped people from trying -- and committing atrocites in the process.

      It also discusses ambassadors and spies contracting rare blood diseases from being exposed to very low frequency radiation emitters in their offices over long periods of time. This is related to another Slashdot article today about the cellphone tower next to a NYC apartment.

      --

      "Love heals scars love left." -- Henry Rollins

    3. Re:Sci-Fi story by OzPeter · · Score: 1

      Unfortunately thats definitely not the book I am thinking about. In the one I read there was a lot of AI stuff.

      --
      I am Slashdot. Are you Slashdot as well?
  24. Re:Changing the voltage supply req. HW access, rig by sjames · · Score: 2, Insightful

    When the 'server' is a chip on a smart card and the 'PSU' is your POS terminal.

  25. Re:Changing the voltage supply req. HW access, rig by Andy+Dodd · · Score: 2, Interesting

    A similar sidechannel attack might be usable to extract such information though.

    --
    retrorocket.o not found, launch anyway?
  26. Re:Changing the voltage supply req. HW access, rig by daniel+de+graaf · · Score: 5, Insightful

    Depends on what the DRM is trying to protect. Music players, video players for downloadable content, and basically anything where the content isn't tied to a physical object like a game disc will need a private key of some kind to encrypt the data on their volatile storage. While most of this will probably be done using symmetric encryption, you still need some way for the server that hands out the content to prove that it is a real device and not an emulated device, and that's normally done with a locally stored private key.

  27. Implementation, not algorithm! by ronys · · Score: 3, Insightful

    It's an implementation on specific hardware that was broken. Not the first time, nor the last. If the *algorithm* would have been broken, now *that* would have been news!

    --
    Ubi dubium ibi libertas: Where there is doubt, there is freedom.
  28. Re:Changing the voltage supply req. HW access, rig by interval1066 · · Score: 2, Insightful

    Kinda reminds me of the TrueCrypt attack that made a splash a couple of years ago in which the attacker can compromise an encrypted partition by obtaining possession of the host hardware right after a power-down, getting inside the chassis and spraying down the RAM DIMMS with an inverted can of air so as to cool them down to slow the entropy of the down-powered chips; the attacker then has to create and analyze the leftover ram images with his own hardware and pull the encryption key out of that mess. As the Mythbusters would say: plausible? Yes. Practical? not really. I guess if you think you're in possession of some pretty valuable data you'll go to lengths.

    --
    Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
  29. Re:Changing the voltage supply req. HW access, rig by ircmaxell · · Score: 1

    Not quite. The voltage that was varied was the 1.5v CPU voltage. This is regulated on the motherboard (The PSU on the computer supplies +3.3v, +5v, -12v and +12v). So to execute this attack, you'd either need access through the bios to the CPU voltage control, or to physically tamper with the voltage regulator module present on server motherboards (Destop motherboards typically have this integrated instead of socket fit making it a lot harder to tamper with). Since both contain voltage regulators, simply under-voltaging the PSU likely won't work (since reducing the voltage is likely to make the whole system less stable, not just the CPU). Either way, not something that's trivial to do without physical access to the machine while it's off or a root level exploit to the machine, which would make this attack pointless... Sure, they COULD tamper with the voltage regulator, but you DO have alarms on your cases, right (ESP in situations where the box is held off site)?

    --
    If a man isn't willing to take some risk for his opinions, either his opinions are no good or he's no good
  30. Re:Changing the voltage supply req. HW access, rig by Hatta · · Score: 1

    When you're the government.

    --
    Give me Classic Slashdot or give me death!
  31. Re:Changing the voltage supply req. HW access, rig by pclminion · · Score: 2, Informative

    In what kind of scenario would you have access to the PSU of the server you attacked?

    I don't know, how about a world where you've arrested a political dissident and you want to obtain his/her private key, and he/she refuses to hand it over?

  32. Re:Changing the voltage supply req. HW access, rig by Andy+Dodd · · Score: 1

    Also, this is an attack against software running on the host CPU (OpenSSL in the paper) - most likely, 95%+ of OpenSSL implementations on datacenter servers are storing the key on the hard drive, not in a TPM.

    --
    retrorocket.o not found, launch anyway?
  33. Damnit, I was hoping for something useful ... by BitZtream · · Score: 2, Informative

    Great, another 'if you have physical access to the key, you can get the key' methods.

    Look, 'stressing' the computer for a hundred hours while screwing with the voltage is going to get you noticed if its a key important enough for to use this method to do it. I can go to your PC and steal the contents of the entire drive without leaving a trace, but you're probably going to notice when I move you out of my way so I can put in a boot cd and external drive to copy the data to.

    Practical value: 0
    Research value: 1
    Geek Cred: 11
    Priceless, or rather, worthless.

    --
    Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    1. Re:Damnit, I was hoping for something useful ... by SlayerMcGee · · Score: 1

      What if a server was overheating, which has the same effect as running with too low a voltage (i.e., circuit delay is proportional to temperature)...

      If an overheated server responded to an authentication and had a computation error in the generation of the crypto-signature, that would, according to the article, reveal a random 4-bit portion of the private key. Simply record these errors overtime and the associated key bits to a central repository, and soon some overheated data center will be compromised (since private keys rarely change).

      Given the likelihood of overheating in data centers, this seems like a non-trivial risk for a poorly cooled center.

  34. good news by bugs2squash · · Score: 0, Offtopic

    that it seems possible to defend against these attacks with a software change, for example validating the result before sending it.

    --
    Nullius in verba
  35. Re:Changing the voltage supply req. HW access, rig by ircmaxell · · Score: 1

    Well, it doesn't matter where the key is stored. The key must be read in order to be processed. So at some point in time the appropriate parts of the key must be in the CPU (since it needs to do math against the bits of the key to produce the signature), hence why the attack vector exists...

    --
    If a man isn't willing to take some risk for his opinions, either his opinions are no good or he's no good
  36. Is it common... by sqrammi · · Score: 1

    ...for CPUs to multiply incorrectly when their voltage get pulsed? It seems like you could solve this problem with a good voltage regulator. Something that resets the CPU if the voltage falls/rises to a point that would cause calculation errors.

    1. Re:Is it common... by Gorobei · · Score: 1

      It's common, and yes it can be fixed. But it's just a special case of a large class of attacks: hitting the element with cold/heat/radiation, grabbing leakage of various physical information from the element, etc.

      The main goal of this game is to ensure the attack never becomes very cheap relative to the other attacks available. Thus, for example, certain types of big systems keep their bandwidth and compute in full usage at all times just to deter traffic analysis, naturally, this is not reasonable for cell phones, etc. You pays your money and makes your choice, and constantly reevaluate if you are paying your money in the right way to minimize risks.

  37. Obligitory XKCD. by toastar · · Score: 2, Funny
  38. 100 hours? by Anonymous Coward · · Score: 0

    "– all without leaving a trace" ...except for the donut crumbs and empty coffee cups left at the workstation.

    1. Re:100 hours? by Anonymous Coward · · Score: 0

      Donuts? No way, man. That's food for the feds. REAL hackers only eat the spiciest of spicy foods. The hotter the better.

  39. Here's a patch for the vulnerability by guruevi · · Score: 1

    http://www.apc.com/

    Seriously. If your server is a big enough target where to have it's keys taken using this technique is beneficial (a key signing server for example) then you need a bit more protection against somebody hanging outside on a pole playing with your electricity supply.

    --
    Custom electronics and digital signage for your business: www.evcircuits.com
  40. Nothing new or interesting here.. by xquark · · Score: 1

    The concept is called Differential Power Analysis (DPA) or for people in the industry its also known as power cryptography and has been a staple of many attack vectors since the mid-90s (at least in open research), furthermore simple techniques such as adding salt or in other words randomly chosen bogus operations into the computation flow renders such attack vectors useless.

    Nothing new here, slow news day, move along peoples.

       

    --
    Arash Partow's Philosophy: Be a person who knows what they don't know, and not a person who doesn't know.
    1. Re:Nothing new or interesting here.. by owlstead · · Score: 1

      Then they mention Linux, which has little to none-to do with it. Of course, you can only reach the add by clicking away a Microsoft add. It's amazing what kind of articles are displayed on Slashdot now and then. Even the comments are starting to deteriorate (not yours of course).

      But you can be sure my home will stay void of Sparc processors after this fiasco :) The Niagra processors all have RSA in hardware so if the software uses that they are safe anyway. They probably chose a single CPU with easy RISC instructions on purpose anyway,

    2. Re:Nothing new or interesting here.. by xquark · · Score: 1

      That is absolutely correct, slashdot is going downhill as of the last couple of years.

      As for your comment regarding "single CPU with easy RISC instructions" thats also absolutely correct as well, back in 98' when I was reviewing the ideas coming out of Cryptography Research (cryptography.com), we could only ever get this kind of thing to work on smart-cards for that very reason, they all have a single execution pipe-line, no prefetch or look-ahead algorithms, essentially instructions/data are pumped in and executed in that same order, making both the power and temporal analysis quite easy,

      A good HP CRO running at about 2GHz was all one needed sampling the system, and yes the techniques did work, but with today's processors you don't even need salt as they do enough mixing for you, especially if there are multiple processes actively running over multiple cores whilst some cryptographic primitive is being executed.

      --
      Arash Partow's Philosophy: Be a person who knows what they don't know, and not a person who doesn't know.
  41. Well, there is one significant use-case by mbessey · · Score: 1

    Extracting private keys from smart cards would be one application. That's a case where you have "physical access" to the key holder, but it's protected by physical security. The card will erase the key if you open the box, but it provides a digital signature service, which you can exploit via this method to extract the key without opening the case.

    1. Re:Well, there is one significant use-case by aXis100 · · Score: 1

      Game consoles would be succeptible too.

    2. Re:Well, there is one significant use-case by JSlope · · Score: 1

      How? Game consoles don't have private keys.

      --
      ResoMail - the alternative secure e-mail system
  42. forgotten Differential Power and Fault Analysis? by bsy_at_play · · Score: 1
    --
    beware syntactic cavities
  43. Not so fast by Ancient_Hacker · · Score: 1

    NO, they did not find a glitch in the algorithm, they happened to find an implementation which was amenable to their attack method.

    All the chip makers have to do is take any one of several measures:

    (1) Regulate the CPU voltage on-chip.
    (2) or just detect that it's below spec and force a reset.
    (3) or do the calculation two times, or in two different ways, or both, and reset if the results don't match.
    (4) or add a few gates of carry-lookahead to the multiplier so it's not so speed-sensitive.
    (5) or detect the tampering and send out the tamperer's IP address encrypted in the message.

  44. Nice but... by GWRedDragon · · Score: 1

    This attack is pretty neat, but couldn't the vulnerability be closed by just doing FWE multiple times and voting, or otherwise checking the result?

    It seems that the real problem here is that the attacker can create corrupt output data even though he does not know the actual workings of the processor in question. This seems easy enough to fix.

  45. No they are not by Chemisor · · Score: 1

    When you overclock, you always have to check system stability at each level you try. Most people run some CPU stress program and see if it crashes or gives the wrong results. If you get any faults, your CPU can't handle the overclock and you have to try a lower frequency. As long as you apply this procedure properly, you won't have any faults. You most certainly won't get any predictable amount of faults. Now, the researchers could do it because they only ran OpenSSL on their hardware. If you tried that on a normal machine, you'd just get a kernel panic (the kernel needs the CPU to work correctly too, you know). Any other software will also have trouble and cause data corruption. Considering that the attack requires you to repeatedly encrypt/sign/verify stuff with your private key during it, the attackers don't have a chance to not get noticed.

    Next, the researchers did not actually run it on a real computer. If you RTFA, you'll find out that they implemented a copy of a Sparc processor on an FPGA and ran OpenSSL on that. You can't just vary the input voltage at the PSU, since the PSU will regulate it to the correct output for the CPU. If you drop the voltage below what the PSU can handle (~85V), it will shut down. You might succeed if you changed the voltage at the motherboard, but the board really ought to detect that. Also, Intel chips, like Nehalem, actually have voltage converters on the chip which change 12V and 5V inputs to the 1.5V or so that the CPU needs. So your Core i7 system is quite safe against this attack. (Yes, it overclocks. See above)

    Finally, there's the obvious problem of physically attacking the computer while you're using it. The attackers would need to constantly control and monitor whatever hardware doohickey they installed on your motherboard, as well as needing a working login to be able to time how long it takes you to run the algorithm each time. It is much easier to just install a hardware keylogger and get the passphrase.

    1. Re:No they are not by marcansoft · · Score: 1

      Also, Intel chips, like Nehalem, actually have voltage converters on the chip which change 12V and 5V inputs to the 1.5V or so that the CPU needs. So your Core i7 system is quite safe against this attack. (Yes, it overclocks. See above)

      Nope. The 12V to 1.xV converters are always on the motherboard (right next to the CPU). Modern CPUs might have smart power switching, but they definitely don't have on-board regulators. DC-DC voltage conversion requires large inductors, which you can't get on a chip anyway, and fabricating large chunky MOSFET transistors would be a ridiculous waste on an expensive CPU fabrication process.

  46. Re:Changing the voltage supply req. HW access, rig by owlstead · · Score: 2, Interesting

    TPM chips and certainly high end smart card chips are protected against this kind of attacks using the power source. You certainly cannot get a Common Criteria certification if you don't protect against these kind of side channel attacks. Of course, for consumer CPU's there' no CC certification or protection measures like these.

  47. Re:Changing the voltage supply req. HW access, rig by lgw · · Score: 1

    FIPS 140-2 level 3 requires zeroing of the key upon tamoer detection, but not detection of voltage or temperature abnormalities (those are level 4). This attack would be interesting against such a device.

    --
    Socialism: a lie told by totalitarians and believed by fools.
  48. Re:Changing the voltage supply req. HW access, rig by rosvall · · Score: 1

    You know, in a lot of computers the psu also feeds the harddrive that stores private keys...

  49. Figure 8 by Mal-2 · · Score: 1

    I find it striking how much Figure 8 in the PDF, showing the location of single-bit faults, resembles the acoustic power spectrum of something behaving like a closed tube. I see clear odd numbered partials and weak even numbered partials, with a missing fundamental. I would not be surprised if this distribution turns out to be connected to the exact timing of the attacks. Sweeping the timing of the attacks may cause other bits to be affected.

    Mal-2

    --
    How is the Riemann zeta function like Trump rallies? Both have an endless number of trivial zeros.
  50. Electric company pwns u. by Anonymous Coward · · Score: 0

    I smell Smart-Grid abuse in the near future.

    "The amount of data required to perform monitoring and switching your appliances off without your consent is very small"

    http://en.wikipedia.org/wiki/Smart_Grid

  51. Re:Changing the voltage supply req. HW access, rig by Anonymous Coward · · Score: 0

    Oh god...

  52. Re:Changing the voltage supply req. HW access, rig by Anonymous Coward · · Score: 0

    Blue-Ray Players

  53. Re:Changing the voltage supply req. HW access, rig by F.Ultra · · Score: 1

    Which proves parents point, if the key is stored in drive, why go this length to fetch it since you simply can read it off the drive...

  54. Re:Something new and interesting here.. by SlayerMcGee · · Score: 1

    Actually, the approach in the paper is quite different that Differential Power Analysis (DPA) .

    DPA, as the "A" implies, analyzes the power drawn by a cryptographic algorithm, since each operation a CPU performs takes small differences in the amount of power, the resulting aggregate power draw from the CPU draws a picture about what the algorithm is doing. Using DPA analysis, it then becomes possible to infer information about the key, IF changes in the key bits cause changes in operations, and thus power demands. The primary means to protect again DPA is to make the power draw of a crypto core INDEPENDENT of the key bits, which is very challenging.

    These blokes have done something quite different... By starving the CPU for energy (by dropping the voltage) they cause occasional operations in the crypto algorithm to fail, and a single bit failure in a multiply, according to the paper, reveals 4 bits in the private key. They use a kind of "what if" computation to reveal the 4 missing bits. It's a cool idea.

    As for applicability, I'm a circuit geek, and there three easy ways to get a circuit to fail:

        1) run will too little voltage (what the paper does)
        2) overclock the system (mentioned in earlier comments)
        3) overheat the system (since circuit delay rises with temperature)

    Here would be in interesting study: I wonder if overheated servers sometimes cause failures in RSA authentication that inadvertently leaks 4-bits of the private key to the outside world. Normal SSL libraries would simply retry the authentication if they got a bogus reply, but a clever SSL library could do the "what if" computation and donate the 4-bit result to a central repository, logged under the epicly-failing website address.

  55. Re:Changing the voltage supply req. HW access, rig by ToasterMonkey · · Score: 1

    In what kind of scenario would you have access to the PSU of the server you attacked? Private key servers should not be directly accessible after all.

    Uh, like the scenario where you're a bank's IT admin and you're trying to steal PIN encrypting keys?
    BTW, you should require direct access to load or change keys if you know what's good for you.

    Hardware crypto devices already tackle these problems, this research is further justification for them.

  56. Re:Changing the voltage supply req. HW access, rig by ToasterMonkey · · Score: 1

    Which proves parents point, if the key is stored in drive, why go this length to fetch it since you simply can read it off the drive...

    HW crypto appliances (a glorified PC server booting off a CD with a black box PCI card) don't have harddrives.

    A hand rolled software crypto server might not either, and probably isn't anal about input voltages unlike the expensive appliance.

    The point is cheaping out on your crypto system has measurable risks.

  57. Re:Changing the voltage supply req. HW access, rig by gibson_81 · · Score: 1

    If, on the other hand, you can guess the private crypto keys out of a DRMed PMP just by clipping a 15 dollar device from some shady mod-chip vendor to the recharging port and waiting a few days, heads will roll. There are a lot of devices these days that are designed to keep keys secret from the owners of the hardware. Particularly for common ones, voltage attack devices might well become fairly common advanced hobbyist and/or grey market items...

    Worth noticing is that the 100 hours mentioned in TFS was on a 81-box cluster. They estimated it to be about a year on a 2.4GHz CPU. Of course, for the purposes of cracking DRM keys, it is not unreasonable to imagine a distributed network cooperating.

    More interesting, in my opinion, was that it has 50% chance to guess the key in O(n * log n) time, and their example needed only 650 faulty messages (extrapolating from a 12% single-bit-error rate, it should work with a bit over 5000 total messages generated).

  58. Re:Changing the voltage supply req. HW access, rig by snemarch · · Score: 1

    Good luck breaking into Sony/Nintendo and getting at the machines holding their private keys, though.

    Again: this attack lets you extract leaked bits form the private keys - doesn't help in deriving private key from public key, which is what you'd want to break devices that verify code signing.

    --
    Coffee-driven development.
  59. Un-mod by Raedwald · · Score: 1

    Replying to remove faulty moderation.

    --
    Ne mæg werig mod wyrde wiðstondan, ne se hreo hyge helpe gefremman.
  60. What We Need: A Firewall for Power by marciot · · Score: 1

    What we need is a new class of specialized devices that acts as a firewall for power. Some new device that you put between the power outlet and you computer that automatically compensates for potentially malicious sags and surges in the voltage. To make things even safer, we can add some sort of specialized cache memory for power that stores enough packets of power to keep the computer going in case the malicious attacker cuts the power lines into the secure facility.

    Does anyone want to invent such a device?

  61. Re:Changing the voltage supply req. HW access, rig by makomk · · Score: 1

    Supposed to be protected, anyway. Rumour has it that some of them are rather less robust against voltage-based attacks - especially transients - than they should be. Then there's interesting stuff like optical fault injection...

  62. Re:Changing the voltage supply req. HW access, rig by Anonymous Coward · · Score: 0

    For sure, there is still a lot of things to do even regarding the age old voltage attacks. But general attacks that only use voltage regulation will certainly trigger counter measures.

  63. Re:Changing the voltage supply req. HW access, rig by F.Ultra · · Score: 1

    Still doesn't matter, if the attacker has physical access to your server as this attack requires he can just load the key from your cd then.

  64. Re:Changing the voltage supply req. HW access, rig by JSlope · · Score: 1

    By the way, ResoMail allows you secure hosting, which will prevent your keys being compromised if server is compromised.

    --
    ResoMail - the alternative secure e-mail system
  65. Re:Changing the voltage supply req. HW access, rig by JSlope · · Score: 1

    And I think it's easy to combat this Truecrypt vulnerability (and I think it's not only the Truecrypt vulnerable) by wiping the memory before shutdown.

    --
    ResoMail - the alternative secure e-mail system