Understanding the security environment of VMs