Black Hat researcher demonstrates how an attacker could gain control of a hypervisor when a VM is moved from one machine to another

WASHINGTON, DC -- Black Hat DC -- A researcher here today demonstrated how an attacker could hack VMware and Xen virtualization software when a virtual machine is moved from one physical machine to another.

Jon Oberheide, a researcher and PhD candidate at the University of Michigan, is releasing a proof-of-concept tool called Xensploit that lets an attacker take over the VM’s hypervisor and applications, and grab sensitive data from the live VMs.

Oberheide says organizations don’t typically realize or consider the risk of migrating live virtual machines . The last thing they want to do is take down the live system because that would defeat the purpose of the dynamic and high-availability features you get in a VM deployment.

“Enterprises [with VMs] need to be aware of these risks and make sure they’re adequately protected,” he says.

Because the data moves in clear text during a VM migration, he says, an attacker could stage a man-in-the-middle attack on a virtual machine’s hypervisor. He demonstrated how his Xensploit tool manipulates SSH daemon-based (sshd) authentication as it crosses the wire, and then gives the attacker administrative access to the VM.

“The destination [machine] doesn’t know whether it’s been a legitimate VM migration or if it was modified by an attacker,” he says.

Oberheide says the vulnerable spot is the data plane, or the path along which the VM migration takes place. An attacker can sit in the middle and manipulate that traffic to gain access to the VM system, using techniques like route hijacking, ARP/DHCP spoofing, ICMP redirection, and DNS spoofing or poisoning, he says. There is also the possibility of passive attacks, where the bad guy could merely sniff passwords.

“The serious [attacks] would be kernel exploits,” he says, where an attacker could slip rootkits or other backdoors into memory.

Oberheide says VM vendors need to shore up the security of their software. Enterprises with VM systems, meanwhile, can set up mutual authentication between the source and destination hypervisors during a migration, and either encrypt the data plane or use a separate physical network or virtual network to isolate the migrating VMs.

Have a comment on this story? Please click "Discuss" below. If you'd like to contact Dark Reading's editors directly, send us a message.

About the Author(s)

Kelly Jackson Higgins, Editor-in-Chief, Dark Reading

Kelly Jackson Higgins is the Editor-in-Chief of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise Magazine, Virginia Business magazine, and other major media properties. Jackson Higgins was recently selected as one of the Top 10 Cybersecurity Journalists in the US, and named as one of Folio's 2019 Top Women in Media. She began her career as a sports writer in the Washington, DC metropolitan area, and earned her BA at William & Mary. Follow her on Twitter @kjhiggins.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights