3 msΒ·
Can anybody ELI5?
by fergie 3y ago
Can anybody ELI5?
- blueflow 3y agoRandom hardware bit flips can cause invalid RSA signatures, which baddies can use to deduce private keys. Edit: Don't ask me questions, i don't know shit, i just rephrased stuff from the linked paper.
- yard2010 3y agoWhat are the methods used by these baddies?
- clbrmbr 3y agoHow frequently do such faults occur?
- temac 3y agoVirtually never in practice (they are corrected) if you use ECC. A server that doesn't is weird. TBH any computer that doesn't is weird but the industry seems to consider it normal to have random computational unreliability because of that pretty much only unprotected component (Ram without ECC) in consumer hw.
- sebstefan 3y ago> We also carry out a retrospective analysis of historical SSH scan data collected over the course of seven years, and find that these invalid signatures and vulnerable devices are surprisingly common over time. > Our combined dataset of around 5.2 billion SSH records contained more than 590,000 invalid RSA signatures. Seems like over long periods, it can occur a spoopy amount of time.
- mackman 3y agoDoes each bit flip reveal a bit or less or does somehow a single flip compromise the entire key?
- SAI_Peregrinus 3y agoA single bit flip reveals the entire private key, for RSA with PKCS#1v1.5. RSA with PKCS#1v2 (aka RSA-PSS) is not vulnerable.
- sebstefan 3y agoIt's akin to me having the secret number 17, giving you 221 (17*13) and then, during a solar flare, fucking it up once and giving you 187 (17*11). You know that the numbers are the product of a multiplication, and you know that a common factor is my private secret number. You figure out that the only way to get to 187 and 221 while keeping a common factor is if that factor is 17. That's just computing the GCD. >An RSA public key consists of a public exponent π and a modulus π = ππ that is the product of two primes. The private key consists of the private exponent π = π β1 mod π (π) and π . A textbook RSA signature on a message π is the value π = ππ mod π . To verify the signature, a user checks if π π mod π = π > these attacks exploit the fact that if an error is made while computing modulo one prime, say π, then the resulting invalid signature Λπ is equivalent to the correct signature modulo one prime factor π, but not π. 2.2.1 GCD attack on fully known messages. Boneh, DeMillo, and Lipton noted [11] that if an attacker had a correct signature π and an incorrect signature Λπ of this form then the attacker could compute gcd(π, Λπ β π ) = π
- gonzo 3y agoyou have to flip two bits to get from 13 (1101) to 11 (1011).
- javajosh 3y agoHow about ELI precocious 10 year old? Cosmic rays and thermal effects cause random bit flips in memory very infrequently. If you sit on a network and listen to TLS handshakes for long enough, you'll find that any given server will issue the wrong signature occasionally, because of these bit flips. If you record the wrong signature(s) and use a fancy algorithm, you can recover the private key. While at first it may seem an unlikely attack, it's probably more real than you'd think, given the number of times any single server does TLS negotiation using a given private key. The attack becomes even more likely when you realize that multiple servers will be using the private key. In practice, this gives middle boxes more power, and raises their profile in the threat model significantly. This also opens up the possibility of simply collecting failed transient failed tls negotation data from a large number of (legitimate) clients to reconstruct a private key.
- gosub100 3y ago> Cosmic rays and thermal effects now put your tinfoil hat on and suppose you worked for a paramilitary organization that had infiltrated the top 2 semiconductor manufacturers. You persuade the silicon designers, when implementing hardware accelerated crypto (or "management engines") to not do their jobs quite perfectly, no just leave room for a tiny bit of....error. Could never happen, right?