Risk
4/29/2010
03:38 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

Researchers Lock Down The Hypervisor

Prototype prevents 'Blue Pill' and other types of malware-injection attacks against the hypervisor

Researchers at North Carolina State University have come up with a tool that aims to eliminate one of the biggest risks to virtualization and cloud computing: attacks on the hypervisor. The so-called HyperSafe prototype blocks any new code -- think malware -- from getting into the hypervisor and restricts alterations to the hypervisor's code.

The NC State research, funded by the U.S. Army Research Office and the National Science Foundation, focused on using features in the underlying hardware to help armor the hypervisor against attacks. Xuxian Jiang, assistant professor of computer science at NC State and head of the research team that created HyperSafe, says the tool is integrated into the hypervisor itself, and that the research team used it on Xen and BitVisor hypervisors.

"Existing hypervisors, such as Xen and BitVisor, need to be modified or extended to include HyperSafe...which enables the hypervisor with self-protection from code-injection attempts," Jiang says. HyperSafe would theoretically block threats, such as Blue Pill and Vitriol -- hypervisor rootkits that inject malware into the hypervisor, he says.

The tool uses two techniques to secure the hypervisor: nonbypassable memory lockdown and restricted pointer-indexing. Nonbypassable memory lockdown basically blocks any new code from the hypervisor, except for code introduced by the system administrator. So if a user downloads malware that exploits a buffer overflow bug in a hypervisor, it can't be compromised, according to the research.

"It uses a hardware feature called WP to effectively lock down the memory range...that contains executable code. This memory range cannot be changed to include new additional code for execution in the hypervisor," Jiang says. "Also, this memory page is marked 'read-only' and existing code will not be modified."

Restricted pointer-indexing is basically a way that monitors any unusual behavior by the hypervisor to prevent changes to the hypervisor code, except by the administrator. "HyperSafe is designed to block [these types of attacks], even with the assumption that exploitable bugs are present in the hypervisor software," he says. "Considering the large and complex hypervisor code, we need to find a solution to thwart hypervisor-level code injection, which is the challenging part in HyperSafe."

But the technique doesn't prevent a rogue administrator from altering the hypervisor -- HyperSafe doesn't handle physical-level attacks.

The hypervisor defense techniques could protect against a virtual machine escape, for instance, where a compromised guest VM would be unable to attack the hypervisor. "The goal of HyperSafe is to address code-injection attacks at the hypervisor level," Jiang says.

Jiang says he and his team are working on expanding the tool to other hypervisors, and they aren't ruling out rolling the technology into commercial form: "At this stage, we are open for any possibilities, including a close collaboration with key players in the virtualization market to better secure the hypervisor software," he says.

HyperSafe assumes trusted hardware and only addresses threats from untrusted guest VMs, he says. He hopes to add support some hardware attacks in future research.

The hypervisor tool follows research Jiang and a team did last year on combating rootkits. They used a machine's own hardware-based memory protection to protect the operating system kernel from rootkits, developing the so-called HookSafe tool.

The tool prevents rootkits from even infiltrating the system, rather than having to find the stealthy code and clean it up, which is no easy task, according to the researchers.

Meantime, the NC State researchers will present their new HyperSafe research next month at the IEEE Symposium On Security And Privacy in Oakland, Calif. Their paper is called "HyperSafe: A Lightweight Approach to Provide Lifetime Hypervisor Control-Flow Integrity" (PDF).

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.

Kelly Jackson Higgins is Executive Editor at DarkReading.com. 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 ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading Tech Digest, Dec. 19, 2014
Software-defined networking can be a net plus for security. The key: Work with the network team to implement gradually, test as you go, and take the opportunity to overhaul your security strategy.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2013-4440
Published: 2014-12-19
Password Generator (aka Pwgen) before 2.07 generates weak non-tty passwords, which makes it easier for context-dependent attackers to guess the password via a brute-force attack.

CVE-2013-4442
Published: 2014-12-19
Password Generator (aka Pwgen) before 2.07 uses weak pseudo generated numbers when /dev/urandom is unavailable, which makes it easier for context-dependent attackers to guess the numbers.

CVE-2013-7401
Published: 2014-12-19
The parse_request function in request.c in c-icap 0.2.x allows remote attackers to cause a denial of service (crash) via a URI without a " " or "?" character in an ICAP request, as demonstrated by use of the OPTIONS method.

CVE-2014-2026
Published: 2014-12-19
Cross-site scripting (XSS) vulnerability in the search functionality in United Planet Intrexx Professional before 5.2 Online Update 0905 and 6.x before 6.0 Online Update 10 allows remote attackers to inject arbitrary web script or HTML via the request parameter.

CVE-2014-2716
Published: 2014-12-19
Ekahau B4 staff badge tag 5.7 with firmware 1.4.52, Real-Time Location System (RTLS) Controller 6.0.5-FINAL, and Activator 3 reuses the RC4 cipher stream, which makes it easier for remote attackers to obtain plaintext messages via an XOR operation on two ciphertexts.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Join us Wednesday, Dec. 17 at 1 p.m. Eastern Time to hear what employers are really looking for in a chief information security officer -- it may not be what you think.