If you use Linux on your company's desktop or server computers, you're likely familiar with the security advantages the open-source operating system offers over Windows and Mac. What many people don't realize, however, is that Linux can also rescue a computer crippled by malware.

Malware is a frequent issue in the Windows world, and it can be devastating. When a Windows virus strikes, it can become difficult or even impossible to continue using the affected machine. Moreover, prolonged use can further the infection. Here's how Linux can help you recover from such a situation without ever installing it permanently on your PC.

Step 1: Get a LiveCD or Live USB

LiveCDs and USBs are great because they let you boot a machine directly from the CD or USB stick without accessing the computer's boot records. They allow you to test Linux and can be used when Windows fails.

The fastest way to get a LiveCD or USB is to download the .iso file of the Linux distribution you want and burn it onto a CD or USB stick. For this example, we'll use Ubuntu's latest version, Maverick Meerkat. You can download Ubuntu from the project's website or find other distributions on FrozenTech. If you prefer the USB route, UNetbootin is a good option as it runs faster.

If you don't have a working, internet-connected computer or if your connection is slow, you can order a LiveCD or USB via mail from OSDisc or LinuxCD, with prices around $2.

Step 2: Boot into Linux

With your Linux LiveCD or USB ready, turn off the infected computer, then turn it on again with the CD or USB installed. This will boot the computer into Linux, bypassing Windows and its infection. Nothing is installed; you’re simply using Linux to get the machine running reliably again.

Step 3: Get Antivirus Software

Next, you need Linux-based antivirus software to remove the malware. We recommend ClamAV via ClamTK for its graphical interface.

From the main Ubuntu desktop, go to "Applications," then "Ubuntu Software Center." Choose "Edit," then "Software Sources." Ensure all boxes under "Downloadable from the Internet" are checked, then click "Close."

In the Ubuntu Software Center, click on "Accessories" and search for ClamTK. It will be shown as "Virus Scanner." Click "Install" and wait for it to download.

After installation, launch ClamTK by going to "Applications," then "Accessories," and selecting "Virus Scanner."

Step 4: Run a Scan

When ClamTK opens, click on the "Scan" tab and select a Recursive Scan. Choose the drive you want to check for viruses, which will be the one containing Windows. The scan may take some time. Once the infection is found, you'll have options to quarantine or remove it.

Step 5: Return to Normal

After removing the infection, your computer should be clean again. Remove the LiveCD or USB and boot back into Windows. Your malware-free machine is thanks to Linux. Keep your LiveCD or USB handy for future issues.


Found this article interesting? Follow us on Twitter and LinkedIn to read more exclusive content we post.