There's no actually Spyware or virus that knows you're running a virtual machine then go to your local machine?

If you can, explain me.
Running away...