Vista's Security Rendered Completely Useless by New Exploit
By FlishFun, 08 August 2008 - 00:30 109 comments
This week at the Black Hat Security Conference two security researchers will discuss their findings which could completely bring Windows Vista to its knees.
Mark Dowd of IBM Internet Security Systems (ISS) and Alexander Sotirov, of VMware Inc. have discovered a technique that can be used to bypass all memory protection safeguards that Microsoft built into Windows Vista. These new methods have been used to get around Vista's Address Space Layout Randomization (ASLR), Data Execution Prevention (DEP) and other protections by loading malicious content through an active web browser. The researchers were able to load whatever content they wanted into any location they wished on a user's machine using a variety of objects, such as Java, ActiveX and even .NET objects. This feat was achieved by taking advantage of the way that Internet Explorer (and other browsers) handle active scripting in the Operating System.
While this may seem like any standard security hole, other researchers say that the work is a major breakthrough and there is very little that Microsoft can do to fix the problems. These attacks work differently than other security exploits, as they aren't based on any new Windows vulnerabilities, but instead take advantage of the way Microsoft chose to guard Vista's fundamental architecture. According to Dino Dai Zovi, a popular security researcher, "the genius of this is that it's completely reusable. They have attacks that let them load chosen content to a chosen location with chosen permissions. That's completely game over."
According to Microsoft, many of the defenses added to Windows Vista (and Windows Server 2008) were added to stop all host-based attacks. For example, ASLR is meant to stop attackers from predicting key memory addresses by randomly moving a process' stack, heap and libraries. While this technique is very useful against memory corruption attacks, it would be rendered useless against Dowd and Sotirov's new method. "This stuff just takes a knife to a large part of the security mesh Microsoft built into Vista," said Dai Zovi to SearchSecurity.com. "If you think about the fact that .NET loads DLLs into the browser itself and then Microsoft assumes they're safe because they're .NET objects, you see that Microsoft didn't think about the idea that these could be used as stepping stones for other attacks. This is a real tour de force."
While Microsoft hasn't officially responded to the findings, Mike Reavey, group manager of the Microsoft Security Response Center, said the company has been aware of the research and is very interested to see it once it has been made public. It currently isn't known whether these exploits can be used against older Microsoft Operating Systems, such as Windows XP and Windows Server 2003, but since these techniques do not rely on any one specific vulnerability, Zovi believes that we may suddenly see many similar techniques applied to other platforms or environments. "This is not insanely technical. These two guys are capable of the really low-level technical attacks, but this is simple and reusable," Dai Zovi said. "I definitely think this will get reused soon."
These techniques are being seen as an advance that many in the security community say will have far-reaching implications not only for Microsoft, but also on how the entire technology industry thinks about attacks. Expect to be hearing more about this in the near future and possibly being faced with the prospect of your "secure" server being stripped completely naked of all its protection.
Link: Black Hat Security Conference
Link: How To Impress Girls With Browser Memory Protection Bypasses
Download: Example Code and Tech Paper

Comments (109)
EduardValencia - 08 August 2008 - 00:46
Ok attacks evolve like this one,that doesen't mean that MS did a bad Job in security for Vista.
Since for the standard vulnerabilities Vista has shown to be the most secure.
Unfortunatley this is a breakthrough.
brent3000 - 08 August 2008 - 01:44
Noting is un-hackable... MS tryed and someone found a way around... MS do a good job of security... but with the 1,000's trying to hack it... stuff like this is bound to happen...
Marshalus - 08 August 2008 - 00:53
I'm going to go cry in a corner now.
+warwagon - 08 August 2008 - 01:12
Aww
EduardValencia - 08 August 2008 - 03:09
Use the clown hat,and look to the wall please
abcdefg - 08 August 2008 - 00:57
ZOMG! But I Gotz UAC? :confused:
Laser_iCE - 08 August 2008 - 22:14
hahahahahahaha cute
xpgeek - 08 August 2008 - 01:04
Sounds pretty frighteningly serious.
+Brandon Live - 08 August 2008 - 02:37
More like... sounds pretty sensational(ist) to me.
If true, defeating ASLR and DEP are significant. Don't know what steps must be taken to exploit, like what pre-conditions or user actions.
Will need more information before you can say one way or another how serious it is or isn't.
+Brandon Live - 08 August 2008 - 04:19
Will need more information before you can say one way or another how serious it is or isn't.
It's unclear whether they've really "defeated" ASLR or DEP. Those technologies only help protected against a very specific class of attack, and it sounds like maybe they're just talking about a different class of attack (which isn't really a huge deal in of itself, there are tons of different kinds of attacks and vulnerabilities).
Then again, it's all speculation until they actually reveal what the heck they're talking about.
Neoauld - 08 August 2008 - 01:06
i think people over exagerate all this
im sure av/firewall software will help
im not gonna sweat this
dhan - 08 August 2008 - 01:06
Why do I think that it requires
1. Disable UAC
2. User intervention
to work in the first place.
IBM and VMware - not closest friends of MS anyway.
I'm not so sure about that, since it said "since these techniques do not rely on any one specific vulnerability, Zovi believes that we may suddenly see many similar techniques applied to other platforms or environments." So whatever this is, it might be very, very bad.
+/- Razorfold - 08 August 2008 - 01:47
Nope. For the .dll to run within internet explorer, it has to be marked as safe to run...otherwise you get that nice little yellow window.
Also IE runs by default in protected mode, hence no dll can access anything but IE. If UAC is disabled you won't get that yellow window, and nor will you get IE protected mode.
Deviate_X - 08 August 2008 - 09:19
1. Disable UAC
2. User intervention
to work in the first place.
IBM and VMware - not closest friends of MS anyway.
You are probably right. The article is very carefully written to hide the fact that you probably have to disable browser isolation (diabale UAC and whatnot) to enable this type of exploit.
What i know is DEP is basically disabled for .NET and Java, this is because Java and .NET need to be able to compile and execute code. Of course for .net or Java to work on XP (or any other OS) they also have to also enable code compiliation and excution.
The exploit: Therefore if you can compromise the .net or java runtime then you can generate any code you want and excute that in the context of that runtime.
Of course this does not enable you to get around 1. UAC or 2. IE protected mode (the default).
However if you use Firefox and have disabled UAC....
n_K - 08 August 2008 - 20:03
Can I just say the ISS guy is a plank and should not be entitled to an opinion because of him they have scrapped blackICE and screwed thousands of us others, thanks lamer.
The_Decryptor - 09 August 2008 - 09:20
However if you use Firefox and have disabled UAC....
Firefox doesn't use Active Scripting, that's an IE thing.
Deviate_X - 11 August 2008 - 11:17
Firefox doesn't use Active Scripting, that's an IE thing.
The problem is with java and .net nothing to do with scripting ... :suspicious:
+/- Razorfold - 08 August 2008 - 01:36
Lol what an exageration..
Just like post number 6 says.