Intel's new VM instructions
Posted: Sun May 29, 2005 6:42 am
Hi,
Intel has gone and released details for new "virtualization" instructions, which are intended to make it faster to have a computer running a VMM with several OSs running under the VMM. See:
http://www.intel.com/technology/computing/vptech/
As far as I can tell, if an operating system is running on a computer that supports VMX but VMX isn't in use, then a virus that manages to get into CPL=0 could become the VM Monitor. This virus would have complete access to all hardware and software, could make itself the first thing booted and could allow the real OS to run as a guest in such a way that it'd be impossible for the real OS (or the users) to detect the virus.
Considering that most OS's run device drivers at CPL=0, delivering the virus wouldn't be too difficult. All you'd need is something that looked like a video driver update - you could submit it to one or more device driver sites and thousands of Windows users would try it out (thinking it was originally from NVidia or something).
The only thing an OS can do (that I can think of) is try to become the VMM itself so that a virus would be blocked, or prevent any software from getting to CPL=0 (including device drivers). People using existing OS's like Windows XP would be screwed.
Any thoughts?
Cheers,
Brendan
Intel has gone and released details for new "virtualization" instructions, which are intended to make it faster to have a computer running a VMM with several OSs running under the VMM. See:
http://www.intel.com/technology/computing/vptech/
As far as I can tell, if an operating system is running on a computer that supports VMX but VMX isn't in use, then a virus that manages to get into CPL=0 could become the VM Monitor. This virus would have complete access to all hardware and software, could make itself the first thing booted and could allow the real OS to run as a guest in such a way that it'd be impossible for the real OS (or the users) to detect the virus.
Considering that most OS's run device drivers at CPL=0, delivering the virus wouldn't be too difficult. All you'd need is something that looked like a video driver update - you could submit it to one or more device driver sites and thousands of Windows users would try it out (thinking it was originally from NVidia or something).
The only thing an OS can do (that I can think of) is try to become the VMM itself so that a virus would be blocked, or prevent any software from getting to CPL=0 (including device drivers). People using existing OS's like Windows XP would be screwed.
Any thoughts?
Cheers,
Brendan