Upcoming Events

Executive conference

Cloud Connect March 16-18

Comprehensive thought leadership for executives, IT professionals and developers. Topics include: the ROI, cost and economics of on-demand computing; Migration strategies to move from on-premise to cloud-based IT; Vertical cloud specialization, tailoring features and architectures to specific applications, industries, and customer ecosystems

More Events »

Subscribe to Newsletter

  • Keep up with all of the latest news and analysis on the fast-moving IT industry with Network Computing newsletters.
Sign Up

 
NetNews
N E W S / A N A L Y S I S  


Can 1024-bit Keys be Cracked? All in Good Time

April 12, 2002
 By Jeff Forristal




Read more stories from our BuzzCut Archives.


A day will come when your encrypted data is readable. Take a recent, controversial research paper (postscript) by Daniel J. Bernstein, which has sparked much controversy over the potential to factor 1024-bit RSA and DH (Diffie-Helman) keys. The costs would be prohibitive, but the time savings proposed within Bernstein's paper would allow a large corporate or governmental entity to handily crack secure documents, communications and data stores.

At first, much of the security community was skeptical. With the paper having many new proposals, it was tough to determine with which theories the various supporters agreed. But those involved in the security industry have found far too often that actual problems are often preceded by such rumors.

Bernstein's paper discusses implementing specialized hardware to be used in number field sieve factoring, a method used to factor encryption keys based on large prime numbers (such as RSA and DH). The reality of implementing the hardware in a typical commercial environment is limited, if at all possible -- predicted costs can range upward of $1 billion. Yet, such limitations don't apply to large government organizations (local and foreign) that have both the desire to crack keys and the resources necessary to fabricate the specialized computer chips.

While it sounds good, the reality is that this scenario may be a little further off than people thought. RSA Laboratories went on record this past week and stated that the world is no worse off than before the paper surfaced. This begs the question: Just how bad off were things, anyway?

Too Weak for Comfort

Some cryptographic experts feel that already 1024-bit keys are too weak for certain kinds of sensitive data, like root certificates of an organization's certificate authority or PKI infrastructure. Consider the leaps and bounds with which technology is progressing. Moore's law states that processing speed will double every 18 months. If this law continues to hold true, it won't be long before we see Pentium VI 8-GHz machines on the market, thereby increasing the odds of implementing high-speed number crunchers -- perhaps within three to four years.

At the Financial Cryptography conference this year, Nicko van Someren announced that his team had been able to factor 512-bit keys in a mere six weeks, using conventional office PCs. In cryptography terms, six weeks is a small fraction of time. Even six months is still considered small.

But the exact risk it poses depends on the lifespan of your data. If your data will remain sensitive for the next 20 years (such as a trade secret or patented information), then being able to find the encryption key within six months is a big problem. But if your data is no longer sensitive after 30 minutes (like VPN session keys), then a six-month factoring time is not a large risk.

All this talk about keys and number of bits can be confusing as well, because there are actually two different sets of cryptosystems. There's symmetrical encryption, such as DES, which use smaller 56-, 64- and 128-bit keys. And there's asymmetrical encryption, known as public/private key systems like RSA and DH, which use keys on the order of 512, 1024, and 2048 bits. Knowing which cryptosystem you're using will help you decide upon an adequate key length.

Strategies: Anticipate Your Needs Now

Exactly how does all of this factor (pun intended) into your organization? Well, you should start figuring out what your key sizes, encryption needs and current practices are, and begin planning for eventual migration now, rather than waiting until the bomb completely drops and the keys are crackable. Be proactive instead of reactive.

The first step is to figure out what data you have, how sensitive it is, and how it's being protected -- what encryption system, what size keys, etc. Then you need to determine the lifespan of the data's sensitivity -- will it still be sensitive in one, five, ten, even 100 years? Those answers will give you an indicator as to the key size you will need to protect your data.

For instance, you should definitely consider using something stronger than a 1024-bit key if you want your data to be protected beyond the year 2010. Today's standards also deem 56-bit symmetric keys (a la DES) and 512-bit RSA keys weak as well, if your data's lifespan is larger than a day or two.

Before you run off and start worrying about your encryption key sizes, however, keep in mind that it's typically easier to break in and recover the private key than it is to crack/factor it. So be sure to keep your keys safe and your systems secure!

Jeff Forristal is the lead security developer for security consultancy Neohapsis, in Chicago. Send your comments on this article to him at jeff@neohapsis.com.




Best of the Web

Data deduplication: Declawing the clones

Data deduplication is emerging as a critically important new arrow in the storage administrator's quiver to answer hard questions about the increasing problem in storage growth costs.

Quick Read

Compression, Encryption, Deduplication, and Replication: Strange Bedfellows

One of the great ironies of storage technology is the inverse relationship between efficiency and security: Adding performance or reducing storage requirements almost always results in reducing the confidentiality, integrity, or availability of a system.

Quick Read

WAN Optimization Whitelists and Blacklists

Optimization is a fantastic way of saving money and creating really happy customers at the same time, but it doesn't work flawlessly for all applications.

Quick Read

WAN Optimization as a Managed Service: It's Not About the Cost

This insight examines how organizations outsourcing their WAN optimization initiatives to a third-party go about achieving their goals for application performance, reducing operational costs, and streamlining enterprise infrastructure.

Quick Read

  Sponsored Links

Premium Content

Next Generation Data Center, Delivered, November 17th
NWC


Salary

Video