Site Sponsor:

mcafee_logo.gif
line

Now Available:

Featured Resource:

line

Newsletter

Email Address:


line

Ask the Expert

Have a question for our resident expert? Email your questions to Dan or post a comment to the blog.

« 5 Evaluation Criteria for Selecting a Data Loss Prevention Product | Main | Gaming Platforms Used for Mainstream Computing, Target for Malware »

Backdoor in New Encryption Standard?

Bruce Schneier is a well respected security researcher and probably the closest thing to a household name in cryptography. When he writes an article that might be called a conspiracy theory had anyone else written it, we should pay attention. Did NSA Put a Secret Backdoor in New Encryption Standard? points out that a new set of public random number generators used for cryptography contain a flawed algorithm that is not only slow, but contains a possible backdoor. It would allow someone with knowledge of the algorithm's choice of parameters to crack messages that were encrypted using that random number generator.

But today there's an even bigger stink brewing around Dual_EC_DRBG. In an informal presentation (.pdf) at the CRYPTO 2007 conference in August, Dan Shumow and Niels Ferguson showed that the algorithm contains a weakness that can only be described a backdoor.

This is how it works: There are a bunch of constants -- fixed numbers -- in the standard used to define the algorithm's elliptic curve. These constants are listed in Appendix A of the NIST publication, but nowhere is it explained where they came from.

What Shumow and Ferguson showed is that these numbers have a relationship with a second, secret set of numbers that can act as a kind of skeleton key. If you know the secret numbers, you can predict the output of the random-number generator after collecting just 32 bytes of its output. To put that in real terms, you only need to monitor one TLS internet encryption connection in order to crack the security of that protocol. If you know the secret numbers, you can completely break any instantiation of Dual_EC_DRBG.

There is a work around to this weakness documented in an appedix of NSIT Special Publication 800-90. This leaves many us of, including Schneier, wondering:

I don't understand why the NSA was so insistent about including Dual_EC_DRBG in the standard. It makes no sense as a trap door: It's public, and rather obvious. It makes no sense from an engineering perspective: It's too slow for anyone to willingly use it. And it makes no sense from a backwards-compatibility perspective: Swapping one random-number generator for another is easy.

If we don't know anything else, we need to ask why a civilian agency like NIST would include a poorly designed, obviously flawed algorithm in this standard? It isn't as if anyone in the field would think these flaws would escape notice. Cryptographers pounce on new algorithms like predators on a kill. This algorithm was taken down with unusual ease.

TrackBack

TrackBack URL for this entry:
http://www.realtime-websecurity.com/type/mt-tb.cgi/525

Post a comment

(All comments are approved by site leader before appearing here. Thanks for commenting!)

line

Dan Sullivan's Bio:

Dan Sullivan is a systems architect with 20 years of IT experience that includes engagements in enterprise security, application design, and systems architecture. His experience includes a broad range of industries, including financial services, manufacturing, government, retail, gas and oil production, power generation, and education. Dan’s security-related project work has ranged from requirements analysis for enterprise information security to designing and implementing security for database applications and enterprise portals. Dan has written about information security and other enterprise information management topics for Business Security Advisor, DM Review, Intelligent Enterprise, and E-Business Advisor. You can contact Dan at: dan_sullivan@realtimepublishers.net