News for hackers. Stuff that matters.
Re:Cross-VM RSA Key Recovery in a Public Cloud by zmanian on Thursday September 17, 2015 @02:32PM (#10235219)
Basically is RSA so vulnerable to sidechannels that we can only use it safetly inside HSMs?

I bet this would be much harder to do for ECC.

Re:Cross-VM RSA Key Recovery in a Public Cloud by ctz on Thursday September 17, 2015 @03:13PM (#10235447)
RSA and ECC have similarly-shaped common implementation strategies; just the underlying field arithmetic is different. You have a secret input (an exponent in RSA, or scalar in ECC) and work through it bit by bit, doing different operations if a bit is set vs not set (RSA: square and perhaps multiply, ECC: double and perhaps add). If the sequence of operations is visible to attacker (via power, time, cache, branch predictor, etc.) then your secret key does, too.

So, ECC implementations are not generally in a better state than RSA.

This is why curve25519 and its ilk are so much better; they can be efficiently implemented using the Montgomery ladder which is really very easy and cheap to make free of side-channels.

Re:Cross-VM RSA Key Recovery in a Public Cloud by mardurhack on Thursday September 17, 2015 @04:20PM (#10235813)
No, some implementations of the Montgomery ladder are not invulnerable to side-channel attacks[1].

Unfortunately these attacks all focus on implementation issues rather than the underlying algorithms (hence the name).

[1] https://eprint.iacr.org/2014/140.pdf

Re:Cross-VM RSA Key Recovery in a Public Cloud by arielby on Thursday September 17, 2015 @05:15PM (#10236128)
libgcrypt was written before timing side channels were an issue. modern crypto libraries (and OpenSSL) are at least supposed to be constant time and not to be affected.
Re:Cross-VM RSA Key Recovery in a Public Cloud by jgome on Thursday September 17, 2015 @04:01PM (#10235715)
I don't really know much about the topic, but... How about using specialized, external hardware for each instance of crypto calculations?
Re:Cross-VM RSA Key Recovery in a Public Cloud by mardurhack on Thursday September 17, 2015 @04:23PM (#10235829)
There are some architectural question marks. Will this device be shared among the VMs? If so timing might be a clue on what's happening inside. It is definitely not an easy problem to solve.
Re:Cross-VM RSA Key Recovery in a Public Cloud by jgome on Thursday September 17, 2015 @04:32PM (#10235884)
I'm thinking about, say, a big array of cheap, powerful-enough dedicated ARM/MIPS CPUs, used on-demand, one for each VM.
Re:Cross-VM RSA Key Recovery in a Public Cloud by mardurhack on Friday September 18, 2015 @09:57AM (#10239195)
Considering multiple VMs share the same CPU, at times, I don't see it as a very convenient solution unless marketed as a "premium" package which very few will purchase given that these "attacks" are not that easy to carry out.