How Google set a trap for Pwn2Own exploit team
Summary: Here's the story of how a unique signature was used to figure out if exploit writers would take aim at the Flash Player plugin in Google Chrome browser.
(The VUPEN exploit team with Nicolas Joly at far right)
VANCOUVER -- Last May, when security researchers from VUPEN posted this video to gloat about demo a code execution exploit -- and sandbox bypass -- against the Google Chrome browser, the security response folks at Google took a close look and found enough evidence that the exploit actually hit the Chrome Flash Player plugin.
At the time, the two companies publicly sparred over the origin of the vulnerability with Google intent on making the distinction that the faulty code was supplied by Adobe and VUPEN insisting that it didn't matter because the exploit worked against the browser's default installation.
Fast forward to CanSecWest and Pwn2Own 2012. As you know, Google launched an alternative to Pwn2Own to ensure it got the full rights to any sandbox exploitation so when the VUPEN team announced it would arrive here with a Chrome zero-day, the Google Chrome security team decided to set a trap.
Google could figure out very easily if a certain exploit technique was being used. Even more, if an attack targeted third-party (er, Adobe Flash Player) code, they could pinpoint the technique.
In this case, the Google Chrome security knew that the Flash Player plugin sandbox is significantly weaker and that an exploit against Chrome's Flash Player would have to go through a certain path.
Having figured out that Vupen used that technique (from the May video), Google decided to add a specific protection for Flash.
On March 5, the protection was added to Google Chrome 17.0.963.65. When the protection triggers, it generates a very unique signature -- 0xABAD1DEA -- which is hexidecimal that spells out "a bad idea." The protection was meant to make the browser resilient to certain attacks but in a bit of cat-and-mouse, it was left in there to see if anyone would find it and make a public comment.
The VUPEN team arrived at CanSecWest and during testing of its exploits for Pwn2Own, they stumbled into the exception. VUPEN exploit writer confirmed on Twitter:
Once that tweet went out, it was clear to Google that VUPEN was targeting Flash Player to attack Chrome. Although the Googlers can't confirm 100% that VUPEN's tweet wasn't part of a big ruse, they knew for sure they were were attempting an exploit that triggered that specific exception.
VUPEN co-founder Chaouki Bekrar, an outspoken exploit writer who insisted the team deliberately targeted Chrome to prove a point, was uncharacteristically coy when asked if the faulty Chrome code came from Adobe.
”It was a use-after-free vulnerability in the default installation of Chrome,” he said. “Our exploit worked against the default installation so it really doesn’t matter if it’s third-party code anyway.” Bekrar told me.
His careful wording was a sign that Flash Player was indeed the Chrome weak link.
Maybe Google already knew this. Because of a well-placed cat-and-mouse trap.
ALSO SEE:
Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.


Talkback
Even if it is the Flash
Adobe and Google developers care
Identifying the code also helps targeting security resources given the teams reluctance to disclose the vulnerability (except to customers).
Sorry, but you got it wrong
Onus vs onerous
Probably
of course its important
RE: Even if it is the Flash
Am I getting your rational straight?
Well...
You ship with something you assume responsibility. The distinction between "our code" and "their code" is rather academic if it's used in an exploit - to the user it's all the same.
Or maybe Google's trying to save face?
Duh!
To the contrary
Actually
The official contest change the rules so that teams no longer have to share exploits with the browsers developers.
Well, then...
Give Google some credit with Chrome
Want to reduce your exposure to 0-day attacks? Use Chrome's built-in whitelisting capability to manage use of 3rd party plug-ins. Ditto for JavaScript. Frequently-visited sites, aka 'trusted sites', are allowed the use of 3rd party plug-ins and JavaScript by default. All other sites are not, but one can decide on a case-by-case basis whether to temporarily allow their use.
Humour
0xABAD1DEA , just four bytes but can make any zdnet readers smile.
Monster Dre Beats
What the ... ?
Either way... wow.
A little from column A, a little from column B...
The beat goes on and on and on and...