Bitcoin Forum
May 21, 2024, 11:22:48 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: NSA compromised the Diffie-Hellman protocol?  (Read 564 times)
Pegas (OP)
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
October 15, 2015, 06:03:22 PM
 #1

NSA compromised the Diffie-Hellman protocol?  Undecided

Quote
Could a simple mistake be how the NSA was able to crack so much encryption?

Most encryption software does the high-tech equivalent of reusing passwords, and that could be how the US national security agency decrypted communications

The NSA could have gained a significant amount of its access to the world’s encrypted communications thanks to the high-tech version of reusing passwords, according to a report from two US academics.

Computer scientists J Alex Halderman and Nadia Heninger argue that a common mistake made with a regularly used encryption protocol leaves much encrypted traffic open to eavesdropping from a well-resourced and determined attacker such as the US national security agency.

The information about the NSA leaked by Edward Snowden in the summer of 2013 revealed that the NSA broke one sort of encrypted communication, virtual private networks (VPN), by intercepting connections and passing some data to the agency’s supercomputers, which would then return the key shortly after. Until now, it was not known what those supercomputers might be doing, or how they could be returning a valid key so quickly, when attacking VPN head-on should take centuries, even with the fastest computers.

The researchers say the flaw exists in the way much encryption software applies an algorithm called Diffie-Hellman key exchange, which lets two parties efficiently communicate through encrypted channels.

A form of public key cryptography, Diffie-Hellman lets users communicate by swapping “keys” and running them through an algorithm which results in a secret key that both users know, but no-one else can guess. All the future communications between the pair are then encrypted using that secret key, and would take hundreds or thousands of years to decrypt directly.

But the researchers say an attacker may not need to target it directly. Instead, the flaw lies in the exchange at the start of the process. Each person generates a public key – which they tell to their interlocutor – and a private key, which they keep secret. But they also generate a common public key, a (very) large prime number which is agreed upon at the start of the process.

Since those prime numbers are public anyway, and since it is computationally expensive to generate new ones, many encryption systems reuse them to save effort. In fact, the researchers note, one single prime is used to encrypt two-thirds of all VPNs and a quarter of SSH servers globally, two major security protocols used by a number of businesses. A second is used to encrypt “nearly 20% of the top million HTTPS websites”.

The problem is that, while there’s no need to keep the chosen prime number secret, once a given proportion of conversations are using it as the basis of their encryption, it becomes an appealing target. And it turns out that, with enough money and time, those commonly used primes can become a weak point through which encrypted communications can be attacked.

In their paper, the two researchers, along with a further 12 co-authors, describe their process: a single, extremely computationally intensive “pre-calculation” which “cracks” the chosen prime, letting them break communications encrypted using it in a matter of minutes.

How intensive? For “shorter” primes (512 bits long, about 150 decimal digits), the precalcuation takes around a week – crippling enough that, after it was disclosed with the catchy name of “Logjam”, major browsers were changed to reject shorter primes in their entirety. But even for the gold standard of the protocol, using a 1024-bit prime, a precalculation is possible, for a price.

The researchers write that “it would cost a few hundred million dollars to build a machine, based on special purpose hardware, that would be able to crack one Diffie-Hellman prime every year”.

“Based on the evidence we have, we can’t prove for certain that NSA is doing this. However, our proposed Diffie-Hellman break fits the known technical details about their large-scale decryption capabilities better than any competing explanation.”

There are ways around the problem. Simply using a unique common prime for each connection, or even for each application, would likely reduce the reward for the year-long computation time so that it was uneconomical to do so. Similarly, switching to a newer cryptography standard (“elliptic curve cryptography”, which uses the properties of a particular type of algebraic curve instead of large prime numbers to encrypt connections) would render the attack ineffective.

But that’s unlikely to happen fast. Some occurrences of Diffie-Hellman literally hard-code the prime in, making it difficult to change overnight. As a result, “it will be many years before the problems go away, even given existing security recommendations and our new findings”.

“In the meantime, other large governments potentially can implement similar attacks, if they haven’t already.”

http://www.theguardian.com/technology/2015/oct/15/nsa-crack-encryption-software-reusing-passwords
Spendulus
Legendary
*
Offline Offline

Activity: 2898
Merit: 1386



View Profile
October 15, 2015, 09:22:05 PM
 #2

Lest this article be misunderstood, reality is that finding the flaw means that the flaw will cease to exist in the future because for large part people will move to other methods.

EG this is good, not bad.

BADecker
Legendary
*
Offline Offline

Activity: 3794
Merit: 1373


View Profile
October 16, 2015, 05:05:13 PM
 #3

What does this mean for Bitcoin in the future?

What does it mean for Bitcoin right now, in a practical way?

Have the Devs foreseen this and built a fix right into bitcoin?

Smiley

Cure your cancer at home. Ivermectin, fenbendazole, methylene blue, and hydroxychloroquine (HCQ) are chief among parasite drugs. Find out that all disease is based in parasites or pollution, and what you can easily do about it - https://www.huldaclark.com/.



BUDESONIDE essentially cures Covid symptoms in one day to one week >>> https://budesonideworks.com/.
Hydroxychloroquine is being used against Covid with great success >>> https://altcensored.com/watch?v=otRN0X6F81c.
Masks are stupid. Watch the first 5 minutes >>> https://www.bitchute.com/video/rlWESmrijl8Q/.
Don't be afraid to donate Bitcoin. Thank you. >>> 1JDJotyxZLFF8akGCxHeqMkD4YrrTmEAwz
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
October 16, 2015, 05:18:17 PM
 #4

What does this mean for Bitcoin in the future?

What does it mean for Bitcoin right now, in a practical way?

Have the Devs foreseen this and built a fix right into bitcoin?

It means very little to Bitcoin apart from possibly the stuff that was introduced that uses CA certs (which I've not even heard of anyone using so far and which is not really a core part of Bitcoin).

Bitcoin itself uses ECDSA and doesn't use any sort of Diffie-Hellman keys.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
BADecker
Legendary
*
Offline Offline

Activity: 3794
Merit: 1373


View Profile
October 16, 2015, 05:29:36 PM
 #5

What does this mean for Bitcoin in the future?

What does it mean for Bitcoin right now, in a practical way?

Have the Devs foreseen this and built a fix right into bitcoin?

It means very little to Bitcoin apart from possibly the stuff that was introduced that uses CA certs (which I've not even heard of anyone using so far and which is not really a core part of Bitcoin).

Bitcoin itself uses ECDSA and doesn't use any sort of Diffie-Hellman keys.


Thank you. Of course (jokingly) your handle is in code... Y I AM CIA.    Cheesy

Smiley

Cure your cancer at home. Ivermectin, fenbendazole, methylene blue, and hydroxychloroquine (HCQ) are chief among parasite drugs. Find out that all disease is based in parasites or pollution, and what you can easily do about it - https://www.huldaclark.com/.



BUDESONIDE essentially cures Covid symptoms in one day to one week >>> https://budesonideworks.com/.
Hydroxychloroquine is being used against Covid with great success >>> https://altcensored.com/watch?v=otRN0X6F81c.
Masks are stupid. Watch the first 5 minutes >>> https://www.bitchute.com/video/rlWESmrijl8Q/.
Don't be afraid to donate Bitcoin. Thank you. >>> 1JDJotyxZLFF8akGCxHeqMkD4YrrTmEAwz
vero
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500


View Profile
October 18, 2015, 01:27:37 PM
 #6

So that how they were doing it. Always wondered what the breakthrough was when it was leaked a few years ago before Snowden, that the NSA had crack several prime number base encryption schemes in use, and it explains why they were building a huge new computer facility in Utah

ridery99
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
October 18, 2015, 04:53:20 PM
 #7

Can yu explain this to me? How we can prevent this to happen? Please explainnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!