Slashdot Mirror


Gentoo rsync Server Compromised [updated]

costela writes "LWN points out that the Gentoo project fired out an alert about one compromised rsync server." From the message itself: "However, the compromised system had both an IDS and a file integrity checker installed and we have a very detailed forensic trail of what happened once the box was breached, so we are reasonably confident that the portage tree stored on that box was unaffected." Update: 12/03 22:54 GMT by T : One more damage report: gibson writes "The Free Software Foundation recently discovered that its software host site was compromised a month ago. The compromise appears to be the same as the recent attacks on the Debian servers. The site is shut down until Friday while they install replacement hardware and verify the authenticity of the hosted source code."

19 of 600 comments (clear)

  1. All this bad news. by iantri · · Score: 4, Interesting
    Lately there has been a lot of bad news about Linux.. SCO, Red Hat's discontinuing of the Red Hat Linux line, the Debian server compromise.. now this.

    A conspiracy theorist could have a field day..

    Now where did I put my tin-foil hat?

    1. Re:All this bad news. by bytesmythe · · Score: 4, Interesting
      Don't forget when gnu's servers were compromised a few months back...

      A conspiracy theorist could have a field day..

      Is it sad the first thing that crossed my mind was "lots of well-timed security breaches... Microsoft may be behind them all"? ;)

      --
      bytesmythe
      Hypocrisy is the resin that holds the plywood of society together.
      -- Scott Meyer
  2. Re:Wanna bet... by drinkypoo · · Score: 4, Interesting

    Is it even a linux box? Just because it's part of the gentoo rsync respository network doesn't mean it's running gentoo, or indeed linux.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  3. Deliberate attacks? by Realistic_Dragon · · Score: 4, Interesting

    I just threw away my tinfoil hat and made a new one out of steel. With a spike on top.

    Once is happenstance, twice is coincidence, three times is some one playing silly buggers.

    (Kernel.org, debian.org, gentoo.org - all in the same two months?)

    --
    Beep beep.
    1. Re:Deliberate attacks? by EvilTwinSkippy · · Score: 3, Interesting
      You see it every few years. I remember back in '98 everyone was getting rooted because of bugs in named. Later it was Apache. They come in waves as the crackers figure out new patterns of exploits, and like all of the other "fad" break-ins they are going to come to a crashing end after a quick code review.

      Whoever is behind this is showing off for sure.

      --
      "Learning is not compulsory... neither is survival."
      --Dr.W.Edwards Deming
  4. On the bright side... by Chalybeous · · Score: 4, Interesting

    ... they DO have records of what was done and were able to isolate it pretty quickly. IMHO, that's probably saved them a lot of trouble.
    Whether it's because the cracker was sloppy or inexperienced, or because the Gentoo team have good server security, I can't say - but it seems they were pretty lucky compared to Debian.

    What baffles me is why crackers go after targets like this. I can understand anticapitalist stuff, but my intuition says someone trying to crack a *nix server and damage a distro must have detailed knowledge of *nix systems - and is therefore likely a user of an OpenSource operating system.
    Is that guess a little too far off base? If so, what's your take?

    --

    "It is dark. You are likely to be eaten by a grue." -- Zork

  5. Firstly, get used to it by Nijika · · Score: 5, Interesting
    These things just happen. What I'm more impressed with is the detailed reports of the breakins. I mean you're going to have compramises, if you're on the Internet, try as you might to stop them dilligently. The important thing now is making sure you know when somebody's on the inside when they shouldn't be. And even more props if you make the knowledge public so that it gets harder and harder to break in.

    To those who aren't intentionally trying to troll.. and computer journalists;

    Yes, Linux servers can be compramised.

    No, the sky is not falling.

    No, it's not the end of Linux or open source.

    --
    Luck favors the prepared, darling.
  6. How about a logging trail by phorm · · Score: 4, Interesting

    Leading to the hacking machine? Fixing the compromises on major linux servers is one thing, but why has nobody mentioned finding the perpetrators?

    Anything in these logs on the source of the hacks? Probably another hacked machine, but perhaps it can be traced to a source.

    Also, in any package that were compromised or attempted at, what is being inserted? Perhaps we can use it as a honeypot to catch a hacker?

    Perhaps 2.4.23 should have a kernel allowance for a log that tells when somebody was trying to use the =2.4.22 exploit (or does it)?

  7. Information wants to be free. by pete-classic · · Score: 4, Interesting

    Does anyone have an old, cached copy of the DNS record for rsync.gentoo.org?

    Diff it against what's out there now and we're only a quick trip to http://arin.net/whois from knowing who it was . . .

    -Peter

  8. Re:well... by Anonymous Coward · · Score: 5, Interesting

    And what if syncing to the server installed a compromised "emerge" program?

  9. What OS was the compromised box running? by Zapdos · · Score: 4, Interesting

    One of the servers that makes up the rsync.gentoo.org rotation was compromised. This box is not an official Gentoo infrastructure box and is instead donated by a sponsor. The box provides other services as well and the sponsor has requested that we not publicly identify the box at this time.

    While it may run Gentoo, it is not stated as such, and could be very well be something else.

  10. Conspiracy, FUD, and Open Source by Jumper99 · · Score: 5, Interesting

    So I've been lurking around here long enough to spot certain trends. (Warning: generalizations ahead)
    OSS advocates love to hate Windows
    OSS advocates gloat when a new hole turns up in Windows
    OSS advocates point to the number of worms, virus, etc in Windows and say, "Never us"

    Then several OSS distros have a security breach in a short space of time.

    OSS advocates respond with "Must be a conspiracy against us by some evil entity", "Hey, look how quick we caught it", "It would have been much worse with Windows".

    Time to face facts gents. Windows is attacked FAR more than OSS. Why? Well, yes, it is full of holes. But downtown Philly is riddled with abandoned houses with no locks on the doors but they never get broken into. Why? No value in doing so. Not enough damage, headlines, misplaced glory, etc. But the main reason is that it is the dominant OS out there. I fear that we will see more and more attacks against OSS with it's growing popularity. If we all get our wish and 'nix takes over Windows dominant market position and is running on 90% of desktops, you will most likely find it a target for constant attacks like Windows has now.

    We all know in order for 'nix to make it to the desktop, it has to become WAY more user friendly. Can't have Grandma trying to recompile the kernel now can we? User friendly unfortunately translates into users being able to do things that comprise security. Like opening attachments, downloading Trojans, etc. Then the great security built into the OS goes right out the window. no pun intended).

    So before you all start crying about conspiracies, et al, just remember that we all may be victims of our own push to make the 'nix stuff more popular. By bragging about how secure it is, we just may be attracting the type of attack that is more sophisticated then the script kiddies attacking Windows. I imagine it's cool to brag to your friends that you broke into a Windows box. I imagine it's much cooler to brag that your rooted a Linux distro. Badge of honor and all that.

    --
    The opinions expressed here are not mine, but those of these dang voices in my head.
  11. Re:well... by unixbob · · Score: 4, Interesting

    Even if you didn't RTFA, at least RTFP.

    However, the compromised system had both an IDS and a file integrity checker installed

    The file integrity checker will have provided a list of the files that changed and if emerge was compromised then Gentoo would have let you know. After all, they haven't kept the compromise quiet so presumably they are informing users to let them know the Gentoo are on top of things.

    --
    The Romans didn't find algebra very challenging, because X was always 10
  12. Re:well... by Amgine007 · · Score: 3, Interesting

    And who doesn't see this coming again? All you need is a box with some bandwidth, and you can become a gentoo mirror.

    Now, you want to compromise every gentoo box on the planet? Edit any ebuild you want to add your compromise. Make it break out of the gentoo sandbox and erase that system straight from the ebuild. Or make it install a tainted binary. Whatever, just be sure to re-hash your ebuild in the Manifest, and wait for some poor suckers to download it. Given the frequency with which gentooer's rsync, this should happen very quickly.

    There is abosolutely _ZERO_TRUST_ in the gentoo system, and it is frightening how easily a rsync mirror could abuse whatever clout it has to taint a significant number of hosts.

    The solution for this is signed digests and shared trusted gentoo keys, but this is still a ways off.

  13. I'm reminded of a cliche... by acidtripp101 · · Score: 3, Interesting

    The death of one is a tradegy, but the death of millions is a statistic

    For all of you that are curious, this isn't a BSD troll (although it could be...).
    My point here is that whenever a larger *NIX server is broken in to, there are ALWAYS people that comlain about "the insecurity of *NIX". Well, when ONE large *nix server is broken in to, it makes it to the front page of slashdot, whereas blaster/sobig/etc usually get a story or two.
    This is where the quote above comes into play.
    Linux might look insecure, but that's because we usually hear about breakins on a 1 server basis. When we here about Windows, it's usually in the HUNDREDS OF THOUSANDS (if not more). If there was a slashdot story for every one of THOSE servers, then it would appear the way it actually is.

    --
    Not Free(as in beer). Free(as in "I'm free to beat you over the head for being a dumbass")
  14. Re:Debian, Gentoo.... who's next? - OpenBSD ??? by rosie_bhjp · · Score: 4, Interesting

    You'd think but www.openbsd.org doesn't run OpenBSD. Here's a link that explains why.
    In fact, just last year ftp.openbsd.org did get compromised!

    --
    A radio maverick jumps to internet only. The Future of Rock n Roll
  15. How about spammers? by swb · · Score: 4, Interesting

    If you buy the idea that spammers are behind many of the recent worm/viruses, designed to turn machines into spam zombies, it's also probably reasonable to conclude that Windows isn't exactly a reliable platform to trojan; I'd bet a lot of trojans fail to infect properly simply due to Windows problems. And then there's the problem AV software, many of the machines being behind firewalls/NAT and being unreachable. And then there's people turning their PC's off when they don't use them.

    OSS machines, however, are a much more reliable computing environment, meaning that any trojans are actually like to work, and work well. And I'd also wager that many OSS machines are used AS firewalls or bastion machines, and if compromised are easily accessable for spamming or use as stepping stones to other machines. And many of these machines are always on -- you don't have to worry about lack of reliability from disabled machines.

    This makes more sense to me than any other conspiracy.

  16. Savannah.gnu.org was hit as well by presroi · · Score: 4, Interesting

    http://savannah.gnu.org/statement.html

    On December 1st, 2003, we discovered that the "Savannah" system, which is maintained by the Free Software Foundation and provides CVS and development services to the GNU project and other Free Software projects, was compromised at circa November 2nd, 2003.

  17. I'm going to get trolled for this... by reconbot · · Score: 3, Interesting

    But I'm glad that there has been so many attacks against linux and other oss projects.

    Kernel.org, debian.org, gentoo.org Gnu.org All of them had security holes and now those holes are plugged.

    I used to run a few servers. Mostly web-servers, but I had a few for mail and other things. Almost every single one was hacked all in the same 2 month period. I had kept up with updates and I figured I was secure. If I wasn't hacked I would have never known that I wasn't secure and I could have been seriously screwed down the line. It was a much needed eye opener.

    --
    I'm just this guy, you know?