Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Microsoft Research Warn About VM-Based Rootkits

Posted by Zonk on Fri Mar 10, 2006 08:56 PM
from the why-would-you-prove-that-concept? dept.
Tenacious Hack writes "According to a story on eWeek, lab rats at Microsoft Research and the University of Michigan have teamed up to create prototypes for virtual machine-based rootkits that significantly push the envelope for hiding malware and maintaining control of a target OS. The proof-of-concept rootkit, called SubVirt, exploits known security flaws and drops a VMM (virtual machine monitor) underneath a Windows or Linux installation. Once the target operating system is hoisted into a virtual machine, the rootkit becomes impossible to detect because its state cannot be accessed by security software running in the target system."

Related Stories

[+] Undetectable Rootkits Through Virtualization? 237 comments
techmuse writes "eWeek has an article about a prototype rootkit that is implemented using a virtual machine hypervisor running on top of AMD's Pacifica virtualization implementation. The idea is that the target OS, or software running on it, would not be able to detect the rootkit, because the OS would be running virtualized on top of the rootkit. The prototype is supposed to be demonstrated at the Syscan conference and the Black Hat Briefings over the next month."
[+] VM-Based Rootkits Proved Easily Detectable 128 comments
paleshadows writes "A year and a half has passed since SubVirt, the first VMM (virtual machine monitor) based rootkit, was introduced (PDF), covered in the tech press, and discussed here. Later Joanna Rutkowska made news by claiming she had a VMM-based attack on Vista that was undetectable — a claim that was roundly challenged. Now in this year's HotOS workshop, researchers from Stanford, CMU, VMware, and XenSource have published a paper titled Compatibility Is Not Transparency: VMM Detection Myths and Realities (PDF) showing that VMM-based rootkits are actually easily detectable."
This discussion has been archived. No new comments can be posted.
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • I say we take off... (Score:5, Funny)

    by LiquidCoooled (634315) on Friday March 10 2006, @08:57PM (#14895974)
    ...and nuke the entire site from orbit.
    It's the only way to be sure.

    Everything I know about rootkits tells me that you cannot detect one from within the running system, you have to be objective (I consider the current fingerprint detection to be working because of bugs in the rootkit implimentation, these will be "fixed" over time).

    Keep a known secure boot CD.

    Drain the battery and reset the bios then boot from that cd.
    If theres anything sophisticated enough to bypass this level of paranoia then it can damn well have my credit card number and I'll gladly send spam for them.
  • Why is microsoft researching this? (Score:3, Insightful)

    by Saven Marek (739395) on Friday March 10 2006, @09:02PM (#14895990)
    Why is microsoft researching this kind of thing? And with Linux too? It makes me wonder if the next time you go to install Windows on a partition somewhere with the same machine as you also dual boot into Linux whether your linux boot will not then be "taken over" by Windows, and MS can insert any little hooks, DRM, inspection code or other things running underneath the linux system you have.

    Then they can force linux to perform worse than Windows and nobody will be none the wiser.

    Except when you boot into linux and then you get a blue screen it will give it away lol.
  • You never sure if this is a feature or a bug. Either way, they will probably charge a subbscription fee to get the feature or get rid of the bug.
  • Original Paper [umich.edu]

    Abstract

    Attackers and defenders of computer systems both strive to gain complete control over the system. To maximize their control, both attackers and defenders have migrated to low-level, operating system code. In this paper, we assume the perspective of the attacker, who is trying to run malicious software and avoid detection. By assuming this perspective, we hope to help defenders understand and defend against the threat posed by a new class of rootkits.

    We evaluate a new type of malicious software that gains qualitatively more control over a system. This new type of malware, which we call a virtual-machine based rootkit (VMBR), installs a virtual-machine monitor underneath an existing operating system and hoists the original operating system into a virtual machine. Virtual-machine based rootkits are hard to detect and remove because their state cannot be accessed by software running in the target system. Further, VMBRs support general-purpose malicious services by allowing such services to run in a separate operating system that is protected from the target system. We evaluate this new threat by implementing two proof-of-concept VMBRs. We use our proof-of-concept VMBRs to subvert Windows XP and Linux target systems, and we implement four example malicious services using the VMBR platform. Last, we use what we learn from our proof-of-concept VMBRs to explore ways to defend against this new threat. We discuss possible ways to detect and prevent VMBRs, and we implement a defense strategy suitable for protecting systems against this threat.

  • rootkits? (Score:3, Interesting)

    by gcnaddict (841664) <gcnaddict.gmail@com> on Friday March 10 2006, @09:03PM (#14895997)
    (http://www.gcnaddict.com/)
    Can anyone say dual boot?

    And another question: I can understand the risk that this may pose for enterprise servers (Virtual Server systems, just to name one), but does this hold any implications for client VMs?
    • Re:rootkits? by TheWanderingHermit (Score:2) Friday March 10 2006, @09:17PM
      • Re:rootkits? by Dionysus (Score:3) Friday March 10 2006, @09:29PM
        • Re:rootkits? by tekiegreg (Score:2) Friday March 10 2006, @09:48PM
          • Re:rootkits? by Sancho (Score:2) Saturday March 11 2006, @02:15AM
        • Re:rootkits? by TheWanderingHermit (Score:2) Friday March 10 2006, @09:52PM
        • Re:rootkits? by Stephen Samuel (Score:2) Saturday March 11 2006, @09:06PM
      • Re:rootkits? by Tyger (Score:2) Friday March 10 2006, @11:19PM
      • Re:rootkits? by TheWanderingHermit (Score:2) Friday March 10 2006, @09:59PM
      • 1 reply beneath your current threshold.
    • ABSOLUTELY by hey! (Score:2) Saturday March 11 2006, @06:41AM
      • Re:ABSOLUTELY by Dan Ost (Score:2) Saturday March 11 2006, @03:06PM
  • Of Course (Score:3, Insightful)

    by Alien54 (180860) on Friday March 10 2006, @09:03PM (#14895998)
    (Last Journal: Saturday October 27, @10:19AM)
    while I can appreciate the logic of the research, I imagine this only gives creedance to the theories that companies deliberately design viruses so that they can sell more of their latest security product. or system/OS upgrade
  • that virtualising i386 was hard and carried quite some overhead.

    i'd imagine the vm would have quite different performance patterns for some operations than the real machine. it would also pretty much by definition have to have slightly less ram.
  • ROM Boot Keys (Score:5, Interesting)

    by PktLoss (647983) on Friday March 10 2006, @09:05PM (#14896004)
    (http://www.preinheimer.com/ | Last Journal: Friday August 22 2003, @10:32AM)
    It may not be feasible for home environments, but for workplaces. What about booting off either dedicated ROM boot keys, or USB memory keys with a some sort of physical read only/read&write switch. Put the key into your machine to boot (for bonus points, the key tells the machine who you are and begins to load your roaming profile), when it comes time for a new image the IT guys either give you a brand new ROM key, or update your USB key by toggling the switch.

    My worry with keeping things inside the machine (the article indicates that AMD and Intel have ideas) is that it's just going to be a perpetual arms race. Since we can't rely on the user to know when it is and is not apropriate to allow your OS to modify your boot sector, evenually virus/malware authors will just trick people into accepting the updates.
  • translation (Score:5, Insightful)

    by Anonymous Coward on Friday March 10 2006, @09:09PM (#14896026)
    You can only be secure if your run hardware with treacherous computing modules installed on the motherboard and in the "approved" CPUs and BIOS chips, and that only works with treacherous computing software, sort of expensive hand in designer glove..

    Kind of a sneaky advertisement, isn't it? Instill terror to sell vendor lockin hardware and operating systems. Maybe even get a law or three passed. They sort of gloss over the "get the rootkit there in the first place" part, don't they?
  • Link to research paper (Score:5, Interesting)

    by saikatguha266 (688325) on Friday March 10 2006, @09:10PM (#14896030)
    (http://saikat.guha.cc/)
    Here is a link to the actual paper the article references:
        http://www.eecs.umich.edu/virtual/papers/king06.pd f [umich.edu]

    The authors make an interesting point -- users and rootkits are about control. Whichever one controls the outer layer wins. If the user is in a protected environment, a rootkit running as root can win. If the user is root, then the rootkit must be a kernel-level root-kit and run in the kernel. If the user can control the kernel, the rootkit must control the machine, in this case, put the user kernel in a VM.

    My take is: in this game of cat and mouse, you'll stop only at the hardware -- it is hard for a rootkit to control the hardware short of the rootkit script kidde being able to get physical control. So yes, the user can win this game, if he controls the hardware that controls the software. How does the hardware control software? You guessed it: trusted computing ala TCPA ala Palladium etc etc.

    Can you think of a way to win against rootkits without TCPA?
    • Re:Link to research paper by ptelligence (Score:1) Friday March 10 2006, @09:18PM
    • Re:Link to research paper by BitwizeGHC (Score:2) Friday March 10 2006, @09:18PM
    • Re:Link to research paper (Score:5, Interesting)

      by Jon Luckey (7563) on Friday March 10 2006, @09:25PM (#14896093)
      Can you think of a way to win against rootkits without TCPA?

      A rootkit can really only win if its undetectable. If you are playing a game of who has control of ring-zero resources, the victim, if running in a VM should be able to do various things that would cause an exception when it tried to do ring-0 only hardware accesses. If the exceptions are not what is expected, then the victim would be able to detect that its not in true control.


      It might be possible to make a VM that tried to emulate ring-0 hardware access in user mode. Been a while since I looked at that area of cpu's. But if so, I'd expect it to be much more complex than a normal VM.


      But suppose it is possible to test for true ring-0 hardware access. Then the root-kit has to fall back to classical root-kit techniques. It has to subvert the detection software. That task can be made difficult by classic defenses, like trip-wire, or running software from read-only sources, etc.

      [ Parent ]
      • Re:Link to research paper by saikatguha266 (Score:2) Friday March 10 2006, @10:00PM
      • Re:Link to research paper (Score:5, Interesting)

        by Tyger (126248) on Friday March 10 2006, @10:51PM (#14896376)
        Speaking just of the x86 architecture...

        The thing with emulating a "ring 0" environment is that there is a lot to emulate. Most everything that would not work in a true ring 0 environment would cause the CPU to raise an interrupt for the host OS to handle. Typically the OS handles it by smacking around the application for being bad and doing something it isn't supposed to do. But it is possible to instead do what it is trying to do, and make it look like nothing was amiss.

        The trouble is there is a lot of different things to deal with. If you know your target OS, it's easier since you don't need to emulate every little thing the CPU does, just what the OS will be using. But even then there will always be telltale fingerprints that something is amiss. Theoretically you could get around some of them by scanning ahead the instructions to be executed, but at some point you seriously impact system performance, and that in itself will make people notice.

        Off the top of my head, the simplest way to detect it takes advantage of the fact that emulating ring 0 operations involve a context switch and some execution. Context switches tend to be rather expensive operations compared to most everything else the CPU does. The CPU has something called a timestamp counter, which basically counts every clock cycle, always incrememting, no matter what process/thread is running. An instructions should take a deterministic number of clock cycles. So just check the timestamp counter, perform a priveleged instruction, then check the timestamp counter again. If it looks like it took too long, that means you are running under a virtual machine.

        Of course detection doesn't help with removal, but it's a start.
        [ Parent ]
    • Re:Link to research paper (Score:5, Insightful)

      by radtea (464814) on Friday March 10 2006, @10:04PM (#14896238)
      Can you think of a way to win against rootkits without TCPA?

      Almost trivially.

      The whole point of TCPA is that "trust" is built in to the machine in a fundamentally inaccessbile (to the user) way.

      What is needed to defeat rootkits is to allow the user to trust the hardware. This is totally different from application vendors trusting the hardware.

      Here's an extreme example: hook a logic analyzer up to the BIOS. Look at the nice bits go by. See if they match expectations. If not, you've been rooted and had your BIOS flashed. "Expectations" are stored in a separate device.

      The issue here is strictly one of treating a computer as a fully self-contained block of hardware and software that no one is allowed or able to look inside without going through the terribly civilized interfaces. The solution is to say, "Fuck the fucking interfaces, I'm going to fucking look at what is on the fucking bus." Not civilized at all.

      I've debugged embedded code this way, by hooking a logic analyzer up to the hardware and watching the bits go by. It's educational. It would be simple to build this kind of exposure of hardware internals in to the motherboard, to make it easy to plug in an external integrity checker to ensure that the basic state of the machine is as expected.

      "Trusted" computing is all about hiding the hardware state from the user. Beating VM-based rootkits is all about exposing hardware state to the user. The two are diametrically opposed.
      [ Parent ]
      • Re:Link to research paper by saikatguha266 (Score:2) Friday March 10 2006, @10:21PM
      • Re:Link to research paper by SiliconEntity (Score:2) Friday March 10 2006, @10:33PM
        • Re:Link to research paper (Score:4, Informative)

          by Soko (17987) on Friday March 10 2006, @11:37PM (#14896533)
          (http://arstechnica.com/journals/linux.ars)
          That's fine if you don't like this, but don't lie about the technology and say that it doesn't help the user to trust the machine. It helps everyone trust the machine. That's why it's called Trusted Computing.

          Mmmmmm... KoolAid.

          Dude, I trust a machine to do exactly as it's told. I do not trust humans to do the same. Trusted Computing is an aphorism for "Hey, you can trust $VENDOR, since your machine does, due to $TECHNOLOGY." Fuck that.

          If you r00t a computer, you're after one thing - getting information _out_ of said machine. (THINK - Credit card #s or Spam - it all has to leave the machine somehow.) You need to do this via a network connection, USB key or some other means. There are ways of noticing that information has left a machine in some way, either through physical security or other means (It'll be a cold day in Hades before a vendor brings a cell phone into my data center. Those things have memory, after all.) since once outside the box it's no longer under the control of the r00tk1t. IOW, if someone r00ts one of my machines, it'll be either noticed or totally useless to them.

          I, and I alone, establish trust of my systems. Any vendor who says they can do that for me is sadly mistaken, unless they are willing to allow me to completely vet thier Trust protocol and methods. Even then, I had better be able to fully audit that system at a whim, on my terms.

          "Trusted Computing" is for those who don't want to learn or do thier job professionally, are just plain lazy or, they're willing to drink the KoolAid. As for users, they tend to trust people, like me, who fix thier broken systems, and take my advice to heart when I charge them $TEXAS for fixing thier broken assed PCs. /me sips his Rye and cola....

          Soko
          [ Parent ]
        • Re:Link to research paper by quentin_quayle (Score:2) Friday March 10 2006, @11:48PM
        • Re:Link to research paper by IgnoramusMaximus (Score:3) Friday March 10 2006, @11:56PM
        • Re:Link to research paper by octopus72 (Score:1) Saturday March 11 2006, @05:17AM
      • Good luck. by b00m3rang (Score:2) Saturday March 11 2006, @12:09AM
      • Re:Link to research paper by swillden (Score:2) Saturday March 11 2006, @12:28AM
      • Re:Link to research paper by Dr. Blue (Score:2) Saturday March 11 2006, @02:10AM
    • Re:Link to research paper by rolosworld (Score:1) Saturday March 11 2006, @12:09AM
    • Re:Link to research paper by acaspis (Score:1) Saturday March 11 2006, @06:10AM
    • Re:Link to research paper by owlstead (Score:2) Saturday March 11 2006, @07:24AM
  • Performance Degration (Score:4, Insightful)

    by nurb432 (527695) on Friday March 10 2006, @09:12PM (#14896037)
    (http://slashdot.org/~nurb432/ | Last Journal: Friday August 27 2004, @03:24PM)
    On a normal machine, if you try to virtualize it you would notice right away that something was wrong as it would slow quite a bit.

    There might also be driver issues that could tip you off something isnt right. May not know what, but it should be apparent something is amis. It would have to emuate all the hardware that you had installed at the time of infection, unlike something like VMWare which presents a 'standard' ( but different ) set of hardware devices. Thats a prety tall order to pull off.
  • i've been working on a compromised system to poke for holes in the concept and i hit upon a novel idea. in fact, it's really simple

    all you have to do is-END CARRIER-
  • Virtually. (Score:2, Insightful)

    by Roskolnikov (68772) on Friday March 10 2006, @09:18PM (#14896071)
    My experience with Windows and VM scenarios is that it runs better in VM then in real life; mom and pop might not notice this but I should hope those that are savvy enough to understand what Microsoft is proposing as a 'threat' would also be savvy enough to notice the little things that make VM still a pain.
    examples:

    I bought 4 GB of ram and a 400 GB drive, now I have 1 GB and 150 GB drive (with 250 GB overhead for mail and porn).
    My Ultra-Monkey quad SLI Nvidia 9999 video card with 1 GB of ram now shows up as a 16 MB S3 Virge card, WTF?
    My Comcastic experience is now more like my old netcom dial up account but the cable modems lights are busy.

    Its really good to see Microsoft concerned about security, but I hope they will stop looking at how elaborate the hacks could be and focus more on why this crap
    can be done in the first place.....

    • Re:Virtually. by woolio (Score:2) Friday March 10 2006, @09:30PM
      • Re:Virtually. by sqlrob (Score:2) Friday March 10 2006, @10:48PM
      • 1 reply beneath your current threshold.
  • Not hard to detect (Score:2, Redundant)

    by LLuthor (909583) <lexington.luthor@gmail.com> on Friday March 10 2006, @09:19PM (#14896072)
    For someone like me, who games on his PC a lot as well as working, it would be immediately obvious that there is something wrong.

    Gaming performance would take a serious hit, as would anything that would normally require privileged hardware access.

    No virtual machine can work as fast as the host system or with as much RAM.
    • Re:Not hard to detect by Helios1182 (Score:2) Friday March 10 2006, @09:54PM
      • Re:Not hard to detect (Score:5, Interesting)

        by LLuthor (909583) <lexington.luthor@gmail.com> on Friday March 10 2006, @10:03PM (#14896234)
        Some functions cant be passed through, they need to be emulated, even on the same architecture, redirecting memory, storage and I/O requests, interrupt handlers and such. All these things suck performance, and in the case of games, where LOTS of memory and low-level calls to the graphics hardware are being made, performance sucks BADLY.

        Any gamer will notice a loss of 15 FPS or more in their favourite game. Developers will notice it too, when their profilers output does not match their codes timing.

        You can't play with the time, even if you are in a VM. People will notice this - even if the software wont.
        [ Parent ]
  • by MikeRT (947531) on Friday March 10 2006, @09:24PM (#14896085)
    (http://www.codemonkeyramblings.com/)
    an image of an idiot user taking their computer to a repair shop and the repair person uncovering 500 instances of VMWare running with 1 instance of spyware in each one?
  • VB VM attack confirmed (Score:1, Interesting)

    by Anonymous Coward on Friday March 10 2006, @09:29PM (#14896109)
    A few days ago, I saw VB6 jump instructions being sent to the wrong destinations, both in runtime and IDE. The malkit survived an XXClone backup so it was hiding in a file. I now have it isolated awaiting the gendarmes.
  • Holy Crap! (Score:3, Insightful)

    Why on earth is someone writing this software for the purposes of malware - why aren't they gainfully employed earning decent money.
    Seriously, whipping up your own VM that will run $HOST_OS is nowhere near in the same league as, say, hacking together a VBS macro in MS Word or similar...
    • Re:Holy Crap! by AvitarX (Score:1) Friday March 10 2006, @10:08PM
      • Re:Holy Crap! by typical (Score:2) Saturday March 11 2006, @03:00AM
        • 1 reply beneath your current threshold.
    • 1 reply beneath your current threshold.
  • The solution (Score:3, Informative)

    by aachrisg (899192) on Friday March 10 2006, @09:38PM (#14896139)
    is to run under a virtualization manager from the beginning. Than, there will be no way for these VM-based rootkits to actually run on the real haardware. They'll think they are doing so, but the outermost vm will be able to detect them easily.
  • by Jon Luckey (7563) on Friday March 10 2006, @09:41PM (#14896148)
    TFA seems to propose a model where the host OS is running a Root kit that runs a VM that runs a copy of the host OS that the user works within, which hides the root kit.

    But in that model, the host OS is still running.

    It mighr be possible to detect a rootkit by putting a honeypot of some sort in the true kernel. The when the root kit tried to do something, like say change the firewall, the true kernel could detect that and quarentine itself.

    Of course a root kit running with ring-zero permissions would try to lobotomize that code, so the honeypot itself can't be too easy to find and alter. You'd probably need other kernel level tripwire type code to look for lobotomization.

    Maybe a card with boot time code that the OS could call to verify itself. Not pure trusted computing as any user could add such a card (assuming a free slot)
  • Microsoft Techie #1: How are we going to get this to work?? Hmm, maybe we can stick this virtual machine monitor here, and then we can trick the highly technical, security-conscious guys who would use the system into giving us root access so we could put it before kernel secure mode is initiated?

    Microsoft Techie #2: Nah, too complicated. Let's just wait until the next default security hole...
  • Just one problem: (Score:5, Insightful)

    How do you install the rootkit? Yes, you guessed it, through an insecure operating system. This article is imho just another promotion FUD campaign for TCPA.

    If your current operating system and security measures are good enough, such rootkits-with-virtual-machines are not even going to be able to be installed, heck as long as you don't have to login as administrator to print out a document or surf the web, you're pretty safe.

    And as soon as you notice your box could be r00t3d, you take it out anyway and don't trust it. And if you don't notice one of your boxes is generating extra traffic or doing things it shouldn't, you shouldn't have to have admin privileges anyway.
  • Please Stop (Score:1, Flamebait)

    by cgenman (325138) on Friday March 10 2006, @09:48PM (#14896183)
    (http://www.chriscanfield.net/)
    I definitely agree that security minded individuals should find ways of attacking systems in order to find defences against them. Nearly all software holes are found this way, and are patched within weeks of discovery.

    But this seems excessive. We're just starting to hear about real Windows based rootkits in the wild, and a front page Slashdot article gives everyone and their mother an exploit route that is both nasty, nearly impossible to protect against, and hasn't been seen in the wild.

    Please Stop. Find a good, solid fix... or find code in the wild, then post about it.

    --This post intentionally left inflamatory. Please let me know where I'm wrong.
    • Re:Please Stop by _Sprocket_ (Score:2) Saturday March 11 2006, @12:12AM
    • Re:Please Stop by stinky wizzleteats (Score:2) Saturday March 11 2006, @12:25AM
  • by sql_noob (855995) on Friday March 10 2006, @09:59PM (#14896219)
    Microsoft start to SUPPORT linux? And start off with a rootkit prototype?

    Man, that is how a friend should be.
  • So... FIX THEM ... morons...
  • So basically what it is, is a rootkit designed to run in a virtual machine (like VMWare, VirtualPC, Bochs, QEMU, etc) that takes root control of the virtual machine, but the host OS is unable to detect the malware because it runs under a virtual machine and not on the host OS itself.

    Microsoft had tested code under VMWARE for Linux, and VirtualPC for Windows that allowed them to gain root access to the host OS from the virtual machine, and run the rootkit malware under the virtual machine.

    Yet what they are not telling you, is that the virtual machine has to run on the host OS, and that can be detected, even if the malware cannot. If you are really paranoid, just don't run a VMWARE or Virtual PC virtual machine or any other virtual machine, and if you find one on your OS, remove it. The problem with that is that malware scanners will be looking for virtual machine files and suspect them of being malware and warn the user. Besides any virtual machine has to be installed on Linux with root access anyway, and VMWARE Server apparently when I installed it on my Linux box had to compile a part of itself to match my kernel, and asked me to download a few libraries before it would continue. I doubt someone can use VMWARE to install as a regular user on Linux without someone with root access allowing it. Still, Xen is a virtual machine and is becoming popular with Linux, I wonder if it is vulnerable as well?

    The whole VM rootkit fails, unless the malware author finds a way to install a VM on a host OS without being detected, and without Root or Administrator access. The only way I can see that happening on Linux and Unix systems is if they use a trojan horse method of making it part of a program the user or administrator wants to install and they use root or administrator access to install it. On Windows it would just use an exploit to get Administrator access.
  • Secure installation (Score:3, Interesting)

    by Anne Honime (828246) on Friday March 10 2006, @10:25PM (#14896305)
    I've done it with linux, I suppose it's possible to achieve with windows : have a two disk install, and make sure that there is a read only strap on one. Just put whatever binaries you have (/boot, /, /usr...) on that disk, then move the strap to ro ; on the other disk, put /var and /home. If you're paranoid about it, have syslogd hard print everything on an old line printer. Done. It doesn't prevent a break-in, but the attacker is stuck an can't damage the files, so when you reboot (because you notice the security log printing strange things) the evidences are easy to find.
  • VMM's can be detected (Score:3, Informative)

    by mombodog (920359) on Friday March 10 2006, @10:29PM (#14896313)
    Here is how you detect any VMM on linux or Windows,no such thing as undetectable if you know how to find it. http://www.trapkit.de/research/vmm/scoopydoo/scoop y_doo.htm [trapkit.de]
  • Wow. (Score:2, Interesting)

    by mindstrm (20013) on Friday March 10 2006, @10:36PM (#14896326)
    That's actually interesting.

    One would think you could detect the change in system hardware in some way.. it's unlikely that the VMM implementation is 100% identlcal when compared to the pre-VMM rootkit system. Something has to be differnet, somewhere.

    First one to publish a detector for this gets good press.
  • by Seraphnote (655201) on Friday March 10 2006, @10:40PM (#14896341)
    The obvious solution is... Windows VISTA!
    Heck the OS is so large any VMBR trying to "hoist" it is going to probably:
    A.) Run out of space (memory or HDD).
    B.) Take so long to hoist the OS, the user will probably reboot thinking their machine's locked up again.
    C.) Cause CowboyNeal to acquire a hernia.

    They (MS) are probably just looking for more selling points for their new BIG baby.
  • by droopycom (470921) on Friday March 10 2006, @10:44PM (#14896356)
    .. or Palladium or Trusted Secure Computing Platform or whatever it is called this day.

    The only way to defeat an advanced rootkit today is to require strong crypto all the way down in the hardware. This means pratically everything down to the BIOS should be signed. There should be a chain of trust, and untrusted software should not be able to do permanent damage. The updates to the permanent storage should also be signed.

    The technology is here. And it would be relatively easy to at least secure the root of your system (BIOS and OS kernel) from rootkits.

  • The Big Impact (Score:2)

    by TeachingMachines (519187) on Friday March 10 2006, @11:03PM (#14896413)
    (http://www.behti.com/ | Last Journal: Sunday June 04 2006, @10:58PM)
    The big impact might be on software distribution methods that rely on a virtual machine, in other words, every software distribution method known to man at this point. It pushes the security model toward one of distributed applications, such as those created through AJAX or XUL. In the future, people won't trust the installation process from independent developers enough (or MS won't let the users trust the install process), thereby limiting the future to remote applications accessible through web browsers or the next incarnation thereof.
  • Heh (Score:2)

    by autopr0n (534291) on Friday March 10 2006, @11:08PM (#14896433)
    (http://autopr0n.com/ | Last Journal: Saturday August 06 2005, @01:30AM)
    I've actually used this in a fictional story. The main character detects the root-kit by buying an identical machine, and then timing system calls. Certan emulated rootkits have different timing signatures, and she's able to figure out which one is running based on that, and then exploit holes in the virtual machine itself to disable it.
  • by c0d3r (156687) on Friday March 10 2006, @11:17PM (#14896462)
    (http://www.wanfear.com/~mbrito)
    The First Operating System booted must issue an instruction to the processor to create one of these "VM"'s. All you do is control this instruction.
  • Does this mean.. (Score:2)

    by xtal (49134) on Friday March 10 2006, @11:54PM (#14896596)
    (http://www.xdesignlabs.com/)
    we'll finally get an easy to install vmware?
  • by Jerry (6400) on Friday March 10 2006, @11:57PM (#14896611)
    Linux installs.
  • by NynexNinja (379583) on Saturday March 11 2006, @12:04AM (#14896639)
    Come on lets be real here. The only reason Microsoft is paying its developers to write VM-based rootkits is because they intent to deploy these exploits against their competition, foes, etc. I think its a load of bullshit that this is done as "proof-of-concept".
  • by A Numinous Cohort (872515) <raybaq@nOSpAm.gmail.com> on Saturday March 11 2006, @12:14AM (#14896671)
    the iSeries (aka AS/400) OS runs on top of a layer of microcode in which security functions are implemented, so they are immune from this type of malware
  • by jrmiller84 (927224) on Saturday March 11 2006, @12:20AM (#14896686)
    (http://www.jamesoft.net/)
    Everyday I read something new that further justifies me switching to Linux. I haven't made the switch yet and it almost scares me to think I haven't after reading things like this. Anyone know where to find some good resources for making a first time switch? Perhaps some better reading will push me over the edge and there's no better place to ask that Slashdot.
  • Ultimate? (Score:3, Interesting)

    by Kaenneth (82978) on Saturday March 11 2006, @01:06AM (#14896805)
    (http://portal2portal.com/ | Last Journal: Monday June 04, @08:46PM)
    I recall there was a proof of concept modification of GCC that would add itself to any GCC complied with it, a Compiler Virus...

    How about a program that specifically attacks chip design software, and adds malware to any chips that are layed out for production. With the millions of transistors on a modern chip, who would notice a few more? and who would know that multiplying 563473563 by 756481984 turns off all memory access interupts, allowing the following instructions to read/write anything they want?
    • Re:Ultimate? by lachlan76 (Score:3) Saturday March 11 2006, @02:41AM
    • 1 reply beneath your current threshold.
  • TCPA (Score:1)

    by RPC1 (903310) on Saturday March 11 2006, @01:53AM (#14896922)
    Sounds like something in the family of TCPA to me..
  • One of the design flaws of the I386 was that it was not possible to fully virtualize. Has this been fixed in recent processors? Otherwise it must be possible for an OS to detect wether or not it's running inside a VM or not....
  • Clarification (Score:1)

    by octopus72 (936841) on Saturday March 11 2006, @05:04AM (#14897306)
    They obviously must be talking about new Vanderpool/Pacifica virtualisation features. I seem to think that MS is paying much attention only because such rootkits might be a route around Palladium or HD-DVD/Blu-Ray content protection.

    In slides from WinHEC they present whole protected video path route. Even bus transfers are encrypted to prevent that type of attack. Kernel, signed and verified by TCPA chip, loads only signed video card drivers (which also take care that decrypted video content isn's ripped from VRAM. Kernel also takes care that nothing can "debug" processes which handle unencrypted data (although it is possible that GPU itself does that). In case of DVI output, device must support HDCP (which in fact is the weakest link in chain). I can imagine how with VMM program one could tinkering with running kernel and, for example, get unsigned (hacked) video drivers to load.

    I wonder if starforce folks are going to try to get in control of VMM on new CPUs if everything else fails against Daemon Tools 4.
  • by penguin-collective (932038) on Saturday March 11 2006, @07:24AM (#14897597)
    If the VM the rootkit installs does decent hardware emulation and has good drivers, your Windows system may be more stable than if you let Windows talk directly to the hardware. :-(
  • Tripwire (Score:2)

    by smoker2 (750216) on Saturday March 11 2006, @08:16AM (#14897728)
    (http://www.dvstocklocker.com/ | Last Journal: Wednesday October 20 2004, @06:21PM)
    Surely Tripwire [tripwire.com] would catch any attempts to move the OS into a VM ?

    I don't think you can move a running OS into a VM so there would have to be a reboot, at which point Tripwire would start screaming at you. Unless they find a way around the key based access that Tripwires dbase uses.

    Tripwire is included in FC4s Extras [fedoraproject.org] repository BTW.

    • Re:Tripwire by cnettel (Score:2) Saturday March 11 2006, @10:14AM
  • 15736th time. (Score:1)

    by Kickasso (210195) on Saturday March 11 2006, @09:16AM (#14897903)
    MS Research has nothing to do with MS product cycle.
  • Problem solved (Score:1)

    by Ginger Unicorn (952287) on Saturday March 11 2006, @09:18AM (#14897914)
    All motherboards can have a dipswitch/jumper that write protects the BIOS. Changing to read+write mode forces the PC to boot only from a ROM on the motherboard that can read a new BIOS image from a floppy/usb stick/cd/dvd.

    The Bootable ROM checks the new BIOS image for a digital signature. To avoid "Trusted Computing" the Bootable ROM allows you to choose if you want to install only a properly signed BIOS image, or a custom one (although that option risks rootkits).

  • Yes But: MAC (Score:2)

    by Monkius (3888) on Saturday March 11 2006, @11:12AM (#14898341)
    (http://linuxbox.com/)
    The article states is "it is to get the VM-based malware on a target system." Maybe, but on any given day, my systems may be vulnerable to than can load hostile software, or they may not.

    It is helpful to reduce the vulnerability of systems to code execution flaws, and this can be done by running code in an already-restricted execution environment.
  • *sigh* Oh, sure.... (Score:3, Funny)

    by Trelane (16124) on Saturday March 11 2006, @11:26AM (#14898413)
    (Last Journal: Monday March 20 2006, @08:33PM)
    The one time Microsoft ports some of their software to Linux, and it's a rootkit. ;)
  • by YesIAmAScript (886271) on Saturday March 11 2006, @12:52PM (#14898734)
    Because it might porentially subvert their DRMs in Vista. They don't want any competing rootkits on machines out there.
  • by NullInteraction (960654) on Sunday March 12 2006, @11:42AM (#14902656)
    I've found some insight about this research: http://www.securityzero.com/2006/03/rootkits-power ed-by-virtualization.html [securityzero.com] Doing this kinda rootkit is much more difficult than what MS says...
  • by amliebsch (724858) on Friday March 10 2006, @10:07PM (#14896245)
    (Last Journal: Friday February 10 2006, @02:51PM)
    So if I write a program that keeps any other program from writing to the boot sector without confirmation, does this keep this in check?

    No, because it would only be preventing access to the virtual boot sector.

    [ Parent ]
  • Re:Multiple Strains (Score:4, Funny)

    by Linker3000 (626634) on Saturday March 11 2006, @04:42AM (#14897262)
    You would soon know if you were running multiple Windows Virtual Machines because within minutes of the infection you would receive an email from Microsoft demanding you pay for the additional licences.
    [ Parent ]
  • 10 replies beneath your current threshold.