Slashdot Mirror


Linux Kernel Exploit Busily Rooting 64-Bit Machines

An anonymous reader writes "Running 64-bit Linux? Haven't updated yet? You're probably being rooted as I type this. CVE-2010-3081, this week's second high-profile local root exploit in the Linux kernel, is compromising machines left and right. Almost all 64-bit machines are affected, and 'Ac1db1tch3z' (classy) published code to let any local user get a root shell. Ac1db1tch3z's exploit is more malicious than usual because it leaves a backdoor behind for itself to exploit later even if the hole is patched. Luckily, there's a tool you can run to see if you've already been exploited, courtesy of security company Ksplice, which beat most of the Linux vendors with a 'rebootless' version of the patch."

97 of 488 comments (clear)

  1. But wait by drinking12many · · Score: 3, Insightful

    I thought only windows got exploited this way.... oh thats right All OS's do.

    1. Re:But wait by similar_name · · Score: 3, Insightful

      Ah if that is true then it only means Linux is more popular that Apple. Zing.

    2. Re:But wait by IICV · · Score: 5, Informative

      It's a local user privilege escalation exploit. Every OS has those. What it means is that if someone can get in to your computer as a local user (or gain control of a process that runs as a local user, such as the web server process), then they can gain root access to your system.

      However, the first step - getting in as a local user - is really really hard on most servers. Unless you're handing out local user accounts to people left and right (like a university cluster or something), it's going to be nearly impossible for Joe Random Hacker to get control of a local user account.

      You know how it's generally held to be true that if you have physical access to a running machine, the only thing stopping you from getting root access to it is time? Well, the next step up (in terms of difficulty) is not having physical access, but having access to a local user account.

      The exploits that work on Windows, on the other hand, are ones where someone who doesn't even have local user privileges - who's just looking at your website - can get root access, like the one Slashdot posted here.

    3. Re:But wait by man_of_mr_e · · Score: 5, Insightful

      Uhh.. dude. Seriously. Did you even think about this?

      Your web browser runs as a local user. If there is a flaw in your web browser (and all of them have had plenty), then they can use that flaw, just by looking at a web site, to gain root access to your machine using this vulnerability.

      So yes. This *IS* the kind of flaw that just looking at someones web site can exploit, if they can also attack your web browser (which is typically pretty easy to do as most people aren't always up to date).

    4. Re:But wait by man_of_mr_e · · Score: 4, Insightful

      What part of Web *BROWSER* did you not understand?

      I said nothing about a server. Even so, you don't need a shell to execute arbitrary code. You just need to be able overflow a buffer or some other kind of attack. A shell is meaningless.

    5. Re:But wait by Edzilla2000 · · Score: 4, Informative

      You mean, like the iphone and the pdf exploit that allowed any website to root it?

    6. Re:But wait by TheRaven64 · · Score: 4, Funny

      No, Apple devices do not have security vulnerabilities to exploit. They do sometimes have remote-user-friendly jailbreaks, but that's an entirely different thing.

      --
      I am TheRaven on Soylent News
    7. Re:But wait by Edzilla2000 · · Score: 3, Insightful

      How exactly do you know it was never exploited?

    8. Re:But wait by Lumpy · · Score: 2, Funny

      I agree, the web browser is highly insecure. Anyone that cares about security will not run one.

      --
      Do not look at laser with remaining good eye.
    9. Re:But wait by CarpetShark · · Score: 2, Funny

      What part of Web *BROWSER* did you not understand?

      IE's rendering engine? ;)

    10. Re:But wait by owlstead · · Score: 4, Insightful

      As a home user, I'm always a bit aghast when people determine that preventing access to root is my biggest priority.

      If they've got access to my browser, this means that they now have access to all of my documentation, and have the ability to run programs (e.g. through my .bin and .profile files) including full access to the internet.

      I mean, they've got my data, they've got the power to run applications and they've got full internet access. I'm personally not that worried about root access - if they break through the browser barrier I'm basically f*cked already.

      (yes, yes, I know, SELinux and such could protect me if I configure them correctly. Not even I can easily do that however, and nobody that I know would go that far).

    11. Re:But wait by ultranova · · Score: 2, Insightful

      Even so, you don't need a shell to execute arbitrary code. You just need to be able overflow a buffer or some other kind of attack.

      Yeah. If only we had some way to prevent that - some kind of programming language feature where all buffer accesses were automatically checked by the machine. But Real Men Manually Manage Memory, and usually badly.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    12. Re:But wait by bonch · · Score: 2, Insightful

      Yeah, let's ignore public market share figures saying otherwise.

    13. Re:But wait by owlstead · · Score: 3, Insightful

      Yeah, super-easy. Just learn YET ANOTHER fucking configuration file setup, figure out why usr.bin.firefox is in the /etc/apparmor.d/disable folder, figure out that you have to use the "enforce" command line utility, figure out why that does not change any status for firefox and figure out why the fuck I am bothering in the first place. And that for something for which I wonder if it is still maintained at all. Reading the FAQ was interesting, but do you really want users to care if the system uses inodes or paths? More to the point: *should* users know that kind of crap?

      Common guys, when are you going to learn that this way of handling systems is something for sysadmins that care to know what the system does? I don't have the time to go into this, let alone prove that it actually works for my setup.

      Thanks for pointing out the app, but I'll pass.

  2. Is Slashdot advertising now? by fluffy99 · · Score: 4, Insightful

    Why does the summary and articles read like a paid advertisement for Ksplice?

    1. Re:Is Slashdot advertising now? by tomhudson · · Score: 5, Interesting

      Because the article is alarmist bs? You are probably NOT being rooted even as you read this. Every ksplice story slashdot has carried has turned out to be no big deal. I'm going to ignore it, based on their previous performance.

    2. Re:Is Slashdot advertising now? by clang_jangle · · Score: 4, Funny

      Because the article is alarmist bs? You are probably NOT being rooted even as you read this.

      ***Ding ding ding***

      We have a winner -- Don Pardot, tell Ms. Hudson what she's won!

      --
      Caveat Utilitor
    3. Re:Is Slashdot advertising now? by tomhudson · · Score: 4, Insightful
      iWeb caught it running on ONE shared-hosting server. Are you running a publicly-facing shared-host serveer? No? Then don't worry about it, and when your distro comes out with a new kernel, just update.

      Ksplice are attention whores.

    4. Re:Is Slashdot advertising now? by inflex · · Score: 5, Insightful

      Because sensationalism sells and best of all, people on the other side of the fence (eg, MS) can then link to the article as way of providing "proof" of how insecure Linux really is. Facts be damned, let's just spray some more fear-mongering around and scare the dillys out of every person. It's just not a /. story anymore unless it's an advert or traffic-whore.

    5. Re:Is Slashdot advertising now? by Arrepiadd · · Score: 5, Informative

      Because Ksplice relied on the fact that the Slashdot editors don't edit anything to have their advertisement pass as an important story?

    6. Re:Is Slashdot advertising now? by X0563511 · · Score: 2, Insightful

      Yea, and guess what? When someone breaks into $LAME_PHP_CODE and runs something, that something is running locally, no?

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    7. Re:Is Slashdot advertising now? by bill_mcgonigle · · Score: 2, Insightful

      Why does the summary and articles read like a paid advertisement for Ksplice?

      Probably because the Ksplice guys offer a solution to a problem for admins who have standalone servers that can't be rebooted and nobody else does.

      I don't understand the Ksplice hate here - they're filling a niche. I'd advise my clients (should I slashvertize too?) to instead go with a redundant clustered solution, preferably with automatic failover and/or live migrations of vm's so reboots don't hurt. But, that's more expensive than Ksplice, if really all you need is a single server (there being other benefits to clusters, naturally, but they do cost more) so it's not the best solution for everybody.

      Either is better than staying unpatched if you have folks using your machines who don't deeply understand security. One buggy cgi and a local root exploit makes your day pretty rotten.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  3. Oh Noes by symbolset · · Score: 5, Insightful

    Yes, there's an available rights escalation vulnerability in recent Linux Kernels that's best patched by updating your system with the latest updates. The breathless nature of the fine summary betrays an eagerness to get Linux admins to click the links before they've done so. I'd rather not. Social engineering is such a powerful exploit mechanism after all.

    The Windows geeks obviously will want to paint this as a native Linux vulnerability that they don't have - and it is marginally true. That's fine - but it's an escalation bug, not a remote root, and they've several dozen remote root bugs to close before they point fingers.

    --
    Help stamp out iliturcy.
    1. Re:Oh Noes by Anonymous Coward · · Score: 2, Insightful

      The Windows geeks ... they've several dozen remote root bugs to close before they point fingers.

      Care to point them out?

    2. Re:Oh Noes by symbolset · · Score: 3, Insightful

      >Care to point them out?

      No.

      I don't want them fixed. I am aware of several dozen remote root exploits for Windows and am sure there are hundreds I'm not aware of. But I don't have to prove it. I can say it, and Microsoft could sue me. Between the time they sued me and the time we got to court they would have to span two years of updates, in which they would have to admit several dozen remote root exploits and concede their case. They are there, and if you trawl the darker corners of the Internet you can find them. It's been twenty years and I see no evidence that Microsoft is even interested in pursuing this level of discovery - and that says a lot.

      I want these faults to be exploited over and over. I want business and government to suffer until they see that this is crazy. I want them to find the answer by themselves because obviously they won't listen to me, though we've all tried to tell them many times. I want these IIS .NET websites to divulge the financial details of their members, and make them suffer, because that is the only way they will learn. Yes, some bad guys will turn a profit in the interim, which is a bad thing, but there's some pain involved in educating the fool.

      If you want a secure desktop you don't consider Windows first, second, third or ever. You dismiss it out of the gate. Your proper choices are OS-X, Linux and BSD. OS-X is fine for general use, especially now that you can get Photoshop and AutoCad for it. Linux is cool for office staff - it includes office software. BSD is for the finance department and other paranoid people because the feature that can't be implemented securely in BSD won't be implemented in any serious distribution. If the question is utility versus security, the BSD community would rather have security.

      But no, your question is "do you care to point these vulnerabilities out". No. No I don't. They're as plain as day for anyone who honestly looks. You can find them if you want to. If you don't see them I have to ask why? Why do you not see them? The only possible answer is that you don't want to.

      --
      Help stamp out iliturcy.
  4. EH by Anonymous Coward · · Score: 4, Insightful

    This is a local exploit so I'm not horribly concerned and here is why.

    You should always treat your systems as if an exploit already exists for both remote and local connections.

    The systems I maintain are part of a bit of an elaborate network. There is a huge investment in controlling incoming and outgoing traffic as well as managing who actually has access to systems. While a local exploit a big deal it's not like there are a great number of places for users to inject this code. If someone could compromise an input vector and piggyback the exploit that still wouldn't get them very far. In fact, without knowing key details regarding the network infrastructure they would simply nab a host that could not reach the outside world.

    With that said we do have a bit of reliance on lbs, traffic inspection, firewalls and a good bit of monitoring equipment. However, there is a solid investment in specific purpose network and security protocols to accomplish these goals. In a bit of a cheaper shop I'm wondering what others do to maintain security and get some of the same tools. (I'm being very vague about our setup intentionally, but there have to be some decent foss network tools as well).

    1. Re:EH by GNUALMAFUERTE · · Score: 4, Insightful

      THIS ^^^^^^

      I understand why you are posting as AC and being vague about it, I'm fucking paranoid about revealing details of the entrails of my network too.

      People don't understand how security works. If I told you the alarm in my office will fail to detect movement in zone 7 if you do X and Y, would you say that my office is absolutely compromised? No. I still have a security guy, bars, security doors, CCTV, and most things of real value inside is doubly secured (source code is encrypted, money is in the safe). A simple glitch doesn't mean I'm getting robbed.

      The problem is that there are many admins out there that do it by the book, and just think that patching systems is enough. You have to work with the OS to keep it secure, not just rely on it. Of course, securing a platform like windows is fucking impossible, that's why we don't use it (not even in the desktops). But if you have a reasonably secure OS, you have to use the rest of your architecture plus some level of monitoring and log-watching to keep things safe.

      --
      WTF am I doing replying to an AC at 5 A.M on a Friday night?
  5. *Yawn* Local Root Exploit by Greyfox · · Score: 4, Insightful

    If hostile users have local access, you're pretty much boned anyway.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    1. Re:*Yawn* Local Root Exploit by Anonymous Coward · · Score: 5, Insightful

      This doesn't require being physically close to the computer. For example, a web hosting company might give people limited permission ssh accounts on a web server, and the people could then use this exploit to get root.

    2. Re:*Yawn* Local Root Exploit by mlts · · Score: 4, Insightful

      Pretty much Greyfox sums it up right there. The days of having hundreds to thousands of users with shell access on a university or public access machine are long gone. Instead, the focus of security has moved from keeping users out of root [1] to keeping people from getting to the machine in the first place, and if they get to the machine via a networking protocol, not being able to execute code in any meaningful context on the machine.

      The only time I'd worry about this is if someone could get a shell or execute code in an application's context (say they manage to do a buffer overrun and are able to stick a user shell on a port, for example.) However, this is what AppArmor and SELinux are designed to stop anyway, so even with root context, and attacker is limited to what they can do.

      [1]: This isn't to say that user to root priv exploits are something to be completely neglected, of course.

    3. Re:*Yawn* Local Root Exploit by mysidia · · Score: 3, Informative

      The exploit in question actually includes a SELinux bypass. SELinux and AppArmor are not as great as you think; they are understood well enough that hackers can defeat them, and they are deployed on enough systems that hackers write their exploits so these protections are defeated.

    4. Re:*Yawn* Local Root Exploit by langelgjm · · Score: 5, Informative

      The days of having hundreds to thousands of users with shell access on a university or public access machine are long gone.

      What makes you say that? All of the three universities I've been at in the past eight years have provided shell access for all students and faculty to at least one cluster, and often more than one. The current university uses Solaris, so this particular issue isn't relevant, but I would be more surprised to hear of a university that doesn't offer shell access.

      --
      "Anyone who [rips a CD] is probably engaging in copyright infringement." - David O. Carson
    5. Re:*Yawn* Local Root Exploit by 0123456 · · Score: 2, Informative

      SELinux and AppArmor are not as great as you think; they are understood well enough that hackers can defeat them, and they are deployed on enough systems that hackers write their exploits so these protections are defeated.

      SELinux and Apparmor can't do much if you have an exploit that allows you to execute arbitrary code inside the kernel (which I believe this does). But they'll certainly stop the kind of random buffer overflow exploit that's been the most common avenue of remote attack.

    6. Re:*Yawn* Local Root Exploit by mysidia · · Score: 3, Informative

      SELinux and Apparmor can't do much if you have an exploit that allows you to execute arbitrary code inside the kernel (which I believe this does). But they'll certainly stop the kind of random buffer overflow exploit that's been the most common avenue of remote attack.

      They will stop the simple use of a buffer overflow exploit to do something the program with the vulnerability couldn't do.

      That is: a buffer overflow exploit allows running arbitrary code in the context of the program. SELinux limits what files can be accessed by arbitrary code based on security labels.

      However, if there is also a vulnerability in the kernel. SELinux cannot stop a buffer overflow in a program from being used in conjunction with a kernel vulnerability, to run arbitrary code in kernel mode.

      Basically: buffer overflow in a program + kernel escalation bug = SELinux or AppArmor fail

    7. Re:*Yawn* Local Root Exploit by microbee · · Score: 3, Insightful

      Mod the parent up. It's funny how certain folks try to down play a security hole like this just because it happens on Linux.

  6. Re:Bad Publicity... by cybrthng · · Score: 2, Interesting

    1. MS & Windows shills may laugh about this, but only because they feel your pain. Beyond that, what does making this statement even mean?
    2. 64bit hardware is cheap. You can buy an AMD64 X2 5000 Dual Core CPU for 38 bucks shipped.. add a mobo for another 45 and if you need ram, another 50. eBay for more savings

  7. slashdvertisement ... and full of crap. by GNUALMAFUERTE · · Score: 2, Insightful

    Now Ksplice is really starting to piss me off. This is at least the fifth time we've get this kind of crap on slashdot.

    Besides that, this is an escalation vuln ... it's local, ok? Not a remote exploit. And, regardless of all that, there's already a fix, which was promptly released before this got out of hand.

    So, between the ksplice assholes that abuse each vulnerability that is published to blow it out of proportion and somehow imply that if you require ksplice to patch this without loosing your job (I mean, come on, If your service is critical enough that it can't accept 2 minutes of downtime for a reboot, then you have redundancy and can update machines one by one without any real downtime) ; and the winslow assholes that don't understand shit about security and somehow think that this means that GNU/Linux is insecure and as bad as their shitty system, I'm going nuts every time there is a new vuln in the kernel.

    --
    WTF am I doing replying to an AC at 5 A.M on a Friday night?
    1. Re:slashdvertisement ... and full of crap. by sdasher · · Score: 2, Insightful

      Actually, RHEL and CentOS have still yet to release a fix. So for your average Linux sysadmin out there, there still isn't an easy-to-use fix. Well, besides Ksplice anyway.

    2. Re:slashdvertisement ... and full of crap. by shutdown+-p+now · · Score: 4, Informative

      it's local, ok? Not a remote exploit.

      Ironically, a local exploit is somewhat more serious for Unix systems, because Unix hosters are much more likely to give shell access to their customers (effectively giving "local" access), while the most a typical Windows hoster will do is let you connect with IIS admin console.

    3. Re:slashdvertisement ... and full of crap. by RAMMS+EIN · · Score: 4, Interesting

      ``assholes that don't understand shit about security and somehow think that this means that GNU/Linux is insecure''

      It _is_ insecure. There are plenty of vulnerabilities being found and reported, and there are several things that many distributions could do to improve security. To name a few examples, many distros ship with stack smashing protection and address space layout randomization disabled, and allow pages to be writable and executable by default. Also, usually, many operations are reserved to the root user, and the root user can do everything which means that more programs than necessary run as root, and root has more power than necessary. These are not the properties of secure systems; it's not even close to state of the art security.

      ``as bad as their shitty system''

      I am not sure that such derogatory language makes the world a better place. I'm not even sure comparing the security of Linux with that of Windows is useful. If you do compare them, you will find that, at the very least, Microsoft has improved the security picture on Windows a great deal. In some cases, such as running with reduced privileges by default and only elevating privileges for programs that need it, they have merely caught up with Linux systems. But since Windows Vista, Windows ships with address space layout randomization and non-executable pages (Microsoft calls it DEP) enabled for many libraries and executables. Newer versions of Internet Explorer (certainly 8, but also newer versions of 7 if I'm not mistaken) are among those applications, and also include a "protected mode" where most of the program can't do very much at all, and all potentially harmful operations are concentrated in a small, trusted kernel running in a separate process. These are the sort of security measures taken by a vendor who takes security seriously. On the *nix side, you will find this kind of stuff in OpenBSD and a few specialty hardened Linux distros, and that's about it. Ubuntu has AppArmor, but hardly uses it.

      If you look at vulnerabilities, like the privilege escalation vulnerability in the story, I would not be surprised to find that more of these are being found and reported in Linux than in Windows these days. What that means about the relative security of Linux and Windows, I don't know. But clearly, serious security flaws are being found in Linux. As far as I am concerned, Linux's security track record is far from stellar, and there certainly isn't a strong security culture that will make this better in the near future. Easily applied security measures (see first part of my post) are being left on the table, and we have far too much code running in all-powerful kernel mode for me to be comfortable with (just one data point: I have over 100 MB of kernel modules on my system, and on the order of tens of megabytes in the running kernel image).

      Considering all the above, I would certainly refrain from calling names or making derogatory remarks against users of non-Linux systems. I don't profess to know which system is the most secure, all things considered, but I'm a firm believer in not needlessly stepping on people's toes.

      Kind regards,

      Your friendly neighborhood Linux guy

      --
      Please correct me if I got my facts wrong.
    4. Re:slashdvertisement ... and full of crap. by drinkypoo · · Score: 2, Informative

      Just out of curiosity, when was the last time you reviewed the the new source of an update to your linux system before compiling it yourself? If not, how do you know somebody didn't sneak some vulnerable and/or malicious code in there?

      I don't know, but I have a better chance than with Windows.

      The continued prevalance of Windows XP brings Windows' security record down substantially, but even given modern software I only trust Microsoft to ship me vulnerable malware anyway.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    5. Re:slashdvertisement ... and full of crap. by RAMMS+EIN · · Score: 2, Informative

      ``Are you a troll?''

      No, I'm quite serious. But I might have led a few people astray by not stating my point more clearly.

      Let me start by saying that I am *not* claiming Windows is more secure than your favorite Linux-based OS. Nor am I claiming it's the other way around. I believe the relative security of these systems is undeterminable. If anyone does come up with a good definition of relative security, and a test that yields meaningful scores and rules out bias, I'm all ears. For now, I am just going to say that I don't know which of two complex systems is more secure.

      Now, since I believe it is impossible to determine whether or not Windows is more secure or less secure than whatever OS you would like to compare it to, I think words like "the winslow assholes that don't understand shit about security and somehow think that this means that GNU/Linux is insecure and as bad as their shitty system" are uncalled for. Especially considering that Microsoft has been hard at work to improve the security of Windows, while popular Linux distros are making absolutely no haste with including security solutions that have already been developed. That is the point I was trying to make.

      Maybe it's fun to point and laugh at the poor Windows-using sods and ridicule the poor security track record of their system, but, without a good security culture on our side, I'm afraid we might end up looking mighty foolish when the exploits start coming our way. And frankly, if our security culture consists of pointing and laughing and ignoring security solutions that _even Windows_ has adopted, I think we're in very bad shape. I don't care if we're doing better than someone else, I care that we aren't doing as well as I feel we should.

      --
      Please correct me if I got my facts wrong.
  8. Not running it... by Dragoniz3r · · Score: 5, Insightful

    Am I the only person who says "hell no" to running that "diagnosis" program? After looking through the code real quick, I have no interest whatsoever in running a program that performs the very exploit I'm supposed to be scared of, cuz I don't have time to make sure ksplite neutralized it properly. Also, since it's only a local exploit, I'm not concerned enough about it to run a diagnosis tool that implements it.

    And good lord god almighty, what 12 year old wrote this code, that they think having function names like put_your_hands_up_hooker() makes them cool?

    1. Re:Not running it... by Mr+Thinly+Sliced · · Score: 3, Funny

      Looks like a poor mans attempt at humour.

      I'd say from looking at it those were a bunch of sensible #defines before the code was released and in a fit of humour said author thought it would be funny to do a find and replace on the original ALL_CAPS_SENSIBLE_NAMES.

      It just looks cheap, if you ask me.

      Now back in my University days we had to implement the producers consumer problem in lisp and whilst I don't have the code to hand I do remember that I came up with the poem the code was going to say _before_ I wrote the code that solved the producers consumers assignment....

      The only thing that still sticks in my head is the first line:

      (hold_your (trousers) (lovelytrousers))

      Yes, the queue was a pair of trousers, and the widgets were sausages.

      Was fascinating, I tell you. And totally high class.

    2. Re:Not running it... by The_mad_linguist · · Score: 4, Funny

      This is all really transparent.

      You obviously get __yyrhdgdtfs66ytgetrfd to turn into __yyy_tegdtfsre by the addition of a reverse polish goto callback, an obscure function performed by overloading TMAGIC_66TDFDRTS and calling it every clock cycle.

      Using PREPARE_GGDTSGFSRFSD and OVERRIDE_GGDTSGFSRFSD is standard procedure when dealing with credentials that are formatted in octal precision trinary floating point, and reverting them via REVERT_DHDGTRRTEFDTD is a result of taking GGDTSGFSRFSD and applying the ')(' operator.

      And, of course, any competent CS professional who passed his first freshman year introductory course knows that gggdfstsgdt_dddex is the result of your cat walking across the keyboard.

    3. Re:Not running it... by radio4fan · · Score: 4, Informative

      And good lord god almighty, what 12 year old wrote this code, that they think having function names like put_your_hands_up_hooker() makes them cool?

      This is copied directly from Ac1db1tch3z's exploit.

      So the answer is Ac1db1tch3z thinks function names like put_your_hands_up_hooker() makes him cool.

  9. Re:Bad Publicity... by simcop2387 · · Score: 5, Insightful

    There is something to be said though about going to a 64bit operating system. The fact that there are a little more than twice as many general purpose registers in the CPU available means that code can be compiled to not need to do memory fetches anywhere near as often which means that the code will run faster. the extra addressing space has always been a red herring argument (e.g. i only need it if i have more than 4gb of ram).

  10. Re:virus scanner by socceroos · · Score: 2, Insightful

    A virus scanner isn't going to do much against a rootkit.

  11. FUD by proxima · · Score: 5, Insightful

    Running 64-bit Linux? Haven't updated yet? You're probably being rooted as I type this.

    C'mon now. As others have pointed out, and has been mentioned earlier on /., this is a local root exploit. It's bad, it affects a lot of users (in theory), but to write this is to simply spread fear for most of those using Linux.

    Why? Because the systems that inexperienced users run also happen to be those with a few, generally trusted users. Think netbooks. Sure, all local root exploits are bad and should be patched asap. But that doesn't mean "you're probably being rooted as I type this". It means that a remote attacker needs user-level privileges (say, with a browser or plugin vulnerability) first. Since Ubuntu and probably other major distros have already patched this, and the default settings for updates on these systems is to check fairly frequently, most end users will have the patched kernel quickly.

    That leaves multi-user systems. The admins of these servers certainly benefit from finding out about the vulnerability asap, and they did (including through previous stories here). By now, though, most admins should have something in place if they don't have full trust in their users. If they don't, they should definitely be looking at whether this was exploited.

    The bottom line is that there are many local root exploits which come out every year. This is the latest one, with a patch already available. Responsible admins of multi-user systems are used to dealing with this, and home users are almost certainly going to be patched before it causes any issues. For them, the latest Flash vulnerability is more worrisome. Even the extremely rare remote exploit of a service isn't usually an issue, since most modern distros don't start much of anything by default (including ssh, IIRC).

    --
    "The universe seems neither benign nor hostile, merely indifferent." --Carl Sagan
  12. Re:Bad Publicity... by HTMLSpinnr · · Score: 2, Interesting

    ... until you get closer to 16GB of RAM and you start running out of lowmem (especially on older 2.4 kernel systems).

    --
    $ man woman *
    -bash: /usr/bin/man: Argument list too long
  13. Re:OSS Strikes Again by 0123456 · · Score: 2, Informative

    Tell us how great OSS is.

    OSS is great... my Ubuntu machines were already patched a day before the first scare stories about this exploit appeared here on Slashdot.

  14. Re:Scriptkiddies these days by socceroos · · Score: 2, Funny

    Speaking from the grave I see, Mr. 979059. =D

  15. Re:Bad Publicity... by marcansoft · · Score: 5, Interesting

    Microsoft already felt the pain, because the Xbox 360 hypervisor got owned by the same exact hole . It would almost be the same instruction-by-instruction identical bug were it not for the fact that the 360 is a PowerPC system and this is an x86_64 hole. Yes, they, too, used a 32-bit compare to check the system call humber, then indexed into the array using the full 64 bits, exactly the same bug that caused this Linux hole.

  16. Then perhaps do as the GP asks by Sycraft-fu · · Score: 3, Insightful

    Point out a current remote root exploit in Windows. To the best of my knowledge, there are none. Which means that the original poster is just fluffing his feathers trying to divert attention from the Linux issue.

    While this isn't something that means Linux is majorly insecure or anything, it is a Linux issue. However fanboys don't like that, they can't just say "Yep, there's a problem." Instead they want to try and deflect it, make it about something else. So he deflects the issue by claiming there are some nebulous "remote root bugs," without any specifics.

    1. Re:Then perhaps do as the GP asks by Hackeron · · Score: 4, Informative

      Just a quick google search: http://secunia.com/advisories/41122

      There are quite a few listed on secunia, it's a really good site. Currently lists 10 unpacked vulnerabilities in Windows Vista, none for Linux surprisingly, it must be a conspiracy against Microsoft and those damn Linux fanboys.

    2. Re:Then perhaps do as the GP asks by DeathFromSomewhere · · Score: 4, Informative

      That exploit requires user interaction. Even then it doesn't provide administrator access. Try again.

      --
      -1 overrated isn't the same thing as "I disagree".
    3. Re:Then perhaps do as the GP asks by IICV · · Score: 4, Informative

      Did you skip the end of the video where the demonstrator opens up a command prompt on the remote machine running as the NT Network Authority? That's as close to "remote root" as makes no difference.

    4. Re:Then perhaps do as the GP asks by symbolset · · Score: 4, Insightful

      >Point out a current remote root exploit in Windows. To the best of my knowledge, there are none.

      You're kidding right? They're enumerated the second Tuesday of each month. We even have a word for it now: "Patch Tuesday". It's an IT anti-holiday. How do you not know about this?

      --
      Help stamp out iliturcy.
    5. Re:Then perhaps do as the GP asks by LinuxAndLube · · Score: 2, Interesting

      Are you ready to put your money where your mouth is? I set up a Windows machine. You have 24 hours to remotely root it. If you succeed, I give you 1000 USD, if not you give me 1000 USD. Deal?

    6. Re:Then perhaps do as the GP asks by KiloByte · · Score: 2, Informative

      Most local exploits are outright dismissed by Microsoft as "not a bug".

      For a big example, although one that Microsoft later partially mitigated due to the outcry, look for the "shatter attack".

      Windows may not be as defenseless to remote attacks as it used to be, but locally, it'd be a lunacy to claim it has even semi-working security. Allowing programs root access left and right doesn't help, either.

      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    7. Re:Then perhaps do as the GP asks by Yaur · · Score: 3, Insightful

      What the exploit actually allows you to do is to read arbitrary files inside of the virtual root directory that the IIS application. Every thing else you see is from a third party CMS (DotNetNuke) and a shitty configuration. No doubt this is bad but its a far cry from remote root.

  17. Re:Scriptkiddies these days by smash · · Score: 4, Funny

    quiet, children.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  18. Re:virus scanner by dougmc · · Score: 2, Interesting

    this is an exploit to gain "root" (administrator) access not a rootkit which is a malicious program built to hide itself from the operating system.

    But the exploit leaves a backdoor (hell, it's right there in the summary) which *is* what a rootkit does.

    Rootkits do typically hide themselves -- but only so they aren't removed, so they can provide root access at a later date. Their primary function is to provide root access at a later date -- which this exploit does, according to the summary.

  19. Re:Scriptkiddies these days by Pseudonym+Authority · · Score: 2, Funny

    I used to have a 4 digit UID, but it was stolen by Ac1db1tch3z.

  20. Re:Oh what rubbish by mysidia · · Score: 3, Informative

    You don't necessarily need shell access, just the ability to run a binary as any user.

    This could be done, for example, if it is a web server and there is a PHP script with a vulnerability. If a hacker can run arbitrary PHP code, then they can run code to accept an upload of the binary.

    Once the binary is uploaded to a world-writable directory such as /tmp or /var/lib/php/sessions, the hacker can use the ability to run arbitrary PHP code again to invoke fchmod(), make the binary executable then use the system's dynamic loader and execute the binary, as in passthru("/lib/ld-linux.so.2 /path/to/some/exploit/binary");

  21. Re:Need help patching/checking by larry+bagina · · Score: 3, Funny

    post your ip address and root password and I'll check it for you.

    --
    Do you even lift?

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

  22. Ya by Sycraft-fu · · Score: 4, Insightful

    Our UNIX admin has the philosophy that anyone with local access can get root if they want it bad enough. Security isn't done by presuming you've made that impossible. Rather security is done by making sure you don't give access to just anyone, and to monitoring what people do. Local escalation exploits are things to be fixed, since they can always make a remote exploit worse (someone exploits something remotely, gets unprivileged access, exploits the local exploit to get root) they aren't a critical threat usually.

    However I will say you don't make things much better when you start with name calling with regards to Windows and the people that run it. That smacks of being the sort of asshole that knows little about the other platform that you are painting them to be. That you have a preferred platform is great. One would hope it is based on good reasons. However name calling on another platform indicates it is more likely based on zealotry than anything else.

  23. Re:Scriptkiddies these days by socceroos · · Score: 4, Funny

    Guys, come look, its Abraham!

  24. Re:OSS Strikes Again by picoboy · · Score: 3, Insightful

    Tell us how great OSS is.

    Tell us how much better Linux is.

    Tell us how badly Microsoft sucks.

    I'm a PC, and using Windows instead of Linux was my idea.

    I knew it was just a matter of time before Ballmer showed up as an AC on Slashdot.

  25. Re:Bad Publicity... by dougmc · · Score: 5, Informative

    I have 64 bit hardware but I run x86 based distros. 64 bit is only good for the extra ram maybe to the desktop user. And there still is a lot of issues getting older programs to run on a 64 bit distro.

    The x86_64 architecture has more registers than i386 and can do some operations 64 bits at a time rather than 32 bits. This means that programs compiled to run on a 64 bit architecture are often significantly faster than those compiled to run on 32 bit architectures.

    I think an average figure is 20% faster or so on the same hardware -- you get this simply by installing a 64 bit distribution and using 64 bit binaries. Your system can probably still run 32 bit binaries (if it has the right libraries) but they won't be faster.

    The advantages go beyond a larger address space.

  26. Slashvertisement by Cruciform · · Score: 5, Insightful

    As a long time user I get the option to disable advertising. I don't. I even whitelist Slashdot in Adblock because I support the site and the banner ads are rarely obnoxious.
    These poorly disguised articles-as-ads are quite annoying though. Just make KSplice pay for a banner like everyone else.

    1. Re:Slashvertisement by DigiShaman · · Score: 4, Insightful

      I don't mind Slashvertisements, and in fact enjoy them on occasion. Unfortunately, they're passed off as a genuine grass-roots posting to the casual non-slashdot member. AKA astroturfing.

      If Slashdot would actually flag the story as a "Slashvertisement", I think we as a community would have far an away much MUCH more respect for the story and wouldn't think so much of it. That's the point really. Keep it honest and the intention transparent.

      --
      Life is not for the lazy.
  27. poorly described by MikeFM · · Score: 2, Interesting

    What is annoying me about these issues is that they are described so poorly that I'm not certain if I have a problem. I run 64-bit Linux but no 32-bit code and there are no local users other than for the services I'm running (http and ssh). So do I need to take the time to do something or can I wait for a normal update?

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    1. Re:poorly described by fluffy99 · · Score: 2, Interesting

      What is annoying me about these issues is that they are described so poorly that I'm not certain if I have a problem. I run 64-bit Linux but no 32-bit code and there are no local users other than for the services I'm running (http and ssh). So do I need to take the time to do something or can I wait for a normal update?

      Short answer - it depends on whether your kernel has the vulnerability. Seriously, Slashdot is the worst place to find out more into about vulnerabilities. At least it did give the CVE which you can use to get more details and determine if you're affected.

    2. Re:poorly described by Runaway1956 · · Score: 5, Informative

      Run the tool in TFA ./diagnose-2010-3081 Diagnostic tool for public CVE-2010-3081 exploit -- Ksplice, Inc. (see http://www.ksplice.com/uptrack/cve-2010-3081) $$$ Kernel release: 2.6.32-24-generic !!! Not a RHEL kernel, will skip LSM method $$$ Backdoor in LSM (1/3): not available. $$$ Backdoor in timer_list_fops (2/3): checking...not present. $$$ Backdoor in IDT (3/3): checking...not present. If you're suspicious of the binary, download the source, examine it to satisfy yourself that it's not malicious, and compile it. It's not hard to figure out if you're affected - even a dummy like me can do it!

      --
      "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
    3. Re:poorly described by buchner.johannes · · Score: 2, Funny

      Function names like wtfyourunhere_heee, p4tch_sel1nux_codztegfaddczda and datatypes like __yyrhdgdtfs66ytgetrfd as well as hex-code doesn't make the code look less suspicious.
      I can't be sure that the rootkit (or a different one) is not in there.

      You are a dummy for downloading from a http website without a checksum. No thank you.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    4. Re:poorly described by DMiax · · Score: 3, Informative

      why the fuck do they need to

      #define __yyrhdgdtfs66ytgetrfd unsigned long long

      apart making the code horrible? Seems like an entry for IOCCC. I don't trust this check at all! Wtf is doing this?

      *((__yyrhdgdtfs66ytgetrfd *)(r1ngrrrrrrr + R0TDGFSRSLLSJ_SHSYSTGD)) = _m_cred[2];

      Regardless, it fails on my pc at

      _m_cpu_off = (__dgdhdytrg55)get_sym(PER_C_DHHDYDGTREM7765);

      A little search shows they just took the public exploit and mangled names plus other small changes. Are they joking?

    5. Re:poorly described by cpscotti · · Score: 2, Informative

      Did you forget "static void put_your_hands_up_hooker(int argc, char *argv[])"??? That's actually IN the "diagnose" code. Well, if you check both the exploit and the diagnose, they are quite the same and obviously the diagnose code inherited most of the code from it.
      Now, the question is: do you trust ksplice or even (as cited below) the naive http download?

  28. Re:It appears to be safe. (was: Re:Not running it. by Meriahven · · Score: 5, Informative

    Is anything bad going to happen to you if you compile and run that C code? As far as I can tell, no.

    You are very likely correct in thinking that adding yet another anonymous recommendation on the internet will make more people run the code. However, this is Slashdot, where the users are slightly more security aware than on an average internet site.

    You see, If I were to attack all those nifty linux boxen out there, what would be a better attack vector than advertising your exploit on slashdot, which is known to accept almost anything on the front page, and yet is very likely to contain the biggest active linux user community on the nets? By looking at the code it seems obvious that the tool contains enough binary code to contain an exploit or three. If it is never used in a malicious way, it is somewhat difficult to say. So, outside a security lab setting, it is hard to tell if the provided code is not the exploit itself. Definitely "You are probably getting hacked right now! Check for viruses for free!" has been one of the more common attack vector against Windows users.

    Whatever the case, I would not recommend running code that looks like this:

    static char dis4blens4sel1nuxhayettgdr64545[] and
    static int wtfyourunhere_heee(char *out_release, char* out_version)

  29. Moderation abuse by symbolset · · Score: 3, Insightful

    Y'know, sometimes there are posts that are poignant, interesting, on-topic, and yet are modded down as a troll for no better reason than people who have mod points are more interested in squelching challenging ideas. That's fine, and slashdot has a mechanism to deal with that, called Karma.

    Because I have good /. Karma I can call your attention to the parent post even though I believe it's been badly moderated. Because I'm a Slashdot subscriber, I get an extra point to add to this post, which calls attention to the parent. I have enough good Karma that even if this post is moderated a troll I will have lost nothing.

    I'm making this amplifying post because the parent post was moderated down in one second. It was born silenced. Obviously there were moderators prepared to prevent you from hearing my response to the question asked. Some of you might for this reason alone find my words above meaningful or intriguing.

    --
    Help stamp out iliturcy.
  30. Re:Scriptkiddies these days by caferace · · Score: 5, Funny

    no, you.

  31. Forget the self-advertisement, it's a real issue by adaviel · · Score: 4, Informative

    The situation appears to be exactly as described by Ksplice.
    CVE-2010-3081 has been discussed on RedHat forums and elsewhere.
    The Ac1db1tch3z exploit published on the full disclosure list http://seclists.org/fulldisclosure/2010/Sep/268
    does indeed appear to contain a backdoor (0p3n1ng th3 m4giq p0rt4l).
    From the comments, the vulnerability was found in 2008 and the exploit has been used by the author for some time, and may have been circulating in the underground. When the vulnerability was found and disclosed by Ben Hawkes, the exploit was published to a wider audience.
    A number of sysadmins may well have run the exploit on their systems to prove to themselves that this was a real threat. In doing so they may unknowingly have left a backdoor.
    More commonly, proof-of-concept exploits posted on full-disclosure lists are crafted by security researchers, do not contain backdoors, and are relatively easy to read. In this case, the disclosed exploit is crafted by a hacker, may well contain a backdoor, and is written with leetspeak runtime messages and obfuscated code.

    I admit I do not fully understand the code in the exploit or in the detection tool, or indeed the nature of the backdoor. However, on a Fedora 9 system, running the detector says there is no backdoor. After the exploit is run, the detector says there is a backdoor, so
    the exploit must have changed the state of the system in some way. The detector looks for 3 separate backdoors; the one on my
    test system disappears after reboot. As I thought the fix was to update the kernel to a patched version, which requires a reboot, I'm not sure how the backdoor could survive. I do not see how having the backdoor is riskier than having an unpatched system.

    I can say, though, that the vulnerability exists in stock kernels 2.6.25 - 2.6.36, and was back-ported by RedHat into 2.6.18 used
    in RHEL 5 (hence CENTOS 5). As stated by others, an unprivileged user account is required in order to exploit the vulnerability, which exists only on 64-bit x86 systems which also can run 32-bit code. One published mitigation step, which does not require a reboot, is to disable 32-bit compatibility mode by writing into /proc.

  32. Re:Need help patching/checking by nacturation · · Score: 4, Funny

    post your ip address and root password and I'll check it for you.

    127.0.0.1
    hunter2

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  33. Re:virus scanner by Sir_Lewk · · Score: 2, Informative

    A back door is when you allow someone to access a computer via a non-normal access mechanism that is typically unknown to the authorized user(s).

    ...thus allowing continued privileged access....

    You are using the word in the layman sense, disregarding it's origins. Why do you think it's called rootkit? It's a term used to describe a "kit" of software that allows the attacker to regain root access later on. Patch login to always allow a second predefined password, drop it into place, and you have yourself a rootkit. The techniques that rootkits developed to hide themselves have been borrowed by malware, and the term has been usurped too (in a similar fashion to what happened to the word "bricked", which now seems to mean "requires a power cycling or re-flashing".

    That doesn't make that usage correct.

    --
    "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
  34. Re:Scriptkiddies these days by Runaway1956 · · Score: 2, Funny

    Someone woke Methuselah - now there will be hell to pay!

    --
    "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
  35. Oh it's not paid by uofitorn · · Score: 5, Informative

    The /. editors fall hook, line, and sinker for these advertisements for Ksplice submitted by an 'anonymous reader' every 6-8 weeks. Get used to them.

    --
    "What kind of music do pirates listen to?" -Paul Maud'dib
    "Yeeeaaarrrrr n' Bee!!" -Stilgar, Leader of Sietch Tabr
  36. Re:Bad Publicity... by TheThiefMaster · · Score: 3, Informative

    Actually, the extra virtual memory space program-side is far more important than the extra physical memory space ever was. Typically, a 32-bit program is limited to 2GB of address space, including actually used ram, memory mapped files, reserved but unused pages (e.g. the stack growth area), memory mapped device memory (e.g. graphics mem) and the program and its dlls. Thanks to fragmentation of the address space by all of these, a program can fail to allocate memory without even getting close to 2GB of ram use. I could, as a proof of concept, write a program which will fail to allocate a 512MB block while only using kilobytes of ram, simply by requesting one 4kB memory page from every 512MB through the address space.

    64-bit software resolves that problem (at least until we get programs trying to allocate exabytes of ram in one block)

  37. My own Computer - Dude! by spineboy · · Score: 2, Funny

    Dude! - I am SO going to root my very own computer!

    --
    ..........FULL STOP.
    1. Re:My own Computer - Dude! by DJRumpy · · Score: 2, Insightful

      For a home user, not a big deal. For an business environment, much more so. Dismissing it as 'nothing to see' is shortsighted at best, especially when considering the backdoor left by the hack.

  38. Re:Bad Publicity... by buchner.johannes · · Score: 2, Funny

    Obviously both copied from SCO. Namely their 64 bit code.

    --
    NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
  39. Re:Scriptkiddies these days by dlb · · Score: 2, Insightful

    Would you kids get off my lawn?

  40. Re:virus scanner by dave420 · · Score: 2, Informative

    Is it really difficult to understand?

    Rootkit = software installed on a machine to serve some unsavoury purpose.
    Backdoor = A method of accessing a system, generally hidden from the user and/or administrator of a machine

    A rootkit can open a backdoor, but then so can poorly-configured machines, or kernel vulnerabilities. They are not the same.

  41. Re:Bad Publicity... by TheRaven64 · · Score: 5, Informative

    Going to 64 bit means your instructions will be 64 bit, which means doubling the cache mem usuage.

    Not true. x86 and x86_64 both use a variable-length instruction encoding. You actually get slightly better instruction density with x86_64, because a number of instructions that used to only work with eax now work with any target register, so for a couple of bits extra in the longer version of the instruction you avoid two register-to-register moves.

    Pointers are 64-bit, but you'd need your program to consist entirely of pointers for this to double cache usage. In practice, you do see a small increase in data-cache usage, but it's offset by other things.

    From performance point of view, if you don't really need 64 bits ( probably most of users will be fine with 4GB ram in next years) stay at 32 bits.

    If we were talking about PowerPC or SPARC, you'd be (basically) correct. x86-64, however, is not just x86 with 64-bit pointers. It also gives you these other advantages:

    • Guarantees the existence of SSE. Generating code for x87 is painful. Even using SSE for scalar arithmetic is usually faster than using x87, and you can also get a 2-4x speedup from vectorisation in some cases. Any code that is floating-point intensive benefits from x86-64. x86-64 also doubles the number of SSE registers; there are now 16, making it even easier to generate fast floating-point code.
    • Twice as many general-purpose registers, means that you have much less register spill. You're spending less time copying between registers and the stack, and reshuffling registers, and more time actually computing stuff.
    • Most instructions no longer have fixed destination operands, so you reduce register churn more.
    • Better addressing modes make position-independent code faster. If your program uses any shared libraries, it will benefit from this.
    • 64-bit registers. If your code does anything with 64-bit integers, this effectively doubles your register set size again. x86 pairs registers for 64-bit operations, so you effectively only have two registers that you can store 64-bit values in, meaning any 64-bit operations involve some register spill. x86-64 gives you 16, making them a lot faster.
    • Reusing some short instruction codes. x86 is binary-compatible with the 8086, so some of the shortest instruction sequences are for operations that no one uses anymore. x86-64 reuses these for operations that people actually do use, increasing instruction density.
    --
    I am TheRaven on Soylent News
  42. Re:Bad Publicity... by janisozaur · · Score: 2, Interesting

    I'm all in favor of x86_64, but as proven by one of dev blogs (no longer available) for a facebook-ish website using custom python code, it doesn't necessarily bring speedups/advantages everywhere. Their point was that python uses *a lot* of pointers. Tests showed, that even though switching to 64 bits brought some really minor improvements, it also brought much more memory usage to their servers, effectively worsening their performance. They've stayed with x86. They conducted tests some 2 or 3 years ago, I wonder what would be the result today?

  43. LOL by boxwood · · Score: 2, Funny

    did anyone check the source code for that diagnose command?

    static void put_your_hands_up_hooker(int argc, char *argv[])

    WTF?

  44. In-band checksums with downloadable files by CarpetShark · · Score: 2, Insightful

    You are a dummy for downloading from a http website without a checksum. No thank you.

    What exactly is the point of supplying a checksum by the same route/download method as the file in question? Surely if the file can be modified, so can the checksum. Maybe it would be useful if people got the checksum and verified it was the same checksum everyone else saw, then verified the file with it, but that just doesn't happen.