LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   antivirus in virtual box guest xp os (https://www.linuxquestions.org/questions/linux-newbie-8/antivirus-in-virtual-box-guest-xp-os-4175461424/)

shakti.mickey 05-10-2013 09:04 AM

antivirus in virtual box guest xp os
 
I have installed in my Desktop PC Linux Cinnamon 14 Nadia as a host OS and in virtual box xp service pack 2 is installed as guest OS. Do i need an antivirus software for my XP, as I am connected to other people in LAN for file and printer sharing...Pl Help,,,,
Thanks for ur helpful answers in advance

jpollard 05-10-2013 09:10 AM

Is it Windows?

If the answer is yes, then YES you need an anti virus product for it.

Being a system in a VM is the same as being a system on the net. It acts like a system, it is attached to a router like a system (though that router is a virtual one).

SLW210 05-10-2013 09:35 AM

.............................

jpollard 05-10-2013 10:53 AM

Been either lucky or disconnected from the net.

And never used files from another system that was infected.

John VV 05-10-2013 06:23 PM

I had a few viruses install on XP
in 10 years 3

XP sp2 ??????
you are aware that service pack 2 is UNSUPPORTED
there ARE NO updates !!
NO patches on patch Tuesday

MS is ONLY supporting XP sp3 !
you will NOT get the CRITICAL IE 8 patch in a few days !!
-- not good !

chrism01 05-10-2013 07:57 PM

Adding to post #4: also, in the early days, malware was (usually) in your face, just to show off/make the point.
These days they often run quietly in the background doing their thing, especially bots... IOW, you won't always realise its there.

Erik_FL 05-10-2013 11:00 PM

What do you do with the XP system in the virtual machine? If you are using the web browser or an email program to access anything on the Internet, you need anti-virus software.

If you are only accessing shared folders and files from other computers then you have to decide how much risk there is from the other computers and the host OS. Do the other computers or the host OS access the Internet? Do the other computers have anti-virus software? If you can depend on the other computers having good anti-virus measures then it is less important to run anti-virus in the virtual machine. It never hurts to be a little paranoid and run anti-virus software even when you don't think that you need it. I often install one of the free anti-virus programs in a virtual machine's OS if I expect to occasionally access the Internet.

There are some things that are very risky to do (and might be why you have a virtual machine). If you do any of the risky things you should definitely have anti-virus software installed in the virtual machine. For example, if you are using the web browser to look at torrent sites and downloading torrents, that is risky. Opening archives or running files downloaded from torrent sites is risky. Opening e-mail attachments or reading e-mail is risky, especially with Outlook or Outlook Express.

Be careful about what disks or folders the virtual machine can directly access. For example, you don't want to map your entire disk drive from your host OS to the virtual machine. You also shouldn't usually give the virtual machine write permission to folders. If your virtual machine needs to write files, create a separate folder for it to use on the host machine.

Security is always a tradeoff between risk and cost. Is it worth the time and money to do something based on the risk that it avoids? Installing anti-virus software costs money and may slow down the virtual machine. You can get free anti-virus programs, and the difference in performance may be minimal. So the costs are pretty low. You have to figure out how much risk you have, and decide what makes sense.

Some other security measures that can help you are script blockers for the web browsers and ad-ware detection software. Just using some other browser besides Internet Explorer is a little less risky. If you use Internet Explorer, change the security settings to limit what scripts and Active-X controls can do.

shakti.mickey 05-10-2013 11:32 PM

Thank u very much for your help guys..........

szboardstretcher 05-14-2013 09:16 PM

No you don't.

Get a pristine xp ISO from TechNET. Install it in a linux vbox environment that is not connected to the network. Once everything is set up in XP how you like it, take a snapshot.

Revert to that snapshot every time you reboot/restart the VM.

Connect up to the network.

XP is so vulnerable you are likely to get hosed with/without an AV. At least with the snapshot, you can go on about your day without caring.

Make sure you aren't on a prod network, and you are behind a firewall. That is all.

jefro 05-15-2013 07:02 PM

Any OS that has any access to other untrusted sources ought to have security. A VM doesn't fully isolate you from malware and viruses.

It is a best practice to use all available security such as anti-virus software.

It is unlikely that there is a cross platform virus but if your lan has any outside access it can be infected either in host or client.

GlennsPref 05-15-2013 09:02 PM

Quote:

Revert to that snapshot every time you reboot/restart the VM.
I love this about virtualbox.

Good "light on memory" approach too (av's use ram and processes).

I got another step, no-script in firefox, and a local (host) squid proxy with adblock.

iptables should still stop unsolicited connections.

SLW210 05-15-2013 09:41 PM

................................

mddnix 05-16-2013 04:03 AM

get 'Microsoft Security Essentials'. its free, low on hw resources, doesn't slow your VM and has effective scanning. i install MSE on all my Windows VMs.

Microsoft Security Essentials

szboardstretcher 05-20-2013 02:40 PM

MSE isn't considered an AntiVirus by anyone though.


All times are GMT -5. The time now is 10:25 AM.