ie8 fix
madison

Zero Day

Ryan Naraine, Emil Protalinski and Dancho Danchev

Pwn2Own 2011: IE8 on Windows 7 hijacked with 3 vulnerabilities

By | March 9, 2011, 4:45pm PST

Summary: Using three different vulnerabilities and clever exploitation techniques, Irish security researcher Stephen Fewer successfully hacked into a 64-bit Windows 7 (SP1) running Internet Explorer 8 to win this year’s CanSecWest hacker challenge.

VANCOUVER — Using three different vulnerabilities and clever exploitation techniques, Irish security researcher Stephen Fewer successfully hacked into a 64-bit Windows 7 (SP1) running Internet Explorer 8 to win this year’s CanSecWest hacker challenge.

Fewer (right), a Metasploit developer who specializes in writing Windows exploits, used two different zero-day bugs in IE to get reliable code execution and then chained a third vulnerability to jump out of the IE Protected Mode sandbox.

The attack successfully bypassed DEP (data execution prevention) and ASLR (address space layout randomization), two key protection mechanisms built into the newest versions of Windows.

“I had to chain multiple vulnerabilities to get it to work reliably,” Fewer said in an interview.

[ SEE: Safari/MacBook first to fall at Pwn2Own 2011 ]follow Ryan Naraine on twitter

Technical details of the flaws will be kept under wraps until Microsoft releases a patch.  TippingPoint ZDI, the contest sponsors, own the exclusive rights to the vulnerability information.

For his efforts, Fewer won a $15,000 cash prize and a new Windows laptop.

Fewer said it took about five to six weeks to find the vulnerabilities and write a reliable exploit.  ”Writing the exploit was the tricky part.  It was very time consuming, especially bypassing protected mode,” he added.

During the contest, he set up a special web page with a link.  Using the target machine, he clicked on a link and immediately launched the calculator app (calc.exe).  He was also required to write to a file to prove that he got out of the low integrity mode.   This proved that he got full user access to the hijacked machine.

[ SEE: Pwn2Own 2011: On cue, Apple drops massive Safari, iOS patches ]

Fewer said the new mitigation technologies being built into modern browsers make it “incrementally difficult” to exploit but insisted that a motivated attacker with enough resources will eventually find a way to write a reliable exploit.

“If you spend long enough looking for bugs, you’ll always find something,” he added.

Peter Vreugdenhil, a security researcher at HP TippingPoint, described Fewer’s exploit as “pretty impressive” because of the Protected Mode bypass.

Vreugdenhil, who won last year’s contest with a successful hack of Internet Explorer, said Protected Mode was not trivial to bypass, noting that there is only one publicly documented way to do it.  Fewer’s exploit used a brand-new technique to bypass Protected Mode.

Researchers from French pen-testing company VUPEN were also on hand with a fully tested exploit for IE8.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Ryan Naraine is a journalist and social media enthusiast specializing in Internet and computer security issues.

Disclosure

Ryan Naraine

The most important disclosure is of my employment with Kaspersky Lab as a member of the global research and analysis team. Kaspersky Lab is a global company specializing in anti-malware and secure content management technologies. I do not own stocks or other investments in any technology company.

Biography

Ryan Naraine

Ryan Naraine is a journalist and social media enthusiast specializing in Internet and computer security issues. He is currently security evangelist at Kaspersky Lab, an anti-malware company with operations around the globe. He is taking a leadership role in developing the company's online community initiative around secure content management technologies.

Prior to joining Kaspersky Lab, Ryan was Editor-at-Large/Security at eWEEK, leading the magazine's and Web site's coverage of Internet and computer security issues and managing the popular SecurityWatch blog, covering the daily threats, vulnerabilities and IT security technologies. He also covered IT security, hacker attacks and secure content management topics for Jupiter Media's internetnetnews.com.

Ryan can be reached at naraine SHIFT 2 gmail.com. For daily updates on Ryan's activities, follow him on Twitter.

Related Discussions on TechRepublic

Did you know you can take part in these discussions with your ZDNet membership?
104
Comments

Join the conversation!

Just In

RE: Pwn2Own 2011: IE8 on Windows 7 hijacked with 3 vulnerabilities
talih Updated - 12th Aug
Great!!! thanks for sharing this information to us!
sesli chat sesli sohbet
That is pretty darn good security from Microsoft if it took him 3 different exploits just to get escalated privileges. I love how even the security researches are saying just how hard it is to pull off such a feat.
0 Votes
+ -
And it took him a whole 6 weeks to do it
Richard Flude 9th Mar 2011
I, for one, am impressed;-)
@Richard Flude
it didnt take him 6 weeks to do it. It took 6 weeks to find the vulnerabilities. Just like when you do a pen test, you take time to see the picture as a whole, then you crack the nut.
@Richard Flude
I assumed it would take less, but even Apple is starting to understand security.
Now if they would only take it seriously.
@Will Farrell
6 weeks for 1 lone person to crack Windows 'security' but
2 weeks for 3 people to crack a Mac
This seems to be about the same to me. Team-work can be faster with people to bounce ideas off and for brain-storming. Usually people have slightly different expertise which fluid-team-work can make use of and competition can be highly motivating. But then i guess there are advantages to being a lone wolf too. So
2 x 3 = 6 imo, usually anyway.
Regards from Tom happy
@Tom6

Not really when IE required 3 exploits which would equal out to 6 week per exploit per person.

The Mac only required 1 exploit and all you have to do is visit the site, no clicking on a link involved as with the IE exploit.
@Loverock Davidson

Good spin!
0 Votes
+ -
@Loverock Davidson ,,,, thieves will always go after the little old ladies and easy marks first, then brag about how hard it was to yank the handbag away from her and how difficult it was to turn the door knob of an unlocked door to get in to rob you blind. That's why nobody even bothers trying to break into a SELINUX Impenetrable Fortress! lol..... grin

These Hackathons are just to show how amateur and lax Microsoft is at Security! .....always leaving a backdoor for themselves into your computers!!! haha..... thieves always fear thieves the most!!! lol...
@Loverock Davidson

The bottom line is that he succeeded, which means other people who'd like a wee bit more than a $15,000 payoff could also succeed.
0 Votes
+ -
That's pretty bad security...
jasonp@... 10th Mar 2011
@Loverock Davidson
if there were 3 exploits available for him to use to get escalated privileges. It's hard to be the first to pull off a feat like this. Once it's done, copy/paste makes duplicating it pretty easy.
0 Votes
+ -
Nothing new here
LTV10 10th Mar 2011
Even Loverock Davidson's Flagged FUD is still the same.
0 Votes
+ -
@LTV10

As is yours.
  • Flagged
0 Votes
+ -
Message has been deleted.
LTV10 Updated - 16th Mar 2011
  • Flagged
0 Votes
+ -
lol...
LTV10 21st Mar 2011
It took you over a week to get that one deleted, didn't 'o dewy-eyed one...

more lol...
Plus if you close you eyes, click your heels and repeat "I'm not in Kansas anymore" the hack goes away. So it took one person two weeks, or 5 weeks ... a team of 10 hackers in China could do it in a day. Getting hacked is like getting pregnant. It doesn't matter how long it took, it just matters that it happened and how you have to live with it.
0 Votes
+ -
The MCSEs were saying;-)
Richard Flude 9th Mar 2011
Owned at the same stage as Mac OS X & Safari. No surprise really.

How's Google's Chrome holding up?
@Richard Flude
No surprise. Mac OS X has almost no security and rely mostly on smaller market share to stay safe.
@day2die
And yet Windows fell immediately. So what does that honestly say about Windows security?
@day2die
Based on the results from the Mac OS X / Safari hack, I don't see Apple doing good neither,
"Bekrar?s winning exploit did not even crash the browser after exploitation. Within five seconds of surfing to the rigged site, he successfully launched the calculator app and wrote a file on the disk without crashing the browser."
http://www.zdnet.com/blog/security/safarimacbook-first-to-fall-at-pwn2own-2011/8358
0 Votes
+ -
@Rick_K
And this is why:
"Bekrar said the Safari exploit was somewhat difficult because of the lack of documentation regarding 64-bit Mac OS X exploitation."
Apple:
"...spent about two (2) weeks to find the vulnerability (using fuzzers) and writing a reliable exploit."

Microsoft:
"...it took about five to six (5-6) weeks to find the vulnerabilities and write a reliable exploit"

Apple:
"...exploited a (1) zero-day flaw in Apple?s Safari browser"

Microsoft:
"...Using three (3) different vulnerabilities and clever exploitation techniques"

See? Microsoft fell immediately and easily. Oh wait...
@jsjslim: Apple:
"...spent about two (2) weeks to find the vulnerability (using fuzzers) and writing a reliable exploit."

Microsoft:
"...it took about five to six (5-6) weeks to find the vulnerabilities and write a reliable exploit"


...person for Windows. 3 people x 2 weeks = 1 person x 6 weeks.
0 Votes
+ -
@day2die
a link to a web site. Now THATS scarey!
0 Votes
+ -
Windows only hacked because people try?
john_gillespie@... 10th Mar 2011
Exactly ... and Windows never gets hacked because ... oh no wait ... Windows gets hacked because people try to hack it? So you are saying that MS has almost no security either?
@Rick_K Mac was the first to fall. There were few exploits on windows, and it took alot of time to exploit it. And it was IE that was exploited, mostly. And considering it took 6 weeks to find and write an exploit. When it took 2 weeks to create a whole dev kit and find exploits on MacOS. Noting that none of the dev kit crap had to be done on Windows and it still took 3x the time.
@day2die
I hate to say that is partially true that Apple uses 10% market share to "protect" themselves. Now hackers need a new target and they are finding the Mac a nice, new, tasty target. Apple needs to get on the ball on properly securing the OS and network applications it has.
Now if this character won the $15,000, wouldn?t that mean is was easier to hack the vaunted Windows 7, and IE 8 than it was to hack OS X/Safari? Being that webkit is open source, the researcher had access to the code. With Windows, there is no such access to the code, so it proves that anything made by man can be broken into.
0 Votes
+ -
@Rick_K
Someone also got $15,000 for hacking OS X. Also, being open source doesn't make the browser safer at all.
@Rick_K What are you babbling about, somebody won $15k for hacking safari on Mac OS X too. And it sounds like the Windows exploit was MUCH harder, 3 0-day exploits, one of which is only one of two ways to hack in, how often do you think a hacker on the internet is going to do that?
0 Votes
+ -
hundreds. Which is why we see so much malware.
0 Votes
+ -
@Richard Flude we see so much because people won't abandon XP and that is 99% of the malware infections I've dealt with for friends.

I haven't seen any on Windows 7 as of yet!
0 Votes
+ -
Peter, then you can't be looking
Richard Flude 9th Mar 2011
You've haven't seen the attacks targeting windows 7 after patch Tuesday?

No doubt windows 7 in an improvement over XP (still amuses me when I see it), but many of the vulnerabilities are common.
0 Votes
+ -
@Richard Flude - "Hundreds..." you obviously do not read much then. XP yes IE 6 yes, Win7 IE8 not many, and the article clearly stated it was difficult. I'm sure OSX was hard as well. What a jack wagon.
@Rick_K

The "character" who pwned the Mac also won $15K and a Mac laptop. Read the article "Safari/MacBook first to fall at Pwn2Own 2011" at the link in dvm's message, especially this quote:

"Bekrar said the Safari exploit was 'somewhat difficult' because of the lack of documentation regarding 64-bit Mac OS X exploitation. 'We had to do everything from scratch. We had to create a debugging tool, create the shellcode and create the ROP (return oriented programming) technique,' he explained.

'The main difficulty was doing this on our own, without the help of any documentation,' he said."
@ITSecurityGuy,

Funny...the fact that it is open source isn't much help if none of it is documented, who wants to reverse engineer millions of line of code?
@Rick_K No because Safari is not open source, and neither is the OS. Only webkit is open source, but each browser uses its own modified version of webkit. So looking at the source doesnt do very much.
0 Votes
+ -
No need to speculate
WilErz 11th Mar 2011
@ Rick_K

Instead of speculating, you could read what Charlie Miller actually said last year:

http://www.oneitsecurity.it/01/03/2010/interview-with-charlie-miller-pwn2own/

According to Miller, Chrome or IE8 on Windows 7 is probably the most secure browser/OS choice. He also said that Windows 7 is 'slightly more difficult' to hack than Mac OS X, and that Linux is 'no harder, in fact probably easier' to hack than Windows or OS X.
@WilErz

no, that's not true according to sportmac and his very old link:
http://www.theregister.co.uk/2003/12/16/windowsstyle_security_hell_stalks_mac/

I think Mr R Forno just lost his credibility with this pwn2own and the quote of Charlie Miller above, as Forno's OSX was supposed to be "secure by design".
0 Votes
+ -
Meanwhile...
KodiacZiller 9th Mar 2011
Meanwhile, it looks like the people who were scheduled to exploit Chrome did not show up, according to another article I read. This means they were not successful in their attempts, obviously.
@KodiacZiller ....so even with the added incentive, they didn't show up to go after Chrome. So another year for Google in proving just how good they are the Security Game!!! haha..... grin ...not only that but absolutely the best, fastest easiest to use browser on the planet!

Best features and far more intuitive than any of the competition and with a a great App Market and Extensions that make using Chrome a whole lot more fun as well as SECURE!!! wink
@Monarky ZZZZZzzzzzz......
@Monarky , by your standards, a person that registered to run the Boston Marathon and decided at the last minute to not run could be declared the winner of the Marathon! Nothing is proven when one chooses to avoid the contest.
@Monarky Chrome has its own issues. Like not properly rendering pages. And the fact that Google logs everything you do using Chrome. Firefox with hardware acceleration and 64 bit (Minefield) is much faster.
@KodiacZiller
Impossible for me to say for sure it's what happened, but why show up if your carefully crafted exploit has just been patched against?

http://www.computerworld.com/s/article/9212079/Google_patches_19_Chrome_bugs_week_before_Pwn2Own_hacking_contest
@Zogg Apple patched Safari right before the contest. It didn't help them.
@daengbo
I was suggesting a possible explanation for why some people scheduled to exploit Chrome might not show up.

No mention of Apple anywhere.
Let's face it, any popular OS/Browser combo are easily defeated. With all the code packed into these systems, there are plenty of opportunities for exploitation. If I want to get into your system, OSX will not slow me down.
@WitchDr@... Sush! That just makes sense and you are going to really make the Jack Wagons here mad with that common sense logic! LOL
Just business as usual for Microsoft Software, drive a truck thru all their security holes.
0 Votes
+ -
Are you still crying over the hacked Mac?
Will Farrell 10th Mar 2011
@james347
Just get over it and understand that it's just business as usual for Apple Software - The holes are so big I saw a an aircraft carrier pass through it without even scratching the paint!
Great!!! thanks for sharing this information to us!
sesli chat sesli sohbet

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix