OpenSSL in Devices gets cracked when trying to "enhance" randomness
Hi! The security world has been buzzing this week about two new sets of research into what we will call statistical key cracking. The hack is one that we would not expect out of your average script kiddie, because it combines sophisticated scanning with mathematical prowess. The overview story is the first link below. The second and third links take you to the researchers previews.
We are particularly interested in the work from Nadia Heninger and her team, given that our user base is skewed towards embedded systems.
Our takeaways from this new research are high entropy seeds are vital to proper key generation. If a high entropy device is available use it, if not, don't try to write your own. Connect securely to a remote server where a high entropy seed can be relayed over the SSL/TLS connection. And don't stir the RNG between (p) and (q) generation. This crack is based on a low entropy seed and the stirring between (p) and (q) generation. wolfSSL avoids this problem in two ways, by using a high entropy seed from /dev/random and by not stirring between (p) and (q) but before each (p) instead.
Originally posted at: http://www.wolfssl.com/wolfSSL/Blog/Entries/2012/2/16_OpenSSL_in_Devices_gets_cracked_when_trying_to_%22enhance%22_randomness.html