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
    For Cybersecurity to Be Proactive, Terrains Must Be Mapped
    Craig Harber, Chief Technology Officer at Fidelis Cybersecurity,  10/8/2019
    A Realistic Threat Model for the Masses
    Lysa Myers, Security Researcher, ESET,  10/9/2019
    Register for Dark Reading Newsletters
    White Papers
    Cartoon Contest
    Current Issue
    7 Threats & Disruptive Forces Changing the Face of Cybersecurity
    This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
    Flash Poll
    2019 Online Malware and Threats
    2019 Online Malware and Threats
    As cyberattacks become more frequent and more sophisticated, enterprise security teams are under unprecedented pressure to respond. Is your organization ready?
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    PUBLISHED: 2019-10-14
    JIZHICMS 1.5.1 allows admin.php/Admin/adminadd.html CSRF to add an administrator.
    PUBLISHED: 2019-10-14
    There is a heap-based buffer over-read in the _nc_find_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before 6.1-20191012.
    PUBLISHED: 2019-10-14
    There is a heap-based buffer over-read in the fmt_entry function in tinfo/comp_hash.c in the terminfo library in ncurses before 6.1-20191012.
    PUBLISHED: 2019-10-14
    A flaw was found in the "Leaf and Chain" OCSP policy implementation in JSS' CryptoManager versions after 4.4.6, 4.5.3, 4.6.0, where it implicitly trusted the root certificate of a certificate chain. Applications using this policy may not properly verify the chain and could be vulnerable to...
    PUBLISHED: 2019-10-14
    The csv-parse module before 4.4.6 for Node.js is vulnerable to Regular Expression Denial of Service. The __isInt() function contains a malformed regular expression that processes large crafted input very slowly. This is triggered when using the cast option.