Slashdot Mirror


Kernel.org Attackers Didn't Know What They Had

Trailrunner7 writes "The attack that compromised some high-value servers belonging to kernel.org — but not the Linux kernel source code — may have been the work of hackers who simply got lucky and didn't realize the value of the servers that they had gotten their hands on. The attackers made a couple of mistakes that enabled the administrators at kernel.org to discover the breach and stop it before any major damage occurred. First, they used a known Linux rootkit called Phalanx that the admins were able to detect. And second, the attackers set up SSH backdoors on the compromised servers, which the admins also discovered. Had the hackers been specifically targeting the kernel.org servers, the attack probably would've looked quite different." A few blog posts in the wake of the attack have agreed with the initial announcement; while it was embarrassing, the integrity of the kernel source is not in question.

183 comments

  1. Or maybe by unity100 · · Score: 1

    They didnt want to harm the kernel.

    1. Re:Or maybe by Anonymous Coward · · Score: 2, Interesting

      Or maybe, just maybe, the hackers wanted to appear that they didn't realize what they had gotten their hands on. I'm not trying to cause any tinfoil hats to come out, but I would still check everything.

    2. Re:Or maybe by Anonymous Coward · · Score: 0

      More likely they moved on because they found that there was no money to steal from kernel.org, and no secrets worth selling.

    3. Re:Or maybe by Dwonis · · Score: 1

      Or maybe, just maybe, the hackers wanted to appear that they didn't realize what they had gotten their hands on. I'm not trying to cause any tinfoil hats to come out, but I would still check everything.

      git fsck

      Done.

    4. Re:Or maybe by FatdogHaiku · · Score: 4, Funny

      They didnt want to harm the kernel.

      Possibly out of respect for the 11 Secret Herbs and Spices?

      --
      You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
    5. Re:Or maybe by fatphil · · Score: 2

      You my laugh, but I have at least twice been approached by agencies who are looking for a colonel developer.

      --
      Also FatPhil on SoylentNews, id 863
    6. Re:Or maybe by digitalsolo · · Score: 1

      Doesn't the US Military handle most colonel development now?

      --
      Just another ignorant American.
  2. and after reading the articles.... by poofmeisterp · · Score: 1

    ...and didn't realize the value of the servers that they had gotten their hands on...

    ....I don't see any mention of what the phrase refers to. Is this dramatization or intentionally excluded information?

    Curious.

    1. Re:and after reading the articles.... by Samantha+Wright · · Score: 5, Informative

      Here is what it's referring to. CS graduates are expected to recognize instances of it instinctively.

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    2. Re:and after reading the articles.... by poofmeisterp · · Score: 1

      Here is what it's referring to. CS graduates are expected to recognize instances of it instinctively.

      Ah, so the statement was conceptual, not based on a hidden component within these boxes. Gotcha.

      Correct me if I'm wrong.

    3. Re:and after reading the articles.... by Samantha+Wright · · Score: 5, Insightful

      That's pretty much it. Malicious control over the master copy of the kernel source means you can bake a rootkit into everything everywhere with enough clever code. All it takes is one generation of bad files to silently patch all successive copies during compilation, and you've got the stuff that cypherpunk nightmares are made of.

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    4. Re:and after reading the articles.... by KahabutDieDrake · · Score: 1

      I'm not a programmer, but I'm not entirely ignorant either... which leaves me with a question... Assuming that the Kernel was compromised, and the scenario you describe came into being. Isn't it just a matter of examining the Kernel code until you find the naughty bits and expunge them? Or are you basing your nightmare on this infiltration not being detected?

    5. Re:and after reading the articles.... by Rockoon · · Score: 0

      Isn't it just a matter of examining the Kernel code until you find the naughty bits and expunge them?

      Thats right. A task that can never be proven to be completed.

      --
      "His name was James Damore."
    6. Re:and after reading the articles.... by jimicus · · Score: 4, Informative

      I'm not a programmer, but I'm not entirely ignorant either... which leaves me with a question... Assuming that the Kernel was compromised, and the scenario you describe came into being. Isn't it just a matter of examining the Kernel code until you find the naughty bits and expunge them? Or are you basing your nightmare on this infiltration not being detected?

      Not at all - the paper describes how one could write a custom C compiler which would automagically insert malicious code when it saw a particular pattern.

      With a properly crafted attack you couldn't even compile your own "known clean" compiler - the attack takes advantage of the fact that most modern C compilers can't be compiled without an existing C compiler of some sort. Provided the existing compiler is the malicious one, all it needs to do is insert its own malicious payload as part of the compiler compilation process and every subsequent compiler on that system is equally malicious even though the source code is perfectly clean.

    7. Re:and after reading the articles.... by Samantha+Wright · · Score: 2

      That's exactly the idea. While such a move would eventually be discovered, the amount of damage that could be done before that happened could be substantial, and the amount of work required to (a) find the bad code in a copy of the source tree and, especially, then (b) detect bad binaries would be pretty staggering. It should also be stressed that this isn't just some fanciful nightmare scenario as Kahabut suspects; Ken Thompson did it to the Unix kernel long ago.

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    8. Re:and after reading the articles.... by Anonymous Coward · · Score: 0

      You should read "Ken Thompson's Reflections on Trusting Trust"
      Or at least the wikipedia article about backdoors.
      You can not trust source code unless you know that the binaries on your system are clean.
      Even if you decide to check the resulting binary with a hex editor you can not be sure since you don't know if you can trust your hex editor.

    9. Re:and after reading the articles.... by del_diablo · · Score: 1

      Or we take advantage of how git works, and axe all those commints that is noncomplient against history.

    10. Re:and after reading the articles.... by Anonymous Coward · · Score: 0

      This requires compilation on a system, though - and (at least the way KT did it) requires a malicious compiler which spots it is compiling itself and adds in the malicious code or spots it is compiling the kernel and adds in code to include a backdoor.

      How would a malicious kernel achieve the same thing? It would need to include a backdoor, also code to spot that it was being recompiled and amend the output of the compiler to perpetuate the backdoor. Seeing as kernel.org just provides code, which has to be compiled and run at least once, that's a pretty huge amount of malicious code to hide in a commit.

      So a malicious commit could probably have been inserted, but I bet the kernel hackers are all busy checking for any fishy commits, and once the malicious commit is found it could be diked out. The nightmare scenario would be someone inserting malicious code into the gcc git tree and having it compiled and therefore self-perpetuating. But it would be spectacularly poor IT management if anyone doing anything remotely important was using the gcc git tree to compile anything except test cases - certainly not a production gcc!

    11. Re:and after reading the articles.... by sjames · · Score: 1

      Except for those bazillions of good systems burned onto CDROMS already, any one of which could be used to bootstrap.

      It would take a lot more than one generation of corruption to overcome that.

    12. Re:and after reading the articles.... by F.Ultra · · Score: 2

      Not really, you have to remember that the complete code as it was before these naughty bits was introduced is stored on multiple locations including Linus's own hard drive so extracting a diff between the two versions would point at all these changes immediately.

    13. Re:and after reading the articles.... by WorBlux · · Score: 1

      There is no one master copy, and most devs keep a local copy. Every file is checksummed, and the checksums are published, meaning it's pretty easy to tell weather a copy has been messed with.

    14. Re:and after reading the articles.... by smash · · Score: 1

      Even "better" would be if you were to mess with the FTP daemon, to silently serve various files from elsewhere that are trojanned. Leave the on-server source in tact, as its obvious people are going to check that...

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    15. Re:and after reading the articles.... by Anonymous Coward · · Score: 0

      If you wrote your code in C. If you wrote it in assembler, there won't be any malicious insertions...

      AC Luddite

    16. Re:and after reading the articles.... by Tubal-Cain · · Score: 1

      So nuke the servers and every patch prior to 3.1-rc3?

    17. Re:and after reading the articles.... by Tubal-Cain · · Score: 1

      prior to 3.1-rc3?

      after 3.1-rc3.

    18. Re:and after reading the articles.... by Mitchell314 · · Score: 1

      The point with ken's trick was that it's possible to throw in changes that are not *persistent* in the source code.

      --
      I read TFA and all I got was this lousy cookie
    19. Re:and after reading the articles.... by Samantha+Wright · · Score: 0

      I'd expect they'd make sneaky commits by abusing root power rather than just tampering with the source files... which are in version control anyway.

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    20. Re:and after reading the articles.... by koreaman · · Score: 1

      And no one has old disks lying around with old versions of the compiler from before the server was compromised?

    21. Re:and after reading the articles.... by jimicus · · Score: 1

      And no one has old disks lying around with old versions of the compiler from before the server was compromised?

      You assume that the compiler was compromised in the most recent server compromise. For all you know it was compromised ten years ago and every compiler ever since has been compromised. Go back far enough, if you'd done that early enough in the evolution of Linux distributions it's entirely possible the C compiler on every distribution and architecture is compromised.

      Myself, I take from that paper that for practical purposes there is no such thing as a computer you can offer a cast-iron guarantee is not compromised. The best you can hope for is "as far as we can reasonably tell".

    22. Re:and after reading the articles.... by Anonymous Coward · · Score: 0

      That's pretty much it. Malicious control over the master copy of the kernel source means you can bake a rootkit into everything everywhere with enough clever code. All it takes is one generation of bad files to silently patch all successive copies during compilation, and you've got the stuff that cypherpunk nightmares are made of.

      What a load of baloney.

      GIT uses SHA hashes for this reason. To insure that files you get out are the same you put in. If you change anything you will change the hash and will be caught.

    23. Re:and after reading the articles.... by Anonymous Coward · · Score: 0

      Ok...so why don't they do what everyone else does with a compromised system, wipe or install a new one clean from a backup source much earlier than the compile date and work from there?

      The C compiler wouldn't be compromised, and the source could be checked fully with various hash programs every step of the way until the compromise.

      I don't see the issue you see. While it would be a huge PITA and a big compromise, it wouldn't be some wet dream. There are more rootkit MS systems running around that someone didn't count than would be compromised by this method.

    24. Re:and after reading the articles.... by Anonymous Coward · · Score: 0

      They would have to hack the gnu servers to compromise the compiler. It's GNU/Linux remember?

    25. Re:and after reading the articles.... by larry+bagina · · Score: 1

      unless you're using a malicious assembler.

      --
      Do you even lift?

      These aren't the 'roids you're looking for.

    26. Re:and after reading the articles.... by Anonymous Coward · · Score: 0

      I'm one of the linux kernel maintainers at $BIG_CORP. Every single change that is accepted into our kernel goes through test stages that report on whether the object files have changed in size (every single one is compared individually), and if there's any inexplicable growth in object code size, the changes will at least be investigated, and probably rejected. Narrowing this down to a change in compiler would be absolutely trivial. So *if* the logic bomb hasn't been in the compiler suite we use since before ~1997, then it will never be in our system, we would detect it. Sure, changing the stack-unwinding compilation options does cause some noise to flood the signal, but that change would be a separate change from changing compiler. This is not a realistic threat in any environment where there's a sufficient attention to detail. (Yes, I am a true Scotsman.)

    27. Re:and after reading the articles.... by fatphil · · Score: 1

      Very insightful post. That's why on compromise, the only sane reaction is reinstalling from scratch, ftp server included.

      (Though I did once encounter a rooted system, and take it as a personal challenge to undo everything the rootkit had done. That was equally insightful, and quite hard (and delicate) work. I'd not do it again, as it was clear that I was dealing with a fairly amateurish rootkit (I could immediately see how to make it more stealthy, for example), and it's just not worth the risk.)

      --
      Also FatPhil on SoylentNews, id 863
    28. Re:and after reading the articles.... by steelfood · · Score: 1

      Restore the binaries directly from an earlier backup or some known-clean version. Transfer the existing and the restored binaries to a clean server via write-once media and do hash compares using multiple algorithms. Obtain several more copies of the clean versions and do the same with them.

      Recompile the source with the compromised server. Again, do the hash comparisons using a clean, unconnected, read-only machine.

      If there was some malicious binary inserted into the server or some kind of malicious hook still running off an EPROM, this kind of clean-room before-and-after check would find it. However, it's only possible if the breach was detected early. Otherwise, if there's no "clean" binary on a "clean" server, it'd be impossible to detect.

      --
      "If a nation expects to be ignorant and free in a state of civilization, it expects what never was and never will be."
    29. Re:and after reading the articles.... by JasterBobaMereel · · Score: 1

      Ken Thompson wrote a paper on how to do it http://cm.bell-labs.com/who/ken/trust.html, but did not actually do it ...(As far as we know)

      The point about it is that there is no source tree to examine ...

      The point about any hack of kernel.org, is that there is no central depository of code there that is the master copy, it uses git, so there are many copies (or partial copies) scattered around many machines, compromising all of them is very unlikely, many are behind much better firewalls, examining the source code for changes made by a hacker is trivial and automatic ...

      --
      Puteulanus fenestra mortis
    30. Re:and after reading the articles.... by Anonymous Coward · · Score: 0

      "git push" will not to any merging. If any commits are made on the kernel.org servers, the next time Linus tries to push new commits, git will yell about not being able to do a fast forward update.

      And where does Linus push from? His own personal machine behind two firewalls, which doesn't even have SSH access from the outside.

    31. Re:and after reading the articles.... by mortonda · · Score: 1
      But the point in the articles is that something exists to prevent this - Ken Thompson did not have to contend with git. To make that attack work you have to get malicious code into the tree for a while - long enough to infect the hosts that compile kernels for others... and then remove the original code.

      Git would raise the alarm long before that, thanks to the cryptographic nature that it uses to identify the source chain.

      It's a theoretical attack on one system, but for it to work, Linus would have to do it to himself, and *then* everyone else in the world would have to use *binaries* that *he* created. Even if he infected his own system, the uploaded code, once stripped of the malicious parts (because his compiled kernel now has the code injection) ... that doesn't infect the compiler farm at redhat or ubuntu, or debian... and their kernels would continue to produce *correct* compilations of the *correct* kernel code.

      The distributed nature of the Linux source development pretty much kills off this old hack. Clever in its day, but simply not possible anymore.

    32. Re:and after reading the articles.... by Anonymous Coward · · Score: 0

      ... except for uncompromised diff utilities running all over the world

  3. How could the attackers... by Nutria · · Score: 2

    not know what they had cracked and how useful it was?

    --
    "I don't know, therefore Aliens" Wafflebox1
    1. Re:How could the attackers... by FooBarWidget · · Score: 1

      Maybe a semi-automated attack in search of more zombie machines for sending spam.

    2. Re:How could the attackers... by cdoggyd · · Score: 0

      Happens all the time. I've seen servers compromised with no attempt to harvest email addresses, ecommerce data, or passwords. Most of these "hackers" are script kiddies that use automated tools to locate and compromise servers. Once they're in, they don't really know what to do next to take full advantage of their access. Hooray for amateurs.

    3. Re:How could the attackers... by Anonymous Coward · · Score: 2, Informative

      Any random machine with SSH enabled gets around 2-3 brute force attempts per day from automated zombies. Most likely kernel.org was breached in an automated attack. I've protected my server with Denyhosts which will add your IP address to the firewall after 5 failed passwords... indefinitely. kernel.org should either install it or switch to public key authentication. Having user/password authentication on Internet without any protection is real stupid.

    4. Re:How could the attackers... by Dahamma · · Score: 4, Informative

      2-3? Mine sometimes gets hundreds. It's pretty ridiculous.these days.

    5. Re:How could the attackers... by beuges · · Score: 2

      This argument doesn't make sense. From what I've read, a kernel dev with kernel.org access had his machine trojanned, and the attackers got to kernel.org in that way. That's a far cry from script kiddies trying SSH ports on a bunch of random IP addresses. It sounds like quite a lot of effort to specifically get to the kernel.org network. Whether they managed to do some unknown damage, or access some other data whose relevance is as yet unknown, or maybe they just did it for the reputation of having hacked kernel.org doesn't matter - it does seem to be a targetted attack and the attackers would definitely have known what they had.

      These types of stories are actually more harmful than anything else - instead of calming people down by downplaying the severity of the incident, they're creating the impression that kernel.org was taken down by a bunch of script kiddies doing random port-scans and dictionary attacks, which in turn makes the kernel.org admins look pretty foolish. Not good PR at all.

    6. Re:How could the attackers... by LordThyGod · · Score: 1

      Trojanned? By what, do we know? I hope the dumb fuck wasn't running windows.

    7. Re:How could the attackers... by F.Ultra · · Score: 1

      or it is automated in such a way that the trojan discovers and collects the compromised users ~/.ssh/* files, and then either brute forces the known_hosts file (the line with the ip address should be somewhat quick to brute force, or the file might be stored unencrypted as some users have it) or the trojan simply uploaded the id_rsa and id_dsa files to the master node who then distributed it out to all it's minions to use when attacking ssh servers.

    8. Re:How could the attackers... by smash · · Score: 2

      Not using SSH key pairs for accounts on a public system like this sounds pretty brain damaged to me.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    9. Re:How could the attackers... by antdude · · Score: 1

      Is that with default port 22? Mine doesn't get hundred hits, but then it is on a private connection.

      --
      Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  4. Wishful thinking? by Anonymous Coward · · Score: 0, Interesting

    My philosophy has always been: once a machine has been compromised, all bets are off. Let's say you're paranoid enough: couldn't you just as easily argue that the "mistakes" that have been detected are simply misdirection, drawing attention away from the real hack (eg. backdoor inserted in the kernel)? How sure can you really be that the kernel source integrity is intact?

    1. Re:Wishful thinking? by MimeticLie · · Score: 4, Informative

      Did you bother to read either of the two links in the summary about that very topic?

      Basically, the nature of Git makes it very unlikely that someone could insert malicious code into the kernel via kernel.org without someone noticing.

    2. Re:Wishful thinking? by Riceballsan · · Score: 1

      Well you could start by thousands of tin foil hats who are most likely looking at and scrutinizing every line of the code. Though wouldn't it be safe to assume there are backup copies off of the server? Isn't it possible they just either did an md5sum comparison or loaded the backups over the online versions to be safe.

    3. Re:Wishful thinking? by Superken7 · · Score: 1

      While the distributed nature of git sure makes it difficult for the kernel source to be compromised, I think that's a bit optimistic (I confess I only read one of those two links, though).

      It looks like they argue that since every commit is hashed and everyone has got a full copy, it would be really difficult for someone to alter any single byte without raising suspicion. However, it should be noted that one or several developer accounts got compromised (which later resulted in privilege escalation to root).
      How do you know they did not commit something to a developer's tree, then push it upstream? That is, since they got at least one of the developers (if not many, which could complicate things further by "distributing" the harmful change over several different commits from different people) how do you know its not a *legit* commit?

      The developer who got himself (or at least his passwords) compromised would need to find out that one of his commits isn't really made by him. That could be not easy to spot, especially for others if the exploit is well hidden. (off-by one bugs that result in remote exploitation come to mind - not trivial but certainly possible and difficult to detect when writing C code)

      Of course, code by those developers could be audited, but I that is far from saying: "bah, we got compromised but we sure as hell know the source isn't compromised", which is how it sounds to me.

    4. Re:Wishful thinking? by Runaway1956 · · Score: 1

      So - Billy Random Hacker aka Snotnose Scriptkiddie just happens to have authorization via git to change the source code? Then - why didn't he come in through the front door, and change the source code? It makes no sense, I tell you! It's like, I have a safe deposit box at my local bank, and I want to change the contents of that box, so I break in at night to do so. When, all along, all I needed to do, was to walk in during business hours, and inform any bank officer that I need access to my box.

      What am I missing here, that seems so obvious to you and so many others?

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    5. Re:Wishful thinking? by MimeticLie · · Score: 1

      (I confess I only read one of those two links, though)

      Did you read the second one? Because it deals with the specific situation you mention, with a hypothetical about Linus' account getting compromised. I'm not an expert on Git, but according to the article, the developer in question would be informed by Git that a commit had been made that didn't match their personal repository the next time they tried to submit their changes.

    6. Re:Wishful thinking? by Superken7 · · Score: 2

      The second link deals with kernel.org being compromised, I am talking more about a legit commit making its way to the kernel tree. i.e. What happens if Linus Torvalds get compromised and someone uses *his* repository to add malicious stuff, which will eventually get pushed upstream?

      That is, what's preventing a legitimate and trusted developer from introducing malicious code? That could happen as soon as a developer is compromised, which if I'm not mistaken is exactly what happened and how kernel.org got compromised (which in turn might have exposed credentials from more devs)

    7. Re:Wishful thinking? by HJED · · Score: 1

      Git records when changes are made (it has to to work and by whom it would be very easy to detect and edit if they changed it through the metaphorical front door and could be changed back. What is being suggested is that someone hid the changes (which would require manual access to the git files).

      My understanding is this would not be too hard, but apparently it is?

      --
      null
    8. Re:Wishful thinking? by F.Ultra · · Score: 2

      Well if you manage to trojan Linus's machines and inject code into his local machine then of course there is no direct protection against that, and how could there be? However since there are many people who's only hobby/job is to track the changes to the kernel source and some of them would probably raise a question why Linus was committing that code to that part of the kernel (since everything that is commited is also discussed on lkml before). Also note that devs with direct commit access to the main kernel.org repository is not large, everyone else has to have their changes go by these people making it harder to sneak bad code into the kernel. Not saying that it couldn't be done but the detection rate is probably higher than the people interested in such an attack is willing to gamble with (notice that this has happened once against the cvs history of the Linux kernel but was detected by Linus due to his use of bitkeeper).

    9. Re:Wishful thinking? by Anonymous Coward · · Score: 0

      Unless Git itself is compromised.

    10. Re:Wishful thinking? by jpate · · Score: 1

      What is being suggested is that someone hid the changes (which would require manual access to the git files). My understanding is this would not be too hard, but apparently it is?

      What do you mean by "git files"? If you mean the files tracked by git, then yes, it is very hard. The two links provided in the summary explain how git uses cryptographic hashes to verify the current files and history. Alternatively, you might mean the git program itself. The attackers could conceivably have swapped in a modified git binary to ignore hash mismatches. But this would be discovered when anybody on a non-compromised machine ran git fsck, or recompiled git (using a compiler from a non-compromised machine). So this is hard to do silently as well.

  5. Nonsense! by Anonymous Coward · · Score: 5, Funny

    They must have gotten their hands on the kernel source code, I found it posted online!

  6. sure THESE guys didn't touch the kernel... by Anonymous Coward · · Score: 1

    but how do we know someone more sophisticated didn't already break in and mess with the code undetected?

    1. Re:sure THESE guys didn't touch the kernel... by migla · · Score: 1

      >but how do we know someone more sophisticated didn't already break in and mess with the code undetected?

      Lots of people probably have the same git source repo on their own computers, so it can be compared to the kernel.org one.

      --
      Some of my favourite people are from th US; Vonnegut, Chomsky, Bill Hicks.
    2. Re:sure THESE guys didn't touch the kernel... by Anonymous Coward · · Score: 0

      Can? Does that happen?

      Also, if people also automatically grab the newest tree, how do they know what changed where without looking at the changes?

    3. Re:sure THESE guys didn't touch the kernel... by Anonymous Coward · · Score: 3, Informative

      Because in git, everything has got a hash checksum that is not forgeable (try to get something that compiles, does specifically something malicious, and that has the same checksum and size as before).

      And then there are thousands of copies of the entire thing around. I also have one. A simple comparison for equality will work.

    4. Re:sure THESE guys didn't touch the kernel... by Anonymous Coward · · Score: 0

      Yes, I know we are on slashdot, but have you tried reading the article? It is quite clearly explained how they know that in the second link.

      To summarize:
      1. Git checksums each file and each commit using SHA-1. Thus, you can not modify files directly without being noticed.
      2. Each kernel developer with permission to publish to kernel.org works with a single-guy public repository inside kernel.org
      3. Any commit injected directly to their public repositories would be detected the next time that they wanted to push to their repos (big warning sign saying that they will *lose* one commit, when this is *never* supposed to happen to them).
      4. The "3" sign has not happened to anybody.
      5. Therefore, no code messing.

    5. Re:sure THESE guys didn't touch the kernel... by John+Hasler · · Score: 3, Informative

      Because in git, everything has got a hash checksum that is not forgeable...

      And every commit is signed. When the Debian kernel maintainers fetch a new kernel (from Git, not a tarball) they verify the signature on every new commit. The integrity of the Linux kernel does not depend on anything as brittle as a sacred master copy.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    6. Re:sure THESE guys didn't touch the kernel... by F.Ultra · · Score: 1

      Some like Linux does not pull but push. Also in order for git to know which files to send since it doesn't want to send the complete kernel source on every commit it surely performs some check to see which files are modified and if the attackers would have modified any file then it would be flagged then. That and the SHA-1 digest that exists of every commit.

    7. Re:sure THESE guys didn't touch the kernel... by F.Ultra · · Score: 1

      I means some people like Linus

    8. Re:sure THESE guys didn't touch the kernel... by Anonymous Coward · · Score: 0

      Hey, everybody needs somebody!

  7. Comon .... by Anonymous Coward · · Score: 0

    So with some "random" automated exploit/credentials some random "script kid" owned kernel.org?

    Comon Oberheide , they probably used one of your exploit on top of that?

    Busticati .....really.....

  8. this just sounds stupid. by Anonymous Coward · · Score: 0

    if someone wanted to, and were able to, compromise the kernel.org servers.. and they were 'good' do you not think they would be able to make people think it was just script kids? and that they didnt know what they had? it sounds unreasonable to me. you would *think* kernel.org servers would be somewhat secure. you would *hope* they are somewhat secure. is it possible they wanted their crap rootkit to be found to disguise what really occurred? it all sounds pretty shady to me. but what do i know.

  9. Idiots by Anonymous Coward · · Score: 0, Flamebait

    Not the attackers, the people who believe someone hacks a server like that and doesn't know what it is. To me this story means that the people who are responsible for the security of the Linux kernel are easily distracted by planted evidence, which prevents a thorough investigation. If they keep using that machine, the integrity of the Linux kernel is going to be questionable.

  10. Why? by MattGWU · · Score: 1

    Why would the attacks have to look different? Because if somebody wanted to mess with the source, they'd be more sophisticated and use more sophisticated exploits? Like Kaspersky pointed out, if they wanted to mess with the source code, a lot of what they did would have been unnecessary, but whatever initial exploit they used would have still worked! I think the real point is here 'they got in'. Better attackers just mean they wouldn't have discovered the break-in as quickly, and actual damage might have been done. Whether or not the attackers knew what they had is immaterial: the real message here is kernel.org needs to wake up and get serious about security, if any random script kiddie can root them.

    --
    "These people look deep within my soul and assign me a number based on the order in which I joined" --Homer re:
  11. Patching by Anonymous Coward · · Score: 0

    Does think mean kernel.org is not patched on time or there are simply too many vulnerabilities in Linux to keep up? How did the attackers get in? Brute Force? Exploiting some known/unknown vulnerability or reused ssh keys? Social Engineering?

  12. The truth by Iskorptix · · Score: 1, Insightful

    I think the truth is that failers trying to save their asses and trying to make themselves heroes here.

    1. Re:The truth by xushi · · Score: 0

      Failures.

      FAIL!

  13. Spin by 93+Escort+Wagon · · Score: 4, Insightful

    Given that they attackers hacked the server a minimum of 17 days before it was detected, I'm not sure I'm going to buy into a story that makes the attackers sound clueless and the server admins smart and on the ball.

    --
    #DeleteChrome
    1. Re:Spin by microbee · · Score: 4, Insightful

      Yeah, just admit failure and do better next time. No need to blog about how a trivial issue it was.

    2. Re:Spin by Rogerborg · · Score: 4, Interesting

      We totally hadn't detected any intrusion!

      Uh... then we did.

      But we totally haven't detect any meddling with the sources

      Uh...

      --
      If you were blocking sigs, you wouldn't have to read this.
    3. Re:Spin by F.Ultra · · Score: 1

      The Linux kernel source is protected against modifications like this. All they have to do is compare the source with that of any of the kernel devs own repository and see if there is any difference. And there are many people including Linus that have the complete source history on their local machines.

    4. Re:Spin by Anonymous Coward · · Score: 0

      TBH, it doesn't make the admins sound smart and on the ball. But the attackers being clueless is plausible.

    5. Re:Spin by mrmeval · · Score: 1

      It sounds like a brush off of concerns about the source code . I would want theirs nuked and some trustworthy source used to replace it.

      --
      I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
    6. Re:Spin by kangsterizer · · Score: 1

      Yeah, theres a lot of BS going on about this hack. Reading the kernel.org news I feel like kernel.org admins are actually very average (they don't even know how they got exploited) and people seems to try to PR-fix-this.

      There's several posts on the internet about how the GIT repositories could actually have been corrupted and we'll probably _never_ know, despite what GIT/kernel.org supporters might say.

    7. Re:Spin by Anonymous Coward · · Score: 0

      Indeed: http://blackhats.com/infosuck/0x007c.png

      From what I understand chkrootkit can't detect phalanx, which was the kit that was used.
      I could be wrong though, i don't claim to be super knowledgeable in this field.

    8. Re:Spin by fatphil · · Score: 1

      Downmod parent. Hasn't got a clue about linux source code management.

      The reason they've detected no meddling with sources is that they'd need to change it on tens of thousands of machines simultaniously in order to not get found out immediately. Every single change, and some changes are minute, just a single line, is cryptographically hashed. Not just that, but it's on full display in the history. And all of them are signed off by those who approve its inclusion.

      There has historically only been one case that I know of of deliberate broken code being maliciously injected into the kernel tree, but that was done the only way that's possible - the slow and steady inclusion via subsystem maintainers' trees, and finally into the mainline. I.e. not by hacks or scripting or robotic attacks. And, of course, given that I know of it, that was caught.

      --
      Also FatPhil on SoylentNews, id 863
    9. Re:Spin by fatphil · · Score: 1

      Are you saying you don't trust an unbroken sequence of tens of thousands of cryptically secure hashes, serially dependent on each other to prove that the whole tree is identical to what it should be? Care to share what cryptographic insights you have - is your paper going to be published soon?

      Even if you don't, there are tens of thousands of secure sources out there, as every single developer who uses git (which is almost all of them), has the entire repository mirrored, often multiple times.

      --
      Also FatPhil on SoylentNews, id 863
    10. Re:Spin by mrmeval · · Score: 1

      Yo Fanboi, I don't trust spin. I'll trust Linus' dump to github and will trust 'kernel'.org when it scrubs their systems.

      --
      I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
    11. Re:Spin by fatphil · · Score: 1

      A cryptographic hash isn't spin. Linus' repository is exactly as trustable as any other with the same hash, and that includes git.kernel.org's. If you don't trust git.kernel.org, and the hashes match, you mustn't trust Linus' either. You either have no concept of how git works, or you're a loon. Or both.

      --
      Also FatPhil on SoylentNews, id 863
  14. I think most likely... by icongorilla · · Score: 1

    It wasn't until they got into the machines that they realized the Kernel wasn't written in Javascript. "Dammit!"

    --
    The thought of hanging myself at my student loan organization doesn't bug me as much when I think it might make a differ
  15. I'd Still Like To Know... by mgmartin · · Score: 1

    How they got root access after logging in. Was it something simple like a sudo? Was it a known, unpatched kernel vulnerability? Or, was it some new vulnerability current kernels are susceptible to? Last I read, they logged in under a user account, then they got root access.

    1. Re:I'd Still Like To Know... by Anonymous Coward · · Score: 0

      Why is it so surprising? Sounds like the most mundane thing if you pay attention to security mailing lists. (Hint: You wont see linux security bugs hitting the frontpage on slashdot for obvious reasons) Linux has had dozens of privilege escalation vulnerabilities, more so than NT. (Although on windows.. most of the idiots run as admin.. so it isn't required anyway)

      http://www.exploit-db.com/platform/?p=linux

    2. Re:I'd Still Like To Know... by beuges · · Score: 4, Informative

      From what I read, one of the guys with a kernel.org login (HPA, I believe) had his personal machine infected by a trojan. The attackers were then able to login to kernel.org impersonating him. They then used a local-only exploit to get root.

      This is why a local-only exploit is just as bad as a remote exploit. If your machine connects to a network, it has the potential to be compromised by a local-only exploit, by first exploiting a flaw in a completely unrelated program which is accessible remotely. In this case, the "flaw" was the compromised user account. It could have been a buffer overflow in an ftp or web server, which doesn't allow for privilege escalation on its own, but allows arbitrary code to be run as the current user... all the attacker has to do is make that arbitrary code trigger the local-only exploit, and your local-only exploit is now a remote one.

      It's sad that so many people on slashdot keep playing local exploits down, or keep saying things like 'well it doesn't matter if my linux mail program has a flaw - the worst that can happen if I open a dodgy attachment is they wipe out my user directory, the rest of the system is safe'. Nothing is further from the truth. It's harder, yes, but not impossible to chain a bunch of vulnerabilities together so that your local-only exploit becomes remotely accessible.

      This is why Linus doesn't like to classify bugs as security bugs vs other bugs. All bugs are potentially security bugs.

    3. Re:I'd Still Like To Know... by rubycodez · · Score: 1

      some other open source OS put in huge amount of time with the goal of making that impossible, the standard is zero *known* privilege escalation and they will ASAP fix any found. the Linux devs should adopt a similar attitude.

    4. Re:I'd Still Like To Know... by inode_buddha · · Score: 1

      Good points, all. I've been saying this for a while now. You know what's even sadder? The fact that so many commenters can't be arsed to RTFA let alone the links. And even if they do read, the comprehension seems to be lacking. This is why your post is so necessary and good.

      --
      C|N>K
    5. Re:I'd Still Like To Know... by Stupendoussteve · · Score: 1

      Security is not the focus, this has been made clear.

    6. Re:I'd Still Like To Know... by F.Ultra · · Score: 1

      No it's not, he only points out that the so called security people are out of focus. Linus wants us all to treat all bugs equally and he is right because almost any bug can be used to breach the security in some way so there is in reality no clear distinction between bugs and security bugs. It's just that some guy who wants the fame happened to make an exploit that classifies a bug as a security bug.

    7. Re:I'd Still Like To Know... by rubycodez · · Score: 1

      Linus is wrong. he is out of focus. most kernel bugs don't let someone have root privileges. thus security need to be a separate consideration. This kernel.org event should be a wake-up call for him

    8. Re:I'd Still Like To Know... by 0ld_d0g · · Score: 1

      I think that's unfair to Linxu. Devs do fix known vulnerabilities as soon as they can. Yes that "other os" might have had fewer bugs, but then the goals of that project are different.

    9. Re:I'd Still Like To Know... by TheLink · · Score: 1

      That's as stupid as saying every bug in a car should be treated equally.

      For some car flaws you issue a recall and fix it ASAP (e.g. brakes might fail to work). For others you might go "meh" (e.g. indicator lights have visibly different timings depending on whether you signal left or right).

      --
    10. Re:I'd Still Like To Know... by fatphil · · Score: 1

      Root privilege is really not the be all and end all in the grand scheme of things. I tend to view claims that it is as a kind of shibboleth to separate those who know about kernel security, and those who don't. You can guess which of the two classes you've moved yourself into.

      --
      Also FatPhil on SoylentNews, id 863
    11. Re:I'd Still Like To Know... by rubycodez · · Score: 1

      . I have designed and administered Unix and Unix-like systems that were and are entrusted with moving billions of dollars, and I say "Pardon, but your youth, incredible ignorance and lack of experience is showing"

    12. Re:I'd Still Like To Know... by F.Ultra · · Score: 1

      That is not a fact, it simplty means that when the bug was found it was found by someone that had a problem and not by some one who created an exploit. There are many many bugs that when looked upon closed can give root privileges or the possibility to execute code / access privileged memory.

    13. Re:I'd Still Like To Know... by fatphil · · Score: 1

      The fact that after goading you were not able to proffer the nature of the situation to which I was alluding implies most strongly that indeed you do have the gaping hole in your knowledge that I suspected. That's why I didn't spell things out in my previous post. I wanted to offer you the chance of a recovery. Alas, instead, all you could do is respond with a posy of logical falacies.

      So you blew it, you've been found out, your knowledge of unix is clearly at best flimsy. I wouldn't trust you with a handful of liras, let alone a real currency.

      --
      Also FatPhil on SoylentNews, id 863
  16. Feeling better by ChatHuant · · Score: 5, Insightful

    I was concerned about the fact that a high profile like kernel.org site was rooted, but knowing it didn't take a sophisticated and highly knowledgeable penetration team but just a group of bumbling script kiddies makes it all better.

    1. Re:Feeling better by St.Creed · · Score: 1

      Lol... bonus points for excellent use of sarcasm :)

      --
      Therefore, by the (faulty) logic you're using, you're just a cow with a keyboard - osu-neko (2604)
    2. Re:Feeling better by drolli · · Score: 1

      And right now, somewhere... somebody of the highly knowledgeable penetration team says something like "phew i thought these stupid punks get us caught".

  17. Hmmm by Anonymous Coward · · Score: 0

    If they were looking for something to steal, it would be easier to wait until the next release.

  18. Two ways to look at this... by CajunArson · · Score: 4, Insightful

    The first way: Haha, these skiddies didn't have what it takes to effectively hide their cracking.

    The second way: Skiddies were able to crack kernel.org using automated cracking tools just Windows, no evil genius required.

    --
    AntiFA: An abbreviation for Anti First Amendment.
  19. BUT CHA JUST DON'T KNOW, DO YA !! by Anonymous Coward · · Score: 0

    maybe they didn't, but maybe they did !! All Your Bases Are Belong To Us !!

  20. hey there's this OS its supposed to be more secure by lkcl · · Score: 1

    they should run linux on their servers, it's more secure! oh wait... whoops. ho hum, i suppose it's no good saying that they should run a FreeBSD Bastion Server, is it?

  21. Re:The fact that the servers were hacked by Superken7 · · Score: 1

    Another way to look at it: the fact that the administrators found out and admitted getting hacked says a lot about the ability of the administrators.

    I would rather trust these guys than someone who claims to have never been hacked ever.
    Its not like they get hacked all that often, which sure would make them look bad.

  22. They should have been running Windows Server! by blahbooboo · · Score: 1

    This wouldn't have happened if they ran closed source Microsoft Windows Server :)

    It's a joke guys kidding :P

    1. Re:They should have been running Windows Server! by Beelzebud · · Score: 1

      Somebody mod this guy Heretic!

    2. Re:They should have been running Windows Server! by Anonymous Coward · · Score: 0

      Really? You're going to make the obvious and obligatory dig at Windows in this situation? Really? What part of that makes this situation better?

      Most of the posters here are appropriately concerned and getting at the heart of the matter. Although in practice most compromises aren't terribly sophisticated, once you have been rooted it is essentially impossible to prove that the entire system is secure even after recovery. You can get to the level of reasonably sure, 97% confidence level sort of thing, but you can never be 100% sure. Of course that is true of almost any security work anywhere, but...

      If this had happened to Microsoft and the Windows core source code, this community would be ravaging them like a pack of wolves. Suck it up and accept that this was pretty bad.

      Oh, and enough with the comments like "anyone who hasn't implemented 17 factor authentication is just asking to be hacked."

  23. Re:The motive doesn't matter. It's time for action by LordLimecat · · Score: 3, Insightful

    Question, how would OpenBSD prevent them from getting into the server with compromised username and password? Or from running arbitrary code once they do so?

  24. But did they find.. by Fuzzums · · Score: 1

    So they found the SSH Frontdoors, but did the admins find the rest?

    --
    Privacy is terrorism.
    1. Re:But did they find.. by Anonymous Coward · · Score: 1

      Weather or not they found them they are gone. Nuke & reinstall. Nobody running those servers would do anything less, except perhaps restore from backup using trusted media, which is also good.

    2. Re:But did they find.. by Anonymous Coward · · Score: 0

      the admins are still trying to find the SSH frontdoors :p

  25. Re:The fact that the servers were hacked by Anonymous Coward · · Score: 0

    Certainly I agree. Although any modern IDS like Samhain or tripwire would have picked up this attack within one day of occurring and even told you which files were changed. In conjunction with something like Splunk would have provided very robust security auditing tools. In consideration of all these tools that are available, I can not help but to think that this compromise should have never of happened or at least taken 17 days to recognize. Even tools like selinux or apparmor can be very effective at thwarting these attacks. Or how about rate limiting ssh to block brute force ssh attacks...as this was most likely the egress point for this particular compromise.

    I hope these system administrators are reading this because they really need to get a clue.....and to intentionally add insult to injury, evaluate their security best practices.

     

  26. popularity by sourcerror · · Score: 1

    Now Linux is popular enough to have rootkits. This must be the year of Linux on the desktop.

  27. Details by Anonymous Coward · · Score: 0

    Any details on the hack? What port did they use, for example? What service was compromised first?

  28. Whew by Anonymous Coward · · Score: 0

    And most importantly, they didn't find out the Kernel's secret 11 herbs and spices.

  29. old story. by arunce · · Score: 1

    Or so they think.

  30. Re:hey there's this OS its supposed to be more sec by dririan · · Score: 1

    If you have weak passwords, no OS is going to help you. The only thing that helps you there is something like DenyHosts or fail2ban. Not even OpenBSD prevents stupid.

  31. saving face by Anonymous Coward · · Score: 0

    after decades of bashing microsoft security, this story only exists to save face

  32. tripwires by Anonymous Coward · · Score: 0

    so the live servers didn't have something running that checked the hash of the sources every, lets say, a day? why the hell not?

  33. Re:The motive doesn't matter. It's time for action by LordLimecat · · Score: 3, Insightful

    Yes, well everyone knows those kernel.org sysops are a bunch of pushover newbies. Im sure you can do way better with the scope and size of the systems they deal with.

  34. Re:The motive doesn't matter. It's time for action by Slashdot+Assistant · · Score: 5, Funny

    I'd recommend Windows instead of OpenBSD. Sure Windows has had its problems in the past but now with Windows 7 and Norton it's practically impossible to hack my systems. Even the Lunix box I run feels safer when the Windows computer is on the network. I imagine it's the firewall in Windows 7 reaching out in to the network to protect all the computers in my office.

    I've been supporting Lunix and Windows at the enterprise level for many years now. I think its finally time to move away from Lunix. Linus really needs to ask himself where he wants this to go? The kernal is hacked up, probably with viruses hidden in there (we can't be sure). Sorry, I have to say bye bye to Lunix.

  35. Or maybe... by mmcuh · · Score: 1

    ...they were just script kiddies who knew one single method, and thought it would be cool to try it on kernel.org.

    1. Re:Or maybe... by Anonymous Coward · · Score: 0

      oh, that makes me feel so much better knowing that instead of a dedicated, hardcore hacking organization, your soooper-Elite servers just got pwned by some kids with an attack kit.

      Spin much?

  36. DVD backups MUST be made and distributed periodica by Anonymous Coward · · Score: 0

    We need the copies of the source code to be on multiple/hundreds Write Once DVD media. Fact is even if you have a billion computers if they are all vulnerable to the same exploit or _an_ exploit .. it can be compromised in an automated fashion. The source needs to be periodically placed on DVDs.

  37. Which is exactly what I would say... by rocket+rancher · · Score: 2

    ...if I was in charge of damage control at kernel.org. Just sayin'.

  38. Re:The motive doesn't matter. It's time for action by diego.viola · · Score: 0

    Don't move to OpenBSD, improve Linux security instead.

  39. Re:The motive doesn't matter. It's time for action by Anonymous Coward · · Score: 0, Interesting

    You should read this article:
    http://www.h-online.com/open/news/item/Kernel-org-gets-major-system-upgrades-1142346.html

    If that description from late 2010 (less than a year ago!) is still accurate, there is almost no infrastructure at all. In case you refuse to read it for yourself, let me quote to you from it:

    In total the kernel.org infrastructure uses 12 servers worldwide.

    Unless you're a high school kid who has only ever managed a VPS instance running Linux for some shitty Ruby on Rails site, a mere 12 servers should seem like absolutely nothing to you. Most professional sysadmins will manage hundreds to even thousands of times that number of servers.

  40. Re:Obviously by Larryish · · Score: 2

    If a Windows server is hacked, hackers had luck.

    They were lucky it wasn't Linux.

  41. Re:The motive doesn't matter. It's time for action by Anonymous Coward · · Score: 1

    Is this a joke or are you completely clueless?

  42. Re:The motive doesn't matter. It's time for action by RobbieThe1st · · Score: 1, Informative

    He's being funny, in case you can't tell.

  43. Kernel.org may not bother with clean wipe by mindbuilder · · Score: 2

    Disturbingly they seem to have considered not wiping and reinstalling.

    System is being verified from backups, signatures, etc. As of right
    now things look correct, however we MAY take the system down soon to do
    a full reinstall and for more invasive checking.

    (emphasis added) John 'Warthog9' Hawley
    Chief Kernel.org Administrator http://pastebin.com/BKcmMd47

    It appears that the chief kernel.org system administrator is so naive about security that he doesn't even realize the absolute necessity of a full wipe and reinstall after compromise of such an important site. It also appears that there was no routine booting from read only media to check system files and startup scripts for changes. And no daily rootkit scan. If it was me, I would trash the motherboard for fear of BIOS or other firmware contamination. Exploits living on the firmware of network cards and other places have been demonstrated.

    1. Re:Kernel.org may not bother with clean wipe by aegl · · Score: 1

      Perhaps considered - but rejected. www.kernel.org now says:

      "We have currently taken boxes off line to do a backup and are in the process of doing complete reinstalls."

    2. Re:Kernel.org may not bother with clean wipe by ToddInSF · · Score: 1

      That's the first thing I would do, is a compare from a trusted backup. How exactly else are you going to discover precisely what it is they've done to your system ? I like documenting the details. (Then I'd nuke and restore)

  44. Re:The fact that the servers were hacked by inode_buddha · · Score: 1

    It wasn't brute-forced. A user with commit privs had his work laptop trojanned. Yes, I actually was reading kernel.orgs emails when it happened. and all these other articles.

    --
    C|N>K
  45. Re:The fact that the servers were hacked by baegucb · · Score: 1

    They need to get their MCSE certification updated ;)

  46. Main website tarball by David89 · · Score: 2

    I still haven't managed to figure out if the tarball you download from the main page has been compromised.. Yes GIT saved everybody and all, but they seem to not want to say anything about the front page tarball, makes me curious

    --
    Track IP - Remotely track the IP address of a machine via email or MySQL.
    1. Re:Main website tarball by John+Hasler · · Score: 1

      I still haven't managed to figure out if the tarball you download from the main page has been compromised.

      It's been replaced, of course.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
  47. Re:The motive doesn't matter. It's time for action by rubycodez · · Score: 2

    I'm curious, once inside an OpenBSD server as normal user, what rootkit would they use instead of Phalanx to elevate privileges? The OpenBSD teams has expended a lot of effort to combat such a thing.

  48. Re:The motive doesn't matter. It's time for action by gnapster · · Score: 1, Funny

    This is why I never comment until the mods have had a chance to let me know whether I should be laughing.

  49. Re:hey there's this OS its supposed to be more sec by rubycodez · · Score: 1

    but how about that "privilege escalation' business that Linux couldn't prevent?

  50. Re:DVD backups MUST be made and distributed period by rubycodez · · Score: 1

    oh boy, then we can have millions of DVD with compromised code on them that everyone thinks is the golden standard. you are a genius.

  51. Re:hey there's this OS its supposed to be more sec by F.Ultra · · Score: 1

    Thats the interesting one, hopefully we will get full details about that one soon.

  52. You can't conclude that from the data .. by AftanGustur · · Score: 2
    Usually advanced attacks are done by multiple teams. I.e. the Analysis, Compromise and exploit parts might all by done by different teams, and there may even be multiple teams for each task.

    So when you find a backdoored SSH and a Linux rootkit on your server you might only be seeing the tools from one team who got lucky.

    --
    echo '[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq' |dc
    1. Re:You can't conclude that from the data .. by Anonymous Coward · · Score: 0

      That is one of the reasons why it is prudent to assume the worst-case that there is something else, undetected in the machine as well.

      This is why after a break-in the proper operating procedure calls for erasing everything and a complete system re-install. Of course, if your hardware has been trojaned by the first attack (how is an exercise left to the reader), it will do you no good. So you should basically get new hardware too... then re-install and restore from known good backups.

  53. No, it's not just as bad by dutchwhizzman · · Score: 3, Informative

    It is bad, but there is a mitigation. It requires two steps in stead of just one to get root access. Given the fact that you usually try to layer your security and have logging/accounting and tripwire type of alarms set up, you have a bigger chance of catching intruders before they get access to anything really dangerous.

    If you admin thousands of systems, used by many more users, you will get compromised accounts, on a fairly regular base. Those accounts in general will be used to try and get root access. By setting up logging, accounting and various other tools, you tend to get a lot of the compromised accounts to trigger an alarm before they get root, or run their code as user. With remote root vulnerabilities, you get none.

    Any privilege escalation is something to be serious about, but crying wolf that local exploits are just as bad as remote, will make less people take you serious.

    --
    I was promised a flying car. Where is my flying car?
  54. Trusting Trust has a counter... by Sits · · Score: 1

    If you are posting the seminal Trusting Trust, you should also post Countering Trusting Trust to balance it. It is possible to escape the trojaned compiler problem through the use of double diverse compilation.

    1. Re:Trusting Trust has a counter... by Samantha+Wright · · Score: 1

      There are, of course, situations where that wouldn't work. Consider, for example, the actual scenario in Trusting Trust, where all copies of compiler version foo are infected: foo-1 would be expected to produce different results, as every new version of the compiler should include new optimisations. For a large enough file, this is essentially prohibitively impossible. (Relatedly, while clang has been able to compile Linux for almost a year now, its code output is going to be radically different to the point of uselessness anyway.)

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    2. Re:Trusting Trust has a counter... by fatphil · · Score: 1

      "its code output is going to be ..."

      irrelevant!

      That's where *double*-compilation comes in. You use a trusted compiler to compile the no-explicit-evilness-required gcc, to generate a trusted gcc (you can audit the gcc source, and you trust the bootstrapping compiler). Then use trusted-gcc to compile linux. Finally compare that against the linux built by evil-gcc (which might be no-explicit-evilness-required gcc built by evil-gcc).

      Both times, it's gcc's output you're comparing. The output of the trusted bootstrap compiler merely an intermediate helper.

      --
      Also FatPhil on SoylentNews, id 863
    3. Re:Trusting Trust has a counter... by Samantha+Wright · · Score: 1

      Ah, good call. Bravo.

      --
      Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
    4. Re:Trusting Trust has a counter... by fatphil · · Score: 1

      I notice the GGPP did say "double diverse compilation" which perhaps tricked you. The origionally coined term is "diverse double-compiling". Maybe the word-order changed the emphasis and thence the interpretation.

      --
      Also FatPhil on SoylentNews, id 863
  55. You can trust this one though... by ToddInSF · · Score: 1

    http://www.edithex.com/











    The cloud is really good for some things...

  56. Now do you know why we want optical drives? by Anonymous Coward · · Score: 0

    Another thread about the $200 PC complained about an optical drive. At least if I have a DVD of a known, good kernel I can work from there.

  57. Detection?? by Anonymous Coward · · Score: 2, Interesting

    With Chkrootkit having seen its last update sometime 2009 and RK Hunter also being on the backburner, how does one even check these days for rootkits and other nasties like it? Suggestions?

  58. Re:hey there's this OS its supposed to be more sec by dririan · · Score: 1

    Still could be some dumbass with sudo, either set to use the same (weak) password, or they were logging in directly as root (which I sure hope not, but see above about fixing stupid).

  59. A real risk here. by John+Hasler · · Score: 2

    The major distributions are safe but some doofus at somewhere like Cisco or Belkin (or more likely their Chinese contractor) may have obliviously downloaded a compromised tarball and shipped it on a million routers.

    --
    Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    1. Re:A real risk here. by Anonymous Coward · · Score: 0

      if i were the hacker that might be a worthwhile target. no point compromising distros cos there's too many people watching over them, but what if i could create my own botnet from millions of routers... hmm who would i ddos first i wonder?

      even better than a "lazer"

  60. Let this be a lesson by Foxhoundz · · Score: 1

    Let this be a lesson that there is no such thing as a "safe" operating system. I find it rather amusing that they're downplaying this breach instead of really questioning how one would unknowingly hack kernel.org, which should have been sufficiently protected given the material it hosts.

  61. Re:The motive doesn't matter. It's time for action by Anonymous Coward · · Score: 0

    My desktop linux installation probably has more than 12 servers and a number of daemons too!

  62. linux.org is handled by noob admins? by Anonymous Coward · · Score: 0

    Look at the page source of the "We are returning soon" page.

    They just must be kidding.

    The page consists of one single line with a big text.

    They used an:
    - windows-only
    - freeware
    - outdated
    - WYSIWYG in a very loose meaning
    "editor"

    which produced an
    - HTML 3.2 sourcecode

    with
    - FONT tags

    What the ....?

  63. My bad by Sits · · Score: 1

    Thanks for correcting me!

  64. Re:The motive doesn't matter. It's time for action by unity100 · · Score: 1

    'the firewall in Windows 7 reaching out in to the network' part was hilarious.

  65. Re:The motive doesn't matter. It's time for action by monkyyy · · Score: 0

    its a joke, i can tell by the pixels, as i have seen a few jokes in my day

    that and they knew who linus was, but spelled linux, "lunix" 4 times

    --
    warning pointless sig
  66. Re:Source code leaked by Anonymous Coward · · Score: 0

    I don't think they stole anything, git wouldn't let them.
    The Linux secrets are safe.

  67. Encrypted Sources by Anonymous Coward · · Score: 0

    Kernel.org says they encrypt the modifications well, and that any changes to source code that would have been made (old or new) will not go unnoticed. I don't know how true it is, but I'm willing to bet it's highly unlikely this group would have done anything, probably just looking for bragging rights like the guy who hacked Sarah Pailin's email. He just used known info about her to reset her password and he got jailtime for it. I think it's safe to say that if anything serious had happened, they would have been smart enough to remove the rootkit after setting up the SSH backdoors, allowing them to go unnoticed. They probably didn't know what to do with the site after they hacked into it and were caught before they could come up with something "script kiddie" to do.

  68. Computer Security 101? by Anonymous Coward · · Score: 0

    So, why didn't the system:

    1. Wait one second between login attempts? It would have stretched out the 32k tries significantly.
    2. Rooting should at least send an SMS message back to the owner for an authorization code, or request a key off a one-time pad. See what gmail does.
    3. Why weren't the login attempts logged and flagged and reported?
    4. Scan itself and flag significant or specific changes?