Dark Reading on Virtualization Security
Thomas Ptacek | February 26th, 2007 | Filed Under: Defenses, Uncategorized
You probably didn’t notice, dazzled by Dark Reading high point “Top Ten Admin Passwords To Avoid” (see footnote), but they just did a quick feature on virtualization security, and this is something I think you should pay more attention to.
If you’ve been living in a cave: real computers have been obsoleted. In five years, everything is going to be virtualized. Hardware is optimizing for it, hypervisor software is ubiquitous, and it is simply a matter of time before virtualization becomes a basic OS service on mainstream platforms.
I had two answers for how virtualization complicates life for systems security people:
You now face the spectre of guest-hopping attacks, which are vulnerabilities in your hypervisor that allow you to beat VM protection and gain access to other hosts. The driver for these attacks is that a hypervisor has to provide at least the illusion of a “ring 0” for a guest operating system to run in.
If you’re on the same hardware as your target, you have significantly improved timing channels to pry encryption secrets out with.
I have two thoughts on what this implies for security architecture:
I agree wholeheartedly with the product manager at VMWare who says “… one of the key things about hypervisors is their design is simpler than the modern operating system. As a result, they are simpler to harden and lock down…”. With the exception of device emulation, hypervisors have a smaller attack surface than operating systems. Code-rewriting Dynamo-style VM’s like VMWare also have a great degree of control over their clients built into the architecture. So guest-hopping doesn’t keep me up at night.
The answer to this problem is very familiar and very straightforward: segmentation. If you’re a security person in an enterprise, you have an opportunity now, before everything shares the same 12-core, SAN-backed “aggregation server”, to push out a policy that spells out what kinds of applications can safely share the same hardware resources. Unlike the VLAN debacle, you might actually have a chance at enforcing this one, if you start early enough.
A couple other (predictable) comments:
I’d ignore “Hypervisor IPS”. There’s little evidence that IPS has improved security at the OS or network level, and the companies that produce those products uncover significant vulnerabilities in the course of improving their products every year. Right now there is zero evidence to suggest that hypervisor IPS is anything but snake oil, and zero hypervisor research findings to back the concept up.
I’d also ignore “hypervisor malware”; as we asserted earlier, “ring -1” is actually kind of a crappy place to hide a rootkit, because you’re a simpler target to look for when you’ve interposed yourself between the entire OS and the hardware.
Footnote:
(For the record, they include: (username), (username)123, 123456, password, 1234, 12345, passwd, 123, test, 1, along with shockers like changeme, dontforget, letmein, root, default, system, attack, cisco, tiger, public, sun123. Damn, they got me! But don’t worry; all “root” gets you is the raw data, which is easier to read on the web site anyways.)


Add New Comment
Viewing 20 Comments
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks