Technology Review - Published By MIT
Advertisement

iPhone Hackers Get a Break

The difficulty of running nonapproved code on the iPhone has turned off security researchers--until now.

By Robert Lemos

Thursday, June 11, 2009

smaller text tool iconmedium text tool iconlarger text tool icon

In March, the organizers of a computer-security conference called CanSecWest challenged attendees to break into any one of five smart phones, among them Apple's popular iPhone. The perceived difficulty of the task--especially breaking into the iPhone--meant that few researchers made any attempt to hack the devices, and none succeeded.

Credit: Technology Review

Now two researchers hope to make things considerably easier for would-be iPhone hackers. Next month, Charles Miller, a principal analyst at Independent Security Evaluators, and Vincenzo Iozzo, a student at the University of Milan, in Italy, will present a way to run nonapproved code on Apple's mobile device at the Black Hat Security Conference, in Las Vegas.

Researchers have previously found vulnerabilities in the security of the iPhone; Apple disclosed and issued a patch for a dozen such security holes in the device last November. But it remains tricky to run a nonapproved program once such a flaw has been exploited. Because of the difficulty in running unauthorized code on the iPhone, many security researchers simply refuse to spend much time finding any flaws.

"If you want to attack iPhones, you have to be able to run code to do whatever it is you want to do," Miller says. "Maybe that is grabbing credentials, maybe it is listening into phone calls, maybe it is turning on the microphone. Who knows? But this all requires that you be able to run code."

"Charlie found those particular places where changing permissions is allowed on the factory iPhones," says Sergio Alvarez, a security consultant with Recurity Labs and a fellow iPhone hacker, who is familiar with Miller and Iozzo's research. "[These parts of the phone] make our lives easier and give us more freedom to code generic and reliable second-stage [attacks]."

The challenge for security researchers and malicious attackers is that Apple restricts the data that can be executed in the iPhone's memory and requires that programs for the iPhone be cryptographically signed by Apple. Code signing has security benefits, but it is also a way to control which applications run on the iPhone platform.

Story continues below


"In iPhone 1.0, there was very little security built into it," Miller says. "But when they went to iPhone 2.0--less because they cared about people breaking into phones and more because they wanted to make sure that they wanted to have the App Store and not have people download all sorts of crazy apps--they added a bunch of security."

But Miller found more than one instance in which Apple failed to prevent unauthorized data from executing. This means that a program can be loaded into memory as a nonexecutable block of data, after which the attacker can essentially flip a programmatic switch and make the data executable.

Comments

  • iPhone Hackers Get a Break
    It is better for everyone to understand the strengths and weaknesses of the security of devices, and make informed decisions about what devices they should use and how they should use them, rather than having only the bad guys know how they work...this would remove the doubts on consumers while choosing their products...with iphone having already occupied a large share in the market this news is surely a huge blow to the developers of iphone...having said this is it too late for the hackers? or is it at the right time?
    Rate this comment: 12345

    raymason@gma...
    07/16/2009
    Posts:8
    Avg Rating:
    3/5
  • iPhone Hacks a Real problem !
    I am an iPhone user for that last one year, I have gone through all the security phases of this gadget, the first generation firmware 1.1.4 has a lot more security holes an compared to currently running version 3. However one thing remains the same that both can be cracked easily.

    I was living in a country where I can’t use iPhone, because iPhone lunched with at&t career service but at that time the web was full of scripts and software to unlock and jailbreak the iPhone and this all works good for me and I used the apple iPhone where apple was not authorized to be used.

    Later on when apple launches unlock iPhone, at that time iPhone apps were taking hype and that was the hottest topic of iPhone, people start working to run cracked apps (from Cydia and Installer), later on App store hit the market but I can surely say that iPhone security is not very good. You name any app and I can assure that it will be available on the web to run right away.

    At first I need to follow certain steps to crack the iPhone OS to run application synced from iTunes, this was done by changing the permissions of some files in iPhone OS/firm ware, files can easily be accessed through wi-fi. (WinSCP). Now there are websites which offers cracked applications, just download and sync with your iphone to run. There are cracked applications to run directly on your iPhone OR you can change permissions of your iPhone’s firmware files to run original apps.

    I think apple should take serious steps to get real benefit out of App Store. A friend of mine told me about some of the security measures taken by Apple at hardware level, which results in compatibility issues to iphone 3g accessories with iPhone 2g and iPhone 3gs.
    Rate this comment: 12345

    ronnie.willi...
    07/26/2009
    Posts:4

Log In

Forgot your password?     Register »
Advertisement

Videos

Malleable Maps, Artistic Robots and Bubble Interfaces
Technology Review January/February 2010

Current Issue

Security in the Ether
Information technology's next grand challenge will be to secure the cloud--and prove we can trust it.
Advertisement
Advertisement
Advertisement
Subscribe to Technology Review's daily e-mail update. Enter your e-mail address

TECHNOLOGY RESOURCES
Advertisement
MIT Massachusetts Institute of Technology © 2010 Technology Review. All Rights Reserved.