Kill Windows Viruses With An Ubuntu Live CD

learn c++ intro   Kill Windows Viruses With An Ubuntu Live CDToday’s anti-virus solutions are pretty reliable, protecting you from most of the common threats out there in the world. With safe browsing habits, there’s a rare chance that you’d ever get infected with malware. However, there’s never a guarantee that you’ll be completely safe if you are simply careful and run your anti-virus software.

Especially when it comes to zero-day threats, sometimes things just happen to you that you can’t blame on yourself. No matter if it’s your fault or not that your Windows system gets infected, you’ll need a plan to get rid of it before it renders your system completely unusable without serious recovery methods.

If the malware you’ve caught prevents you from touching any sort of tool that might have a chance in removing it, you should probably take a look at using an Ubuntu Live CD.

Anti-Virus on Linux?

While there are a handful of anti-virus solutions available for Linux, they aren’t made to combat Linux viruses. As there are barely any Linux viruses in existence (let alone in circulation), these tools still detect Windows viruses. Essentially, the only difference is that it runs in a Linux environment instead of a Windows environment.

How It Works

The great thing about an Ubuntu Live CD is that you can do anything you want on it, including installing programs, even though it’s just running temporarily in your RAM. Therefore, this means that you can run an Ubuntu Live CD, install an anti-virus solution, and then run a scan on your Windows files. It should then be able to detect and deal with any threats that it finds, without an infected Windows environment running in the background that could possibly block such measures from being taken.


As I summarized above, the process is quite simple. You’ll first need to download a copy of Ubuntu by going to their website. You’ll have the choice between downloading via your browser, or by using a torrent client. The torrent way is usually faster, but not all networks allow them to be used because many illegal software downloads occur using the protocol. However, it is completely fine for legal downloads such as Ubuntu.

You’ll then want to either burn it to a CD or write it onto a USB flash drive. To burn it to a CD, you’ll simply need to right-click on the .iso file that you downloaded, and choose the Windows Disc Image Burner application. It should then do the rest for you automatically. To write the ISO file onto a USB drive, you can use UNetbootin. If you would like, you may also follow Ubuntu’s easy instructions on their website for burning a DVD or writing to a USB drive, which I recommend at least taking a look at.

Next, boot up your system from the newly created media. You can accomplish this by entering your system’s BIOS by hitting buttons like F11, Escape, or Delete repeatedly – literally as soon as you turn on your computer. You’ll then want to head over to your boot tab and choose the DVD or USB drive as your primary boot device. Then hit F10 to save your settings and restart. If you wish, you may again follow Ubuntu’s instructions on how to do this.

linux antivirus install clam   Kill Windows Viruses With An Ubuntu Live CD

Once loaded, you’ll want to head over to the Ubuntu Software Center and search for “clamtk“. When it appears, go ahead and install it. Clamtk is a graphical user interface for the Clam Antivirus software, the most popular open-source antivirus solution in existence.

linux antivirus update clam   Kill Windows Viruses With An Ubuntu Live CD

Although Clamtk has a mechanism to update virus definitions, it only does so once a day, and cannot be initiated manually without going through a setup wizard. Either go through the wizard by going to Advanced –> Rerun antivirus setup wizard, then choosing Manual instead of Automatic. Then click on Help –> Check for Updates to install the latest definitions  — if you’ve never used Ubuntu before, the menus are located in the top panel while the antivirus application is in focus, similar to a Mac. You may also avoid the wizard and simply open a terminal and run:

sudo freshclam

linux antivirus clamtk   Kill Windows Viruses With An Ubuntu Live CD

Once the definitions are updated, head over to Scan –> Recursive Scan, and then choose your Windows partition. Wait a while for it to scan all your files and remove any threats, and you should be good to go! Just restart your computer with the Linux media removed, and you should be back in a virus-free Windows.

If you don’t want to use this particular antivirus for any reason, other popular choices include avast! and AVG. In fact, check out the anti-virus section on MakeUseOf’s Best Linux Software page for all recommended anti-virus programs.


Viruses and other malware can become quite a pest because of how difficult they are to remove. However, knowing some very useful tips like this one can help you save a lot of time and get on with using your computer. In case all techniques fail, you can always use the Ubuntu Live CD to back up your files before you restore your system. Also, there’s never a bad idea to taking a look at Linux to see if it could become your new main operating system!

How do you deal with viruses? Do you use Linux for virus removal or backup/recovery tasks? Let us know in the comments!

Image Credit: Internet background with binary code via Shutterstock

The comments were closed because the article is more than 180 days old.

If you have any questions related to what's mentioned in the article or need help with any computer issue, ask it on MakeUseOf Answers—We and our community will be more than happy to help.


Richard Borkovec

Done this a few times. It works every time :)

Zhong Jiang

There are several antivirus vendors that can able to scan without loading the system, Avast packaged a feature enabling the user to scan for malware or any other malicious files on boot. It doesn’t require a Ubuntu Live CD, but it’s still a great system to install.

Danny Stieben

Oh, I forgot about that feature! I haven’t used Windows in so long that my knowledge of Avast is starting to become a bit patchy. Usually, avast was my antivirus of choice when I was still using Windows.


I’m not clear where you are installing the AV program. Is it installed in RAM, to the hard drive or to the USB drive or CD running Ubuntu?

Danny Stieben

You’re installing it to RAM, so Ubuntu as well as any “installed” applications will simply disappear as soon as you shutdown or reboot your system. If you would boot up Ubuntu from your CD/DVD/USB again, you’d have to reinstall it. Does that make sense?


Always filling my tools box from makeuseof..%

Prasanth Mathialagan

Same here!!!

Danny Stieben

Glad to hear it! :)


this is a very good intel for anyone out there!! thanks for this

Rahul Sethi

Even better is use kaspersky/bitdefender bootable linux based recovery distro … it downloads the latest definitions .. boots live n wipes of all the shit from ur PC … n its absolutely free

Danny Stieben

Thanks for the tip, Rahul! Another nice option!

automan 1

That’s what I use as stated before, works like a charm


This is the kind of information that I don’t find at other tech sites. Even the Linux sites seem very skimpy on this type of windows/linux hybrid information.

The “You may also like:” links after the article are also very helpful.

Danny Stieben

Thanks for the feedback! :)

Jon Smith

cool a AV for linux but could you write an article of infections and viruses that linux is prone to?

Danny Stieben

I could try to, but I’ll admit right now that writing about Linux viruses would be rather difficult. There aren’t many that are even created, less that are in circulation, and even less that are even being talked about. It’d be quite the research project (although very interesting).

mohit kumar

It works all the time.

Richard Steven Hack

While this is a decent approach, the Clam Antivirus engine is hardly one of the top malware detectors. You should probably install one of the better AVs which have Linux editions.

AVG: They also have a Rescue CD which runs Linux: AVG Rescue CD:

You’re much better off burning a free Ultimate Boot CD for Windows which enables you to use a stripped-down Windows environment, and includes several different AV/antimalware programs of higher quality such as Antivir. It also includes quite a few other utilities which might help if the malware has compromised the integrity of the OS. This is a tool which many tech support guys like me use.

Danny Stieben

Thanks for the tips! All of them sound good, although I have to add that avast’s Linux version is a bit buggy. At least on Ubuntu 12.10 64-bit it is.

mangesh kharche

nice article.. very useful for me.thanks.


Another good reason to use Ubuntu


this is good tool, ubuntu live cd is always handy, many would like to scan computer with more than one antivirus.

Efi Dreyshner

Nice XD
I am using Hiren’s Boot CD for those cases :)

Mike Stone

It would be nice to have a print button somewhere in these articles. A lot of work is done on netbooks on a network or homegroup, but a menu to print is sometimes hard to find. Just more convenient to hit a button on the same page you’re reading.

Danny Stieben

I’ll see if your suggestion can be taken into consideration!


As others have stated, use one of the rescue disk downloads from the established AV publishers, such as Kaspersky, Avast etc. in lieu of Clam AV.

I support open source, free software but this is one area where they can’t compete with the AV majors. While the commercial AV programs typically detect 90% plus of malware in tests, Clam AV is typically around the 60% detected mark. I’ll bet they’re not too hot on reinstatement as well.

Ole Funch

I’ve allways been against learning Ubuntu/Linux (No – don’t no why), but this looks as a very good tool, which I abs. are going to try.

Edward Bellair

Love it!

Paolo Maffezzoli

Great article, thanks for sharing.

Pradeep Kumar


Benhari Abdelghani

it looks like a good solution i hope i’d never need to test it hhh

automan 1

I’ve used Bit defender for years. Has come in really handy a couple of times and saved a lot of heartache. Let alone my wife’s work computer set-up. She works from home on her own windows set-up used by a large national company that got infected on a national scale. Talk about a fiasco. Bitdefender allowed me to isolate the virus and her her back-up and running in less than an hour total.

automan 1

Need to be careful with Clam TK. Installed it on Mandriva one time and couldn’t get it uninstalled to save my life later. Had to do a re-install to get rid of it.


I am already using Ubuntu Live CD for preventing my Windows from being infected.
I don’t install antivirus in Linux & scan windows every it seems to be infected but use that process in extreme cases.
I mainly boot into Ubuntu any delete the traces of the virus manually:
· First, I delete all the $Recycler or $Recycle.Bin folder and Autorun.inf (if exists) in each of the partitions.
· Secondly, the System volume Information (but not every time coz it contains the system restore files) &
· Then the %Temp% files.
This cleans all the possibility of the virus to execute automatically while booting into windows.
Thus my PC remains safe.

Irfan Ahmed

How do you locate %temp% location of Windows in Ubuntu?


however you have to download and install ClamTK every time, and that’s just annoying. It also depends on there being an Internet connection, which isn’t always available.

Debra Beshears

Thank you for this article. I am going to try this.

Vishal Srivastava

I have Kubuntu and AVG. Both work great in combating Windows viruses.

ruth ann

Thanks for the information, sometimes we need all the help you guys can give us

David Commini

I’ve been told that this is similar to what Geek Squad does (I use to work at a Best Buy and this is what the GS guys told me). As of yet I have had no occasion to try it out… :-(