Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Boot Sector Viruses & Rootkits Poised For Comeback

Posted by Zonk on Thu Apr 03, 2008 03:54 PM
from the oldies-but-goodies dept.
Ant writes "Ars Technica says Panda Labs' first quarter 2008 malware report raises a new concern, though it comes from a surprising direction. According to the company, boot sector viruses loaded with rootkits are poised to make a comeback. This honestly sounds a bit odd, considering how long it has been since a boot virus has topped the malware charts, but it's at least theoretically possible (pdf). Such viruses have a simple method of operation. The virus copies itself into the Master Boot Record (MBR) of a hard drive, and rewrites the actual MBR data in a different section of the drive. The report also covers a number of other topics and makes predictions about the types of attacks computer users may see in the future. Forecasting these trends is always tricky."
+ -
story

Related Stories

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.
  • With or Without TPM? (Score:4, Interesting)

    by sainttX (1264044) on Thursday April 03 2008, @03:56PM (#22956452)
    If we have hardware security support, this is not that easy..
  • Let me guess (Score:5, Interesting)

    by WindBourne (631190) on Thursday April 03 2008, @03:56PM (#22956456) Journal
    Panda labs has a new product that protects just this? Call me a cynic, but ....
    • Yep. Just copy this little protection file into your MBR...
    • Re:Let me guess (Score:5, Insightful)

      by Lumpy (12016) on Thursday April 03 2008, @05:09PM (#22957324) Homepage
      That's ok ASUS has had that protection for decades.

      MBR protection has been in every bios on ASUS motherboards for at least 12 years now. turn it on and NOTHING can write to the mbr.

      gotta love how old tech solves the "new hotness".
      • Re: (Score:3, Informative)

        MBR bios protection seems to be pretty common on "homebuilt" and "mom and pop" machines. But my laptop (acer) doesn't seem to have it. I don't see an option to enable it on our toshiba (though it runs vista so NBD). I don't do PC support anymore, do the vast number of Dells running XP have MBR protection in bios?
      • Re:Let me guess (Score:5, Informative)

        by Anonymous Coward on Thursday April 03 2008, @06:34PM (#22958178)
        Not quite. It protects the bios from hard disk writes using int 13h. It won't protect from programs accessing the hard drive directly using I/O ports, which any modern MBR virus is likely to do.
        • Re: (Score:3, Interesting)

          Not quite. It protects the bios from hard disk writes using int 13h. It won't protect from programs accessing the hard drive directly using I/O ports, which any modern MBR virus is likely to do.

          True, most protection does this, especially from 12 years ago when DOS was still a viable platform.

          However, I don't see why more modern systems can't store a copy of the MBR in the CMOS - it is, after all, only 512 bytes in size. On boot, it simply does a compare between the MBR on the hard disk and the one it stored

    • by mrbluze (1034940) on Thursday April 03 2008, @06:03PM (#22957882) Journal

      Windows is a program which inserts code into the master boot record, often before the user has broken open the packaging of their new computer, resulting in loading of malicious code at power-on which causes the computer to phone-home and results in the gradual loss of available disk space on the affected drive. Multiple other vulnerabilities have also been reported.

      Various removal tools [ubuntu.com] are available free of charge. This is considered a critical and urgent update.

  • by oni (41625) on Thursday April 03 2008, @04:03PM (#22956548) Homepage
    GNU GRUB version 0.95 (638 lower / 288704K upper memory)

    Ubuntu, kernel 2.6.12-9-386
    Ubuntu, kernel 2.6.12-9-386 (recovery mode)
    Ubuntu, memtest86+
    Other operating systems:
    Windows NT/2000/XP
    omfgh4xorz-r00tk1tz3113

    Use the up and down keys to select which entry is highlighted.
    Press enter to boot the selected OS, 'e' to edit the commands
    before booting, or 'c' for a command-line


    hmm, something's not right here
  • by ais523 (1172701) on Thursday April 03 2008, @04:06PM (#22956572)
    I still check to make sure that there aren't any floppy disks left in the drives before I power-on (and I still have floppy drives, even an external one for the laptop); it seems now the old habits may have a reason. Of course, nowadays malware doesn't have to rely on floppy disks accidentally left in drives and sharing of executables from one computer to another because the Internet exists; but that doesn't stop the old threats working, just provides a more modern alternative that gets more attention.
    • Re: (Score:2, Insightful)

      You can boot from a cd/dvd as well as a floppy.
      • Re: (Score:2, Insightful)

        Or a usb stick in many cases. Sneaky.
        • Why do you have to boot it?
          Don't a lot of USB sticks have u3?

          u3 installs a device driver on Windows and creates a fake cd rom so that the memory stick can autorun.

          Fuck waiting for the autorun, its the device driver I would be worried about.
        • Re: (Score:3, Insightful)

          And sometimes hard drives. (I know, I was shocked, too.)
    • Re: (Score:3, Insightful)

      by Anonymous Coward
      Or just disable floppy, cdrom and usb from the boot order in your bios
    • Funnily, I do the exact opposite. I boot from a floppy, all the time. It's write-protected, of course. It contains GRUB. I eject it as soon as it loads the Linux, and plug it back in when I need to boot. Thus, the probability of corruption of my boot sector mattering is greatly reduced.
      • Re: (Score:2, Insightful)

        The fact that it is on a floppy drive is enough to corrupt it. None of my floppy disks have valid data anymore, it self-corrupts over time.
    • it seems now the old habits may have a reason.


      "All this has happened before. All this will happen again"
  • Cool (Score:4, Funny)

    by dedazo (737510) on Thursday April 03 2008, @04:07PM (#22956594) Journal
    The last time any of my machines had anything resembling a virus, malware or trojans it came in a floppy boot sector and it was called "Natas" or something like that.

    Bill Clinton was president, the Nasdaq was at 5,000 or something like that and I was smoking pot. Maybe we'll go back to the old days in more ways than one!

    • Re: (Score:3, Funny)

      Well, I don't know about boot sector viruses or about pot, but theres a chance you might get a 'President Clinton' once more...

      -

      *Disclaimer: The above is a joke and not an endorsement or criticism of any US candidate... I am not USian and I don't really care much for american policies.
    • Exactly, the last time any of my machines had anything resembling a virus it was running DOS 2.11, Btw I keep hearing about this new gui you can put on top of that, is that any good?
    • Geez, you sound too much like me. My first day in MIS in 1993 I found a PC with Natas on it. Then I went searching around the building and found a few more, along with infected floppies. That was nasty just because when it popped up after hiding for a while it destroyed all executables that ran.

      I suddenly feel so old.
  • Bah! (Score:4, Funny)

    by Well-Fed Troll (1267230) on Thursday April 03 2008, @04:07PM (#22956596)
    I spit on thee, thou foul virus writing knaves.
    Wilt it doth survive the lowly Format?
    Truly I say unto thee, Real Men write CMOS infecting viruses.
  • by Digi-John (692918) on Thursday April 03 2008, @04:09PM (#22956622) Journal
    A danger to be alert to is the possibility of viruses and rootkits that ship with the computer. Consider that most computers have a lot of parts made in China; suppose the Chinese government decides it's going to slip something into your BIOS? That is a major issue for national security, and it's not just speculation; I've seen test viruses that sit in the BIOS and do a SUID root on a specific file in /tmp on every bootup. EFI is just as vulnerable, because it's basically a complete Unix-like OS just for booting.
  • Why? (Score:5, Insightful)

    by Rurik (113882) on Thursday April 03 2008, @04:11PM (#22956640)
    I wonder why a virus writer would even want to do this? Nearly all have learned that instead of wreaking havoc for fun, they can wreak havoc and make money off it. There's a reason most writers stopped writing boot sector viruses. Viruses are more fun when they can perform click-fraud, and other long-term money making actions, instead of destroying a user's computer.
    • Re:Why? (Score:4, Insightful)

      by eldavojohn (898314) * <my/.username@@@gmail.com> on Thursday April 03 2008, @04:34PM (#22956940) Homepage Journal
      I don't think this article was talking about viruses that merely hose your hard drive. Granted, that's what most of those did, I think they are dreaming up something that writes your MBR to another piece of the hard drive and gains root access right when you start your computer. If virus writers are sophisticated enough, maybe the write something like an extended firmware interface that loads your operating system normally and you don't even know about it running in the background. Again, that's a high level of sophistication but I was blown away by what the virtual machines have been able to do.

      There's also evidence that I am skeptical of like:

      The problem with boot viruses is that their attack vector is fairly well-guarded. Any antivirus program worth beans will detect a suspicious attempt to modify the MBR and will alert the end user accordingly. Running as a user rather than an administrator should also prevent such modification even if you don't have an antivirus scanner installed. Panda implies that this kind of exploit could be an issue in Linux, and I suppose that's theoretically possible, but Linux always creates a user account without root access by default.
      If Panda's report really did imply that, they just lost a whole shitload of credibility in my book. I'm not stupid enough to think that Linux is impenetrable but I know that the Unix-like security scheme with users in userland and superusers in kerneland is always observed.
    • Re:Why? (Score:4, Insightful)

      by sjames (1099) on Thursday April 03 2008, @04:42PM (#22957032) Homepage

      Consider the MBR just one of several potential hooks into the system. It need not destroy the machine at all. It could (for example) install itself as ring 0, load the OS below itself and then the fun begins.

      Consider the havoc it could create if it can manage to get itself into the SMI handler by playing dirty tricks with the RAM controler that are only possible before the OS switches to protected mode.

    • Re:Why? (Score:4, Insightful)

      by darkmeridian (119044) <(william.chuang) (at) (gmail.com)> on Thursday April 03 2008, @05:05PM (#22957286) Homepage
      I think the plan is to have a MBR virus plant a rootkit that pwns the OS and zombies the system without anyone realizing what's going on.
    • Re: (Score:2, Interesting)

      I have often suspected antivirus companies themselves. They are the ones who always benefit from the never ending array of new viruses. Sure, there are a lot of hacker want-to-bes that write them but are there really that many malicious hackers? I am sure there are more viruses than hackers. Just look at the list of viruses you antivirus "protects" against. There must be a few virus writers making a LOT of viruses. Who would do that and what would their motivation be?
    • Wasn't there a lot of hubbub a few months ago when drive mfg's were planning to increase the sector size? That would sure make, uh, interesting boot sector viruses more practical.
  • by Anonymous Coward
    Sorry for being off topic, but it should be pointed out that Panda is strongly linked [wikipedia.org] with the cult of Scientology. While it doesn't make them necessarily evil, the recent events of people being harassed for protesting against the cult and the tactics employed by the cult to obtain at any cost personal data of protesters, should suggest the use of different antivirus/antispam programs, especially in a close source environment like Windows where the user cannot easily monitor what the software does and what
  • Widespread? (Score:3, Interesting)

    by gmuslera (3436) <gmuslera@@@gmail...com> on Thursday April 03 2008, @04:21PM (#22956800) Homepage Journal
    If well that kind of virus could be made, and work, the odds of getting infected looks so low (EVEN for windows users) that probably wont be very widespread.

    In the other hand, if you have already something ugly running as admin/root in your box in a way or another, it could deploy the MBR part, but dont see the advantage of this if is anyway already in control (afaik some rootkits/trojans (?) for windows hide themselves from scanners intercepting network/disk drivers or something similar, so no big advantage there)
    • Re: (Score:3, Interesting)

      Imagine an MBR virus shipping from the factory on floppies, USB sticks, USB HDDs, or a BIOS or MBR virus/rootkit on new Lenovo machines (sorry, China's an easy target these days).
      • Re: (Score:2, Insightful)

        Where do you think Apples are made?

        And they have that fancy BIOS that could be a lot of fun too.

        It doesn't even need to be China. The potential payout is enough that organized crime anywhere could pull it off, though in a country like China it is probably easier to bribe enough people to slip your stuff into the assembly line.
      • Actually, my USB flash memory got infected when I went to a nearby service office to print something.

        My AV (Bitdefender) caught it. It was an executable and autorun.inf

        Subsequently, I disabled autorun for all drives.
  • by wheatking (608436) on Thursday April 03 2008, @04:27PM (#22956872)
    so what happens w/ all this virtualization (VMware, Xen, Microsoft/Kidaro, RingCube, Moka5,...) coming in... aren't bare metal vulnerabilities @ the hypervisor layer a bigger deal?
  • by jdb2 (800046) * on Thursday April 03 2008, @04:37PM (#22956974) Journal
    For a rootkit, the lower the level it can modify the system at, the better. We've seen this progression, from user-mode,to kernel mode hooks,to kernel mode data structures etc. So, obviously the rootkit authors know that their current methods will be obsolete in the near future, and have "lowered the bar" (pun intended ;) to the MBR. (Heh, that also rhymes ;) Anyway, if you think this is the last safe haven for rootkits, you're wrong -- really wrong. How about a rootkit that splits itself into tiny chunks, compresses them, and then inserts them into the free space available on the various BIOS's in your system eg. Video, Hard Drive, RAID Controller etc.? Impossible you say, well, I advise you to watch this presentation :

    http://youtube.com/watch?v=G26oZtzluAQ&fmt=6 [youtube.com]

    Systems with the ability to boot from a storage device other than a hard drive, say, a USB drive, are especially vulnerable, as the rootkit doesn't have to gain access to the BIOSs via the OS. Instead, it modifies the boot sector of the USB drive and then, upon bootup, after the BIOS boots off the USB drive, hides itself via the previously mentioned technique, so as to ensure it will run even if the boot sector of the USB drive is modified. This is possible as, upon bootup, the BIOS scans for memory mapped expansion ROMs (the previously mentioned BIOS's spread throughout your system) and then transfers control to each one.

    Something to think about.

    jdb2
  • EFI / intel atm / amd Remote IT may be targets that are not part of the OS on the system and are tied to the NIC controllers, chipset , video and other hardware parts and there is not that many report tools for keeping the bios / firmware up to date.

    EFI can use a partition on the hard disk to store Extensions and the Extensions can also come form add in cards / on board roms and other places.

    The hardware based Remote IT tools may be holes that hackers can use and can be limited by flash rom space to store u
  • by analog_line (465182) on Thursday April 03 2008, @06:45PM (#22958272)
    ...which from my (limited) understanding, an MBR is set aside, but not actually used for booting anything. I guess technically it's free space, so another hiding place, but nothing normally accesses that record, so would this kind of thing have any effect? You know, on computers like Intel Macs, which all use EFI.
  • great idea (Score:3, Funny)

    by ILuvRamen (1026668) on Thursday April 03 2008, @06:59PM (#22958398)
    And you know what really helps is writing detailed how-to theory articles, saying it's inevitable, and repeating how effective it could be. That will ensure that all these gloom and doom virus articles come true! That must be what all these authors want or something or they'd all shut up.
  • There are some really good comments here, (checks, sees if it's /.)
    After the jump - read the comments, starting here:
    Further:

    http://www.securityfocus.com/comments/articles/11372/33017/threaded#33017 [securityfocus.com]

    http://slashdot.org/comments.pl?sid=453034&cid=22412440 [slashdot.org]
    • Your BIOS guards against that attack vector if you use BIOS-calls to write to the harddrive. Not very likely, and very easy to circumvent...