Welcome!

Virtualization Authors: Jeremy Geelan, Maureen O'Gara, Reuven Cohen, John Savageau, Greg Ness

Related Topics: Linux, Virtualization

Linux: Article

Dan O'Dowd Reminds World of UNIX Creator Ken Thompson's Security Stunt

"We must not entrust national security to Linux," he declares.

In a speech to the Net-Centric Operations Industry Forum in McLean, Va., Dan O'Dowd, CEO of Green Hills Software Inc., argued that the proliferation of Linux through a growing number of U.S. defense systems poses a serious and urgent security threat, 

 "The very nature of the open source process should rule Linux out of defense applications," O'Dowd said.

"The open source process violates every principle of security. It welcomes everyone to contribute to Linux. Now that foreign intelligence agencies and terrorists know that Linux is going to control our most advanced defense systems, they can use fake identities to contribute subversive software that will soon be incorporated into our most advanced defense systems," he con tinued. 

In addition, O'Dowd noted, developers in Russia and China are also contributing to Linux software. Recently, the CEO of MontaVista Software, the world's leading embedded Linux company, said that his company has "two and a half offshore development centers. A big one in Moscow and we just opened one in Beijing."

Linux has been selected to control the functionality, security, and communications of critical defense systems including the Future Combat System, the Joint Tactical Radio System and the Global Information Grid, said O'Dowd. 

"If Linux is compromised, our defenses could be disabled, spied on, or commandeered. Every day new code is added to Linux in Russia, China and elsewhere throughout the world. Every day that code is incorporated into our command, control, communications and weapons systems. This must stop," he added, before continuing:

"Linux in the defense environment is the classic Trojan horse scenario - a gift of 'free' software is being brought inside our critical defenses. If we proceed with plans to allow Linux to run these defense systems without demanding proof that it contains no subversive or dangerous code waiting to emerge after we bring it inside, then we invite the fate of Troy." 

One of O'Dowd's most telling points came when he debunked the claim by Linux advocates that its security can be assured by the openness of its source code, arguing that "many eyes" looking at the Linux source code will quickly find any subversions.

Ken Thompson, the original developer of the Unix operating system (which heavily influenced Linux) proved that this just isn't true, O'Dowd argued. Thompson installed a back door in the binary code of UNIX that automatically added his user name and password to every UNIX system.

O'Dowd told his audience that,  when Thompson revealed the secret 14 years later, he declared:

 "The moral is obvious. You can't trust code that you did not create yourself. No amount of source-level verification or scrutiny will protect you from using untrusted code."

"Before most Linux developers were born, Ken Thompson had already proven that 'many eyes' looking at the source code can't prevent subversion," said O'Dowd. "Linux is being used in defense applications even though there are operating systems available today that are designed to meet the most stringent level of security evaluation in use by the National Security Agency, Common Criteria Evaluation Assurance Level 7 (EAL 7)." 

"We don't need cheaper security. We need better security. One 'back door' in Linux, one infiltration, one virus, one worm, one Trojan horse and all of our most sophisticated network-centric defenses could crumble. We must not abandon provably secure solutions for the illusion that Linux will save money. We must not entrust national security to Linux," O'Dowd concluded.

More Stories By Linux News Desk

SYS-CON's Linux News Desk gathers stories, analysis, and information from around the Linux world and synthesizes them into an easy to digest format for IT/IS managers and other business decision-makers.

Comments (15) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Old Fart 04/16/04 02:13:02 PM EDT

There was no source to peruse, so the Open/Closed source argument is bogus. This was a "binary" hack - he hacked his own copy of the compiler source to include "I'm compiling the login program" identification that injected the back door code into the login executable, AND he added "I'm recompiling the compiler" identification that reinjected the entire hack into the compiler output. He then built the hacked compiler, installed it, and removed all his source code. From that point, anyone who used his compiler executable to compile either the login program or the compiler would get a hacked executable. Once he installed his hacked compiler into the common build environment, everyone was "infected", because everyone ended up using the hacked compiler executable to bootstrap a new system.

Gregory Bradley 04/14/04 07:52:05 PM EDT

Just a thought on what O'Dowd had to say.
The backdoor into Unix was in the binary unix code. At the time, Unix was a closed source, proprietary product.
In fact Ken Thompson's action demonstrates the insecurity of closed source proprietary code, rather than any failing of the open source methodology. O'Dowd's assertion "without demanding proof that it contains no subversive or dangerous code" says it all.
No such proof is possible when closed source code is used. Every single line of code in open source can be read by the user and compiled by the user themselves(including the compiler), ie this is the highest trust possible, only binary code produced by the end user is used in the end users system.

greatguangong 04/14/04 06:07:25 PM EDT

Biased opinions are such - biased.

For mission-critical applications, e.g. defense, nuclear or medical usage, audits must be done. This must apply to any products being selected for usage, be it open-sourced or closed-sourced.

The advantage of open-sourced products of "many eyes", as the article author will have it - remains. How many eyes see the codes of the closed-sourced software? Any how many eyes for the open-sourced?

"demanding proof that it contains no subversive or dangerous code". Are you going to accept the proof without any work (read, audit) on your part, O'Dowd?

And who equated closed-sourced products with "trusted code"?! You're probably doing so, O'Dowd.

Ken Thompson's time was before the advent of the Internet, when so many eyeballs and brain sacks are now being brought together. Basing an entire speech on "one exception to the rule" exhibits narrow-mindedness.

IMHO

jmcnamera 04/13/04 09:32:55 PM EDT

You idiots don't get what Ken T was saying. It's that distributing hacked tools permits a hacked end binary. Seeing the source of the end binary doesn't do squat.

You guys should go back to your H.S. lessons and leave programming to the pros.

muzukulu 04/13/04 02:12:29 PM EDT

what the hell is this guy talking about. can't you read the linux source code and make sure it has no such code that can be compromised!! bozo.

jhogan 04/12/04 05:32:34 PM EDT

So he's noting that Thompson added a back door in the UNIX binaries. Well, if you had the source, you'd not have needed 14 years and a confession to figure that out would you?

Meg McRoberts 04/12/04 04:46:00 PM EDT

O'Dowd does not seem to understand the process by which new code is contributed to open source projects. All code has an owner who serves as a gatekeeper and must approve any code that is added to the official tree. I suppose it's possible for a nefarious individual to get into that role, but it's just as possible for that nefarious individual to get a job at a company that provides proprietary software where a security vulnerability or worse could be planted.

One could also paint an Orwellian fantasy about how a single operating system that is being used universally could be used as a tool of a totalitarian government to gain hegemony.

The threats Mr. O'Dowd points out should be considered seriously but chosing proprietary rather than open source software is not the solution.

Sean Parsons 04/11/04 10:42:42 PM EDT

Here is my counter attack to the authors obvious troll.

A recent Cisco security advisory announced that “all models” of their WLSE and HSE wireless LAN devices have a hard-coded back-door password which gives an attacker complete control over that section of your infrastructure.

Firstly, it is to Cisco’s credit that they follow a policy of openly announcing such an embarrassing vulnerability. Many providers prefer to hide their problems, fold any fixes into routine updates and hope their customers pick up those updates before any malefactors pick up control of the customers’ networks, which in this age of several probes per internet address per minute is totally unacceptable.

However, one sentence in the advisory is very unsettling to me as an extensive user of Open Source products: “There is no workaround.”

Open Source policies not only reduce the risk of back-dooring by empowering customers and potential customers to audit the software themselves, but they also reduce the incentive for back-dooring by making it more likely that any perpetrator will be caught, and in that event “everybody” would know what and how that had been done by whom. Consequently, back-dooring in serious Open Source projects is very rare.

Even more attractive from a security perspective is that because all of the parts are to hand, each customer would have been in a position to work around the issue by simply lopping out the offending code on the spot and deploying an updated version of the software within a matter of hours, sometimes minutes. This can be critically important for customers who prize security above all else.

Open Source projects also have a good track record for prompt security responses. The KDE team, for example, once delivered a secured version of their SSL transport within a hundred minutes of being made aware of an issue. Part of this responsiveness is simply the absence of corporate red tape, and part of it is the pointlessness of trying to hide or deny a problem for publicity damage control reasons when the whole world can check for themselves.

To read more about how secure open source is, please go to http://www.theage.com.au/articles/2004/04/09/1081326916427.html

David Mohring 04/11/04 06:31:50 PM EDT

Ken Thompson's compiler trojan scenario can by greatly mitigated by cross vendor bootstrapping.

http://groups.google.com/groups?selm=slrna4f868.7gd.heretic@heretic.ihug...
Other than manual inspection of the resulting compiler binary, a solution
for this is too use many third party C compilers and enviroments for the
original bootstrap compiler build and compare the resulting code after
the resulting compiler has rebuild itself for the third time. If the
result greatly differs then manualy inspect the generated code where
it differs.

nemo 04/11/04 04:51:12 PM EDT

Folks: Ken Thompson wrote that it is possible to trojan a compiler that way. He never wrote that he actually did this (and for the whole time since 1970? When was the first C compiler written? Was there ever a "login" program back then?)

Dear Mr. O'Dowd should get his facts straight first.

cc 04/11/04 01:13:12 PM EDT

Ken Thompson's scenario deals with a poisoned compiler. The way to get around this is to originally/occasionally build the gcc compiler from a completely independently created (perhaps even a comercial) compiler, and confirm that the output of this process is identical to using the 'standard' compiler shipped with the distribution. This would confirm that the toolchain is poison free. This should probably be done once by each distribution maker when they build the final 'gold' distribution from scratch.

Ken Thompson in Full 04/11/04 11:40:58 AM EDT

In "Reflections on Trusting Trust", Ken Thompson talked about this - back in August 1984.

Here's what he wrote in full:

The moral is obvious. You can't trust code that you did not totally create yourself. (Especially code from companies that employ people like me.) No amount of source-level verification or scrutiny will protect you from using untrusted code. In demonstrating the possibility of this kind of attack, I picked on the C compiler. I could have picked on any program-handling program such as an assembler, a loader, or even hardware microcode. As the level of program gets lower, these bugs will be harder and harder to detect. A well installed microcode bug will be almost impossible to detect.
After trying to convince you that I cannot be trusted, I wish to moralize. I would like to criticize the press in its handling of the "hackers," the 414 gang, the Dalton gang, etc. The acts performed by these kids are vandalism at best and probably trespass and theft at worst. It is only the inadequacy of the criminal code that saves the hackers from very serious prosecution. The companies that are vulnerable to this activity (and most large companies are very vulnerable) are pressing hard to update the criminal code. Unauthorized access to computer systems is already a serious crime in a few states and is currently being addressed in many more state legislatures as well as Congress.

There is an explosive situation brewing. On the one hand, the press, television, and movies make heroes of vandals by calling them whiz kids. On the other hand, the acts performed by these kids will soon be punishable by years in prison.

I have watched kids testifying before Congress. It is clear that they are completely unaware of the seriousness of their acts. There is obviously a cultural gap. The act of breaking into a computer system has to have the same social stigma as breaking into a neighbor's house. It should not matter that the neighbor's door is unlocked. The press must learn that misguided use of a computer is no more amazing than drunk driving of an automobile.

Doh! 04/11/04 11:37:15 AM EDT

This is why you have SELinux, "Security-Enhanced Linux" - hardened by the NSA

agree 04/11/04 11:31:53 AM EDT

O'Dowd's getting run over by a free and agile OS, that's all.

watchout 04/11/04 11:27:11 AM EDT

Dan O'Dowd is President and chief executive officer of Green Hills Software - which sells compilers and RTOS for embedded systems. No wonder he does not like Linux!! I'm not saying his opinions are valueless, or that they should simply be dismissed. But it's worth bearing in mind that Green Hills develops software that Linux is directly competing with: embedded operating systems.