On BNET: Is the Mac finally ready for the office?
BNET Business Network:
BNET
TechRepublic
ZDNet

By Robert Lemos
Posted on ZDNet News: Nov 6, 2003 10:39:00 PM

An unknown intruder attempted to insert a Trojan horse program into the code of the next version of the Linux kernel, stored at a publicly accessible database.

Security features of the source-code repository, known as BitKeeper, detected the illicit change within 24 hours, and the public database was shut down, a key developer said Thursday. The public database was used only to provide the latest beta, or test version, of the Linux kernel to users of the Concurrent Versions System (CVS), a program designed to manage source code.


Get Up to Speed on...
Enterprise security
Get the latest headlines and
company-specific news in our
expanded GUTS section.


The changes, which would have introduced a security flaw to the kernel, never became a part of the Linux code and, thus, were never a threat, said Larry McVoy, founder of software company BitMover and primary architect of the source code database BitKeeper.

"This never got close to the development tree," he said. "BitKeeper is really paranoid about integrity, and it turns out that was key to finding this Trojan horse."

Linus Torvalds, the original creator of Linux and the lead developer of the kernel, uses BitKeeper to keep track of changes in the core software for the operating system. On a daily basis, the software exports those changes to public and private databases other developers use.

An intruder apparently compromised one server earlier, and the attacker used his access to make a small change to one of the source code files, McVoy said. The change created a flaw that could have elevated a person's privileges on any Linux machine that runs a kernel compiled with the modified source code. However, only developers who used that database were affected--and only during a 24-hour period, he added.


Get Up to Speed on...
Open source
Get the latest headlines and
company-specific news in our
expanded GUTS section.


"The first thing we did was fix the difference," he said. "It took me five minutes to find the change."

When BitKeeper exports the source code to other servers, it checks the integrity of every file, matching a digital fingerprint of its official version of the file with the version on the remote machine. That comparison caught the change to the code stored on the server.

The changes looked like they were made by another developer, but that programmer said he hadn't submitted them, McVoy said.

The recent incident raises questions about the security of open-source development methods, particularly how well a development team can guarantee that any changes are not introducing intentional security flaws. While Microsoft code has had similar problems, closed development is widely considered to be harder to exploit in that way.

Linus Torvalds addressed the issue in a post to the Linux kernel mailing list.

"A few things do make the current system fairly secure," he stated. "One of them is that if somebody were to actually access the (BitKeeper) trees (software repositories) directly, that would be noticed immediately."

A critical security flaw was found in CVS in January, but it's unknown whether the attacker used the vulnerability to gain access to the CVS database.

BitKeeper's McVoy hopes the current incident will quash objections raised by some members of the development who don't want to add a new feature that would require all changes to be digitally signed.

Even so, he said, the open-source development model likely would have quickly turned up any security flaws.

"A Trojan horse is just a bug that a person has put into the system deliberately," he said. "The open-source security model is that everyone is using this stuff, so bugs get found and get fixed. That's one of the reasons that you are not hearing me freak about this."

McVoy said the disk from the compromised server has been saved for later analysis, but any decision to contact law enforcement belongs to Torvalds and others. Torvalds could not be immediately reached for comment.

SponsoredWhite Papers, Webcasts, and Downloads

  • Talkback
  • Most Recent of 73 Talkback(s)
probly home brew
chances are if someone is going to hack a MS server, knowing how much money ms has to sjut give away to lawyers, im betting they didnt use sub-seven..... chances are they coded they're own virus... (Read the rest)
Posted by: engel000 Posted on: 12/09/03 You are currently: a Guest | | Terms of Use
Loverock!!!!!  Jose Jimenez | 11/06/03
hmmmm  ryusen | 11/06/03
Where's the story?  jasonp@... | 11/06/03
what trojan was that?  JoeMama_z | 11/06/03
This one perhaps  Jose Jimenez | 11/06/03
Re: what trojan was that?  WhoIsDaMan | 11/06/03
ZDNET FIX YOUR ******* LOGGON  JoeMama_z | 11/06/03
they got taken on this upgrade  lmaxwell | 11/06/03
time to downgrade  Chris Moller | 11/07/03
No, I didn't miss the point, you did....  quietLee | 11/07/03
Well you missed part of it.  Cardinal_Bill | 11/07/03
Pointedly...  zkiwi | 11/07/03
probly home brew  engel000 | 12/09/03
We KNOW who every contibutor is?  No_Ax_to_Grind | 11/06/03
Known Contributors  michael-t | 11/06/03
re: We KNOW who every contibutor is?  Iain_Peters | 11/07/03
you want him to read it?  blahblahblah | 11/07/03
You fool  Enton Eller | 11/07/03
Hack vs. Submission  Still Lynn | 11/07/03
at it again 'eh Bit?  blahblahblah | 11/07/03
Is it possible this is how..  No_Ax_to_Grind | 11/07/03
There is?  tic swayback | 11/07/03
tic, come on...  No_Ax_to_Grind | 11/07/03
And yet...  MarcB_z | 11/07/03
piss me off  engel000 | 12/09/03
NO  MarcB_z | 11/07/03
Are you really this limited?  No_Ax_to_Grind | 11/07/03
Are you lacking in basic comprehension skills?  MarcB_z | 11/07/03
And we KNOW where it came from.  No_Ax_to_Grind | 11/07/03
To Bit, the two-bit $hill  MarcB_z | 11/07/03
it's real simple logic  ryusen | 11/07/03
Successful Linux hack  Anton Philidor | 11/07/03
SCO code is flawed  voska | 11/07/03
No, Bit, the flaw...  Damon K | 11/07/03
Pity poor Bitty  MarcB_z | 11/07/03
You damned fool  Enton Eller | 11/07/03
Flipped your Bit to channelling for Darl?  Robert Crocker | 11/07/03
Duh...  zkiwi | 11/07/03
Oh puh,leeze  Robert Crocker | 11/07/03
And don't forget to mention the FUD statement  sunergeos | 11/06/03
News Headlines  NoB$ | 11/06/03
Remarkable Security  michael-t | 11/06/03
Not really  John Zern | 11/06/03
at what point?  stephen732@... | 11/06/03
Hers the line I was curious about  John Zern | 11/06/03
NOTHING!  stephen732@... | 11/06/03
Compromise ...  Still Lynn | 11/07/03
*NEW* To Talkback Web Master re: *NEW*  Peter Komisar | 11/06/03
These talkbacks STINK  Enton Eller | 11/07/03
There's some optimisits in this world, aren't there  dw@... | 11/07/03
Actually, belay that stupid comment  dw@... | 11/07/03
Good catch  FilledOut | 11/07/03
'Microsoft code has had similar problems'  Robert Carnegie | 11/07/03
What has MS to do with this story?  No_Ax_to_Grind | 11/07/03
RTFA  Michael Kelly | 11/07/03
I seem to remeber something like this  voska | 11/07/03
Funniest post all week...  BitTwiddler | 11/07/03
Simple comparison  voska | 11/07/03
Microsoft has had a fox in the hen house  rgriffith64@... | 11/07/03
RE: 'Microsoft code has had similar problems'  jasonp@... | 11/07/03
Can you point us at an article regarding this?  Elsa | 11/07/03
I see now...  Elsa | 11/07/03
Re: your message  Enton Eller | 11/07/03
Thanks, guys  Robert Carnegie | 11/07/03
No explanation not surprising  jasonp@... | 11/07/03
Good job 'Bit', the real one!  Ardian Daka | 11/07/03
M$ plot failed  screaming silence | 11/07/03
ROFL! (N/T)  Damon K | 11/07/03
Passionate defense of Linux  dliles@... | 11/07/03
What Problem?  MarcB_z | 11/07/03
Why don't you take your post .....  Jose Jimenez | 11/07/03
defense of Linux  jasonp@... | 11/07/03
Ok, so what's the problem ?  BitTwiddler | 11/07/03

What do you think?

advertisement
advertisement

White Papers, Webcasts, and Downloads

Meet Doc