Slashdot Mirror


Boot Sector Viruses & Rootkits Poised For Comeback

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."

39 of 95 comments (clear)

  1. With or Without TPM? by sainttX · · Score: 4, Interesting

    If we have hardware security support, this is not that easy..

  2. Let me guess by WindBourne · · Score: 4, Interesting

    Panda labs has a new product that protects just this? Call me a cynic, but ....

    --
    I prefer the "u" in honour as it seems to be missing these days.
    1. Re:Let me guess by MooseMuffin · · Score: 2, Funny

      Yep. Just copy this little protection file into your MBR...

    2. Re:Let me guess by Lumpy · · Score: 4, Insightful

      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".

      --
      Do not look at laser with remaining good eye.
    3. Re:Let me guess by Molochi · · Score: 2, 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?

      --
      "The Adobe Updater must update itself before it can check for updates. Would you like to update the Adobe Updater now?"
    4. Re:Let me guess by Anonymous Coward · · Score: 5, Informative

      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.

    5. Re:Let me guess by tlhIngan · · Score: 2, 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 in CMOS. On miscompare, it simply asks what you want to do - restore from CMOS, or use the modified MBR (and update CMOS).

      Other than GRUB and Lilo and other multi-OS boot systems, the MBR code is quite simple, simple enough that practically anything can restore it...
  3. I can see it now by oni · · Score: 5, Funny

    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

    1. Re:I can see it now by ettlz · · Score: 3, Funny

      hmm, something's not right here

      Yep. The latest grub is 0.97.

      Or are you talking about the space-munching change of layout?

    2. Re:I can see it now by maxch · · Score: 4, Funny

      call me crazy, but that Windows entry seems suspicious.

    3. Re:I can see it now by Anonymous Coward · · Score: 2, Funny

      Indeed. You misspelled Windows Vista.

  4. The old ways still work by ais523 · · Score: 3, Interesting

    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.

    --
    (1)DOCOMEFROM!2~.2'~#1WHILE:1<-"'?.1$.2'~'"':1/.1$.2'~#0"$#65535'"$"'"'&.1$.2'~'#0$#65535'"$#0'~#32767$#1"
    1. Re:The old ways still work by Tanman · · Score: 2, Insightful

      You can boot from a cd/dvd as well as a floppy.

    2. Re:The old ways still work by Digi-John · · Score: 2, Insightful

      Or a usb stick in many cases. Sneaky.

      --
      Klingon programs don't timeshare, they battle for supremacy.
    3. Re:The old ways still work by Anonymous Coward · · Score: 3, Insightful

      Or just disable floppy, cdrom and usb from the boot order in your bios

    4. Re:The old ways still work by LiquidCoooled · · Score: 2, Insightful

      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.

      --
      liqbase :: faster than paper
    5. Re:The old ways still work by Nullav · · Score: 2, Insightful

      And sometimes hard drives. (I know, I was shocked, too.)

      --
      I just read Slashdot for the articles.
    6. Re:The old ways still work by GigaplexNZ · · 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.

    7. Re:The old ways still work by jmadren · · Score: 2, Informative

      No, Autorun.inf will not automatically run on plain USB flash drives. Microsoft didn't think to support that. Autorun.inf will only work on CD drives. That's why U3 flash drives have firmware in them that emulates a CD drive, to trick Windows into automatically running the Autorun.inf. U3 doesn't install special drivers on the computer, Windows does that itself in response to seeing a new CD hardware device (except for Win95/98, for which you have to install some drivers).

  5. Cool by dedazo · · Score: 4, Funny
    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!

    --
    Web2.0: I love when people Flickr my cuil and digg my boingboing until my google is reddit and I start to yahoo
    1. Re:Cool by Abreu · · Score: 2, 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.

      --
      No sig for the moment.
    2. Re:Cool by BlackSnake112 · · Score: 2, Funny

      I remember back in college (1992) I bought a box of 10 floppy disks. All 10 were infected (with ripper I think). I wrote to the disk company letting them know the numbers that were on the box. About three weeks later I got a huge box. It had over 1000 brand new floppies and a letter thanking me for letting them know about that issue. Also was an apology for getting infected disks. I didn't have to buy floppy disks for years.

  6. Bah! by Well-Fed+Troll · · Score: 4, Funny

    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.

    1. Re:Bah! by MadnessASAP · · Score: 4, Insightful

      Speaking of which, I remember seeing a rather nifty POC for storing a rootkit in a video cards BIOS. I don't think anybody has taken advantage of it yet though.

      --
      I may agree with what you say, but I will defend to the death your right to face the consequences of saying it.
  7. Watch out for what you buy by Digi-John · · Score: 5, Interesting

    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.

    --
    Klingon programs don't timeshare, they battle for supremacy.
  8. Why? by Rurik · · Score: 5, Insightful

    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.

    1. Re:Why? by eldavojohn · · Score: 3, Insightful
      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.
      --
      My work here is dung.
    2. Re:Why? by sjames · · Score: 3, Insightful

      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.

    3. Re:Why? by darkmeridian · · Score: 3, Insightful

      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.

      --
      A NYC lawyer blogs. http://www.chuangblog.com/
    4. Re:Why? by LowlyWorm · · 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?

      --
      Time flies like an arrow. Fruit flies like a banana.
  9. Warning: Panda is linked to Scientology by Anonymous Coward · · Score: 2, Interesting

    Sorry for being off topic, but it should be pointed out that Panda is strongly linked 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 files it reads.
    If you're against the cult of Scientology, and write about it in blogs or emails, it's probably much safer to avoid any software from Panda.

  10. Widespread? by gmuslera · · Score: 2, Interesting

    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)

    1. Re:Widespread? by Culture20 · · Score: 2, 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).

    2. Re:Widespread? by AvitarX · · 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.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
  11. Virtualization complications by wheatking · · Score: 5, Insightful

    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?

  12. Even worse threats on the horizon... by jdb2 · · Score: 4, Interesting

    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

    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

  13. Windows Malicious Software Removal Tool by mrbluze · · Score: 4, Funny

    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 are available free of charge. This is considered a critical and urgent update.

    --
    Do it yourself, because no one else will do it yourself. [beta blockade 10-17 Feb]
  14. How would this affect EFI-based computers... by analog_line · · Score: 2, Interesting

    ...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.

  15. great idea by ILuvRamen · · Score: 3, Funny

    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.

    --
    Google's Super Secret Search Algorithm: SELECT @search_results FROM internet WHERE @search_results = 'good'