Virus removal in a virtual machine

mibix19

Distinguished
Hello everyone. My thought for today is: If you have a virus on your computer, can you remove it if you have a virtual pc installed and use that with anti-virus and malware removal software. Is it the same as using linux booting from a disc or USB, or will the virus stop you loading your virtual machine? Thanks.
 

number13

Distinguished
May 20, 2008
2,121
0
19,860
If you have a virus in a Virtual Machine just reboot, it's virtual, if you have a virus in your installed OS, it can interfer with the Virtual Machine
 
It technically could be done, but the best you could do is share your entire hard drive on the network (which is NOT a good idea regardless of the presence of a virus), map your host drive as a network share inside of the guest, then tell the virus scanner to scan the mapped network drive. You would not be able to scan the host machines registry, and thus would not be able to guarantee removal of the infection.

The best way to clean a virus is to boot into safe mode and run the scanner from there, but the only guaranteed way to remove a virus and be able to trust the machine again is to back up your data, wipe out the drive and reinstall the operating system.
 
I use a virtual machine to test shareware software for viruses, Trojans and other nastiness. When my virtual machine gets infected I simply delete it and get a fresh copy from a previously created backup which only takes a few seconds. So why bother removing a virus from a virtual machine unless you are researching the virus.
 
I think I misunderstood the posters question in my previous posting. If I understand the question correctly now then, there is no point in running a virus scanner in a virtual machine to scan the host machine because if the anti-virus program is unable to see or remove the virus when running in the host machine the virtual machine software is unlikely to be able to do a better job and in fact will be probably considerably worse.
 

mibix19

Distinguished
I would like to thank you all for your replies. I am just glad that I haven't got a virus and have to experience all the problems it brings. The last virus I had was CHERNOBYL Virus which I got about 11 years ago. This could be another thread asking when was the last time you got a virus.
 

number13

Distinguished
May 20, 2008
2,121
0
19,860
me, a long time ago, I remember it well, it disabled Norton and wrecked havok with my computer, that was a education!, in fact it was when I had just joined Tom's