How does a host PC remain free from viruses on a VM?

251 views

Hello everyone,

I recently heard that a host PC is unaffected from viruses that have infected a virtual machine on that PC? How can this be the case, as both share the same hardware?

In: 9

6 Answers

Anonymous 0 Comments

As far as the programs running in the VM are concerned, the only things that exists are the “fake” hardware that the hypervisor simulates for the VM. It’s pretty hard to copy stuff to/from a hard drive when every tool you can reach says said hard drive doesn’t exist!

Of course, running on the same physical hardware *does* have security implications, this is what is especially problematic about [Spectre, Meltdown](https://meltdownattack.com/) and [Rowhammer](https://en.wikipedia.org/wiki/Row_hammer) – they provide a way to sneak information into/out of supposedly isolated environments that run on the same hardware.

You are viewing 1 out of 6 answers, click here to view all answers.