So if I have no shared folders between host and guest, virtualbox is virtually disconnected from the internet, no access to external drives and USB keys, no antivirus, and no firewall, it is guaranteed that the virtual machine running XP will get no viruses?
No, it's very unlikely, but there is no guarantee. Like I posted before, there are also exploits for vulnerabilities that break the host/guest isolation boundary. So keep your VM software patched.
So what you are saying is as long as I do not have firewall, do not have antivirus in the guest machine, but set it so that the guest machine is virtually disconnected from the internet, all viruses and exploits come from the host machine, and not from any other source is that correct?
Since I am using the 30 day windows XP trial, and I am only using it to play games that only run well on XP and not on Vista, 7, and 8, I plan on re-installing the windows XP 30 day trial on virtual box, so every 30 days, it would be a clean install. If the virus can only get into the virtual machine from my host, it doesn't matter to me, since my host is already infected, but what I want to know is if an outside source can infect the virtual machine without going through the host first?
My ultimate goal is to protect the host machine, and I was wondering if a virus can get into the guest machine without ever touching the host machine provided I set it so that the virtual network cable disconnected?
I have it set up so that the host OS has a firewall and antivirus. The guest OS does not. There is a shared folder between the host and the guest. The host is connected to the internet wirelessly, but I set it so that the guest OS is virtually disconnected to the internet.
So tell me if these statements are true, with regards to the statement above.
ALL viruses that infected the host can infect the guest.
ALL viruses that did not infect the host cannot infect the guest.
I am not as worried about viruses coming from the internet infecting the host, then infecting the guest, but what I am worried about is viruses coming from the internet, infecting the guest, then infecting the host, which is also why I ask if in virtualbox, virtually disconnecting the network cable blocks all viruses from infecting the guest machine just as well as disconnecting a physical network cable blocks all virus from coming into a host machine from the internet?
So what I am really asking is as long as the virtual network cable is unplugged, but the host machine network cable is plugged in, a virus cannot directly get into the guest machine, am I right?
So what you are saying is that my host machine has to be infected first before the guest machine can be infected, and based on my settings, no virus can get into the guest machine without being from the infected host machine.
Edited by signofzeta, 26 October 2014 - 12:22 AM.