Slashdot Mirror


USB Autorun Attacks Against Linux

Orome1 writes "Many people think that Linux is immune to the type of Autorun attacks that have plagued Windows systems with malware over the years. However, there have been many advances in the usability of Linux as a desktop OS — including the addition of features that can allow Autorun attacks. This Shmoocon presentation by Jon Larimer from IBM X-Force starts off with a definition of autorun vulnerabilities and some examples from Windows, then jumps straight into the Linux side of things. Larimer explains how attackers can abuse these features to gain access to a live system by using a USB flash drive. He also shows how USB as an exploitation platform can allow for easy bypass of protection mechanisms like ASLR and how these attacks can provide a level of access that other physical attack methods do not." I've attached the video if you are curious. Skip the first 2 minutes if you don't care where the lost and found is.

52 of 274 comments (clear)

  1. The price of easy and automatic by clang_jangle · · Score: 5, Interesting

    I always knew that when they made *nix idiot-proof all hell would break loose security-wise. Android has proven that really thoroughly. It's too bad, really. I had high hopes for it once. Maybe they'll get it together yet though.

    --
    Caveat Utilitor
    1. Re:The price of easy and automatic by HermMunster · · Score: 3, Informative

      I think negative mods would only be given for not addressing what the researcher was talking about. Android isn't using an autorun feature. In fact, he specifically states that his speech addresses only Ubuntu 10.10 and gnome (and not the other desktop managers).

      --
      You can lead a man with reason but you can't make him think.
    2. Re:The price of easy and automatic by Vanderhoth · · Score: 5, Informative

      I agree with you. Although, based on what I saw in the clips I was viewing the attacks seem to be more related to fancy sloppy interfaces such as auto loading thumbnails of pictures stored on a USB drive. Not so much because *nix is idiot proof, but because there is more of a focus on making a nice looking interface instead of a secure ok looking interface.

      I could be wrong.

    3. Re:The price of easy and automatic by Sal+Zeta · · Score: 2

      Fast. Or Secure. Or Useful for the common layman.

      Pick Two.

    4. Re:The price of easy and automatic by elrous0 · · Score: 2

      The harsh reality is that it's very difficult to make an OS that's both safe and popular. Make it too safe, and it's too complicated and annoying for the common user. And the only way to make it popular with the masses is to remove some of the safety features and usability roadblocks. It's a tightrope that MS and Apple have to walk every day. MS walks it by fighting each security issue that comes up individually. Apple walks it by increasingly turning towards locked-down systems.

      --
      SJW: Someone who has run out of real oppression, and has to fake it.
    5. Re:The price of easy and automatic by morcego · · Score: 3, Insightful

      Shoot him.

      --
      morcego
    6. Re:The price of easy and automatic by asvravi · · Score: 4, Informative

      User-friendly
      Secure
      Functional

      Pick any two...

    7. Re:The price of easy and automatic by jedidiah · · Score: 2

      Solaris did automount in the 90s. That didn't mean that it did the sort of stupid things that causes trouble with Microsoft products.

      The things to avoid are well understood. Anyone that ignores the past should be flogged repeatedly.

      autorun != automount

      --
      A Pirate and a Puritan look the same on a balance sheet.
    8. Re:The price of easy and automatic by postbigbang · · Score: 2

      I hate to throw in a well-used aphorism here, but nothing is foolproof because fools are so ingenious. It's the imflamatory nature of the post that attracts so many hits to this.... it turns out that you can hurt almost anything thru blatant misconfiguration. The scope of the attack is comparatively tiny. And you might get all of an attack plane of a half-million users on a good day, provided they use removable storage, and they'll accept something from unvetted sources.

      Oh, wait....

      --
      ---- Teach Peace. It's Cheaper Than War.
    9. Re:The price of easy and automatic by camperdave · · Score: 2

      The problem with autorun is that it's convenient without having any security involved.

      What is it convenient for, other than as a malware vector? (Which it seems to be really good at, judging from my virus detection reports).

      --
      When our name is on the back of your car, we're behind you all the way!
    10. Re:The price of easy and automatic by clang_jangle · · Score: 2

      I think negative mods would only be given for not addressing what the researcher was talking about. Android isn't using an autorun feature.

      You misunderstood, I never said it did. Android was cited as another example of the pitfalls of "easy and automatic".

      --
      Caveat Utilitor
    11. Re:The price of easy and automatic by gstoddart · · Score: 2

      1. You can have the system do nothing.

      Really, the only thing that ever should be there is this.

      As soon as you enable any automatic action, you open up a vector for this kind of attack.

      I think Microsoft did the world a huge disservice when they did this (although, in fairness, Apple could have provided us with this "innovation"), and I distinctly remember watching what happened when you put a music CD into a computer and watched it install and launch it's own annoying software -- this eventually led to the Sony Rootkit. It's a feature I've largely only ever seen abused by malicious software (malware), and malicious entities (copyright holders).

      Autorun is just a plain bad idea, in my experience. Deciding that any old piece of code which rolls by should be ran just because it's sitting in the right place is a bad idea.

      --
      Lost at C:>. Found at C.
    12. Re:The price of easy and automatic by Stellian · · Score: 4, Interesting

      There is no autorun, mount, and execute set up upon device identification for my system.

      Disabling auto-mount is pointless, you will eventually mount that USB device - why else would you plug it in ? 95% of the Slashdot population will plug and mount a stick received in the mail with the caption "You need to see this".
      Before you even have the option of mounting, the attacker has an enormous attack surface, by suppling it's own USB device ID: he can exploit the drivers for any of the myriad mouses, keyboards, cameras etc. that Linux supports by default, and gain kernel access. You will simply see his custom hardware device as a defective USB stick and forget about it.
      If the USB device actually turns out to be a flash drive, it can be formated using any file system supported by Linux: ext, FAT, NTFS etc. Each of the drivers have exotic and seldom used features that can hide bugs. Sure, you can do allot by limiting idiotic features in your GUI tools, but a lot of the security is out of your hands.

    13. Re:The price of easy and automatic by Hatta · · Score: 2, Funny

      UNIX was always idiot proof. It's hard for an idiot to damage much when there's nothing to click on.

      --
      Give me Classic Slashdot or give me death!
    14. Re:The price of easy and automatic by icebike · · Score: 2, Informative

      To be fair, this is more of a UDEV, and WM/DE problem in mainstream distro's, rather than specific Linux kernel issue itself, but I won't let the headline, article/video presentation detract from that fact.

      Not even a problem Mainstream Distro problem. Its exclusive to Gnome's method of thumbnail creation on a plugged in device. He only demonstrated it on Ubuntu with Gnome, and specifically with Nautilus file manager, but its probably the fault of GVFS, Gnome's virtual file system.

      He specifically mentions that this exploit does not work with KBuntu.

      So once again Linux gets painted with a user space exploit.

      --
      Sig Battery depleted. Reverting to safe mode.
    15. Re:The price of easy and automatic by blacklint · · Score: 2

      These days, autorun (at least without prompts) is a terrible idea. But back in the days when the main thing put into CD drives was pressed games with most of the content on the disk and malware was more for shits and giggles than true malicious intent, things seemed very different.

      That said, I really appreciate the "what would you like to do?" dialog, or KDE's list of recently inserted media. Yes computer, I inserted some media, i'm probably going to want to do something with it. Completely ignoring my deliberate action and doing nothing is a bad interaction.

    16. Re:The price of easy and automatic by Khashishi · · Score: 2

      At least you can choose a distribution that doesn't have all sorts of security issues.

    17. Re:The price of easy and automatic by Yvanhoe · · Score: 2

      Not even a problem Mainstream Distro problem. Its exclusive to Gnome's method of thumbnail creation on a plugged in device. He only demonstrated it on Ubuntu with Gnome, and specifically with Nautilus file manager

      ...which is, if I am up to date, one of the most popular default install of the linux world as of today. This problem IS serious. It is a Gnome/Ubuntu problem, not specifically a linux one, but downplaying its seriousness is not wise.

      --
      The Wise adapts himself to the world. The Fool adapts the world to himself. Therefore, all progress depends on the Fool.
    18. Re:The price of easy and automatic by icebike · · Score: 2

      You're right of course, I didn't mean to suggest it be ignored. Until fixed, people should know their usb devices, and disable the thumbnail feature in Nautilus.

      He stressed throughout the entire presentation just how hard it was to pull this off, and he made use of exploits in a font management system that have since been patched. (The exploit of crashing the thumbnail generation was not sufficient to get him anywhere, he needed yet another exploit beyond that. to obtain shell access.) There are other exploits he could have used, he deliberately chose one in a library that has not been modified since the year 2000.

      And all he managed to do was to break out of a locked screen saver as the user that was last logged on. No root exploit here. No privilege elevation. He seems sharp enough that I don't doubt he could have gone the extra mile and perhaps built a more nefarious hack, but all he really did was kill a task running with the privileges of the logged in user.

      And as he stated, virtually impossible to exploit remotely even if you socially engineer someone into plugging in the thumb drive. (He needed to know key load addresses of various modules, which while statistically clustered, are not absolute).

      So that leaves having physical access to pull this off. When you have that, all bets are off.

      But you are correct, it shouldn't be ignored. Even if GVFS crashes it should not allow continued execution of random data. It needs to be fixed. And perhaps that is part of why Ubuntu is moving away from Gnome in future releases.

      --
      Sig Battery depleted. Reverting to safe mode.
    19. Re:The price of easy and automatic by icebraining · · Score: 2

      Having the luser oriented Ubuntu didn't stop the development of expert oriented distros. You share what makes sense, you keep to each what doesn't.

      More user share means more hardware support, more investment, etc, which some distros can use without succumbing to the fancy and useless GUIs.

  2. Stop copying Windows please! by JustNiz · · Score: 5, Insightful

    Autorun as a concept just sucks.
    Copying whatever Windows does, warts and all, into Linux, just sucks.
    When is this insanity going to end?

    1. Re:Stop copying Windows please! by pclminion · · Score: 2, Insightful

      Yeah, having a computer automatically react to a piece of media... What a stupid idea. Next thing you know they'll be using computers to compute things, and then we've just gone straight to hell.

    2. Re:Stop copying Windows please! by hedwards · · Score: 5, Insightful

      It really depends how you do it. It's one thing to go the UAC route and have the computer notify the user that something has been inserted and request authorization to do something, and quite another to make that decision for the user. Certain actions really shouldn't be allowed to be completed completely on their own, autorun is definitely a candidate for that.

    3. Re:Stop copying Windows please! by $RANDOMLUSER · · Score: 4, Insightful

      Exactly.

      87.3% of all the biggest forehead-whapping Windows security bugs have come from Microsoft's (really Bill Gates) love of whizzo features that look really cool in a developers conference keynote but don't survive the first three minutes of critical thought or exposure to the real world.

      I'm specifically referring to things like where IE or Windows Explorer execute code of unknown provenance to provide "previews". Windows Explorer once had a bug which could execute arbitrary code via JPEG preview. Of course, the Outlook preview exploits are LEGION, but we can also include VB macros included in Word and Excel "data" (hahaha) files. Only a sick love of flashy features, consequences be damned can account for this.

      --
      No folly is more costly than the folly of intolerant idealism. - Winston Churchill
    4. Re:Stop copying Windows please! by 0123456 · · Score: 2

      I insert a DVD into my player - and it just plays.

      A DVD player has one intended use and only one intended use: playing DVDs.

      I put film into my (now older camera) and it it loaded it up for me ready to use when I shut the back

      A camera has one intended use and only one intended use: taking photos.

      So why do you think the average consumer is *not* going to expect things happen automatically?

      Computers are used for many things other than playing DVDs. Why should the operating system assume that just because I put a DVD in the drive, I want to play it?

    5. Re:Stop copying Windows please! by flight666 · · Score: 2

      But the whole point of this discussion: What if there is a bug in the library that renders that *data*? All of a sudden, your data is no longer very data-y, and much more executable-y than you might have intended.

      For reference, take a look at the (lengthy) list of bugs in any of the image processing libraries.

    6. Re:Stop copying Windows please! by mlts · · Score: 2

      Not just a piece of media. A piece of untrusted media. The computer needs to consider all media as suspect and require the user to take action. It shouldn't do anything else.

      The media should be mounted, and mounted noexec, nosuid, no-nothing. That's it. No autorun, no autoplay, no autoboot, no -nothing-. The user can decide what to do with the media once it is mounted. If the user wants to run stuff from the media, they can remount it with the permissions ready.

      Of course, there is always the issue of PEBKAC errors, but short of yanking root from the user a la Android or iOS, there isn't much the OS can do here.

    7. Re:Stop copying Windows please! by 0123456 · · Score: 2

      Are you in the habit of inserting media you don't intend to actually access?

      Yes. The last time I remember this happening, I put a DVD in the drive because I was going to play it after I finished reading my email and the stupid operating system decided to start up the DVD player, getting in the way of what I was going at the time.

      And I'm definitely, absolutely, certainly, 100% in the habit of inserting media where I don't want to open up a browser window which runs random buggy codecs in order to display thumbnails that I 100% don't give a damn about.

    8. Re:Stop copying Windows please! by Jonner · · Score: 3, Insightful

      The presenter in TFV says that because autorun always prompts the user, it's not a big security risk. He spends much more time talking about exploiting bugs in various software layers, including kernel, root-running userspace, and normal user processes.

      I'm not sure that I agree that always asking permission to autorun something is safe enough, but it is far less onerous than how Windows used to work.

    9. Re:Stop copying Windows please! by adamofgreyskull · · Score: 2

      How obtuse. It's not the computer "automatically reacting" that is the problem. It's the nature of the reaction. A good/sensible reaction might be to mount the media (with the noexec option even) and open the folder in the default file manager. A bad/idiotic reaction is to blindly trust whoever created the media and automatically run anything on it that says it should be run, without first prompting the user. The presentation talks about a lot more than simple autorun, but since that's what you're talking about...

    10. Re:Stop copying Windows please! by sjames · · Score: 2

      What do you think AUTO-RUN means then?

      Windows has toned it down a bit by now asking first before running an executable (at one time it would just run it without asking and MS swore that was just fine)

    11. Re:Stop copying Windows please! by GameboyRMH · · Score: 2

      If you RTFA'd (it involves watching a long-ass video so I don't really blame you) you'd see that this doesn't actually exploit Autorun at all (although I agree it's a terrible idea). The exploit shown is a hyper-complicated hack that exploits a thumbnailer process. It is really just crazy-complicated, the guy had to disable AppArmor and ASLR (memory load location randomization) to get it to work at all. That said any of the various thumbnailer applications for various formats are potential targets.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
  3. Thanks, Miguel by Compaqt · · Score: 2

    Anybody want to post a quick-fix to avoid turn off AutoRun in Ubuntu?

    --
    I'm not a lawyer, but I play one on the Internet. Blog
    1. Re:Thanks, Miguel by HermMunster · · Score: 2

      On option the researcher is explains how to turn it off the option to browse media when a removable storage device is inserted. Nautilus > Edit > Preferences > Media tab

      Un-check the box for "Browse media when inserted".

      It won't be long before the code is examined and corrected.

      Keep in mind his speech is about Ubuntu 10.10 and specifically gnome running as the desktop manager.

      --
      You can lead a man with reason but you can't make him think.
  4. OSes should be immune from this out of the box by davidwr · · Score: 2

    Auto-run is convenient and all but systems should NOT automatically execute content from devices unless the user has specifically told them it's okay.

    A recommendation for out-of-the-box "autorun" experience:

    Query the type of the media, but do so without running any code of any type on the media.
    Authenticate the data used to determine the type of the media AND any "auto run" code typically associated with that type of media OR decide you can't authenticate it.

    Present a box to the user for "trusted" content:

    This disk claims that it contains [a program | music | video | files | whatever ]. This claim is sign by [company] and its chain-of-authentication includes [highest-level signer], a company trusted by [operating system vendor | you]. To see more details click [here].

    What do you want to do? [list of choices, including "do nothing," "open as a folder," "run the disk" (aka autorun), "play music," "play video," etc.]

    [ X ] Do the same for other media of this type signed by this signer.
    [ _ ] Do the same for other media of this type signed by any trusted signer.
    [ _ ] Do the same for other media of this type even if it is not signed.

    Present a box to the user for signed content that cannot be authenticated:

    WARNING: This disk claims that it contains [a program | music | video | files | whatever ]. This claim is sign by [company] but this signature cannot be authenticated. To see more details click [here].

    What do you want to do? [list of choices, including "do nothing," "open as a folder," "run the disk" (aka autorun), "play music," "play video," etc.]

    [ _ ] Trust this signer in the future.
    [ _ ] Do the same for other media of this type signed by this signer.
    [ _ ] Do the same for other media of this type signed by any trusted signer.
    [ _ ] Do the same for other media of this type even if it is not signed.

    Present a box to the user for unsigned content, which would typically be "unlabeled" content that the computer has to figure out for itself:

    This disk appears to contain [a program | music | video | files | whatever ].

    What do you want to do? [list of choices, including "do nothing," "open as a folder," "run the disk" (aka autorun), "play music," "play video," etc.]

    [ _ ] Do the same for other media of this type [bold]NOT recommended[/bold]

    Almost all media would be "unsigned" until a standardized method of signing is developed. Signing would typically only authenticate the type of media the disk claimed to as well as the executable code of any autoexec.exe-type program that runs if the user "runs the disk" or any media-type-specific on-disk code that runs if the user "plays the media," not the entire disk.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
    1. Re:OSes should be immune from this out of the box by adamofgreyskull · · Score: 3, Informative
      Seriously, watch the video. Autorun isn't the only problem.

      Query the type of the media, but do so without running any code of any type on the media.

      Until nefarious person inserts a USB device that, for example, exploits a vulnerability in the code that queries the media. e.g. "Hey Mr. USB drive, tell me your VendorId plz!" "exploitstring" "Oh nooooo!".

      As for the rest, it won't ever work. If anything prevents a user from quickly accessing the movie/game/pictures they think are on the DVD/CD/USB device they will either take the quickest route (enabling auto-run/auto-display of any untrusted media) or a completely random route, any of which could cause code to be executed, except the "Do Nothing" option. Not to mention the fact that autorun isn't the only problem. (Seriously, watch the video).

      The problem is that an exploit in any of the myriad layers involved in dealing with inserted media makes the system vulnerable. Before your prompt is even displayed the media would have been touched by device discovery code, file system drivers etc. and now...your new authentication code. And then, if the user selects "open as a folder", a seemingly benign action, a bug in the way the file manager handles image/PDF previews (seriously, watch the video) could result in code execution!

      While a nice idea in theory, it does little to prevent a truly determined attacker, especially if they have cooperation from all but an expert user.

  5. It's bad but not the end of the world. by Beelzebud · · Score: 2

    Linux servers, that run on command line don't have these issues. I know this is shocking to some people, but 99.99% of the world doesn't really give a shit about what you have on your home pc's hard drive. Security is good, but paranoia isn't. Anyone that actually cares about safeguarding their data won't be running a server with a GUI on it anyway. Even the Apache Foundation had to learn this the hard way.

    1. Re:It's bad but not the end of the world. by andrewd18 · · Score: 2

      99.99% of the world doesn't really give a shit about what you have on your home pc's hard drive

      Correct. Instead they care about installing a keylogger to your hard drive and then accessing your credit card information.

  6. Autorun ist stupid by gweihir · · Score: 4, Interesting

    Doesn't depend on platform. Autorun is always a huge security risk. It was invented for lazy users that do not want to know how to use their computer properly. At this time (and for the foreseeable future) this kind of laziness comes at a price and that is vulnerability to rather simple to execute attacks.

    The real benefit of Linux here is that, unlike Windows, you can get distributions that would not dream of implementing something as stupid as autorun. On others, you can reliably turn it off reliably without a cryptic adventure through the mess called the "registry". But implementing insecure features will of course make Linux insecure. Nobody sane debates that.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  7. Re:Of course by jedidiah · · Score: 2

    > But as you make Linux more user friendly, feature rich, easier to use, it becomes easier to attack.

    Of course you can point us to the inevitable viruses, worms and trojans that now afflict MacOS?

    If not then your entire rant is just thoughtless jibber jabber.

    You get system vulnerabilities from bad engineering practices, not a consumer focused mindset.

    Sure I can have it both ways. Just don't do obviously stupid stuff. Don't do things that were proven wrongful in the 80s before any of the current malware innovations were developed.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  8. Re:Flawed Linux security model by jedidiah · · Score: 2

    A more complicated security model is not going to prevent an environment that can trash the user's files from trashing the user's files.

    That capability is somewhat hard to avoid as you can't really do work for the user otherwise.

    --
    A Pirate and a Puritan look the same on a balance sheet.
  9. OT: MS instructions for controlling in Windows by behindthewall · · Score: 4, Informative

    Maybe OT, but here's MS's information for controlling this "feature" in Windows.

    There've been various sets of instructions and registry hacks floating around, but this appears to be from the horse's mouth, relatively recently updated, and addresses some of the shortcomings of previous fixes.

    Article ID: 967715 - Last Review: September 9, 2010 - Revision: 6.2
    How to disable the Autorun functionality in Windows

    http://support.microsoft.com/kb/967715

    (I'm posting this due to the confusion all the various instructions / search results can create, and because this article addresses Autoruns and so I expect a number of Windows users will be having a look out of curiosity.)

  10. FreeBSD is much better. by Blackout+for+Hungary · · Score: 2

    It doesn't even recognise my thumb drive, so I don't have to worry about security

  11. Re:Exactly by Nimey · · Score: 4, Informative

    Did you ever use the original Vista? Ever use Ubuntu or OSX from the same time period? Vista's prompt was a lot more annoying, because for some operations it would go off several times, while for the other two it'd ask you ONCE and then get the hell out of the way. Ubuntu would even remember your sudo credentials for a few minutes so you could do other tasks as root. Really a superior design.

    They made it less annoying with SP2 and again with Win7, yes, but the original setup was shit.

    --
    Hail Eris, full of mischief...

    E pluribus sanguinem
  12. Re:Oh boy by DrgnDancer · · Score: 2

    It was quite popular about 8-10 years ago for various media outlets to declare the "year of the Linux Desktop". I can't be arsed to look up specific examples, but they definitely existed. The irony being that Linux has improved dramatically as a desktop OS since most of those claims were widely circulated, yet no one expects it anymore. As far as I can tell, three things have ended the hype:

    1) Probably most important: People have realized that what most desktop users want is something Linux will probably never give them. Hand holding and a person to call when things break. Windows' monopoly created a huge pool of reasonably skilled amateur technicians; as well as an ecosystem of professionals ranging from the guy with fliers on the apartment bulletin board, to Best Buy's Geek Squad, to highly skilled consultants and everything in between. Apple answered that with their Genius Bar and highly rated customer service. Linux has answers to it as well, but people don't like searching web sites and such. Red Hat and a few others actually have excellent customer service and tech support, but buying from them (in small volumes, they're way cheaper than MS for high volume sales) makes Linux as expensive as Windows.

    2) A credible alternative to Windows on the Desktop emerged in OSX. Sure the hardware is kinda premium, but Apple released an easy to use Unix based OS on fairly affordable hardware. They also tied this with the launch of their retail stores and Genius Bars which provided the kind of hand holding and quick fix solutions that people are used to on Windows.

    3) Software and hardware vendors never saw value in cooperating. Next to to the lack of hand holding, this is probably the biggest issue. No thanks to the vendors, the hardware situation is much better than it used to be, but software remains a major hurdle. There are analogs and replacements for a lot of stuff, but they're rarely quite as good, always require a learning curve (on top of learning the new OS), and often times have file conversion issues. Apple got around this because they've always been Microsoft's "see, we're not a really a monopoly" hitching post so a lot of vendors (including MS themselves) have always maintained a MacOS version. Apple's recent success just means that they're making money on it.

    So now the Linux vendors concentrate on the server space (which has always been their strength), while producing steadily more polished Desktop OSes that don't get nearly the hype they used to. Meanwhile increasing numbers of tablets, smartphones, and PDAs may make the whole thing irrelevant in ten years. Not that desktop or laptop computers are going anywhere, but portable platforms will probably overtake them in usefulness for non-technical people at some point in the next decade.

    --
    I don't need a million points of light, just two points of multi-mode fiber and a 10 Gig-E router.
  13. Is there a demo online? by doperative · · Score: 4, Interesting

    Anyone care to post a demo of this Linux autorun vulnerability, one that will compromise my system by inserting a USB device, and with no user confirmation required, and doesn't prompt for the root password ..

  14. Easy Defense by FalleStar · · Score: 2

    I actually watched this presentation live, and it is definitely worth checking out. Although this is a good presentation, it's not exactly the hack of the century. The guy still hasn't actually found a way around AppArmor yet so this doesn't work with machines with it enabled. Furthermore, the exploit requires local access to the machine AND have a user account already logged in.

    I'm sure 99% of you already know how to do this, but if anyone is interested in protecting themselves from this type of attack regardless simply:

    1. Open a Nautilus window.
    2. Edit -> Preferences. Go to the Media tab.
    3. Uncheck the box that is labeled "Browse media when inserted".

  15. Looks like WTFV is harder than RTFA by adamofgreyskull · · Score: 3, Insightful

    Almost every comment here is concentrating on "Autorun" i.e. automatic execution of scripts/executables on media and ignoring the main focus of the talk, which is about exploiting bugs in the way the file-manager handles previews of image, PDF, DVI files etc. situated on the media. More generally he talks about the possibilities of exploiting vulnerabilities in every layer involved when automatically handling inserted media, from device discovery, device drivers, file-system drivers, up to and including the file-manager.

    Unless we're all conflating "autorun" with "automount & show the media in a file-manager" now?

  16. Exploit was done after disabling AppArmor by buchanmilne · · Score: 2

    Linux still has the antiquated "user, group, everyone" security model from the 1970s.

    Yes, there's SELinux. But there isn't a whole distribution with a full range of applications which can run under a mandatory security model.

    Actually, the Unix model is so ingrained in all Unix platforms, that getting users who expect broken Unix off it (on Linux) is difficult, and they want the insecurity and convenience of Mac OS X.

    And, for the demo, the speaker actually had disabled AppArmor, because with it enabled, his exploit didn't work. He said he would have been able to get around AppArmor (due to one or two controls that we not enforced on the thumbnailer) with sufficient time.

  17. Re:Exactly by multisync · · Score: 3, Insightful

    MS *tried* to fight it (in part) by effectively adding a GUI sudo prompt into Windows Vista. A million people -- including Linux users posting on Slashdot -- immediately flew into fits of nerd rage about how annoying it was to have a GUI sudo prompt.

    If you are referring to UAC, it is hardly a "GUI sudo prompt." sudo requires you to prove that you are an authentic user by providing your password each time you open a shell to perform an administrative task (and every fifteen minutes after), and you also have to be a member of the sudo group (which only the first account created at install time is by default).

    All UAC does is basically confirm with whomever is currently sitting at the computer (authorized or not) that they initiated some arbitrary action. This is also useful, in that it prevents some web site from installing a piece of malicious software without the user's knowledge, but it is far from a "GUI sudo prompt."

    This is the reason it was met with derision by Slashdotters (and I don't recall many "fits of nerd rage," although a few might have snorted Code Red through their noses when they realized how impotent - and easily disabled - this new Microsoft "security feature" was).

    --
    I don't care why you're posting AC
  18. Re:Exactly by trickyD1ck · · Score: 4, Informative

    All UAC does is basically confirm with whomever is currently sitting at the computer (authorized or not) that they initiated some arbitrary action.

    Unless you are a limited-rights user. Then you have to enter admin credentials.

  19. ffs people by smash · · Score: 2

    ... it was a bad idea when microsoft did it (infuriating, even if it wasn't a security problem, even back in 1995), and now the noob idiots pushing current desktop environment development (which seems to have peaked and gone downhill in about 2004) seem determined to replicate every bad idea and fuckup of windows until linux is just as unworkable.

    People run linux because of retarded shit like that on Windows. Don't replicate the problem.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.