| By Gilad Parann-Nissany | Article Rating: |
|
| March 15, 2012 03:45 AM EDT | Reads: |
1,788 |
In the last week or two, the security community has been abuzz with two different papers on the security of RSA keys. It turns out there are tens of thousands of RSA keys out there that are weak: they share a prime modulus with another public key, allowing both keys to be factored (i.e. broken) in a matter of minutes. The dust seems to have settled by now, and the root cause appears to be poor generation of these keys, in other words, low quality random number generators. How does this issue relate to cloud security, Porticor’s forte? Read on…
Generation of cryptographic quality random numbers is a difficult science, well beyond the scope of this blog. Unfortunately, the old saying applies: you get what you pay for. In the case of crypto randomness, the more initial randomness (a.k.a. entropy) you stir into the pot, the better the quality of the random numbers you will get out of it. And the stronger your cryptographic system will become.
The current research is the latest in a long history of cryptanalysis by exploiting faulty random number generators (RNGs). Starting with the early days of SSL, there have been many such attacks on crypto-systems. Perhaps the best known, but certainly the most embarrassing, is the Debian/openssl bug, where for almost two years, any RSA keys on Debian and Ubuntu systems were taken from the space of 215 keys, and were thus trivial to guess. Lucky for us, this was fixed in mid-2008.
Back to the new research: it turns out most of the weak keys are related to that essential ingredient of the stew, initial entropy. Before it can spit out good encryption keys, the RNG needs to be affected by real-life events, such as key-presses, network packets, disk rotations. Now, many systems start out by creating RSA keys (often in the form of certificates) very early on, as early as a few seconds after the system has been turned on. In the case of a PC, there’s already a useful amount of entropy available before any new software is installed. So where do we expect the lack of entropy to be a problem?
- In embedded appliances, which boot up from a “burned” factory image and immediately create some keys.
- In virtual systems (cloud instances), which boot up from stock software images and immediately go off to create some crypto keys.
All is not lost. When designing a complex virtual system, you can apply some industry best practices to obtain a solid randomness pipeline. This is essential if cryptography is a central part of your application’s security. And with the prevalent use of SSL, this is true for most modern systems.
- Use the Linux /dev/random and /dev/urandom generator. This generator underwent serious scrutiny. Even though some minor weaknesses were found, it is generally believed to be sufficiently strong for crpytographic uses.
- Whenever an appliance is booted, and that includes its first-time boot, it should receive an injection of randomness from a central randomness source, which may be your management subsystem. This allows the appliance to generate strong keys as soon as it starts out.
- The management subsystem itself needs to receive a significant amount of real entropy from user and network interaction.
- When generating a Master Key for a customer project, combine the strong randomness that you made available on the virtual appliance together with the weak randomness in the user’s browser (unfortunately JavaScript RNGs are still very low quality, but we are hoping to see some improvement). Although this is uncommon in cryptographic engineering, in this case you get the best of the two sources.
It may not be a surprise that all these best practices are implemented in Porticor’s VPD appliance and our Virtual Key Management service. We put significant effort into ensuring that our cryptographic subsystems are fed with crypto-grade randomness. This is yet another aspect of our relentless cloud security drive.
To summarize, the RSA algorithm is as strong as ever, and you definitely need a crypto-grade random number generator to use it securely. This is far from trivial in the cloud, and is yet another reason to get cloud security from the experts.
Published March 15, 2012 Reads 1,788
Copyright © 2012 Ulitzer, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Gilad Parann-Nissany
Gilad Parann-Nissany, Founder and CEO at Porticor is a pioneer of Cloud Computing. He has built SaaS Clouds for medium and small enterprises at SAP (CTO Small Business); contributing to several SAP products including BusinessByDesign and reaching more than 8 million users. Recently he has created a consumer Cloud at G.ho.st - a cloud operating system that delighted hundreds of thousands of users while providing browser-based and mobile access to data, people and a variety of cloud-based applications. He is now CEO of Porticor, a leader in Virtual Privacy and Cloud Security.
- Cloud Expo New York Speaker Profile: Dave Asprey – Trend Micro
- Cloud Expo New York Speaker Profile: Jill T. Singer – NRO
- Cloud Expo New York Speaker Profile: George Gerchow – VMware
- Windows Azure Overview Part 4: Security
- Porticor Launches To Deliver Cloud Data Security
- Hot Tech Firms at the 2012 DoDIIS Conference
- Start-up Wins First Skirmish in Digital Postal Fight Down Under
- Zumbox Sets Up Joint Venture in Oz
- HTC Licenses Intertrust Patents, Takes 20% of SyncTV
- Surfing the Surveys: Cloud, Security and Those Pesky Breaches
- Any Means Possible: Tales from Penetration Testing
- The Cost of Ignoring 'Non-Human' Visitors
- Cloud Expo New York Speaker Profile: Dave Asprey – Trend Micro
- Cloud Expo New York Speaker Profile: Jill T. Singer – NRO
- Cloud Expo New York Speaker Profile: George Gerchow – VMware
- Windows Azure Overview Part 4: Security
- Hadoop Quickstart: Create and Better Manage Hadoop Clusters on Rackspace
- Oops! HTML5 Does It Again
- Marc Andreessen, Ben Horowitz, and Disruptive IT Firms
- VMware Collaborates to Deliver Secure Infrastructures for the Cloud
- Does Social Media Reflect Society?
- TeamDrive 3.0 Unveiled at CeBIT: Brings Enterprise-Grade Security to Cloud File Sharing on the iPhone, iPad and Android
- Top Four IT Trends to Master in 2012
- Porticor Launches To Deliver Cloud Data Security
- Unisys President To Keynote Cloud Computing Expo
- Exclusive Q&A with Rich Marcello - Unisys President, Systems & Technology
- Blending Discovery, Governance, Security, and Management in SOA
- Viewpoint: Seven Technical Security Benefits of Cloud Computing
- Most Powerful Voices in Security
- Unisys Named “Platinum Sponsor” of Cloud Computing Expo
- CIA was Headed to an Enterprise Cloud All Along: Jill Tummler Singer
- Open Letter to the President of Syria Bashar al-Assad
- Deputy CIO of the CIA to Keynote 1st Annual GovIT Expo
- Show Report: Reality Check at 4th Cloud Expo
- 1st Annual Government IT Conference & Expo: Themes & Topics
- A Security Analysis of Cloud Computing






















Ulitzer content is offered under Creative Commons "Attribution Non-Commercial No Derivatives" License.
For any reuse or distribution, you must make clear to others the license terms of this work.
The best way to do this is with a link to this web page.
Any of the above conditions can be waived if you get written permission from Ulitzer, Inc., the copyright holder.
Nothing in this license impairs or restricts the author's moral rights.