madison

Zero Day

Ryan Naraine and Dancho Danchev

Pwn2Own 2010: iPhone hacked, SMS database hijacked

By | March 24, 2010, 3:50pm PDT

Summary: Using an exploit against a previously unknown vulnerability, the duo — Vincenzo Iozzo and Ralf Philipp Weinmann — lured the target iPhone to a rigged Web site and exfiltrated the SMS database in about 20 seconds.

VANCOUVER, BC — A pair of European researchers used the spotlight of the CanSecWest Pwn2Own hacking contest here to break into a fully patched iPhone and hijack the entire SMS database, including text messages that had already been deleted.

[ ALSO SEE: Pwn2Own MacBook attack: Charlie Miller hacks Safari again ]

Using an exploit against a previously unknown vulnerability, the duo — Vincenzo Iozzo and Ralf Philipp Weinmann — lured the target iPhone to a rigged Web site and exfiltrated the SMS database in about 20 seconds.follow Ryan Naraine on twitter

The exploit crashed the iPhone’s browser session but Weinmann said that, with some additional effort, he could have a successful attack with the browser running.

“Basically, every page that the user visits on our [rigged] site will grab the SMS database and upload it to a server we control,” Weinmann explained.  Iozzo, who had flight problems, was not on hand to enjoy the glory of being the first to hijack an iPhone at the Pwn2Own challenge.

Weinmann, a 32-year-old from the University of Luxembourg, collaborated with Iozzo (a 22-year-old Italian researcher from Zynamics) on the entire process — from finding the vulnerability to writing the exploit. The entire process took about two weeks, Weinmann said.

[ ALSO SEE: Hacker exploits IE8 on Windows 7 to win Pwn2Own ]

Halvar Flake, a renowned security researcher who assisted with the winning exploit, said the biggest hiccup was bypassing the code-signing mitigation implemented by Apple on its flagship mobile device.

“This exploit doesn’t get out of the iPhone sandbox,” Flake explained, noting that an attacker can do enough damage without escaping from the sandbox.

“Apple has pretty good counter-measures but they are clearly not enough.  The way they implement code-signing is too lenient,” Flake added.

On the Zynamics blog, Flake celebrated:

The payload used chained return-into-libc (“return oriented programming”) on ARM to execute in spite of code signing. As far as we know, this is the first public demonstration of chainged return-into-libc on thre ARM platform.

In addition to hijacking the SMS database, Weinmann said the winning Pwn2Own exploit could have exfiltrated the phone contact list, the email database, photographs and iTunes music files.

In the iPhone sandbox, Weinmann said there’s a non-root user called ‘mobile’ with certain user privileges.  “With this exploit, I can do anything that ‘mobile’ can do.”

Weinmann declined to publicly discuss the techniques he used to find the vulnerability.  “We’re working on developing techniques to find a certain class of vulnerabilities.  I don’t want to discuss it too much.”

Aaron Portnoy, a security researcher at TippingPoint Zero Day Initiative (the company sponsoring Pwn2Own), described the attack as “very impressive.”

“It was a real world exploit against a popular device. They exfiltrated the entire SMS database in about 20 seconds. It was as if a Web page was loading.”

TippingPoint ZDI acquired the exclusive rights to the flaw information.  The company will report the issue to Apple and will withhold details until a patch is released.

Weinmann and Iozzo won a $15,000 cash prize and got the keep the hijacked iPhone.

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 security evangelist. 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.

Talkback Most Recent of 128 Talkback(s)

  • I always thought it ironic that part of the prize
    was the object you hacked. You would think folks would
    want the object they couldn't hack.
    ZDNet Gravatar
    frgough
    24th Mar 2010
  • Yah... I know what ya mean...
    But then again, it would likely encourage them to keep on hacking the same platform and find more vulnerabilities.

    Then again, with the $15,000 they won - they pretty much can buy whatever phone they want and can put the pwned iPhone up for auction on ebay.
    ZDNet Gravatar
    Wolfie2K3
    24th Mar 2010
  • I Can Imagine
    The"FIrst Offical Hacked iPhone" going up for bid.

    Would like fetch a nice penny or two.
    ZDNet Gravatar
    rhonin
    24th Mar 2010
  • Sounds fun! ....Prize plus Collector's Item!
    Maybe Steve would buy it? haha..... wink
    ....anonymously of course!
    ZDNet Gravatar
    i2fun@...
    25th Mar 2010
  • But aren't we ALL iPwned?
    ... I mean, really; putting up with ATT's abysmal service just for the love of our iPhone...

    mnem ~~~iPwned since 2008~~~
    ZDNet Gravatar
    mnemennth
    25th Mar 2010
  • There would be no need to give away
    the object they couldn't hack.

    People would be willing to pay for those happy
    ZDNet Gravatar
    John Zern
    24th Mar 2010
  • What is not hacked?
    The items hacked first are the ones that are wanted!!!

    The items not hacked are not the ones that couldn't be hacked, just
    those that are uninteresting to hack, or not wanted.

    You are missing the whole point of this competition!!!
    ZDNet Gravatar
    richardw66
    25th Mar 2010
  • Because it's still the best smartphone on the market
    http://www.appleinsider.com/articles/10/03/24/robotic_test_reconfirms_apples_iphone_touchscreen_superiority.html

    My first thought were that it took weeks for experts to crack the iPhone.
    Compare this to the constantly bombarded poor excuse of a platform from Redmond.

    This contest also conveniently takes away focus from the real, money-draining problems with Windows which have existed for years and not much has changed.
    ZDNet Gravatar
    Mikael_z
    25th Mar 2010
  • Sure, because...
    ...all the attacks on Windows are obviously written off the cuff with no prior work. Or not.

    Did you even think before you wrote your post? Apparently not.
    ZDNet Gravatar
    Sleeper Service
    25th Mar 2010
  • It wouldn't surpirse me
    ...all the attacks on Windows are obviously written off the cuff with no prior work. Or not.

    It wouldn't surprise me, considering all the morons they have in the Ukraine who are doing it everyday.
    ZDNet Gravatar
    still not nice
    25th Mar 2010
  • Yes. All day. For weeks.
    Was there anything else?
    ZDNet Gravatar
    Sleeper Service
    26th Mar 2010
  • Yup, there is
    Windoze is permanently pwned no matter what they do.
    ZDNet Gravatar
    still not nice
    26th Mar 2010
  • I don't think so
    Don?t get me wrong I think the iPhone is a fine product but I don't remember the last time I heard about a Blackberry or DROID being hacked without having physical access. I also insist that the only reason that Apple of Linux desktop/server OS aren?t seen with as many vulnerabilities is because of sheer numbers. Hackers go for the masses and platforms with less than 10% of the market just aren?t all that appealing.
    ZDNet Gravatar
    sy34010
    25th Mar 2010
  • Is there really a difference?
    You said that for Blackberry or Droid to get penetrated, physical access was
    required... How is that an different in this case?

    It's not as though the iPhone was just turned on and placed on a table, and the
    hackers were able to get their job done with nobody touching it.

    This exploit required someone to use the iPhone and go to a specific webpage
    that the hackers had created. Isn't someone picking up the phone and
    purposefully going to a malicious web page the same as "physical access?"

    Please forgive me if I'm wrong, this isn't my particular area of expertise. I just
    can't see a logical difference based on what you've described.

    I do agree, though, about the low % of market share being a reason why
    hackers would focus their efforts on a larger pool of victims. This is starting to
    shift, however, and I've heard some people say that since Apple is more more
    expensive that their users could be seen as more lucrative or "affluent" targets!
    ZDNet Gravatar
    lelandhendrix@...
    25th Mar 2010
  • That is not "access to the device" within the meaning of the act
    That was just using the device to execute the attack. There was nothinbg done to the device to enable the attack.

    Any website can be rigged with the attack, so anyone with any iphone could be taken by that technique - just buy ad space and incorporate it in the ad and get all the phones you could want. Or hack your favourite web site to serve the exploit.
    ZDNet Gravatar
    redking44
    25th Mar 2010

Talkback - Tell Us What You Think

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]
Click Here
Click Here

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
Click Here