Home Business IT Open Source Crypto: FreeBSD playing catch-up, says De Raadt
Crypto: FreeBSD playing catch-up, says De Raadt Featured

The OpenBSD project has no reason to follow the steps taken by FreeBSD with regard to hardware-based cryptography because it has already been doing this for a decade, according to Theo de Raadt.

The OpenBSD founder was scathing when asked whether his project would be doing what FreeBSD has announced: that it will reduce the role of random number generators which are built into processors from Intel and Via, over suspicions that these methods may have been compromised by the National Security Agency.

"FreeBSD has caught up to what OpenBSD has been doing for over 10 years," De Raadt (pictured above) told iTWire. "I see nothing new in their changes.

"You are not the only person who asked if we will now do something in the same direction as FreeBSD. We can't follow them - we were already leading in 2003.

"Basically, it is 10 years of FreeBSD stupidity. They don't know a thing about security. They even ignore relevant research in all fields, not just from us, but from everyone."

In its announcement about adding more sources of entropy, and not depending on the chip-based random number generators, the FreeBSD project has made direct reference to the revelations by former NSA contractor Edward Snowden that many hardware vendors have allowed the US National Security Agency to insert backdoors in their products.

Random number generators, as the name indicates, feed random numbers into the /dev/random engine on UNIX-based operating systems. These numbers are used to create cryptographic keys.

De Raadt said OpenBSD's support for the Intel CPU rdrand instruction was added in 2012. "Our support for the Intel CPU rdrand instruction was added in this commit:

date: 2012/09/19 20:19:31; author: jsg;  state: Exp;  lines: +24 -1; Add support for the rdrand instruction found in recent Intel processors. Joint work with naddy@ ok naddy@ deraadt@."

He said this code added entropy into the bottom of the randomisation subsystem, such as timings between packets or disk IOs or mouse movements.

"Essentially, we don't consider Intel RNG data any better or worse in any way, since our random subsystem is engineered *very specifically* to smooth input data into output strong-random data, safely. It follows best practices in papers by (senior Linux developer) Ted Ts'o and many others in the crypto industry."

De Raadt pointed out that "jsg" was Jonathan Gray, a developer who lives in Melbourne. "I believe this code from Jonathan slightly pre-dates hardware being available, he simply added support based on a pre-release datasheet, since the feature is fairly easy to support," he added.

"When the Intel RNG code above was added, it was simply following a pattern already established. Our first per-CPU randomisation support was for the VIA C3 cpus, which added a proprietary instruction almost a decade ahead of Intel. Here is the commit for that support:

date: 2003/03/14 22:05:43; author: deraadt; state: Exp; lines: +108 -1; branches: 1.222.2; Support for the VIA C3 Nehemiah on-cpu random number generator. This chip will be shipping soon (we have nice prototypes). Written by toby."

He said this code was added in 2003. "Like I say, it was using the same method of passing entropy into the bottom of the smoothing subsystem. We don't consider it better than mouse movements. Linux is also using an un-biasable method like us."

"Now we all discover that FreeBSD has been doing it wrong. It's not as if they operate in a closed source world, and couldn't have looked at what others did. They must have chosen a few years ago to do this wrong, intentionally.

"Perhaps that decision was made by their Californian developers, the ones who work fairly close to that NSA building.

"And now we see rah-rah articles apparently praising them for this departure from a poor method, almost as if that is innovation."

De Raadt pointed to a presentation he made recently in Russia. "It's basically a status report now that our security mitigation work is finished. It took us 10 years to completely satisfy the wish list which I spoke about in 2004, when I met you. And towards the end of these slides, it will be quite clear who is the laggard."

He also pointed to three FreeBSD statements to justify his conclusions. "Here are three more links indicating how far behind they are."

FREE CLOUD BACKUPS MANAGEMENT WEBINAR

Are your technicians spending too much time just managing your clients cloud backups?

Backups are an important part of any IT business but they should not consume more than their fair share of time and money.

Discover how to reduce the amount of time & money spent managing your Cloud Backups during this Free Webinar.

REGISTER FOR FREE WEBINAR!

FREE NETWORKING SERVICES CASE STUDY

As one of the world’s largest social networking services, Facebook handles a lot of user information, and requires input from an astounding range of stakeholders 24 hours a day, 7 days a week — from both inside and outside the business.

Discover how Facebook was helped to connect remote employees, vendors, consultants, and partners to applications and web services quickly and reliably - without risking sensitive data.

GET CASE STUDY!

GET THE IT BUDGET YOU WANT

Explore your Network Treasure Trove to get the IT Budget you want

With Australian businesses projected to spend over $78.7 Billion why does it feel like you can never get the budget you need?.

In most cases your budget will get approved because the proposals are not only technically correct, but also provide good, credible evidence on how the spend aligns with key business objectives.

Did you know that your Network Monitoring tool can help you build a comprehensive business case without an MBA?

HERE ARE 8 TIPS TO GET THE IT BUDGET YOU WANT.

CLICK HERE!

Sam Varghese

website statistics

A professional journalist with decades of experience, Sam for nine years used DOS and then Windows, which led him to start experimenting with GNU/Linux in 1998. Since then he has written widely about the use of both free and open source software, and the people behind the code. His personal blog is titled Irregular Expression.

Connect

 

 

 

 

Join the iTWire Community and be part of the latest news, invites to exclusive events, whitepapers and educational materials and oppertunities.
Why do I want to receive this daily update?
  • The latest features from iTWire
  • Free whitepaper downloads
  • Industry opportunities