On mySimon: Nike SB Eugene Backpack
BNET Business Network:
BNET
TechRepublic
ZDNet

March 19th, 2009

Questions for Pwn2Own hacker Charlie Miller

Posted by Ryan Naraine @ 2:50 pm

Categories: Adobe, Apple, Arbitrary Code Execution, Browsers, Data theft, Denial of Service (DoS), Exploit code, Firefox, Flash, Microsoft, Mobile (In)Security, Mozilla, Passwords, Patch Watch, Pen testing, Research, Responsible disclosure, Viruses and Worms, Vulnerability research, Web Applications, Zero-day attacks, iPhone

Tags: Apple Macintosh, Mozilla Firefox, Apple Safari, Vulnerability, Bug, Microsoft Internet Explorer, Google Chrome, Hacker, Exploit, Web Browsers

VANCOUVER, BC — At the CanSecWest security conference here, I got a chance to sit down with Charlie Miller, the researcher who broke into a fully patched MacBook machine using a Safari code execution vulnerability.

We discuss the state of Web browser security, the vulnerability marketplace and the need for anti-exploit mitigations on modern operating systems.

Ryan Naraine: So, what can you tell us about the vulnerability?

Charlie Miller: Not much. As part of the contest rules, I’m under NDA about the technical details.  I can tell you the computer (MacBook Air) was fully patched.  It was an exploit against Safari 4 and it also works on Safari 3.   I actually found this bug before last year’s Pwn2Own but, at the time, it was harder to exploit.  I came to CanSecWest last year with two bugs but only one exploit.  Last year, you could only win once so I saved the second bug.   Turns out, it was still there this year so I wrote another exploit and used it this year.

Does it work on Safari for Windows?

I don’t know.  I didn’t look.

Did you consider reporting the vulnerability to Apple?

I never give up free bugs. I have a new campaign. It’s called NO MORE FREE BUGS. Vulnerabilities have a market value so it makes no sense to work hard to find a bug, write an exploit and then give it away.  Apple pays people to do the same job so we know there’s value to this work. No more free bugs.

What’s the ballpark value of that Safari bug?

It was probably more than that $5,000 prize I won.   It’s much less than the IE 8 vulnerability (exploited separately by Nils) by about a factor of ten. I could get more than $5,000 for it but I like the idea of coming here and showcasing what I can do and get some headlines for the company I work for (Independent Security Evaluators).

Why Safari?  Why didn’t you go after IE or Safari?

It’s really simple. Safari on the Mac is easier to exploit.  The things that Windows do to make it harder (for an exploit to work), Macs don’t do.  Hacking into Macs is so much easier. You don’t have to jump through hoops and deal with all the anti-exploit mitigations you’d find in Windows.

It’s more about the operating system than the (target) program.  Firefox on Mac is pretty easy too.  The underlying OS doesn’t have anti-exploit stuff built into it.

[ SEE: 10 questions for MacBook hacker Dino Dai Zovi ]

With my Safari exploit, I put the code into a process and I know exactly where it’s going to be.  There’s no randomization. I know when I jump there, the code is there and I can execute it there.  On Windows, the code might show up but I don’t know where it is.  Even if I get to the code, it’s not executable.  Those are two hurdles that Macs don’t have.

It’s clear that all three browsers (Safari, IE and Firefox) have bugs.  Code execution holes everywhere.   But that’s only half the equation.  The other half is exploiting it.  There’s almost no hurdle to jump through on Mac OS X.

What’s harder?  Finding the bug or writing the exploit?

It’s changing. In the past, it was always hard to find bugs but once you found something, it was easier to write a reliable exploit.  Now the (software companies) have gotten smart and they make it much harder to exploit.  It’s hard to find a good bug these days and even harder to exploit and deal with all the mitigations.   That’s why Dino (Dai Zovi) and I are a good team.  He specializes in exploits and I can concentrate on finding good bugs.

On a scale of 1-10, how impressive was the Nils’ sweep of exploiting all three main browsers?

I was surprised.  For IE 8, I’d give him a 9 out of 10.   For Safari, maybe a 2. It’s just too easy to pop Safari.   For Firefox on Windows, I give him a 10.  That was the most impressive of the three.  It’s really hard to exploit Firefox on Windows.

Really?  What’s the difference between what you can do on IE but can’t do on Firefox?

The technique he used works against IE but not Firefox.  It allows you to place code in a specific spot in memory.  Mark Dowd and Alex Sotirov talked about this at last year’s Black Hat.  You can use a technique to make .net not opt into the mitigations and jump over hurdled easily.  With Firefox, you can’t do that.

For all the browsers on operating systems, the hardest target is Firefox on Windows.  With Firefox on Mac OS X, you can do whatever you want.  There’s nothing in the Mac operating system that will stop you.

You talked earlier about the value of vulnerabilities.  Was it a surprise that he (Nils) basically gave up three “high-value” bugs for $5,000 each?

It’s clear he’s incredibly talented.  I was shocked when I saw someone sign up to go after IE 8. You can get paid a lot more than $5,000 for one of those bugs.  I’ve talked to a lot of smart, knowledgeable people and no one knows exactly how he did it. He could easily get $50,000 for that vulnerability.  I’d say $50,000 is a low-end price point.

For the amount of time he spent to do what he did on IE and Firefox, he could have found and exploited five or 10 Safari bugs.  With the way they’re paying $5,000 for every verifiable bug, he could have spent that same time and resources and make $25,000 or $30,000 easily just by going after Safari on Mac.

Google Chrome was the one target left standing. Surprised?

There are bugs in Chrome but they’re very hard to exploit.  I have a Chrome vulnerability right now but I don’t know how to exploit it.  It’s really hard.  The’ve got that sandbox model that’s hard to get out of.  With Chrome, it’s a combination of things — you can’t execute on the heap, the OS protections in Windows and the Sandbox.

[ SEE: Pwn2Own hacker: Apple Safari is 'easy pickings' ]

I might have this bug and I might be able to get code execution.  But now you’r ein a sandbox and you have no permissions to do anything. You need another bug to get out of the sandbox. Now you need two bugs and two exploits.  That raises the bar.

Coming in, when I posted my predictions, I didn’t think anyone would get go after Chrome, IE or Firefox.  It’s all economics. It’s only hard or easy compared to what someone would pay.  If Pwn2Own offered $1 million per bug for Chrome, there would be a line of people here looking to bankrupt them.

Are browsers generally getting better at securing Web surfers?

Browsers are so complex, it’s almost impossible to get everything right. With all that code and dependencies, it’s hard to be perfect. People said five years ago that buffer overflows would be solved by now.  Well, they’re not.  Bugs will always be there so it’s a smart move to work on mitigations and (anti-exploit) roadblocks.

Browsers do a better job of providing visual warnings of phishing and malware sites or poor SSL.  It’s not enough but it’s better than nothing.   I think what you see with Chrome and sandboxing, that’s where everyone needs to go.  It’ll take a few years but that will have to be the standard.

* Image credit: TippingPoint Zero Day Initiative.

Ryan NaraineRyan Naraine is a journalist and security evangelist at Kaspersky Lab. He manages Threatpost.com, a security news portal. Here is Ryan's full profile and disclosure of his industry affiliations.


Email Ryan Naraine

For daily updates on Ryan's activities, follow him on Twitter.

Subscribe to Zero Day via Email alerts or RSS.

  • Talkback
  • Most Recent of 190 Talkback(s)
@Me_too
Maybe you should expect a story like this two months ago, on or about the 19th of march.

Oh wait, that *is* when the story was posted.

wink... (Read the rest)
Posted by: rtk Posted on: 05/25/09 You are currently: a Guest | | Terms of Use
Windows makes it harder to exploit holes THAT'S DAMN TRUE  shellcodes_coder | 03/19/09
Well,  eMJayy | 03/19/09
No wonder the logo has a bite in it, it's infected with worms!  T1Oracle | 03/20/09
The bite represents  GuidingLight | 03/20/09
ROTFLMAO!  eMJayy | 03/22/09
or...  wcb42ad | 03/23/09
Looking at real consequences...  Mikael_z | 03/20/09
Oh I get it! No market share, no security?  T1Oracle | 03/20/09
Stupid people make Microsoft rich  Mikael_z | 03/20/09
Actually, they only have an abysmal security record  Lerianis | 03/21/09
Actually  T1Oracle | 03/21/09
Can you elaborate on how Linux's security is better than Window's security?  ye | 03/21/09
Or better yet, why Linux would have better security than Mac OS X  Mikael_z | 03/22/09
Servers aren't the most valuable platforms to own - desktops are  de-void | 03/22/09
Nonsense - servers ARE valuable targets  Zogg | 03/22/09
@Zogg: That's not what I said.  de-void | 03/23/09
@ Zogg: Are you absoloutely 100% sure?  Wolfie2K3 | 03/23/09
@Ye  Amelioration | 03/23/09
Mac OS X on is not Mac OSX Server  Michael Fournier | 03/24/09
Since everyone else was replying to this message...  dbisse@... | 04/03/09
Your nothing but a talking head.  Cayble | 03/22/09
WHY my house...  arminw | 03/23/09
but the neighborhood watch...  ericesque | 03/23/09
So if we all got "smart" and bought Macs...  Wolfie2K3 | 03/23/09
WOW  Jimster480 | 05/06/09
Earth to "hacker"--earth to hacker, come in-please  gennx30 | 03/23/09
Many posters here have contributed...  JCitizen | 03/30/09
NT  MGP2 | 03/19/09
Exploits on OSX "just work" happy nt  brble | 03/19/09
10 out of 10!!! ROFL!!! LOL!!!! nt  NonZealot | 03/19/09
Easily the funniest thing I've heard all day  Core2uu | 03/19/09
Instant win!  Sleeper Service | 03/20/09
Good one there ....  super_J | 03/20/09
LOL! nt  GuidingLight | 03/20/09
I wonder if the Mac guy commercials...  Cayble | 03/22/09
More likely...  Wolfie2K3 | 03/23/09
You're right.  Amelioration | 03/23/09
RE: Questions for Pwn2Own hacker Charlie Miller  joshbw | 03/19/09
Technologies present, ...  Richard Flude | 03/19/09
There is an opt-out of DEP for .Net applications?  Lerianis | 03/21/09
IE8 final fixed Down and Sotirov exploit method  IE8 | 03/29/09
Apple Supporters!!!!.....Wanted.....  Nsaf | 03/19/09
Here you go  macadam | 03/20/09
RE: Here you go  MissingMatter | 03/21/09
You're getting too excited.  InAction Man | 03/20/09
They are off bashing Microsoft  GuidingLight | 03/20/09
Look again  macadam | 03/20/09
There is a larger point here ...  dkawalec | 03/20/09
I agree with what you are saying  macadam | 03/20/09
That's the problem  LiquidLearner | 03/20/09
But it is properly built  Mikael_z | 03/21/09
I love the argument  LiquidLearner | 03/21/09
AV-software is only needed in a flawed OS  Mikael_z | 03/21/09
For once, I actually agree with you!  bswiss | 03/23/09
None of it is good  Richard Flude | 03/20/09
We have a winner!  LiquidLearner | 03/20/09
Not quite right....  linux for me | 03/20/09
Why wasn't Linux listed?  hasta la Vista, bah-bie | 03/22/09
They couldn't crack it in 2008 ...  Tony R. | 03/24/09
(Sorry about the *****)  Tony R. | 03/24/09
Probably thought ******* was racial or something.  JCitizen | 03/30/09
Linux  Michael Fournier | 03/24/09
Really good post.  Cayble | 03/22/09
I agree with your summary  tikigawd | 03/23/09
Apple supporters don't care what some hacker has to say.  ashdude | 03/21/09
Please don't quote Dvorak  MissingMatter | 03/21/09
Worse Apple basher in web history now supports the Mac.  ashdude | 03/22/09
Can you say it a few more times?  ye | 03/22/09
Thinking the same thing  #foolish | 03/24/09
Am I missing something here... or are these guys cyber-mercenaries?  A Grain of Salt | 03/19/09
It's just a Mac ..  CiOner | 03/20/09
Please don't quote Roughly Drafted  mtgarden | 03/20/09
Because he presents the other side of the argument?  macadam | 03/20/09
Couldn't have said it better myself  Kid Icarus-21097050858087920245213802267493 | 03/20/09
Rubbish.  Sleeper Service | 03/22/09
Interesting that you should say that  Kid Icarus-21097050858087920245213802267493 | 03/24/09
Oh come on! Be real.  Cayble | 03/22/09
Roughly Drafted is like...  Cayble | 03/22/09
Why not get paid for your work?  Fark | 03/20/09
I am in one hundred percent agreement.  GuidingLight | 03/20/09
Yes, welcome back to the days of the Mafia and other criminal organizations  CobraA1 | 03/20/09
well....  Badgered | 03/20/09
Considering he held onto the vulnerability over a year  LiquidLearner | 03/20/09
Why should there be a connection at all?  CobraA1 | 03/20/09
Re: Considering he held onto the vulnerability over a year  A Grain of Salt | 03/20/09
How much should he charge then?  LiquidLearner | 03/21/09
@CobraA1  Axsimulate | 03/20/09
Wanna survive the forthcoming cyberwar?  Amelioration | 03/23/09
It's sad how they see him as a bad guy. Why? Because he's not  HypnoToad | 03/21/09
If he would have hacked a DVD...  ashdude | 03/20/09
Hey, if Apple offered money to the first person  Lerianis | 03/21/09
I read the same paragraph and thought the same...  commodon | 03/22/09
What happened to the concept of...  JCitizen | 03/30/09
Maybe Quit Selling Beta as Finished Code?  Too Old For IT | 03/23/09
That'd be unAmerican.  Amelioration | 03/23/09
Have you ever reported...  dbisse@... | 04/03/09
RE: Questions for Pwn2Own hacker Charlie Miller  RTTECH82 | 03/20/09
Proves my point about social engineering  macadam | 03/20/09
So why doesn't Miller protect his own Macs?  macadam | 03/20/09
Miller talks a lot about memory randomization  frgough | 03/20/09
I would have to agree  unholytech | 03/20/09
Buggering the user's system is NOT the goal  de-void | 03/22/09
+1 to "NO MORE FREE BUGS"  DroppinIT | 03/20/09
+10  HypnoToad | 03/21/09
Changes in Snow Leopard?  WarhavenSC | 03/20/09
I don't think  frgough | 03/20/09
That's very different than a drive-by attack. Anyone know...  olePigeon | 03/20/09
It wouldn't have counted  LiquidLearner | 03/20/09
Don't be so sure  frgough | 03/21/09
Oh shut up  Sleeper Service | 03/22/09
Translation  rtk | 03/23/09
RE: Questions for Pwn2Own hacker Charlie Miller  Still Lynn | 03/20/09
Honest question here  frgough | 03/20/09
Why not just send it back in a web-based email?  Scrat | 03/21/09
Perhaps  frgough | 03/21/09
Port 80 is always open  de-void | 03/23/09
You don't need to be root to bind to a port.  ye | 03/21/09
Why?  Richard Flude | 03/20/09
I have to supply a password in OSX to do a system change.  ashdude | 03/20/09
No you don't  Richard Flude | 03/21/09
Sloppy hacking?  ashdude | 03/21/09
true  Richard Flude | 03/21/09
Except SMTP is on Port 25  Michael Fournier | 03/24/09
Unix & Linux Just as Vulnerable?  WarhavenSC | 03/20/09
no ...They would not.  unholytech | 03/20/09
Yes  honeymonster | 03/21/09
Wrong......  linux for me | 03/21/09
But  AndyCee | 03/22/09
What you guys just don't get ...  de-void | 03/22/09
Different definitions of the term "damage"!  Zogg | 03/22/09
I agree, but ...  de-void | 03/23/09
Explain the Mac OS X then please isn't ...  USTechHead | 03/23/09
Huh?..  JCitizen | 03/30/09
RE: Questions for Pwn2Own hacker Charlie Miller  n3net | 03/20/09
@n3net  Axsimulate | 03/20/09
No more free bugs? No more free ride . . .  CobraA1 | 03/20/09
I doubt that....  unholytech | 03/20/09
Sure there is.  CobraA1 | 03/20/09
For every Charlie Miller  Too Old For IT | 03/23/09
re: Sure there is.  rtk | 03/23/09
Wrecking computers  BALTHOR | 03/20/09
Well....  unholytech | 03/20/09
IE is one big BUG wink  Christian_<>< | 03/20/09
Wow  Qbt | 03/20/09
re:  Christian_<>< | 03/20/09
That is because  Qbt | 03/21/09
If you're going to put a cost to malware  AndyCee | 03/22/09
Can you put a price on ...  de-void | 03/22/09
Err, that DNS exploit affected EVERYBODY  Zogg | 03/22/09
I'm not spinning this as a UNIX only thing ...  de-void | 03/26/09
And ... as if to make the point for me ...  de-void | 03/26/09
You are so right  dbisse@... | 04/03/09
Board?  meechp123 | 03/21/09
Damn, you're a clueless twit...  Wolfie2K3 | 03/24/09
This really sucks !  rtirman37@... | 03/20/09
RE: Questions for Pwn2Own hacker Charlie Miller  SquishyParts | 03/20/09
@SquishyPants  rtk | 03/23/09
HAA! Good one rtk!..  JCitizen | 03/30/09
Yeah, if he's sitting next to you w/ a x-over cable!  matthew_maurice | 03/20/09
I think you need to take a ride over to the Clue Store...  Scrat | 03/21/09
RE: Questions for Pwn2Own hacker Charlie Miller  Telix | 03/21/09
What a socialist!!  HypnoToad | 03/21/09
Whimp!  Loverrock Davidson | 03/22/09
Standard appearance for good programmers  AndyCee | 03/22/09
get a life  shis-ka-bob | 03/22/09
Confliker is a non issue  Aussie_Troll | 03/22/09
Where do I begin with this troll?  eMJayy | 03/22/09
Do your homework  Aussie_Troll | 03/22/09
The lesson learned with Conficker: Patch your systems!  ye | 03/23/09
RE: Questions for Pwn2Own hacker Charlie Miller  richvball44 | 03/22/09
Hands-On approach  Jkirk3279 | 03/23/09
ok, thanks  richvball44 | 03/23/09
Billion is 1 million million long scale  Aussie_Troll | 03/22/09
You're hopeless  eMJayy | 03/23/09
RE: Questions for Pwn2Own hacker Charlie Miller  partman1969@... | 03/23/09
One of the most interesting and informative articles I've read on ZDNet  heres_johnny | 03/23/09
ZDNet should hire Charlie Miller  Too Old For IT | 03/23/09
Chrome, too (NT)  kfan | 03/23/09
RE: Questions for Pwn2Own hacker Charlie Miller  Michael Fournier | 03/23/09
One more issue  Michael Fournier | 03/23/09
So much for OS X Security  jpr75_z | 03/23/09
Don't be so confident  Michael Fournier | 03/27/09
I was just wondering...  melekali | 03/23/09
so now we know who to burn at the stake  walkerjian@... | 03/23/09
RE: Questions for Pwn2Own hacker Charlie Miller  Michael Fournier | 03/27/09
RE: Questions for Pwn2Own hacker Charlie Miller  aloraawumen | 04/05/09
the secret no one wants anyone to know?  pcguy777 | 05/06/09
RE: Questions for Pwn2Own hacker Charlie Miller  jeverettk | 05/06/09
RE: Questions for Pwn2Own hacker Charlie Miller  Me_too | 05/23/09
@Me_too  rtk | 05/25/09

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
advertisement
Click Here

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here