Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
General Security
Tag Cloud
access acer asus bios bsod computer crash desktop dns driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Security & Malware Removal > General Security >
MBR Rootkit, A New Breed of Malware

Reply  
Thread Tools
lotuseclat79's Avatar
Distinguished Member with 21,345 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
03-Mar-2008, 10:08 AM #1
MBR Rootkit, A New Breed of Malware
MBR Rootkit, A New Breed of Malware
F-Secure article here.

Gmer, Prevx and two Symantic article links at bottom of article.

This kind of malware is an outstanding example of why Windows users should acquire familiarity with using Linux Live CD's, reorder their BIOS to boot from CD before hard disk, and know how to issue dd commands to save off the original MBR for a Windows hard drive (and their Linux dual boot hard drive) after a clean installation before any connection to the Internet.

A Linux Live CD environment with at least a 1GB RAM can activate a safe environment without any hard drives mounted or accessed. From there as root:

# dd if=/dev/sda of=/mnt/linux/root/Mbrs/sdambr bs=512 count=1

The above dd command assumes that a Windows OS is installed on /dev/sda and a Linux hard drive is mounted at the mount point /mnt/linux of the Linux Live CD environment. The MBR of the Windows hard drive is saved on the Linux hard drive in the file /root/Mbrs/sdambr, and has a block size of 512 bytes for one count.

The restoration of the Windows MBR in a Live CD envronment is:

# dd if=/mnt/linux/root/Mbrs/sdambr of=/dev/sda bs=512 count=1

The above example assumes that the Linux hard drive is first mounted into the Live CD environment by:

# mount -v -t ext3 /dev/sdb2 /mnt/linux (or a similar partition name that holds the Linux distribution identified with the command: fdisk -l which is issued by root account).

Note: The Linux hard drive used in this example could be any hard drive like device such as a USB flash drive, external hard drive, dvd or cd.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
lotuseclat79's Avatar
Distinguished Member with 21,345 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
31-Mar-2008, 04:05 PM #2
Shedding (Black)Light on the Master Boot Record (MBR Rootkit)
Article here.

F-Secure's Blacklight now detects the MBR Rootkit infection and cleans it.

Download Blacklight here.

-- Tom
tomdkat's Avatar
Computer Specs
Distinguished Member with 7,127 posts.
 
Join Date: May 2006
Location: S.F. Bay Area, CA
Experience: Intermediate
31-Mar-2008, 05:25 PM #3
Thanks for the links. Since this rookit lives in the MBR, I wonder if Linux would be as susceptible to this kind of infection. The MBR is filesystem "neutral", meaning there won't be any NTFS vs ext2/ext3 vs whatever issues to deal with and if it can start when Windows starts I don't see why it wouldn't start when Linux started. Of course, I mean if the rootkit was targetting Linux as well.

I wonder what the feasibility of developing this kind of malware for Linux would be. There were several Windows exploits mentioned that allow infection on a Windows box. I wonder if a fully patched Windows system would be "immune", to any degree, to this rootkit.

Peace...
lotuseclat79's Avatar
Distinguished Member with 21,345 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
31-Mar-2008, 07:20 PM #4
Hi tomdkat,

This kind of rootkit highlights yet another reason to keep backups of any MBRs on a system - I have two, one on my WinXP Pro SP2, and another on my HD installed FC3. When I kicked out early from a parallel reinstall of my WinXP system, it trashed my MBR such that my Grub boot menu did not appear anymore. When I was able to reinstall my saved MBR with an Ubuntu Live CD using the dd command - it was worth it bigtime. Now I just run in a Live CD environment that I have adapted with iptables, no AV, no Spy Sweeper or other costs.

Since this rootkit only targets Windows systems, maybe Linux is in the clear until there are a lot smarter miscreants that have the talent to tackle Linux/Unix - not that there aren't rootkits out there like Suckit, etc - that's why I also run chrootkit and rootkithunter.

-- Tom

P.S. A fully patched Windows system is still Swiss cheese!
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 09:25 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.