Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


04:45 AM
Connect Directly

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

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.

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

    Comment  | 
    Print  | 
    More Insights
  • Comments
    Newest First  |  Oldest First  |  Threaded View
    44% of Security Threats Start in the Cloud
    Kelly Sheridan, Staff Editor, Dark Reading,  2/19/2020
    Zero-Factor Authentication: Owning Our Data
    Nick Selby, Chief Security Officer at Paxos Trust Company,  2/19/2020
    Register for Dark Reading Newsletters
    White Papers
    Current Issue
    6 Emerging Cyber Threats That Enterprises Face in 2020
    This Tech Digest gives an in-depth look at six emerging cyber threats that enterprises could face in 2020. Download your copy today!
    Flash Poll
    How Enterprises Are Developing and Maintaining Secure Applications
    How Enterprises Are Developing and Maintaining Secure Applications
    The concept of application security is well known, but application security testing and remediation processes remain unbalanced. Most organizations are confident in their approach to AppSec, although others seem to have no approach at all. Read this report to find out more.
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    PUBLISHED: 2020-02-25
    An issue was discovered in the CardGate Payments plugin through 2.0.30 for Magento 2. Lack of origin authentication in the IPN callback processing function in Controller/Payment/Callback.php allows an attacker to remotely replace critical plugin settings (merchant ID, secret key, etc.) and therefore...
    PUBLISHED: 2020-02-25
    An issue was discovered in the CardGate Payments plugin through 3.1.15 for WooCommerce. Lack of origin authentication in the IPN callback processing function in cardgate/cardgate.php allows an attacker to remotely replace critical plugin settings (merchant ID, secret key, etc.) and therefore bypass ...
    PUBLISHED: 2020-02-25
    A NULL Pointer Dereference exists in libzint in Zint 2.7.1 because multiple + characters are mishandled in add_on in upcean.c, when called from eanx in upcean.c during EAN barcode generation.
    PUBLISHED: 2020-02-24
    An issue was discovered in the Widgets extension through 1.4.0 for MediaWiki. Improper title sanitization allowed for the execution of any wiki page as a widget (as defined by this extension) via MediaWiki's } parser function.
    PUBLISHED: 2020-02-24
    When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Tomcat treats AJP connections as having higher trust than, for example, a similar HTTP connection. If such connections are available to an attacker, they can be exploited in ways that ...