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.

127 of 183 comments (clear)

  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 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.

    3. 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
    4. 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
    5. 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 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.

    6. 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!
    7. 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.

    8. 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.

    9. 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.

    10. 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.

    11. 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.
    12. Re:and after reading the articles.... by Tubal-Cain · · Score: 1

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

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

      prior to 3.1-rc3?

      after 3.1-rc3.

    14. 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
    15. 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?

    16. 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".

    17. 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.

    18. 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
    19. 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."
    20. 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
    21. 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.

  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 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.

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

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

    4. 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.

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

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

    6. 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.

    7. 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.
    8. 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. Nonsense! by Anonymous Coward · · Score: 5, Funny

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

  5. 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: 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.

    3. 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.
    4. 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.

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

      I means some people like Linus

  6. 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:
  7. 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.

  8. 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.

  9. 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.

  10. 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 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
    5. 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.

    6. 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
    7. 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
    8. 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
    9. 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
  11. 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
  12. 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 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.

    2. 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.

    3. 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
    4. Re:I'd Still Like To Know... by Stupendoussteve · · Score: 1

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

    5. 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.

    6. 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

    7. 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.

    8. 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).

      --
    9. 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
    10. 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"

    11. 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.

    12. 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
  13. 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".

  14. 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.

  15. 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.
  16. 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
  17. 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?

  18. 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.

  19. 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.

  20. 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!

  21. 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?

  22. 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.

  23. popularity by sourcerror · · Score: 1

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

  24. 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)

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

    Or so they think.

  26. 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.

  27. 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.

  28. 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.

  29. 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.

  30. 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'.

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

    If a Windows server is hacked, hackers had luck.

    They were lucky it wasn't Linux.

  32. 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?

  33. 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.

  34. 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)

  35. 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
  36. 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
  37. Re:The fact that the servers were hacked by baegucb · · Score: 1

    They need to get their MCSE certification updated ;)

  38. 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.
  39. 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.

  40. 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.

  41. 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?

  42. 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.

  43. 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.

  44. 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
  45. 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).

  46. 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.

  47. 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?
  48. 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
  49. You can trust this one though... by ToddInSF · · Score: 1

    http://www.edithex.com/











    The cloud is really good for some things...

  50. 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?

  51. 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).

  52. 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.
  53. 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.

  54. My bad by Sits · · Score: 1

    Thanks for correcting me!

  55. 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.