Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

VBootkit Bypasses Vista's Code Signing

Posted by kdawson on Tue Apr 03, 2007 11:05 PM
from the breaking-into-your-own-hardware dept.
An anonymous reader writes "At the Black Hat Conference in Amsterdam, security experts from India demonstrated a special boot loader that gets around Vista's code-signing mechanisms. Indian security experts Nitin and Vipin Kumar of NV labs have developed a program called the VBootkit that launches from a CD and boots Vista, making on-the-fly changes in memory and in files being read. In a demonstration, the 'boot kit' managed to run with kernel privileges and issue system rights to a CMD shell when running on Vista, even without a Microsoft signature. The demo was run on Vista RC2. The researchers say the only reason they didn't do it on Vista final was cost. Schneier blogged the exploit."
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by zappepcs (820751) on Tuesday April 03 2007, @11:08PM (#18599225) Journal
    isn't it ironic that even hackers don't like the high cost of MS software?

    FTFA: "The researchers say the only reason they didn't do it on Vista final was cost."
      • by Sancho (17056) on Tuesday April 03 2007, @11:33PM (#18599453) Homepage
        They probably did--that's probably why they are confident that it would work on there. They just don't want to actually claim success since it was done illegally.
      • Re: (Score:3, Informative)

        As far as I know, one can legally install an evaluation copy of Vista, with a blank CD key, and evaluate it for some number of days. Then it expires.
      • Re: (Score:2, Insightful)

        There's a validity result there though, in addition to what the other two responses said. If it's a hacked copy of Vista, then there's already something to make it do things that it's not supposed to do. I would be more skeptical of this result if it came from a hacked final copy than from RC2.
      • by your definition #2, a hacker that is concerned about cost of the software qualifies... at least I think so
      • by holloway (46404) on Wednesday April 04 2007, @01:45AM (#18600313) Homepage
        Interpretations of Alanis's Song "Ironic", 1) She didn't know the meaning of the word and the song's examples prove it. 2) She did know the meaning of the word and she consistently came up with examples that weren't ironic. Naming the song ironic would then be quite ironic. There's no real evidence either way. She said in an interview that it's (2) so I guess it's all to do with whether you believe her.
  • channel9 (Score:3, Interesting)

    by Anonymous Coward on Tuesday April 03 2007, @11:09PM (#18599233)
    And here's a video interview [msdn.com] of the guys who admit to be responsible.

  • Boot Sector Virus (Score:5, Insightful)

    by w128jad (643759) on Tuesday April 03 2007, @11:09PM (#18599237)
    Are we about to see the dawn of a new day for the Boot Sector Virus?
    • by EmbeddedJanitor (597831) on Tuesday April 03 2007, @11:13PM (#18599265)
      Windows Genuine Rootkit Advantage
      Roots for Sure
      Clippy Boot: "You seem to be wanting to run as Admin, can I help?"
      C'mon folks help me out!
      • Re: (Score:3, Interesting)

        Windows Genuine Rootkit Advantage
        Roots for Sure
        Clippy Boot: "You seem to be wanting to run as Admin, can I help?"
        C'mon folks help me out!

        I think Vista could come out with "That's not a bug, its a feature .. so that fully virtualized instances of Vista can be modified by third party boot loaders for dynamic reprovisioning".

        Actually, since local access to fully virtualized instances is a moot point, it would be (arguably) a feature in that respect.

        disk = [ 'phy:/hasta/la/vista/baby,ioemu:hda,w' ]

        I'm just wond

    • by Sancho (17056) on Tuesday April 03 2007, @11:14PM (#18599269) Homepage
      Of course, it will be one of those that relies on a code of honor:

      "This is the Windows Vista Boot Sector Virus kit. Please burn this ISO to a CD and boot your computer with it."
        • Re:Looks like it (Score:5, Interesting)

          by Sancho (17056) on Tuesday April 03 2007, @11:31PM (#18599429) Homepage
          True, but it's a more complex situation than that.

          In order for the boot sector to be compromised [in x64 Vista], there must already have been a kernel-level compromise. Unsigned kernel-level code must have already run. Further compromising the boot sector would certainly be a way of maintaining control over the system, but that's not the hard part in a scenario like this.

          My guess is that compromising this particular security mechanism will be hard. Vista engineers worked pretty hard on the signed code requirement and on hardening kernel-level services to prevent the likelihood of attack. Getting unsigned code to run is going to require a hole in the kernel or a kernel driver (not user-mode drivers, as most Vista drivers must be). Is it possible? Sure, and it's been demonstrated in RC1 (or was it RC2 that the Bluepill malware exploited?). But it is damned hard, and between that and automatic updates available and on by default, I think we're unlikely to see any of the absurd worms of a few years past.
          • Re: (Score:3, Informative)

            My guess is that compromising this particular security mechanism will be hard. Vista engineers worked pretty hard on the signed code requirement and on hardening kernel-level services to prevent the likelihood of attack. Getting unsigned code to run is going to require a hole in the kernel or a kernel driver (not user-mode drivers, as most Vista drivers must be). Is it possible? Sure, and it's been demonstrated in RC1 (or was it RC2 that the Bluepill malware exploited?). But it is damned hard, and between that and automatic updates available and on by default, I think we're unlikely to see any of the absurd worms of a few years past.

            Sooooooo..... What you're saying are that wide-spread exploitations [pcmag.com] of an animated cursor library flaw [slashdot.org] are things of the past? Thank science my Windows PC is safe from administrative privilege granting exploits, because the administrator can't disable things like automatic updates and code signing and junk! Sweet!!

            • Re:Looks like it (Score:4, Informative)

              by Sancho (17056) on Wednesday April 04 2007, @12:19AM (#18599721) Homepage
              Apparently, administrator cannot disable the code-signing requirement (at least, not on X64, which is what this article talks about). Although there has been talk of this as a possibility, the more I look, the more it appears that this was a pre-RTM setting which is now ignored.

              Yeah, we'll see some worms, but like I said, I doubt they'll be of the magnitude of some of the ones in recent memory.
          • Re: (Score:3, Interesting)

            "In order for the boot sector to be compromised [in x64 Vista], there must already have been a kernel-level compromise. Unsigned kernel-level code must have already run. Further compromising the boot sector would certainly be a way of maintaining control over the system, but that's not the hard part in a scenario like this."

            That's mainly true if you're running Vista 100% of the time, right? In theory, if a hacker was trying to alter his own copy of Vista rather than create a virus (perhaps to foil DRM), co
          • Re: (Score:3, Insightful)

            The attack vector can be any diagnostic utility that has some hardware priviledge. The BIOS (or flash on another I/O card) can be updated to start the attack. (if an attack is desired). Finding a code path that allows direct writing to the hard disk would be another vector (not saying Vista HAS that hole).

            But the main problem is not an external attack. This hack allows Vista DRM to be cracked. The supposed secure data paths in the OS that are designed to be "hands off" to even the administrator are now at r
        • Which the virus is probably going to be unable to write to, unless it exploits the o/s to gain such access. This exploit does not provide such access, it requires booting the os from a special boot loader.

          Well, no shit. If you boost from a custom boot sector before the o/s is even resident in memory, of course it can do anything...

              • The issue is whether or not malware can create (and/or modify) the boot sector on a USB drive that is left in the computer through successive reboots. A user-mode virus could infect the USB drive, then the next time the computer is booted, it would boot the USB drive (modifying memory much the same way that this exploit does) before passing control to the hard drive and Vista. Of course, this requires that USB booting is enabled in the BIOS.

                That's how a lot of boot-sector viruses spread in the old days.
                • Before it can modify the boot sector, it has to run.

                  This exploit doesn't run unless you manually boot from it first.

                  As another poster said, the significance of this is not so much about virus propogation, but more about enabling the user to manually intervene and circumvent the requirement for code signing (and thereby, in turn perhaps circumvent the DRM security in vista).

    • Are we about to see the dawn of a new day for the Boot Sector Virus?
       
      This is a very interesting point. The difficulty ofcourse still remains with getting the virus into the boot sector, but once there it would be no different than your run-of-the-mill xp virus with administrator priveledges. Fortunately I'm sure Vista (and hell, even the BIOS) guard the boot sector like it's fort knox.
      • by Volante3192 (953645) on Tuesday April 03 2007, @11:23PM (#18599349)
        Fortunately I'm sure Vista (and hell, even the BIOS) guard the boot sector like it's fort knox.

        No problem. We just send a flying circus over the BIOS, dump some VX gas on it, then march in with the industrial laser. Then we cut a hole, drop the virus in and, BOOM! Instant instability.

        This is assuming, of course, Vista hasn't seduced the leader of the flying circus by this point, at which case the whole plan's shot to hell.
      • Re: (Score:3, Interesting)

        Fortunately I'm sure Vista (and hell, even the BIOS) guard the boot sector like it's fort knox.

        Does it guard all disks, or just the boot disk? If it guards all disks, then this could make it difficult to create bootable disks in Vista. If it only guards the boot disk, it means the virus could easily write to the boot sector of a flash drive. Anyone who booted a USB-bootable PC with the USB drive attached would not notice anything amiss, but would have the virus running with SYSTEM privileges (and even Administrator can't kill SYSYEM's processes). This computer could then install the boot sector

  • Cost? (Score:5, Interesting)

    by biocute (936687) on Tuesday April 03 2007, @11:14PM (#18599271) Homepage
    Cost as in the money one has to pay to acquire a copy of Vista, or the cost of developing a Vista-Final-compatible VBootkit?

    I find it hard to believe they cannot find a sponsor (maybe even a computer shop) to give them a copy to play with.
    • I find it hard to believe they cannot find a sponsor (maybe even a computer shop) to give them a copy to play with.

      Perhaps because Microsoft will patch this and render the boot kit useless in less time that it takes to say "oh my god, my unsigned drivers don't work anymore"?
    • I find it hard to believe they cannot find a sponsor (maybe even a computer shop) to give them a copy to play with.
      These guys are in India where CS salaries are about one tenth of what they are in the USA, but Vista costs just about the same there as it does in the USA. So, consider how likely it would be for someone to toss $2000-$3000 to an unknown company in the USA with zero chance of getting a return on the money?
    • Re: (Score:2, Funny)

      by Anonymous Coward
      When I first read your remark, I thought you said it cost too much memory to run Vista. That seems to make a lot of sense.

      Cost of OS - $120
      Price of extra gig of memory - $80
      Look on Ballmer's face when Windows gets rooted - priceless!
  • by Ferzerp (83619) on Tuesday April 03 2007, @11:14PM (#18599275)
    "hacker" uses a boot disk in linux and wipes the root password!!!

    Why is this a story? Physical access (needed to boot from an alternate source) has always been root access.
    • by Sancho (17056) on Tuesday April 03 2007, @11:20PM (#18599327) Homepage
      It's a story because of Vista's signing requirement for kernel drivers in x64. A boot disk like this wouldn't be useful for compromising a system in the traditional, and it isn't intended as such. It is intended to give control back to the owner of the computer, and as such, physical access is neither an unreasonable requirement, nor an unreasonable expectation.
      • by Ferzerp (83619) on Tuesday April 03 2007, @11:36PM (#18599467)
        Is there not an F8 boot option to load unsigned drivers?

        a quick search says yes, and the flag can be set as the default behavior as well.

        http://www.unofficialvista.com/article/204/install ing-unsigned-drivers-in-64-bit [unofficialvista.com]
        • Ooh, nice. I was aware of the F8 'trick', but I was under the impression that there was no way to permanently disable the checks. Thanks for the tip!
        • by PhrostyMcByte (589271) <phrosty@gmail.com> on Tuesday April 03 2007, @11:43PM (#18599533) Homepage
          The flag to set default behavior was disabled in RTM and iirc RC2. You can set it, but it has no effect.
          • Re: (Score:3, Informative)

            This is untested by me since I don't run x64, but here is supposedly the Vista x64 RTM method for permanently disabling the driver signing requirement:

            Start/Programs/Accessories
            Right-click "command prompt" and select "run as administrator"
            At the command prompt, type bcdedit /set loadoptions DDISABLE_INTEGRITY_CHECKS
            Reboot!

            In case you want to enable the driver signing requirement again:
            bcdedit -deletevalue loadoptions

            (Blatantly borrowed from http://www.teamxlink.co.uk/forum/viewtopic.php?t=2 0068&start=2 [teamxlink.co.uk]
        • by Spy Hunter (317220) on Wednesday April 04 2007, @05:36AM (#18601787) Journal
          Yes, but then Vista knows it's "tainted". It will refuse to run "protected media path" DRM, because it is supposed to protect such DRM against snooping by unsigned code. Memory-sniffing attacks such as those recently deployed on Windows XP against HD-DVD players are supposedly thwarted by Vista's "protected media path". This sounds like a backdoor to load unsigned code into the kernel without it being aware, giving you complete control over your own computer at all times, even when it is running PMP DRM crap.
      • by elronxenu (117773) on Wednesday April 04 2007, @01:44AM (#18600303) Homepage
        Well, if you want to get back control of your computer, you could uninstall Vista and install Linux.

        Sure, this technique could be used to let you modify Vista and patch device drivers and so on, but you'd still be fighting Microsoft and their whole "we'll tell you where to go today" attitude toward operating systems.

        On the other hand you could install Linux and maybe experience some temporary discomfort as you get used to the user interface or different applications (openoffice or abiword or scribus instead of MS Word, etc). Maybe you have to give up some games if they won't run emulated. Whatever it costs you in conversion, consider that you've bought your freedom from the domination of Microsoft. You now have a stable, reliable system developed by people whose interests are aligned with your interests, rather than those of the most hated organisations in America.

        Linux ... There are no backdoors, no spyware; it's pretty much immune to viruses. It won't "phone home" and accuse you of piracy, it won't disable itself about licensing issues, or degrade the picture quality. You can run it on multiple computers if you want. You can share it with a friend if you want. You can update it from the net, forever. There will always be new free applications for you to use.

        Microsoft Vista ... it's an operating system designed to meet the needs of major corporations: Microsoft, the RIAA, MPAA. Managing system resources and running applications is a secondary function; the primary function is to lock you into Microsoft software and extract the maximum possible amount of money from your wallet. What's good for Microsoft is not necessarily good for the user; Microsoft's interests do not align with your interests.

        There's a Cave Troll chained to a rock in the middle of an Arena. The Cave Troll is hungry and roars continuously. You throw people to the Troll as sacrifices. But the Troll continues to roar; it will never be satisfied. It grows bigger - someday soon it may break its chains and eat us all. Microsoft is the Cave Troll. Are you going to continue to sacrifice people to it? Or are you going to say "enough is enough" and take back your control - take back your dignity?

    • Just because you have physical access to the machine doesn't mean the machine will do your bidding when you fire it up. It will still not run unsigned drivers, it will still not be under your control. Vista rewrote the laws of access, being administrator doesn't mean that you're root.
  • I wonder how this will affect Microsoft's DRM?
    • Re:Hmmmm... (Score:4, Insightful)

      by Opportunist (166417) on Wednesday April 04 2007, @01:17AM (#18600141)
      Umm... blow it to pieces?

      I forsee that this exploit will be less used for traditional attack rootkits, it seems more like a very convenient way to get rid of all the unwanted 'security features' (read: the ones that protect the makers of your content instead of you) of Vista.
  • by djupedal (584558) on Tuesday April 03 2007, @11:38PM (#18599483)
    Let's see:
    • VBootKit bitch slaps VISTA
    • Animated cursor panic/fix
    • EMI/Apple DRM shun ropa-dopes WMA
    • XBox Elite HD-DVD chokes on popular title
    • XBox Elite HDMI only v1.2
    • Class action suit for bait/switch 'VISTA Ready' claims
    Can't wait to see how the rest of the week plays out....heheheheh
  • VM? (Score:5, Interesting)

    by mr100percent (57156) on Tuesday April 03 2007, @11:42PM (#18599519) Homepage Journal
    So, it's being hacked because Vista is booted from within some sort of VM? That doesn't sound like too much of a threat to machines. A threat to DRM, maybe.
    • Re: (Score:3, Insightful)

      That doesn't sound like too much of a threat to machines. A threat to DRM, maybe.

      Of those two possibilities, which do you think MS actually gives a rat's butt about? They don't care if you lose control of your machine. They for darn sure care if they do. That's what makes this a "ha-ha!" moment.

  • by dioscaido (541037) on Tuesday April 03 2007, @11:51PM (#18599571)
    ...enough to do things like boot up the machine using alternate media, then the battle is essentially lost, no?
    • Yes, but that's the point :)

      This specific exploit is good only for regaining control over your system (a system which does not let you load unsigned kernel modules).

      Abstracted out, it allows any kernel exploit to maintain control of the system by modifying the boot sector of the hard drive. But you still need that initial exploit first.
    • Dear Mr. Gates: (Score:5, Interesting)

      by Kadin2048 (468275) <slashdot@kadin.xoxy@net> on Wednesday April 04 2007, @12:14AM (#18599701) Homepage Journal
      ...enough to do things like boot up the machine using alternate media, then the battle is essentially lost, no?

      Yep. Now, who wants to type up the memo to Microsoft? Because, see, they keep trying to control your computer from Redmond, even though you're sitting at the console.

      Rootkits aren't just for botnet operators anymore. Root/boot kits are the way people are going to take back their computers from Microsoft, so that they can, you know, do stuff with them.

      (Although, more seriously, it's only a few people that need to have rooted machines, so that they can rip copy-protected content using kernel-level exploits to bypass the DRM enforcement. Then they can just dump the content onto Bittorrent or some other P2P protocol, which is how the unwashed masses will get it.)
  • by Anonymous Coward on Tuesday April 03 2007, @11:51PM (#18599579)

    Hi, I'm a Mac...

    ...and I'm whatever the Russian mob wants me to be.

  • by eerok (1033124) on Wednesday April 04 2007, @12:04AM (#18599645)
    Many are seeing this as a security exploit, but it seems to be a workaround to gain usability.

    Interesting reversal here, but one can argue that, with Vista, the user is the virus. No surprise that people are fighting back to regain control over their machines.

  • That's nice and all, but couldn't they have done something more fun? Heck, they should have hacked the Vista bootscreen at least. It's so damn boring, it doesn't even have the Vista logo.

    I'd have been much more impressed if they replaced it with a picture of Gerard Butler, screaming

    THIS... IS... VISTAAAA!!

    Now THAT's a boot screen! Bonus points for having a bunch of Hoplites dressed in red, green, blue and yellow armor.
  • by Opportunist (166417) on Wednesday April 04 2007, @01:31AM (#18600241)
    Many have pointed out that an attack vector that requires the attacked user to jump through a few hoops is none. This is not entirely true, but I'll cover that later.

    What this is, though, is a way to gain more control over your machine. This matter has been discussed as an attack vector of some intruder trying to take over your machine. As this, it is probably not the most successful way of invading Vista (let's face it, folks, there are far easier ways). I'd like to shine some light on the opportunity of invading your own machine.

    Vista has some "features" that most people would just love to get rid of. And this seems to be the key to this goal. So I'd say this is less a way for someone to take control of your machine, more likely it's a way for you to take control of it.

    Of course, and here's your attack vector, the vast majority of people don't know what's ticking inside their box. They just wanna play their cracked games and view their ripped movies. And (bless the internet), they will learn about this hack and that it can be used to do just that. Being unable to rewrite the bits themselves, they will have to use tools provided by others. And they will very willingly jump through any hoops you present them, for the promise to get control over their machine, they'll give you admin access and reboot for you, they install whatever you want them to install.

    That's how this can be used to invade a machine. Sure, it takes a lot of help from the user, but the user will help you very willingly, for the promise of getting his machine back into his hands.
  • by cancerward (103910) on Wednesday April 04 2007, @02:45AM (#18600645) Journal
    Back in the 1980s Sierra On-Line used to copy protect their adventure games with a copy protection system which involved strangely formatted sectors on the original disk which were impossible to duplicate exactly using standard PC hardware. The loader "sierra.com" used to call a copy-protection program "cpc.com" which loaded data from the disk to decrypt the main program and run it. cpc.com had some of the most obscure, twisty, awful code ever written to prevent debugging and it constantly used different methods to thwart stepping through the program using INT 3 (these were the days before Soft-Ice). But the solution (or "crack") was just dead simple. Just fire up debug, step to the beginning of cpc.com, and copy the vector from INT 3 into the INT 13 vector - then cpc.com stops right at the point where the data from the disk is being loaded, so it can be copied. Despite all the incredibly complex code, cpc.com had to read the data off the disk so there was no way the Sierra programmers could thwart this method. It sounds like the same thing in Vista -- the INT 13 redirection happens before everything else and can't be thwarted.
  • by smchris (464899) on Wednesday April 04 2007, @07:09AM (#18602503)
    Sounds like the moral is that the media companies will end up demanding hardware we will have to hack just to run linux. In the meantime Vista gives us a break to prepare for that because it will be some months before it becomes clear Vista doesn't really protect content and some years for Microsoft and the manufacturers to come up with an even more draconian PC.
    • Re: (Score:3, Interesting)

      And understandably so.

      I can see why MS wants the Fritz in the hardware. I just can't see why I would.

      Basically what this hack does is to offer an attack vector against the machine and the ways it locks me out of features I would like to use. Not an attack vector against the user. Actually, it offers the user a vector against his machine.

      Yes, I know what I just said. An attack vector for the user against his machine. It's sad enough when a user has to attack his own machine to actually get it to do what he w