4

Possible Duplicate:
Virtual Machine and Virus

I am running a virtual machine on VirtualBox. Assuming that I have no shared folders between the host and guest OS, is the guest OS completely sandboxed? (eg I could fill that VM with horrible viruses/rootkits/malware and it could never affect my host OS?) Or is there some way for a program to detect that it is in a VM and escape to/cause damage to the host OS?

I'm running Windows 7, but I'm curious about the general case.

Nick Heiner
  • 1,642

2 Answers2

3

Yes, it is totally sandboxed (With the exception @TuxRug mentions). There is no chance of anything infecting the host system. Unless, of course, there is some form of network sharing.

Wuffers
  • 19,619
0

Have a look at some of these articles:

http://www.devx.com/vmspecialreport/Article/30377

The single most valuable feature of using a virtual machine for browsing is the undo capability. Microsoft implements this with its undo disks feature. The idea is simple: Whatever takes place in the guest machine, such as inadvertently downloading spyware, is written to another file instead of the principal virtual hard disk file where the OS and applications are installed. When the browsing session ends, the guest machine is turned off without saving any of the changes that occurred while it was running.

-

http://www.mac-forums.com/forums/switcher-hangout/145853-vmware-virtual-machines-sandboxed.html

If by "sandboxed" you mean isolated from OS X, then the answer is yes. An example would be running XP in a VM and contracting a virus or some malware, that virus or malware could not effect OS X - or "leak out".

studiohack
  • 13,477