Feeds

Researchers penetrate last bastion of Windows security

With a little help from Adobe

5 things you didn’t know about cloud backup

Security researchers have defeated vulnerability protections baked into the latest versions of Internet Explorer, demonstrating that it's possible to poke holes in a safety net that's widely relied on to keep end users safe from drive-by exploits.

By exploiting weaknesses in Adobe Systems' Flash Player, researchers have devised two separate attacks that bypass mitigations Microsoft put into IE 7 and 8. Known as ASLR, or address space layout randomization, and DEP, or data execution prevention, the technologies are designed to lessen the severity of bugs by making it hard for them to cause the execution of malicious code.

Both techniques wield the so-called just-in-time compiler in Flash so that a computer's memory is blanketed with large chunks of identical shellcode. The "JIT-spray" allows attackers to overcome ASLR, which normally thwarts execution by picking a different memory location to load system components each time an operating system is started.

"With this JIT-spray, it works fairly reliably, so at least nine out of 10 times you'll guess the right position," said Dionysus Blazakis, a researcher who is demonstrating one of the attacks on Wednesday at the Black Hat security conference in Washington, DC. "The compilers do this optimizing, so it wasn't just a given that this was possible."

The attacks are more than a mere academic exercise because ASLR and DEP have been some of the only defenses preventing lethal exploits of buffer overflows and other bugs in software running on Windows PCs. Last month's unusually advanced attacks on Adobe's Reader application didn't work on IE 8, thanks to the protections.

By using the JIT-spraying technique, however, Blazakis was able to bypass the measures and cause IE 8 to open the Windows calculator, proof that he could exploit the Adobe bug to execute code of his choice.

Similarly, a potent flaw used to pierce the defenses of Google and other large companies was present in all recent versions of IE, but only exploitable on version 6, which was released in 2001.

But using a similar JIT-spraying attack, researchers at Miami-based security firm Immunity have figured out how to reliably exploit the bug in IE 8 running on Windows 7. The attack was released Wednesday to the early updates section for Immunity's Canvas tool sold to penetration testers.

Nicolas Pouvesle, the Immunity senior security researcher who developed the exploit, said overcoming the protections wasn't easy. First, he had to figure out how to locate his malicious shellcode in Windows 7 memory. Then he had to figure out how to overcome DEP, which prevents data loaded into memory from being executed.

"ASLR and DEP in IE 8 on Windows 7 provides a really good protection against these kinds of exploits," he said. "It took us quite some time to put everything together."

After using Flash to spray "lots of big Flash files" into memory, Pouvesle overcame DEP by converting action script into machine code and lacing it with camouflaged shellcode.

This isn't the first time attackers have figured out how to bypass memory protections built into Microsoft software. After a technique known as heap spraying came into vogue, Microsoft added protections to thwart it in IE 8, Pouvesle said. This time around, it's not at all clear Microsoft will be able to prevent the newfangled attacks so easily.

"A change in the memory allocator could prevent" JIT-spraying," he said. "That is, I think, way too complex to do. I don't think we're going to see that happen anytime soon." ®

Secure remote control for conventional and virtual desktops

More from The Register

next story
Ice cream headache as black hat hacks sack Dairy Queen
I scream, you scream, we all scream 'DATA BREACH'!
Goog says patch⁵⁰ your Chrome
64-bit browser loads cat vids FIFTEEN PERCENT faster!
NIST to sysadmins: clean up your SSH mess
Too many keys, too badly managed
Scratched PC-dispatch patch patched, hatched in batch rematch
Windows security update fixed after triggering blue screens (and screams) of death
Researchers camouflage haxxor traps with fake application traffic
Honeypots sweetened to resemble actual workloads, complete with 'secure' logins
Attack flogged through shiny-clicky social media buttons
66,000 users popped by malicious Flash fudging add-on
New Snowden leak: How NSA shared 850-billion-plus metadata records
'Federated search' spaffed info all over Five Eyes chums
Three quarters of South Korea popped in online gaming raids
Records used to plunder game items, sold off to low lifes
Oz fed police in PDF redaction SNAFU
Give us your metadata, we'll publish your data
prev story

Whitepapers

Endpoint data privacy in the cloud is easier than you think
Innovations in encryption and storage resolve issues of data privacy and key requirements for companies to look for in a solution.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Advanced data protection for your virtualized environments
Find a natural fit for optimizing protection for the often resource-constrained data protection process found in virtual environments.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.