Welcome Guest. | Log In| Register | Membership Benefits
  • Email this page E-mail this page
  • |  Print Print this page
  • |   Bookmark and Share

Hacking the Vista Kernel

More fun at Black Hat: How to slip malware into the Vista Beta 2 kernel and take control of the machine

Jul 25, 2006 | 04:45 AM

By Kelly Jackson Higgins
DarkReading

If you're counting on Microsoft's Vista to be more airtight than its Windows, don't get your hopes up just yet. A researcher has already found a way to hack it by inserting code into the latest beta version of Vista Beta 2 kernel (x64 edition).

Joanna Rutkowska, senior security researcher for COSEINC, a Singapore-based IT security company, will demonstrate at the Black Hat conference in Las Vegas next week her research proving malware could be slipped into the Vista kernel undetected. It's a proof-of-concept that basically bypasses Vista's security policy of allowing only digitally signed code to be loaded into the kernel, not malware.

Rutkowska's findings were part of overall research on malware vulnerabilities in Microsoft's long-anticipated OS by the COSEINC Advanced Malware Labs. She'll use proof-of-concept code that disables the signature-check mechanism.

That then leaves Vista vulnerable to malware that gets executed in kernel mode, says Rutkowska, such as password sniffers, keyloggers, or even advanced network backdoors that let the attacker gain control of the machine remotely.

This isn't simple for hackers to execute, however. "For the attack to succeed, one needs to find a reliable way to force interesting kernel code to be paged out, then find that code inside a page file and modify it. And finally, the kernel needs to load that code (now modified) again into physical memory and execute it," she says. "The proof-of-concept code I implemented solves all those challenges allowing for very reliable exploitation."

The attack doesn't use your typical buffer overflow or other bug, but basically exploits a Vista (and Windows) design problem -- that user-mode applications are allowed to access raw disk sectors, Rutkowska says.

For Microsoft to patch this, it would likely result in some system performance or usability penalty, she says. "Some of those penalties seem to be small enough, so solving this should be feasible."

Rutkowska, meanwhile, is still impressed overall with what Microsoft has done to secure Vista. "It's just not that easy to turn the general-purpose operating system into a very secure one and not [be] losing on functionality at the same time."

At Black Hat, Rutkowska will demonstrate an attack against Vista's kernel protection as well as a network backdoor for Vista based on Blue Pill technology, a stealth technology that can be abused by hackers to "hide" malware.

There's no reason for future Vista customers to sweat about these security problems at this point. "Hopefully, Microsoft will find a workaround against the presented attack before shipping the final release of Vista next year." And Microsoft will need to enlist the help of a processor vendor to combat Blue Pill-based attacks, which don't exploit OS weaknesses.

The only means of protection right now is to ensure a Vista machine's admin privileges aren't at risk of being highjacked -- Blue Pill can't be installed without admin access, either. "So protecting your machines from being 'owned' in the first place is a good idea," Rutkowska says.

— Kelly Jackson Higgins, Senior Editor, Dark Reading

  • Microsoft Corp. (Nasdaq: MSFT)
  • Black Hat Inc.


  • Subscribe to RSS










    Bugs
    ENTERPRISE VULNERABILITIES
    Vulnerability:suse linux
    Published:2010-01-22
    Severity:High
    Description:SUSE Linux Enterprise 10 SP3 (SLE10-SP3) configures postfix to listen on all network interfaces, which might allow remote attackers to bypass intended access restrictions.
    Vulnerability:ie
    Published:2010-01-22
    Severity:High
    Description:The URL validation functionality in Microsoft Internet Explorer 7 and 8 does not properly process input parameters, which allows remote attackers to execute arbitrary local programs via a crafted URL, aka "URL Validation Vulnerability."
    Vulnerability:bind
    Published:2010-01-22
    Severity:Medium
    Description:ISC BIND 9.0.x through 9.3.x, 9.4 before 9.4.3-P5, 9.5 before 9.5.2-P2, 9.6 before 9.6.1-P3, and 9.7.0 beta does not properly validate DNSSEC (1) NSEC and (2) NSEC3 records, which allows remote attackers to add the Authenticated Data (AD) flag to a forged NXDOMAIN response for an existing domain.
    Vulnerability:ie
    Published:2010-01-22
    Severity:High
    Description:Microsoft Internet Explorer 6, 6 SP1, 7, and 8 does not properly handle objects in memory, which allows remote attackers to execute arbitrary code by accessing an object that (1) was not properly initialized or (2) is deleted, leading to memory corruption, aka "Uninitialized Memory Corruption Vulnerability," a different vulnerability than CVE-2009-2530 and CVE-2009-2531.
    Vulnerability:ie
    Published:2010-01-22
    Severity:High
    Description:Microsoft Internet Explorer 8 does not properly handle objects in memory, which allows remote attackers to execute arbitrary code by accessing an object that (1) was not properly initialized or (2) is deleted, leading to memory corruption, aka "Uninitialized Memory Corruption Vulnerability," a different vulnerability than CVE-2009-3671, CVE-2009-3674, and CVE-2010-0246.


    Briefing Centers
    POWERFUL INFORMATION
    AT YOUR FINGERTIPS
    (SPONSORED LINKS)