05:52 PM
Connect Directly

Flaw In Microsoft's Hypervisor Lets Attackers Bypass DEP, ASLR

Virtual PC hypervisor bug and proof-of-concept revealed by Core Security Technologies -- but Microsoft says it's not technically a vulnerability

Core Security Technologies has discovered a flaw in Microsoft's Virtual PC hypervisor that can be used by an attacker to cheat built-in, advanced security features in Windows.

The flaw in the memory management function of the hypervisor affects Microsoft Virtual PC 2007, Virtual PC 2007 SP1, Windows Virtual PC, Microsoft Virtual Server 2005, and the XP Mode feature in Windows 7. Microsoft's Hyper-V technology is not affected by the vulnerability.

Core first reported its discovery of the vulnerability to Microsoft in August. Microsoft will fix the issue in future updates to the products, according to Core. For now, users should run mission-critical applications on native hardware and software platforms, or employ virtualization software not affected by the flaw.

Microsoft says the attack is based on using existing vulnerabilities rather than an actual vulnerability itself: "It does this by rendering a number of protection mechanisms that are present in the Windows kernel less effective inside a virtual machine as opposed to a physical Windows machine. An attacker would need to abuse an already present vulnerability in order to leverage this technique," a Microsoft spokesperson says.

And an attacker would not be able to take over an entire host machine running multiple virtual machines, the spokesperson notes. "An attacker can only exploit a vulnerable application running inside the guest virtual machine on Windows XP, rather than Windows 7," according to Microsoft.

But according to Core, the danger of the vulnerability is in its ability to bypass Windows' Data Execution Prevention (DEP), Safe Exception Handlers (SafeSEH), and Address Space Layout Randomization (ASLR) features in some versions of Windows. So applications with nonexploitable bugs in nonvirtualized environments could then be exploited when run in a guest operating system in the Virtual PC, says Ivan Arce, CTO of Core.

"This makes all kinds of exploits easier to exploit," Arce says. "DEP and ASLR are ineffective," he says.

This is an example of a future trend in attacks, he says, where attackers writing exploits for code execution will look for ways to circumvent memory address space. While security features like DEP and ASLR have improved Windows security overall, he says, adding virtualization can introduce new vulnerabilities.

"There may be issues in virtualization that will impact the rest of the OS or infrastructure, and this is an example of that," Arce says. "I think this is going to be an ongoing trend in the future, where [attackers] are not just attempting to circumvent security protections, but using virtualization to find different problems and exploit them."

Meanwhile, the memory management bug in the Virtual Machine Monitor lets an attacker access so-called "high" memory above 2 gigabytes and gain read or read/write privileges from apps running in the guest OS, according to Core.

Core also released proof-of-concept code demonstrating the flaw and how it could be exploited.

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
Newest First  |  Oldest First  |  Threaded View
Devastating Cyberattack on Email Provider Destroys 18 Years of Data
Jai Vijayan, Freelance writer,  2/12/2019
Up to 100,000 Reported Affected in Landmark White Data Breach
Kelly Sheridan, Staff Editor, Dark Reading,  2/12/2019
Register for Dark Reading Newsletters
White Papers
Current Issue
5 Emerging Cyber Threats to Watch for in 2019
Online attackers are constantly developing new, innovative ways to break into the enterprise. This Dark Reading Tech Digest gives an in-depth look at five emerging attack trends and exploits your security team should look out for, along with helpful recommendations on how you can prevent your organization from falling victim.
Flash Poll
How Enterprises Are Attacking the Cybersecurity Problem
How Enterprises Are Attacking the Cybersecurity Problem
Data breach fears and the need to comply with regulations such as GDPR are two major drivers increased spending on security products and technologies. But other factors are contributing to the trend as well. Find out more about how enterprises are attacking the cybersecurity problem by reading our report today.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2019-02-15
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c has an integer overflow on the result of multiplication fed into malloc. When the buffer is allocated, it is smaller than expected, leading to a heap-based buffer overflow.
PUBLISHED: 2019-02-15
An issue was discovered in SoX 14.4.2. In xmalloc.h, there is an integer overflow on the result of multiplication fed into the lsx_valloc macro that wraps malloc. When the buffer is allocated, it is smaller than expected, leading to a heap-based buffer overflow in channels_start in remix.c.
PUBLISHED: 2019-02-15
An issue was discovered in SoX 14.4.2. One of the arguments to bitrv2 in fft4g.c is not guarded, such that it can lead to write access outside of the statically declared array, aka a stack-based buffer overflow.
PUBLISHED: 2019-02-15
An issue was discovered in SoX 14.4.2. lsx_make_lpf in effect_i_dsp.c allows a NULL pointer dereference.
PUBLISHED: 2019-02-15
Vulnerability in FileUtils v0.7, Ruby Gem Fileutils <= v0.7 Command Injection vulnerability in user supplied url variable that is passed to the shell.