Slashdot Mirror


Charlie Miller Circumvents Code Signing For iOS Apps

Sparrowvsrevolution writes "At the SysCan conference in Taiwan next week, Charlie Miller plans to present a method that exploits a flaw in Apple's restrictions on code signing on iOS devices, the security measure that allows only Apple-approved commands to run in an iPhone's or iPad's memory. Using his method, an app can phone home to a remote computer that downloads new unapproved commands onto the device and executes them at will, including stealing the user's photos, reading contacts, making the phone vibrate or play sounds, or otherwise using iOS app functions for malicious ends. Miller created a proof-of-concept app called Instastock that appears to show stock tickers but actually runs commands from his server, and even got it approved by Apple's App Store." Update: 11/08 02:54 GMT by U L : Not unexpectedly, Apple revoked Miller's developer license.

172 comments

  1. I call this a feature by Anonymous Coward · · Score: 0

    It's a feature, not a bug. But who was the intended beneficiary?

    1. Re:I call this a feature by sortadan · · Score: 1

      Yeah, this isn't a security issue, it's just something that is possible. It also violates the developer agreement. All this 'news' is doing is pushing Apple to be even more restrictive with their already barbwire enclosed garden...

  2. App redacted... by inject_hotmail.com · · Score: 1

    App redacted in 3...2...1.

    1. Re:App redacted... by Anonymous Coward · · Score: 0

      ...and fix released in 5...4...3...2...1.

    2. Re:App redacted... by omnichad · · Score: 2

      Somebody hacked one of Michael Kristopeit's accounts and used it to post a useful comment! The world is at an end.
       
      The external sources are probably web pages. The web page can be javascript-free right up until the app is approved, so I don't see how this can prevent it.

    3. Re:App redacted... by X0563511 · · Score: 1

      So, and if your application doesn't do anything with the content unless some magical condition is met? It would just be reading an HTTP GET. Hardly something for Apple to look closely at.

      So, the application checks stocks, including the author's own custom stock thingy on his website. Looks pretty innocent.

      But if, for example, an HTML comment is on the page with a CRC of 42, it will look for the second comment, which contains the new code. It acts on this.

      this initial comment is only there about an hour, about a week after the app has been on sale.

      You now have "control" over a whole smegload of phones, and not much of an indication of what you did.

      Only deep analysis of the application's code would reveal this kind of thing.

      If I can think of this, I'm sure a real cracker could, too.

      --
      For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    4. Re:App redacted... by ArhcAngel · · Score: 1
      -1
      You did not use

      /. = stagnated

      in your post about MichaelKristopeit.

      --
      "A person is smart. People are dumb, panicky dangerous animals and you know it." - K
    5. Re:App redacted... by omnichad · · Score: 1

      Well - if he failed to keep up with his standard crap, then it would be MichaelKristopeit = stagnated.

    6. Re:App redacted... by mjwx · · Score: 2

      App redacted in 3...2...1.

      But one has to think, if this application was approved, how many other approved applications in the App Store have some form of malicious code or other surreptitious data collection?

      It seems the only reason Apple noticed this is because Charlie Miller published it.

      This is why Apple's security model is fundamentally flawed. It provides a single point of failure for security. Those of us who work with networks understand that gateway only security doesn't work, so trusting the gateway to get everything and pretending you are secure behind your gateway is foolhardy in the extreme.

      --
      Calling someone a "hater" only means you can not rationally rebut their argument.
    7. Re:App redacted... by gmhowell · · Score: 0

      i am michael kristopeit. i live at 4513 brittany ct. eau claire, wi. 54701. i live there in the house i paid cash for with my wife and children and dogs and numerous firearms.

      Dude, plant a few flowers around your house. A splash of color would really liven things up.

      --
      Jesus was all right but his disciples were thick and ordinary. -John Lennon
    8. Re:App redacted... by Anonymous Coward · · Score: 0

      This is why Apple's security model is fundamentally flawed. It provides a single point of failure for security. Those of us who work with networks understand that gateway only security doesn't work, so trusting the gateway to get everything and pretending you are secure behind your gateway is foolhardy in the extreme.

      I'll take as many layers as I can get and one is better than none. So what's your solution?

    9. Re:App redacted... by Anonymous Coward · · Score: 0

      You're an idiot for posting you address on the Internet, if in fact that is your real address. Your "numerous" firearms aren't going to stop anyone from fucking with your property and your family. It's not such a huge world, I too live in Wisconsin, quite far away from Eau Claire, but still someone on here could be your child molesting neighbor and you're pretty much issuing a challenge to him.

      I suspect that you're probably a troll who stole someone else's identity. You are a felon. Cower in your basement some more, feeb. You are one of the biggest fucking morons I have ever heard from in my life, and I know I'm taking troll bait here, but fuck you.

    10. Re:App redacted... by gyaku_zuki · · Score: 1

      How about common sense?

      I don't suggest it's perfect and doesn't have its own flaws, but at least, when I install an Android app, I get told its permissions and therefore it's my own dumb fault if I let in an app that calls China 5 times a minute.

      I'm waiting on a vendor coming up with a firewall program for your phone - think ZoneAlarm, where you are prompted to allow or block when apps request 'outside access'. If only I could, I would do it myself and make... probably pennies :(

    11. Re:App redacted... by boristdog · · Score: 1

      Careful...I got flamed into oblivion last time I tried to bring the "single point of failure" of Apple's security model. Dissent is not welcome in that house.

    12. Re:App redacted... by jc42 · · Score: 1

      I'm waiting on a vendor coming up with a firewall program for your phone - think ZoneAlarm, where you are prompted to allow or block when apps request 'outside access'.

      And if you make a version for the iPhone, it won't be approved. ;)

      (Of course, it is possible for iPhone users to install "disapproved" apps from other sources. But only a few knowledgeable people will do that, so you certainly won't make much money from your app that way.)

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    13. Re:App redacted... by Anonymous Coward · · Score: 0

      The ultimate punishment? A snarky comment on slashdot? That shaking you don't feel is the universe not trembling in fear.

    14. Re:App redacted... by jo_ham · · Score: 1

      Wait, you're trying to say that slashdot is a *pro* Apple site?

      Goodness!

      This does sound like quite a serious security hole, so I expect it to be patched. Of course, slashdot will report the patching of this hole as "Apple patches iOS to prevent jailbreaking", just like the last time they closed the security vulnerability that was also used to provide jailbreaking ability.

      If they don't close the hole, slashdot will crow about how "insecure" iOS is.

      Y'know, classic "damned if you do, damned if you don't". Just another day!

  3. Boo apple. by Anonymous Coward · · Score: 1

    Yay jailbreak.

  4. Admiral! by Moheeheeko · · Score: 1

    Enemy lawsuits detected in Sector 3-7!

    1. Re:Admiral! by iluvcapra · · Score: 1

      IT'S A TR.... oh forget it.

      --
      Don't blame me, I voted for Baltar.
    2. Re:Admiral! by PNutts · · Score: 1

      *whew* I thought that was going to be a 4chan reference.

  5. Not so walled garden... by inject_hotmail.com · · Score: 1

    This isn't really news...I imagine this 'flaw' will be found in every version of iOS until it dies. Not only that, but we should be suspicious of app producers...they say "only install apps from trusted publishers"...yeah...ok...so, no one? If I did that, I'd have only the pre-loaded apps.

    Joy...oh joy...oh rapture.

    1. Re:Not so walled garden... by drcheap · · Score: 2

      ...they say "only install apps from trusted publishers"...yeah...ok...so, no one? If I did that, I'd have only the pre-loaded apps.

      And I'd have zero.

    2. Re:Not so walled garden... by sl4shd0rk · · Score: 4, Informative

      > This isn't really news

      Actually it is. The way these things get fixed are by making people aware of the problem. No software is absolutely bug free. As much as some people would like to stick their fingers in their ears and say "la-la-la not a problem...", there are just as many us who would like to fix the issue. So, yes this is news.

      --
      Join the Slashcott! Feb 10 thru Feb 17!
    3. Re:Not so walled garden... by DJRumpy · · Score: 1

      Actually it was a flaw introduced last year when Apple relaxed restrictions, apparently to increase browser speed:

      From TFA:

      Miller became suspicious of a possible flaw in the code signing of Apple’s mobile devices with the release of iOS 4.3 early last year. To increase the speed of the phone’s browser, Miller noticed, Apple allowed javascript code from the Web to run on a much deeper level in the device’s memory than it had in previous versions of the operating system. In fact, he realized, the browser’s speed increase had forced Apple to create an exception for the browser to run unapproved code in a region of the device’s memory, which until then had been impossible. (Apple uses other security restrictions to prevent untrusted websites from using that exception to take control of the phone.)

      The researcher soon dug up a bug that allowed him to expand that code-running exception to any application he’d like. “Apple runs all these checks to make sure only the browser can use the exception,” he says. “But in this one weird little corner case, it’s possible. And then you don’t have to worry about code-signing any more at all.”

      Miller won’t say just what that bug is until his talk next week in order to give Apple more time to fix the flaw.

      Miller’s exploit in some ways resembles another hack created by John Oberheide in Google’s competing Android operating system. Using a program called Rootstrap, he showed how an innocent-looking Android app could download and run malicious code after making its way onto a user’s phone. (He used a fake Twilight-themed application to demonstrate the potential attack.)

      Meaning this can be closed just as easily at the loss of whatever speed perks the relaxed rules offered, or potentially just by resolving whatever exploit was found. In any case, it is news, and highly unlikely it would exist in every version of iOS since it appears to be in only 4.3 and higher.

    4. Re:Not so walled garden... by Anonymous Coward · · Score: 0

      This isn't really news...I imagine this 'flaw' will be found in every version of iOS until it dies. Not only that, but we should be suspicious of app producers...they say "only install apps from trusted publishers"...yeah...ok...so, no one? If I did that, I'd have only the pre-loaded apps.

      You trust Apple?

    5. Re:Not so walled garden... by Namarrgon · · Score: 1

      Not unlike how Windows moved GUI drivers into the kernel and ran them at elevated privileges, back for NT4. And we know how well that worked out...

      --
      Why would anyone engrave "Elbereth"?
    6. Re:Not so walled garden... by DJRumpy · · Score: 1

      Not much like that at all. Those were kernel level drivers that executed with system level authority. This is something that would execute in the user space and it only does so because they reduced some restrictions allowing it to execute in a lower memory space, but it certainly doesn't have root authority.

  6. Code Signing? by Anonymous Coward · · Score: 0

    What does this have to do with code signing? Sounds like the entire security model is busted on these devices. I don't care if an application is 'signed' or not -- what I want is a security model that absolutely forbids all permissions unless specifically granted.

    This is not rocket science.

    1. Re:Code Signing? by beelsebob · · Score: 2

      Yes it is actually. How do you implement an API that guarantees that you go through that API to get access to something. It doesn't matter if you build your lovely "you don't get permission to anything unless the gatekeeper agrees" system, if you can simply go "we'll I'm ignoring the gatekeeper and jumping through this hole in the wall". That's what a security flaw actually is ;)

    2. Re:Code Signing? by Anonymous Coward · · Score: 0

      If you app has not been granted the 'vibrate phone' permission by the user, and the phone allows said App to vibrate the phone: the security model is inherently broken.

      All applications should be sandboxed, and EVERY api call out of that sandbox should have permissions checked. 'nuff said.

    3. Re:Code Signing? by Pieroxy · · Score: 1

      The whole point is that there is a security hole in Apple's security model. What you say is that if there is a bug, it implies the model is inherently broken?

      Wow, lots of things are broken down here, trust me on that one.

  7. Heaven forbid! by ackthpt · · Score: 4, Funny

    It could also lead to people deveoping unapproved apps and selling them to people on the black market - and thus, with the wall breached, the Apple hegemony fell and there was much rejoicing!
      "Yea!"

    --

    A feeling of having made the same mistake before: Deja Foobar
    1. Re:Heaven forbid! by Anonymous Coward · · Score: 0

      ....until the wall was put back up again, stronger than ever.

  8. Not a flaw by aaaaaaargh! · · Score: 1

    It's not a flaw, it's a feature!

  9. Translation by Bogtha · · Score: 3, Informative

    Most of the article was quite puzzling, as this is nothing new or remarkable. It's really quite simple to have your application execute stuff it downloads.

    If I can reverse-engineer the uninformative article a little, I would hazard a guess to say that he's found a way of bypassing the NX bit protection using Safari as an attack vector. This means that he would be able to inject arbitrary ARM code that wasn't present on the device at review time, meaning that he could execute code against APIs that the application wasn't originally using (but which are available for applications to use legitimately).

    As an attack, it sounds real enough, however in real-world terms, Apple's review process is leaky enough to avoid getting caught anyway. Their review consists of some trivial automated checks and everything else is handled by a human reviewer who just looks at the application from an end-user's point of view. During the submission process you have to include instructions on how to trigger any Easter eggs in your application because they wouldn't otherwise find them.

    --
    Bogtha Bogtha Bogtha
    1. Re:Translation by h4rr4r · · Score: 1

      So then why has no one just built an app that is friendly until 10k downloads at which point it does some evil?

      To me it seems like something spammers/malware folks would have thought of by now

    2. Re:Translation by Anonymous Coward · · Score: 0

      Most of the article was quite puzzling, as this is nothing new or remarkable. It's really quite simple to have your application execute stuff it downloads.

      How so? I'm not being facetious: execve(), posix_spawn() etc are all blocked for regular applications, as is dlopen(). Or do you mean integrating a dynamic linker in your program, mmap'ing the file and fixing up all relocations yourself?

    3. Re:Translation by Elbart · · Score: 1

      At least the app had no bare tits. The security flaws? Meh.

    4. Re:Translation by icebraining · · Score: 1

      How do you know there aren't multiple of those already on the Store and simply haven't been detected?

    5. Re:Translation by snemarch · · Score: 1

      At the very basic level, it's as simple as stuffing code in a buffer and executing it. Yeah, iOS has had ASLR for a while, but since the the host program is cooperating... :)

      --
      Coffee-driven development.
    6. Re:Translation by Anonymous Coward · · Score: 0

      Because only Android has malware, the iFags said so so it must be true.

    7. Re:Translation by jbolden · · Score: 1

      He doesn't have to do that. Just have an interpreter that is built in with the c functions being rather full featured but mostly not used.

    8. Re:Translation by Goaway · · Score: 2

      All memory allocated by user apps is NX. Your code is not going to execute no matter how many buffers you stuff it in.

    9. Re:Translation by Anonymous Coward · · Score: 0

      > If I can reverse-engineer the uninformative article a little, I would hazard a guess to say that he's found a way of bypassing the NX bit protection using Safari as an attack vector.

      No, Safari isn't used. But Safari has an exception in the system so it can do a few things other apps can't, like run JIT-compiled code. And what he does is use some vulnerability in the system so that his app, too, either falls under or is able to abuse that exception.

    10. Re:Translation by cthulhu11 · · Score: 1

      So who the fuck is this Charlie Miller that we're supposed to recognize?

    11. Re:Translation by gtall · · Score: 1

      So, you are saying Apple hasn't solved the halting problem yet? Those ignorant bastards...

    12. Re:Translation by tlhIngan · · Score: 1

      So then why has no one just built an app that is friendly until 10k downloads at which point it does some evil?

      To me it seems like something spammers/malware folks would have thought of by now

      Because it isn't possible. This app demonstrates a bug in the way the NX bit is working that makes it accidentally possible.

      You see, one thing IOS4.3 did was use a new javascript engine in Safari. You may remember it as web clippings ran Javascript much slower than if they ran it inside Safari.

      One trick Safari did was use a faster Javascript engine that compiled to native code, but because of the danger, Safari basically ran with even less permissions than an app. You can think of it as Safari running as "nobody" with basically permissions to read and write its caches, but not do anything else. Apps embedding WebKit won't benefit from the faster Javascript (because of the security issues - most apps can't do anything really useful if they were to be put into this more restrictive jail), and for a time, web clippings were treated as normal apps rather than home-screen bookmarks.

      What was done was a bug was found to bypass the normal XN (ARM's version of NX - eXecute Never) mechanism. You see, it's normally set so even if you tried, your app would generate a prefetch abort and die (and a log of that, if enabled, would be sent to Apple so developers can debug their apps better. But you can bet Apple looks at what caused it as well).

      But with the bug, you can have the XN bit removed from a piece of memory, download code to it, and execute from it.

      It's a possible vector to jailbreak, but one that's likely to be closed quite quickly like the PDF one.

      As for malware vector - yes, right now iOS is vulnerable. Problem is, Apple has all your developer details. It's like a spammer using their address, credit card (and business license - if you're registering under one. Apple's got some strict policies with busineses to ensure they're legitimate and taxes reported accurately). It's still possible to get around by using a prepaid credit card.

      But then again, there's not much that can be done - the code can only execute under the normal chroot environment and access all the APIs that libraries expose to it. Short of finding a priviledge escalation bug, that is. If root is not achieved, the app has very limited access to system resources. Heck the app can't even run in the background very long (apps get 5 minutes to wrap up any general processing, after which they must start doing one of the 7 multitask capabilities or be frozen).

    13. Re:Translation by adisakp · · Score: 1

      If I can reverse-engineer the uninformative article a little, I would hazard a guess to say that he's found a way of bypassing the NX bit protection using Safari as an attack vector. This means that he would be able to inject arbitrary ARM code that wasn't present on the device at review time, meaning that he could execute code against APIs that the application wasn't originally using (but which are available for applications to use legitimately).

      Nope, he wrote a Sleeper App (basically malware with trojan functionality) and put it up on the App-Store. Using the "backdoor" in the App, he could download, install and run unsigned code. Apps in the App Store run binary code. You don't need to inject code anywhere into a browser.

      Also, what he did was EXPLICITLY AGAINST the developer agreement he made when he became an Apple Developer. He basically proved that you could write code with trojan functionality that violated developer agreements, lie about the functionality to Apple, and get it published on the App Store. Apple found out and took his App down and then took away his developer license.

    14. Re:Translation by jc42 · · Score: 1

      He basically proved that you could write code with trojan functionality that violated developer agreements, lie about the functionality to Apple, and get it published on the App Store. Apple found out and took his App down and then took away his developer license.

      So iOS is secure against developers that tell Apple about the malware in their apps. That gives me a really warm, fuzzy feeling ...

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    15. Re:Translation by adisakp · · Score: 1

      So iOS is secure against developers that tell Apple about the malware in their apps. That gives me a really warm, fuzzy feeling ...

      Yes... however, if Apple finds malware in an App, it is pulled from the App Store and the developer is banned. But anything you install could be potentially malware. Then again, I'd venture to say malicious developers can take advantage of *ANY* current software platform once you've installed their software.

    16. Re:Translation by jc42 · · Score: 1

      Yes, when a "white hat hacker" like this Miller guy shows up and demos a security hole to Apple, Apple's response is to pull his app and ban him.

      This is supposed to reassure us of iOS's security exactly how?

      The intended effect seems to be to "send a message" to others who may be playing with such things. And that message is "Don't tell us about security problems you find; we don't want to hear about them. Go sell the info to interested buyers, like any self-respecting businessman would do."

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    17. Re:Translation by The+Mr.K · · Score: 1

      So, what you're saying is that you could just 'forget' to include some details in order to bypass them finding anything suspicious? I imagine that some inspectors would find issues, and others wouldn't. If you submitted a few applications, I imagine you could get away with injecting something malicious. That being said, at least there is an app review process...

  10. Wrong! by Anonymous Coward · · Score: 0

    You're programming it wrong!

    1. Re:Wrong! by Elbart · · Score: 1

      Obviously.

  11. Native code by cbhacking · · Score: 4, Interesting

    So long as iOS apps are developed using a language that allows pointer access, including function pointers, people are going to find and exploit bugs like this. It's actually a really interesting parallel to homebrew development on Windows Phone (yes, I have one, in addition to a few Linux devices - no iOS ones though): you can do native code on WP7, but you have to use COM to access it. Microsoft prohibits ISVs from using the COM import API from C#/VB in marketplace apps, so they can very easily block this kind of thing by just checking for references to a few specific APIs (they also block the use of C# "unsafe" pointers).

    Now, I'm not exactly advocating that Apple needs to re-design their entire applicaiton model. However, the fact remains that the way they do it, it's almost impossible to really verify that any given app isn't doing something like this, short of code-reviewing the source of every submission and rejecting any that are too hard to understand (completely impractical). It means they *are* vulnerable to malware, though - even from the "trustworthy" marketplace.

    --
    There's no place I could be, since I've found Serenity...
    1. Re:Native code by h4rr4r · · Score: 2

      It does not matter what they do, without code reading apps can always do evil.

      I could submit a time zone calculator app that waits until 06/06/2012 and instead of opening properly shows goatse. With the limited testing apple does how would they ever know?

    2. Re:Native code by h4rr4r · · Score: 1

      I meant code reviews. They would also have to reject any app more complicated than the most basic of software.

    3. Re:Native code by Beryllium+Sphere(tm) · · Score: 1

      "Almost impossible"?

      It's a more complicated problem than determining whether the program will halt.

    4. Re:Native code by jbolden · · Score: 1

      Well he got through one wall with that method. There are still more walls.

    5. Re:Native code by Anonymous Coward · · Score: 0

      So long as iOS apps are developed using a language that allows pointer access, including function pointers, people are going to find and exploit bugs like this.

      You're full of crap. "Native code" and "function pointers" have absolutely nothing to do with inherent safety. You need to crack open a book from the 1970s and learn about hardware privilege separation, segmentations, MMUs, and that sort of thing. If what you said were even remotely true, then visualization could never be safely done. You realize that visualization is running machine code (ring 0 system code no-less) in a sandboxed environment? You realize that this has been a solved problem since the 60s? (the fact that 1970s designed micros did not get the smarts to do this until recently is due to a number of economic factors, not raw technological).

    6. Re:Native code by muon-catalyzed · · Score: 1

      WP7 retards everybody to keep a few blackhat hackers out. Apple doesn't need to redesign anything, this rare incident is a confirmation of just that.

    7. Re:Native code by St.Creed · · Score: 1

      "Almost impossible"?

      It's a more complicated problem than determining whether the program will halt.

      And we all know that's easy because we can see the screen freeze and we have to reboot. Problem solved! Right? Right! :)

      For the people not getting this: http://en.wikipedia.org/wiki/Halting_problem

      --
      Therefore, by the (faulty) logic you're using, you're just a cow with a keyboard - osu-neko (2604)
    8. Re:Native code by cbhacking · · Score: 1

      You know, your post would have a lot more credibility if you could spell "virtualization" correctly.

      I was making a point about the validity, or lack thereof, of API-based trust boundaries (you know, what the whole article was about). It's entirely possible to make an API-based trust boundary in a language that doesn't support pointers. It's not possible in a language that does. You need something else to enforce your trust boundaries, or you need to accept that they will be vulnerable. Apple is taking the latter approach.

      Now, if you want to discuss the former approach, there are some definite possibilities there. Hardware virtualiation for each app running on a smartphone is probably impractical today, though it's certainly a legitimate possibility. There's a great big flaw in the idea, though - the apps need access to some data that isn't in their sandbox (no matter how that sandbox is walled). A common example with phones is the ability to place a phone call. That means there has to be a communication channel between the virtualized client and the host. Every channel you add, and every message that you allow to be sent over that channel, is another potential chance for a security vulnerability.

      Of course, those channels have to exist in every sandbox if it's going to be useful. A hypervisor really is one of the better options, aside from the tradeoff between hardware support and software performance. I doubt we'll see it happen soon, though - the OS does a pretty good job of process isolation with only moderate hardware support and relatively little performance cost (switching ring levels being cheap by the standards of a modern CPU). Even on PCs, with support for hardware virtualization and more RAM than most ever really need, widespread use of virtualization as a security boundary between apps used bey a specific user is still not happening. On a phone, with tighter hardware constraints and less hardware support, it's not happening at all.

      --
      There's no place I could be, since I've found Serenity...
  12. Ok, fanbois tell me all about the wall garden by h4rr4r · · Score: 1

    It was only a matter of time. Since they only do blackbox testing, it should not have taken this long for an app to get approved that waits to do evil until after it is in the wild.

    1. Re:Ok, fanbois tell me all about the wall garden by snemarch · · Score: 1

      ...who says there aren't already apps out there doing this? :)

      --
      Coffee-driven development.
    2. Re:Ok, fanbois tell me all about the wall garden by Anonymous Coward · · Score: 0

      It was only a matter of time. Since they only do blackbox testing, it should not have taken this long for an app to get approved that waits to do evil until after it is in the wild.

      The article says that the vulnerability was introduced in iOS 4.3, which was released approximately 8 months ago. Furthermore, the article states that this guy speculated about the vulnerability and took time trying to find if it actually existed. Once found, it takes time to find a way to exploit in the wild. Given the credentials this guys has - according to the article - it is hard to believe that a lot of hackers would find this a LOT sooner than him. It looks like his app was approved for the app store about two weeks ago.

      So... I would bet that the window of opportunity has only been around for two or three months and probably even less.

  13. Charlie Miller? by Hatta · · Score: 1

    I bet he's recording some sick jams with his unsigned iOS apps.

    --
    Give me Classic Slashdot or give me death!
    1. Re:Charlie Miller? by Anonymous Coward · · Score: 0

      I bet he's recording some sick jams with his unsigned iOS apps.

      Sick jams? Bleh, I prefer fruit-based jam personally.

  14. Treacherous computing by impaledsunset · · Score: 2

    That's the definition of trusted computing - it trusts someone else, and not the owner. So that someone else, or anyone who compromises them, gets to control your device before you do.

    1. Re:Treacherous computing by pipedwho · · Score: 1

      True. But the alternative to that is untrusted computing - ie. any app you install gets more control over the device than you.

      The vast majority of users are not even remotely capable of providing a higher level of trust than a competent third party. This is akin to representing yourself in court instead of hiring a lawyer who is an expert in the laws and defence techniques that apply to your case. Step and repeat for each app you install.

    2. Re:Treacherous computing by zoloto · · Score: 1

      with nearly all of the iOS users out there, this is a far better alternative than trusting them.

    3. Re:Treacherous computing by Anonymous Coward · · Score: 0

      True. But the alternative to that is untrusted computing - ie. any app you install gets more control over the device than you.

      That's unpossible. No app can have more control over my computer than I do, at best it can have equal, but when I have hardware access it is unlikely it will be able to match the level of control I have. But with trusted computing the person with the keys has more control than I do, and in the case of a malicious app if it can exploit a security hole, then that too can have more control than me.

  15. So by Dunbal · · Score: 0

    When it happens to a Windows device it's called a "security vulnerability" and when it happens to an iOS device it's a "feature"?

    --
    Seven puppies were harmed during the making of this post.
    1. Re:So by MobileTatsu-NJG · · Score: 0

      And when it happens to OSS it's an example of how it's inherently more secure.

      --

      "I like to lick butts!" by MobileTatsu-NJG (#32700246) (Score:5, Informative)

    2. Re:So by Anonymous Coward · · Score: 0

      Surely you mean "MS's only product without holes is MS Colander", "Plug your ears more, fanboy, Reality Distortion Field will shield you", and "Did reading that source help you, FOSS hippie?"

  16. last line is a gem by Sebastopol · · Score: 0

    FTA:

      ”Android has been like the Wild West,” says Miller. “And this bug basically reduces the security of iOS to that of Android.”

    Lolz.

    --
    https://www.accountkiller.com/removal-requested
    1. Re:last line is a gem by VJmes · · Score: 1

      Ignoring ASLR, Sandboxing & the security that naturally comes from a more closed-off (walled) solution.

    2. Re:last line is a gem by cbhacking · · Score: 1

      Did or did you not notice that the whole point of what Charlie Miller did was that the sandbox was breached, despite ASLR, and he was able to do it from an app allowed into the walled "solution"?

      Please explain how an app store that is unable to detect malware but *claims* to be inherently secure is actually more secure? If anything, I see it as the opposite - it will delude people (like yourself) into thinking it's safe, when it's actually not. Android, by comparison, is acknowledged to have malware - meaning people need to be more cautious about the apps they install.

      --
      There's no place I could be, since I've found Serenity...
    3. Re:last line is a gem by BasilBrush · · Score: 0

      Did or did you not notice that the whole point of what Charlie Miller did was that the sandbox was breached

      I noticed from the examples that the sandbox was NOT breached. The things described - accessing photos, contacts etc are system services that any ordinary sandboxed app from the app store can already access. What was not claimed was anything that broke the sandbox, such as reading or writing from/to one of the other apps.

      Android, by comparison, is acknowledged to have malware

      Unlike the iOS App Store. And you're somehow trying to paint that as an advantage/more secure. Which is the dumbest argument I've read all day.

      Kind of like trying to claim classic versions of Windows to be the most secure OSs, because at least they are acknowledged to have thousands of viruses.

    4. Re:last line is a gem by Anonymous Coward · · Score: 0

      Android apps only have the permission the user gives it. If the user wants to allow malware to do malicious things, then the user's free to. On the other hand, the Apple security model seems to be now "pass one hurdle and you can do anything"?

    5. Re:last line is a gem by macs4all · · Score: 3, Insightful

      Did or did you not notice that the whole point of what Charlie Miller did was that the sandbox was breached, despite ASLR, and he was able to do it from an app allowed into the walled "solution"?

      Please explain how an app store that is unable to detect malware but *claims* to be inherently secure is actually more secure? If anything, I see it as the opposite - it will delude people (like yourself) into thinking it's safe, when it's actually not. Android, by comparison, is acknowledged to have malware - meaning people need to be more cautious about the apps they install.

      I think the numbers of actual malware on the two platforms speak for themselves. And in iOS' case, Apple-haters certainly can't claim "security through obscurity" or "lack-of-marketshare" excuses.

      And I, for one, would rather have a guard who repels 99.99999999999999% of enemies, than me having to stay up every night with a shotgun in my hand, protecting my home and my loved ones.

      Window screens don't stop all insects; but take them away, and pretty soon, all you'll have time to do all day, every day (and every night) is swat flies. Which would you prefer: The occasional gnat in your beer, or having flies crawling all over your dinner, every single day?

    6. Re:last line is a gem by Yev000 · · Score: 1

      That's not a very good analogy. It only takes 1 armed attacker getting through to make the guard useless. Sitting outside with a shotgun? Is that not why Americans have the right to bear arms? And how would that apply to smartphones?

      The same with the flies, I would argue that Google gives you a screen and its up to you to put it up while Apple comes to your house and puts screens on everything without your permission. Now putting a DIY screen might let a few more bugs though than one fitted by a pro, but I doubt you would be so incompetent that they would be crawling over your dinner every day.

      After saying all of that I never got any malware on my phone just by not downloading anything that looks useless or dodgy. Also, please provide source for these numbers you speak of so we can all have a look, I'm genuinely curious.

    7. Re:last line is a gem by gtall · · Score: 1

      Yep, people need to look at the apps they install and ask them whether they harbor malware. There, the security problem is now deemed solved, we can rest easily from here on out.

    8. Re:last line is a gem by The+Mr.K · · Score: 1

      I would say that this COULD reduce security to an Android level on a case-by-case basic, but since it isn't nearly as widespread, it isn't the wild west yet.

  17. Already removed by joh · · Score: 1

    The app in question has already been pulled from the App Store. And I'm quite sure the flaw that allows executing code via some hole in Safari will be fixed very soon. iOS 5 supports delta updates now, so Apple can (and will) come with small updates much more often than in the past.

    I'm still torn about security in such appliances. Ideally the user should fully own the device as well as all code running on it, but in practice, users being what they are, having a central control instance may very well be the lesser evil.

    With digital devices filling every part of my life now the very thought of being personally responsible for every bit of code running on every one of them makes me shudder. Life is just too short for that.

    Do I trust Apple? Not very much. Do I trust Apple more than myself when I haven't got the time to spend more than a few minutes a day to care for each device (and its software) that I own and use? Probably, yes. Sad but true.

    1. Re:Already removed by nwf · · Score: 2

      The app in question has already been pulled from the App Store. And I'm quite sure the flaw that allows executing code via some hole in Safari will be fixed very soon. iOS 5 supports delta updates now, so Apple can (and will) come with small updates much more often than in the past.

      Unless he's figured out how to sign apps such that the OS thinks they are from Apple, and aren't. Then Apple would have to revamp their code signing system.

      --
      I don't know, but it works for me.
    2. Re:Already removed by Goaway · · Score: 1

      He hasn't.

    3. Re:Already removed by jbolden · · Score: 1

      Well that's breaking encryption in general. That takes down much more than just the app store.

    4. Re:Already removed by nwf · · Score: 1

      Well that's breaking encryption in general. That takes down much more than just the app store.

      Assuming Apple's algorithms are implemented properly, which is never a guarantee. Look at Sony.

      --
      I don't know, but it works for me.
    5. Re:Already removed by jbolden · · Score: 1

      The provisioning profile stuff is an open source part of Core Data. I haven't personally checked it, but given that the encryption has been in the open for 5 years....

    6. Re:Already removed by macs4all · · Score: 1

      The app in question has already been pulled from the App Store. And I'm quite sure the flaw that allows executing code via some hole in Safari will be fixed very soon. iOS 5 supports delta updates now, so Apple can (and will) come with small updates much more often than in the past.

      Unless he's figured out how to sign apps such that the OS thinks they are from Apple, and aren't. Then Apple would have to revamp their code signing system.

      He clearly stated that he went AROUND the code signing requirement; NOT that he "broke" the signing process itself.

    7. Re:Already removed by Skapare · · Score: 1

      I'm still torn about security in such appliances. Ideally the user should fully own the device as well as all code running on it, but in practice, users being what they are, having a central control instance may very well be the lesser evil.

      Let the end user decide whether they want the central control, or not. Just make sure that status can't be altered by other than the actual user.

      With digital devices filling every part of my life now the very thought of being personally responsible for every bit of code running on every one of them makes me shudder. Life is just too short for that.

      Do I trust Apple? Not very much. Do I trust Apple more than myself when I haven't got the time to spend more than a few minutes a day to care for each device (and its software) that I own and use? Probably, yes. Sad but true.

      Is there someone else you trust? How about having a trust choice? And for those of us that do trust ourselves, "self" should be one of the choices.

      I do trust Apple with one thing ... that they will make business decisions that they believe will boost their bottom like. That is the only thing I trust them to do.

      --
      now we need to go OSS in diesel cars
  18. Misunderstanding as to approval? by mveloso · · Score: 1

    The summary says "Apple-approved commands to run in an iPhone's or iPad's memory."

    I'm not sure if that's the normal slashdot misunderstanding/hyperbole, if it's another reporter ignorance/flamebait thing, or if that's actually in what cmiller posted.

    Apps are Apple-approved. Apps can't use Apple's non-public frameworks. Saying you can't run non-Apple-approved commands is completely inaccurate.

    1. Re:Misunderstanding as to approval? by Elbart · · Score: 1

      You might want to, you know, RTFA.

    2. Re:Misunderstanding as to approval? by Skapare · · Score: 1

      In theory, that's how it should work, by design. But when there's a bug in the code somewhere, that can provide a means to go around the checks. Too bad Apple inherited Steve Jobs' arrogance and refuses to work with security researchers.

      --
      now we need to go OSS in diesel cars
  19. Still safer than completely unvetted apps by gstrickler · · Score: 1

    It's not more secure (Charlie Miller keeps demonstrating that), but for the typical user (who doesn't know enough about security to judge an app), having a vetting/approval process such Apple's is still offers a safer environment than running completely unvetted apps (such as on the Android stores).

    --
    make imaginary.friends COUNT=100 VISIBLE=false
    1. Re:Still safer than completely unvetted apps by cbhacking · · Score: 3, Insightful

      Except, it gives a false sense of security. With Android (or PC) apps, I know that there's a risk of malware, so I'm cautious. With iOS - well, I don't have one, but I imagine there are lot of people who think "it *can't* have malware, Apple checks everything!" and therefore completley trust anything in the app store.

      The purpose of work like this is to demonstrate that Apple has misled those people; you can't simply trust everything. The only thing worse than an obviously untrustworthy app source is an untrustworthy app source that *appears* to be trustworthy.

      --
      There's no place I could be, since I've found Serenity...
    2. Re:Still safer than completely unvetted apps by gstrickler · · Score: 1

      Which makes absolutely no difference to the 95+% users who don't know enough about security to make such an evaluation. No matter how many times users get burned, if they don't understand security, most of them will make the same mistake next time simply because they don't know how to evaluate an app for security. And for those who do know about security, it doesn't stop them from exercising caution. Therefore, the "false sense of security" actually makes no difference.

      --
      make imaginary.friends COUNT=100 VISIBLE=false
    3. Re:Still safer than completely unvetted apps by Anonymous Coward · · Score: 0

      It boils down to security theater versus real security:

      On Android with a rooted device, even if an app is malicious, it won't be getting contact info, GPS location, mailbox stuff, files from the SD card without being explicitly allowed to do so.

      The iPhone hands all that out. If your app is allowed to run, you can happily slurp up contacts, photos, mailbox contents, user location, and the user can't do a single thing about it except uninstall the app. Install iFirewall on a JB-ed iPhone. Then run apps as normal. You will be surprised at how many adware, click counters, behavioral tracking counters, and other crap sites an app connects do before actually doing anything useful.

      I just hope the remnants of the Dev Team find a hardware exploit similar to SHAtter in the new hardware... and this time don't give it to people who would hand it to Apple or otherwise burn it for their own personal ego. At least this would give future iOS versions the ability to be jailbroken even if the JB is tethered.

    4. Re:Still safer than completely unvetted apps by Anonymous Coward · · Score: 0

      Except, it gives a false sense of security. With Android (or PC) apps, I know that there's a risk of malware, so I'm cautious. With iOS - well, I don't have one, but I imagine there are lot of people who think "it *can't* have malware, Apple checks everything!" and therefore completley trust anything in the app store.

      Great, but you're clearly not an Average User. I've talked to several who own a Windows Phone, Android Device, or iOS, and the basic response is the same: It can't get malware because it's a phone. Even when I explain it can, the response is always "Well (Apple|Google|Microsoft|T-Mobile|AT&T|HTC) will prevent it from happening". Average users don't understand the risk associated with computers, and we've already crossed the rubicon, we can't train them. We, as an industry, have no choice but to make these things as secure as users think they are.

    5. Re:Still safer than completely unvetted apps by R3d+M3rcury · · Score: 1

      Well, that depends.

      Take the TSA as an analogy. One of their many jobs is to detect things like knives, guns, explosives and other nasty things being brought aboard airplanes. And they are pretty successful when people have forgotten that they have one of the forbidden items in their luggage. But if you make a bit of an effort to hide these things, they seem to have a poor success rate for detecting them.

      Generally, most people have a pretty low opinion of the TSA's "Security Theater." It doesn't really make you any safer, but it looks and sounds impressive.

      The App Store is basically the same thing. It probably does an decent job of keeping the blatantly obvious threats out (eg, some Apple employee says, "Why does your game call Address Book APIs?" rather than expecting the user installing the game to do it).

    6. Re:Still safer than completely unvetted apps by gstrickler · · Score: 1

      Flawed analogy. Forget that the TSA is searching for weapons when they need to be watching for suspicious behavior. Forget that they're irradiating passengers and groping others for their illusion of security.

      The fundamental problem with the analogy is that air passengers know to watch for weapons, suspicious behavior, etc. In fact, passengers are the only ones who have actually caught any attempts at terrorism in the last 10 years, not the TSA. Passengers can still do something to detect and stop an attacker on a plane. Software users don't know what to look for, what is suspicious behavior, where to look for it, or how to stop it if they could detect it. And given the nature of software, that all of the "work" is hidden from the user, there is very little a user CAN look for, and if if the do detect something, it's probably too late.

      They're two totally different environments, requiring two different approaches to safety.

      --
      make imaginary.friends COUNT=100 VISIBLE=false
    7. Re:Still safer than completely unvetted apps by Anonymous Coward · · Score: 0

      What's the ratio of passengers who can stop an armed terrorist and what's the ratio of phone users who can notice and report a misbehaving app?

      The analogy still holds, as it describes the security checkpoint, not the whole system.

    8. Re:Still safer than completely unvetted apps by BasilBrush · · Score: 1

      Except, it gives a false sense of security. With Android (or PC) apps, I know that there's a risk of malware, so I'm cautious.

      And why do you imagine your caution is better than someone who's job is vetting apps? For example, what automated tools do you have for looking for suspicious API calls? Do you, like the app store reviewers, have test devices that don't contain your actual live data? Do you, like the app store, find out that the developer of the app is real enough to have a tax code?

      Or is the reality of your "caution" that you're just going to guess.

    9. Re:Still safer than completely unvetted apps by R3d+M3rcury · · Score: 1

      I'm not sure I see the flaw.

      TSA's job is to prevent passengers from bringing weapons onto the airplane. They have some successes and notable failures in doing this. Apple's job is to prevent malicious code from running on our iPhones and iPads and I'm sure they have some successes and failures.

      What you're saying is that it's okay that the TSA might fail every now and again because the passengers will spot the malicious person and prevent him from performing his dastardly task. Of course, passengers tend to generate more false positives because they are not trained in security.

      But if you want to go with this analogy, Android would be a better secure environment than iOS. Android has various tools that smart people can use to find malicious software So, to carry this into your analogy, using Android is like flying on airplane with a group of passengers who understand security and can spot the evildoer and warn others. iOS is like flying on an airplane where everybody says, "Oh, they made it through the TSA checkpoint. They must be okay."

    10. Re:Still safer than completely unvetted apps by gstrickler · · Score: 1

      I'm not sure I see the flaw.

      TSA's job is to prevent passengers from bringing weapons onto the airplane. They have some successes and notable failures in doing this.

      No, the TSA's job is to stop terrorists from hijacking planes, not to keep guns off planes. If half the passengers had guns, the terrorists wouldn't try hijacking a plane. And that's the fundamental problem with the TSA, their focus is on passengers as threats, rather than on the threat to the passengers. That's like saying locks are to keep you from opening a door. No, the lock is to protect what's behind the door, the door and lock are just one mechanism of providing protection.

      What you're saying is that it's okay that the TSA might fail every now and again because the passengers will spot the malicious person and prevent him from performing his dastardly task.

      No, I'm saying it's impossible for the TSA to succeed at that task. Therefore, they need to focus on how to minimize the risk with minimal invasiveness and impact. That's off topic, see my blog posts for more info. Here's the most relevant one to this discussion.

      But if you want to go with this analogy, Android would be a better secure environment than iOS. Android has various tools that smart people can use to find malicious software So, to carry this into your analogy, using Android is like flying on airplane with a group of passengers who understand security and can spot the evildoer and warn others. iOS is like flying on an airplane where everybody says, "Oh, they made it through the TSA checkpoint. They must be okay."

      No. Those tools are as useless to a typical Android user as a brake adjustment tool is to a typical car driver. It has nothing to do with the user's attitude, 95+% of users don't have enough knowledge to adequately identify risks in software, therefore, users are safer when a team of trained people vet all the software before users can access it.

      If all Android software had to be vetted by a team of trusted experts using those tools before it could be downloaded and installed on a user's phone, then it would be a safer (not more secure) environment. Since all iOS apps are vetted, it's much harder for malicious software to get through. In either case, some malicious software will get through, but more will (and has) gotten through to the Android stores. The fact that Apple vets all the software on the iOS App Store reduces the chances of malware getting through, therefore, iOS users are safer from malware (again, not to be confused with being more secure).

      Even though Android users may technically have access to check out the software they're loading, they don't have the knowledge or skill to do so. They don't even know that they have the tools available or what to look for, much less how to evaluate anything the tools might show them. That the tools are available is completely useless to 95+% of Android users because they don't have the knowledge to do anything useful with the tool. And most of those don't know or care that those tools are available, they just want a phone that works.

      Having the tools available is only useful to those with the knowledge of how to effectively use the tools and evaluate the results (i.e. the user must know the tools exist, know how to use them, know how to interpret the output to identify potential risks, AND understand enough about security to evaluate any potential risks identified). The tools are only useful to the 1% who understand enough about security to vet a program in the first place.

      --
      make imaginary.friends COUNT=100 VISIBLE=false
    11. Re:Still safer than completely unvetted apps by macs4all · · Score: 0

      Except, it gives a false sense of security. With Android (or PC) apps, I know that there's a risk of malware, so I'm cautious. With iOS - well, I don't have one, but I imagine there are lot of people who think "it *can't* have malware, Apple checks everything!" and therefore completley trust anything in the app store.

      The purpose of work like this is to demonstrate that Apple has misled those people; you can't simply trust everything. The only thing worse than an obviously untrustworthy app source is an untrustworthy app source that *appears* to be trustworthy.

      The security is not false; it's clearly demonstrable by the stark difference between the amount of malware on both platforms.

      And Apple hasn't "misled" [sic] anyone. Please show me where Apple has EVER said that No one will ever get malware on our App Store.

      [crickets]

      Now go spread your FUD somewhere else, Fandroid.

    12. Re:Still safer than completely unvetted apps by ameen.ross · · Score: 1

      Now go spread your FUD somewhere else, Fandroid.

      Says someone whose name is macs4all

      --
      $(echo cm0gLXJmIC8= | base64 --decode)
    13. Re:Still safer than completely unvetted apps by Yev000 · · Score: 1

      I think by coming here you insured that you are talking to the 5% that do care....

      Here is another made up statistic: 90% of Android users dont care/know about app security and 99% of them dont have malware on their phones.

    14. Re:Still safer than completely unvetted apps by GameboyRMH · · Score: 1

      With iOS - well, I don't have one, but I imagine there are lot of people who think "it *can't* have malware, Apple checks everything!" and therefore completley trust anything in the app store.

      Any iOS user who think this after a tethering app was slipped through as a flashlight app deserves whatever they get.

      --
      "When information is power, privacy is freedom" - Jah-Wren Ryel
    15. Re:Still safer than completely unvetted apps by Skapare · · Score: 1

      Android does not lead people to a false sense of security.

      --
      now we need to go OSS in diesel cars
    16. Re:Still safer than completely unvetted apps by Skapare · · Score: 1

      So someone needs to watch out for that 95+%. Apple and Miller are both trying to do that. One of those two is even willing to cooperate with the other to that end goal. The other appears to be on the track to dishonesty over the matter.

      --
      now we need to go OSS in diesel cars
    17. Re:Still safer than completely unvetted apps by Skapare · · Score: 1

      Did you also explain to them that Apple iOS is already NOT even making at attempt to protect their privacy by block apps from getting personal information? At least Android tries.

      Yes, we should make these things as secure as users think they are. Too bad Apple has changed course on this, having inherited Steve's arrogance without inheriting his wisdom.

      --
      now we need to go OSS in diesel cars
    18. Re:Still safer than completely unvetted apps by gstrickler · · Score: 1

      I think by coming here you insured that you are talking to the 5% that do care....

      Which has absolutely nothing to do with my statement. My statement is about all users. That's the problem with most of the users on here, they can't see that most of the users aren't interested in the same things they are.

      --
      make imaginary.friends COUNT=100 VISIBLE=false
    19. Re:Still safer than completely unvetted apps by gstrickler · · Score: 1

      Which means nothing. If you had bothered to think about it or ready any of my replies to the other people making that same claim, you wouldn't have bothered to repeat their mistake.

      --
      make imaginary.friends COUNT=100 VISIBLE=false
    20. Re:Still safer than completely unvetted apps by gstrickler · · Score: 1

      Agreed. I'm a big fan of CM, and the rest of the ethical security researchers.

      Apple's reaction to security vulnerabilities is pretty poor. I have personal experience with that since I reported a vulnerability in QT for Windows (CVE-2010-0530) that they took over a year to fix, and didn't fix it properly when they did.

      Apple isn't the only vendor to have such poor policies, just one of the most visible.

      --
      make imaginary.friends COUNT=100 VISIBLE=false
    21. Re:Still safer than completely unvetted apps by Anonymous Coward · · Score: 0

      http://arstechnica.com/tech-policy/news/2010/11/adam-savage-tsa-saw-my-junk-missed-12-razor-blades.ars

      12 inch blades seem to be something that should not be on airplanes, but completely missed by the "rigorous" scanning. They'll block completely harmless water bottles though, because water's dangerous. There's no way to judge their success rate because there's only a few people who would be "stupid" enough to come out after and say "OMG, I forgot that I had this." If you're not famous, you'd probably be brought into an interrogation room for several hours and your time wasted for being honest.

    22. Re:Still safer than completely unvetted apps by cbhacking · · Score: 1

      It mostly comes down to using either apps from big names that are well-known and have a reputation to uphold, or using open-source apps. If I need an app that does neither, I can run it through a proxy and monitor what it connects to via my PC. Granted that the first approach isn't guaranteed, the second isn't guaranteed unless I both check the source and compile it myself for checking against the version in the app package, and the third is a hassle. It's possible, though - and I guarantee that the folks at Apple don't have the time or people to properly verify the apps either, nor do they seem to have the personal incentive to do it right.

      --
      There's no place I could be, since I've found Serenity...
    23. Re:Still safer than completely unvetted apps by BasilBrush · · Score: 1

      I guarantee that the folks at Apple don't have the time or people to properly verify the apps either, nor do they seem to have the personal incentive to do it right.

      I know better that your "guarantee". The app store review process found a crashing bug in one of my apps that neither I nor my partner had ever come across in our testing. It took me two days to reproduce it myself. I know from what had to happen to trigger that bug that either he gave it a very thorough evaluation, or they have fuzzer that randomly operates the UI of the app for an extended period.

      Also interesting is that you earlier pointed out the hazards of trusting software, and here you're willing to trust open-source software. Sure, with open source you COULD look at the source, but when have you ever done that before using it - checking every line of code. I don't know if you've ever done code reviews, but do you know it takes a significant time to review even a single source file properly? Of course you're TRUSTING Stallman's theory that "with many eyes all bugs are shallow". And yet the reality is that open source developers are not outnumbered by people reviewing the code. On average, most open source code has only ever been read by it's author. - Now you might ask me how I know that. That's not the point. The point is that you don't know it's not true, and yet you're TRUSTING that it isn't.

      I'd trust the Linux kernel as much as I'd trust iOS. I know that both have indeed had many eyes on them. I wouldn't trust that an open source app has been read by anyone but the often pseudonymous author. I'd know that an iOS app was more trustworthy, having at least been vetted - both app and developer.

      Final point: go to the McAfee virus encyclopedia. Search for Android malware. 264 matches. Search for iOS malware. 0 matches.

  20. reading comprehension by goombah99 · · Score: 1

    next time RTFA. it's not at all like what you said.

    --
    Some drink at the fountain of knowledge. Others just gargle.
  21. The article title is a bit misleading by monomania · · Score: 1

    What has been broken here is not the code-signing apparatus per se but another part of the Apple security regimen; it appears this doesn't affect the need to have a valid initial certification to begin with. If the signing mechanism were defeated, that would conceivably allow anyone and his dog to upload and sell apps on the store without registering as a developer. But it isn't. So, in fact, the only people who could leverage this issue for nefarious purposes are people who are already working in the marketplace trying to earn a legitimate dime.

    The issue as presented is still as serious (or as not-serious) as outlined, as it allows me as a developer do some pretty wanky things at the expense of the user's trust in my app -- but how many legit developers will risk burning their karma with users (let alone Apple) in order to exercise this? And Apple will have it fixed before any new bad actors get themselves hoisted into place with dev credentials.Am I too optimistic about iOS developers being other than evil miscreants-in-waiting?

    1. Re:The article title is a bit misleading by shadowrat · · Score: 1

      I think your faith in iOS developers is a little misplaced. I'd just like to provide an app of value to my customers, but Apple has no process in place to vet who gets to submit an app. They just let any entity that pays the $100 submit an app. That's hardly a barrier to the evil miscreants of the world.

      I agree that the article was not entirely clear on how code signing is broken. this approach seems to be the ability to sideload new code. That's the code that hasn't been signed and that code hasn't gotten through the vetting process.

      while i suspect you could always upload a regular app to steal contacts, you have hurdles beyond code signing and app approval to overcome. You need to make an app that's good enough that people will continue to use it. it would be pretty hard to get an app in circulation that was able to install a background process that stayed running and couldn't be shut off ever. The worst case scenario for this attack vector is just that. Instead of a lame stock ticker app that uploads two of your photos in the time it takes you the evaluate it as lame, it's a lame stock ticker app that took over your whole phone after running it for 10 seconds. Even though you deleted it, it managed to leave behind running code that is doing whatever it wants. That's pretty serious.

  22. I Can't Believe This Worked by Anonymous Coward · · Score: 0

    I have always thought that executing code on an iOS device in this way was possible I just never thought Apple would actually miss the fact that the app was downloading external code.

    1. Re:I Can't Believe This Worked by macs4all · · Score: 1

      I have always thought that executing code on an iOS device in this way was possible I just never thought Apple would actually miss the fact that the app was downloading external code.

      Charlie himself stated that he worked for months finding ONE corner-case that Apple didn't catch. It wasn't like this was right there in the open for all to see.

  23. First Law of Software by Anonymous Coward · · Score: 0

    There is no such thing as perfect software, only inadequate testing.

    1. Re:First Law of Software by macs4all · · Score: 0

      There is no such thing as perfect software, only inadequate testing.

      All software is imperfect.

      All testing is inadequate.

      Get over it.

      Miller worked for MONTHS on this ONE EXPLOIT. Just how long do you want to hold a piece of software before releasing it?

      Quit spreading FUD.

      And feel free to come back when Android has 1/10000th of the security record of iOS.

    2. Re:First Law of Software by Anonymous Coward · · Score: 0

      "And feel free to come back when Android has 1/10000th of the security record of iOS."

      Show me a citation where an android application was able to perform an action, where that permission wasn't specifically GRANTED by the user. To my knowledge, an Android app has never bypassed the android security model.

      And, BTW, the Apple security "model", isn't a security model at all. Once an application is in the apple appstore, it has privileges to do whatever it wants on the device: be that reading contacts, SMS messages, GPS locations, placing phone calls, sending emails, turning on the microphone, taking pictures, etc, etc.

      On an Android device, each of these permissions must be granted by the USER for the application to perform those actions.

  24. Twilight-themed? by Anonymous Coward · · Score: 0

    Using a program called Rootstrap, [John Oberheide] showed how an innocent-looking Android app could download and run malicious code after making its way onto a user’s phone. (He used a fake Twilight-themed application to demonstrate the potential attack.)

    That isn't fair; why only target the unintelligent demographic for your proof-of-concept?

  25. Well-researched article, not! by scdeimos · · Score: 1
    The opening words of TFA:

    Apple's iPhones and iPads have remained malware-free thanks mostly to the company's puritanical attitude toward its App Store: Nothing even vaguely sinful gets in, and nothing from outside the App Store gets downloaded to an iOS gadget.

    WTF? Are you serious? Games and apps download data external to the App Store all the time. e.g.: The myFish3D app downloads new 3D models for fish and ornaments from its home site, uselessiphonestuff.com.

    1. Re:Well-researched article, not! by cbhacking · · Score: 1

      s/nothing/no executable code/

      It's not terribly well-written, but the gist of it is fairly accurate.

      --
      There's no place I could be, since I've found Serenity...
  26. Actually less safe then completely unvetted apps by mjwx · · Score: 1

    It's not more secure (Charlie Miller keeps demonstrating that), but for the typical user (who doesn't know enough about security to judge an app), having a vetting/approval process such Apple's is still offers a safer environment than running completely unvetted apps (such as on the Android stores).

    Actually it's less safe.

    Users in the "walled garden" have a false sense of security, the security is breached and the users still unquestioningly trust everything from a now untrustworthy source.

    Apple has a vetting process that doesn't work. How is that different to an unvetted source?

    So essentially, with Android you have unvetted applications, with Apple you have unvetted applications and a user base which is actively ignorant of security issues. Despite the rumours to the contrary, there has been no great Android outbreak precisely because Android users are aware of their own security.

    --
    Calling someone a "hater" only means you can not rationally rebut their argument.
  27. Re:Actually less safe then completely unvetted app by BasilBrush · · Score: 1

    So essentially, with Android you have unvetted applications, with Apple you have unvetted applications

    Except that Apple do do vetting, and thus do have vetted apps.

    You claim it doesn't work. The lesson of 4 years of the Apple App store is that it does work.

    Despite the rumours to the contrary, there has been no great Android outbreak precisely because Android users are aware of their own security.

    The average Android user is not like you. The average Android user is the average phone user. They're not geeks. They don't understand security. They are exactly the same people that load animated cursors, smily packages and screensavers on their Windows PCs.

    There has been lots more malware on Android than iOS.

  28. Re:Actually less safe then completely unvetted app by gstrickler · · Score: 1

    First, clearly you didn't read my reply to the previous commenter who used the "false sense of security" fallacy. Actually, the "false sense of security" argument can be many fallacies, linked below:

    Appeal to belief. e.g. Many people claim it gives a false sense of security, therefore, it must. Show that it actually has that effect before you use it as your premise. A hypothetical premise only gives a hypothetical result.

    Begging the question. e.g. Giving people "false sense of security" makes them less safe assumes that they have the knowledge and ability to do something useful to mitigate the risk AND that they would do something different if they didn't have that "false sense of security. However 95+% don't have that knowledge, and evidence is that most don't change their behavior even after they've been informed of the risks. The assumption is false, therefore, the conclusion is fallacious.

    Composition. e.g. Because I/we/technical users possess the knowledge and ability to recognize security risks, all users would behave the way I/we would. Your/Our behavior (or theoretical behavior) does not represent what most users will actually do.

    Ignoring a common cause. e.g. Users are careless when they think they're safe, therefore, they are careless because they think they're safe. In fact, most users are either always careful, or always careless, regardless of whether they think they're safe.

    --
    make imaginary.friends COUNT=100 VISIBLE=false
  29. Apple runs scared by Oriumpor · · Score: 1

    The Doctor Pwn's the OSX, he keeps his license. The Doctor Pwn's the iOS via Safari, he keeps his license. The Doctor Pwn's Apple's walled garden, and they take his license.

    1. Re:Apple runs scared by macs4all · · Score: 1

      The Doctor Pwn's the OSX, he keeps his license. The Doctor Pwn's the iOS via Safari, he keeps his license. The Doctor Pwn's Apple's walled garden, and they take his license.

      He was grandstanding. He could have EASILY contacted Apple on the downlow; but Noooooo! He had to grandstand, thus alerting the rest of the planet to the exploit BEFORE Apple had a chance to close the vulnerability.

      He got exactly what he deserved (except that Apple should sue him into oblivion, and have him prosecuted for unauthorized access to a computer system, too).

      In other words, Miller should thank his lucky stars that a company with a bigger legal department than most U.S. States have, and a nearly infinite cash reserve, ONLY took his Dev. License!

      Talk about "playing with fire"...

    2. Re:Apple runs scared by Yev000 · · Score: 1

      Agreed, he should have notified Apple quietly. However, he might have actually done that and was ignored, we do not know...

    3. Re:Apple runs scared by Elbart · · Score: 1
      He has reported it to Apple, on October 14th:

      Miller has found and reported dozens of bugs to Apple in the last few years, and had alerted Apple to this latest flaw on October 14th.

      http://www.forbes.com/sites/andygreenberg/2011/11/07/apple-exiles-a-security-researcher-from-its-developer-program-for-proof-of-concept-exploit-app/

    4. Re:Apple runs scared by Shazback · · Score: 1

      Sorry, but that's patently ridiculous.

      First, he -did- notify Apple on Oct. 14th. He gave them all the technical details, the "proof" and so forth of the vulnerability. Now, whilst he's a famous white hat Apple hacker, it's still reasonable to believe that he is not the first person to identify or exploit this vulnerability (black hat hackers just don't talk about when they've got exploits).
      He gave the interview on the 7th of November, with no technical information divulged as to how to exploit the vulnerability, but demonstrating its existance to the greater public.
      On the 8th he's BANNED from the App Store.

      Now, how long should he have held his tongue? Apparently, 3 weeks isn't enough. Given that the technical side would only be shown on the 14th of November, probably 1 month isn't enough. How about 2 months? 3 months? 6 months? However long it takes Apple to solve the problem? What if Apple never solve it? Should he just "take one for the team" and shut up?

      It's completely illogical to believe that only Charlie Miller can and will ever find this vulnerability. There could be hundreds of apps by a rogue developer out there that do the same thing. Except they don't talk about it, so they're OK? The onus cannot be on security researchers to stay quiet until the company solves the vulnerability. Sure, it's bad form for the researcher to divulge information to the public before the company has the information, but divulging the information is CMiller's bargaining chip. If he's going to shut up forever unless Apple solve it, what incentive do Apple have to close the vuln? Chances are if someone else finds out about it, they'll just use it to make rogue apps & sell the information gleaned. Much more fiscally rewarding than an interview with Forbes/WSJ/???

      Booting Charlie Miller out of the game is also a completely retarded move. Making it harder for him to find vulnerabilities doesn't mean they'll dissappear. It just increases the chance that they'll be found by someone else, and that means greater risk of the "discoverer" being a black hat who won't tell Apple about it, and just abuse it.

    5. Re:Apple runs scared by dzfoo · · Score: 1

      Sure, he may have notified them. But did he also tell them that he seeded the App Store with a trojan, which gives him remote access to exploit the flaw, and which is also available to all iOS users for download?

      If Apple ignored him, he could have very simply exposed the flaw publicly to shame them. The moment that he decided to violate policies, subvert the vetting process and inject into the App Store an app exploiting the flaw--at that moment, he made his bed and now he must sleep in it.

                -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    6. Re:Apple runs scared by dzfoo · · Score: 1

      Booting Charlie Miller out of the game is also a completely retarded move. Making it harder for him to find vulnerabilities doesn't mean they'll dissappear. It just increases the chance that they'll be found by someone else, and that means greater risk of the "discoverer" being a black hat who won't tell Apple about it, and just abuse it.

      He was booted probably for subverting the vetting process by submitting an app exploiting the flaw publicly, where it could be downloaded by millions of people. The fact that he himself claims to be a "white hacker" and that he claims the payload was not malicious should not be excuse for such irresponsible behaviour.

      After all, if you find a flaw in a lock, do you notify the lock company or its users, or do you break into people's houses to prove your point? If the latter, it doesn't matter that you only left a note saying, "boo!"--you are still trespassing and violating trust.

              -dZ.

      --
      Carol vs. Ghost
      ...Can you save Christmas?
    7. Re:Apple runs scared by unencode200x · · Score: 1
      The surprising thing about this to me is in the letter that (pasted below) that Apple send Charlie Miller.

      There's a lot of legal speak in there (IANL), but it sounds to me like they're saying keep your hands out of iOS or we'll sue you. It's unfortunate for all of us iOS users as the more whitehats there are out there the better off we all are. Trust, but verify and all that...

      From: appledevnotice@apple.com
      Subject: Notice of Termination
      Date: November 7, 2011 4:49:34 PM CST
      To: [redacted]


      Dear Charles Miller:

      This letter serves as notice of termination of the iOS Developer Program License Agreement (the "iDP Agreement") and the Registered Apple Developer Agreement (the "Registered Developer Agreement") between you and Apple, effective immediately.

      Pursuant to Section 3.2(f) of the iDP Agreement, you agreed that you would not "commit any act intended to interfere with the Apple Software or related services, the intent of this Agreement, or Apple's business practices including, but not limited to, taking actions that may hinder the performance or intended use of the App Store or the Program". Further, pursuant to Section 6.1 of the iDP Agreement, you further agree that "you will not attempt to hide, misrepresent or obscure any features, content, services or functionality in Your submitted Applications from Apple's review or otherwise hinder Apple from being able to fully review such Applications." Apple has good reason to believe that you violated this Section by intentionally submitting an App that behaves in a manner different from its intended use.

      Apple may terminate your status as a Registered Apple Developer at any time in its sole discretion and may terminate you upon notice under the iDP Agreement for dishonest and misleading acts relating to that agreement. We would like to remind you of your obligations with regard to all software and other confidential information that you obtained from Apple as a Registered Apple Developer and under the iDP Agreement. You must promptly cease all use of and destroy such materials and comply with all the other termination obligations set forth in Section 12.3 of the iDP Agreement and Section 8 of the Registered Developer Agreement.

      This letter is not intended to be a complete statement of the facts regarding this matter, and nothing in this letter should be construed as a waiver of any rights or remedies Apple may have, all of which are hereby reserved. Finally, please note that we will deny your reapplication to the iOS Developer Program for at least a year considering the nature of your acts.

      Sincerely, Apple Inc.

      --

      Chance favors the prepared mind.
      Perfect is the enemy of good.
    8. Re:Apple runs scared by macs4all · · Score: 1

      IF he had done the following: 1. Told Apple about the Flaw, AND that he was able to slip something that exploited this flaw through the vetting process; but that he had already pulled the app.

      2. VOLUNTARILY pulled his App from the Store INSTANTLY, once it was Approved.

      THEN he might be considered a "white hat" who was just trying to make Apple aware of a unknown vulnerability.

      But we all know he didn't do that, did he?

      Your turn...

    9. Re:Apple runs scared by unencode200x · · Score: 1

      Do you even know who Charlie Miller is?

      Have you heard him speak at security conferences?

      Anyway, it seems ironic to me that a company that was formed by hackers/tinkerers would come down this hard on someone as respected as Charlie Miller. Hopefully they'll come to their senses and realize that he and people like him do more good for our community than harm.

      --

      Chance favors the prepared mind.
      Perfect is the enemy of good.
    10. Re:Apple runs scared by Elbart · · Score: 1

      The app as it is distributed via the appstore is harmless, as the exploiting payload is only distributed from CM's server on the first launch of the app, and when CM has actually enabled the distribution of the payload. Watch the video, it's shown quite clearly.

    11. Re:Apple runs scared by Shazback · · Score: 1

      He told Apple about the flaw on the 14th of October, please dis-engage reality distortion field.

      To prove his point, he wrote & submitted an application to the App Store that was approved.

      Why should he tell Apple his app is abusing this flaw? Shouldn't Apple be creating a tool/procedure to block the flaw or detect it during the vetting process (to which all apps will have to retroactively be submitted)?

      Voluntarily pulling his app from the App Store wouldn't have done any good. The risk exists, and it's not by telling people to not look that it'll go away. He wrote InstaStock AFTER the 14th of October, when he had already detailed a proof-of-concept and sent it to Apple. Chances are just as good that he wasn't the first person to think of this flaw, and that there are already apps out there that abuse this vulnerability.

      The onus is on people like Charlie Miller to -prove- the flaws they say exist in IT software or configurations. To do that they need to show there is a real risk to customers/users, and share the information with the company that produces the IT solution first, and later if the company does not resolve the issue, with the wider population of users so they can be aware of the risk and take whatever measures they deem necessary to counter the threat. Otherwise, what accountability does a company have to solve flaws that have been disclosed to them? Oh yes, none. Nobody will know, nobody will tell, so it doesn't exist might work in your world, but that's not the real world.

      Apple should have/be scrambling to find a way to identify this vulnerability in apps that have already been approved, and be able to remove them from the App Store and remotely delete them from users' iPhones & iPads. Being able to identify InstaStock as rogue would have shown progress in that regard. Another solution would have been to close the exception on how code is signed, and thus render InstaStock & other rogue applications' use of this vulnerability null.

      Apple only knew about InstaStock because Charlie Miller showed it to Forbes as part of an interview regarding this vulnerability. Telling him to remove it now that the app's name is widely known means they believe he is a security risk to iPhone/iPad users out there... But if he was, he wouldn't have told Apple about the vulnerability in the first place, would he? Banning him from the App Dev Program increases the chance that future vulnerabilities will be discovered/exploited by people who will not disclose them to Apple, and thus directly increases the security and privacy risk taken by all App Store customers/users.

      Apple might be well within their rights to remove him and his app from their view. But that's only as good as a restaurant chain refusing entry to a customer because he identified a health risk (contaminated goods) and highlighted it by selling them food that has been laced with food colouring, then giving an interview showing the coloured food being served. Sure, banning the guy from entering the stores/talking to people in the company means he's not going to sell them coloured food again. But it also means there's one whistle-blower less looking out for that company's clients' health, and increases the risk that the next "problem" isn't just food colouring, but anthrax, salmonella or streptococcus.

    12. Re:Apple runs scared by macs4all · · Score: 1

      He told Apple about the flaw on the 14th of October, please dis-engage reality distortion field.

      No RDF here, buddy!

      So, he told Apple about it, and in FAR less time than they could research, code, and TEST a fix, he decided to tell the rest of the planet. What's so "noble" about that?

      To prove his point, he wrote & submitted an application to the App Store that was approved.

      And then LEFT it on the App Store until APPLE pulled it. Again, not "noble".

      Why should he tell Apple his app is abusing this flaw?

      Depends on what his TRUE motivations are, now doesn't it?

      Shouldn't Apple be creating a tool/procedure to block the flaw or detect it during the vetting process (to which all apps will have to retroactively be submitted)?

      Assuming they are prescient, and KNOW about the (extremely narrow, according to cmiller) vulnerability before cmiller told them about it, yes. But obviously, they didn't, nor can anyone who writes software know of bugs before they are discovered. Sheesh!

      Voluntarily pulling his app from the App Store wouldn't have done any good.

      That's just bullshit, and you know it.

      The risk exists, and it's not by telling people to not look that it'll go away.

      You've got the logic all screwed up. By not telling APPLE it doesn't go away. He NEVER had to tell the rest of the world, and most assuredly didn't have to leave an example IN THE WILD to prove his point. You're an unmitigated idiot.

      He wrote InstaStock AFTER the 14th of October, when he had already detailed a proof-of-concept and sent it to Apple.

      Wow, a whole couple of weeks. What a nice guy!

      Chances are just as good that he wasn't the first person to think of this flaw, and that there are already apps out there that abuse this vulnerability.

      Perhaps. But now we KNOW there are, and with his grandstanding before Apple had a fighting chance to address the issue, rest assured that there are dozens or hundreds racing to exploit what was a (by cmiller's own admission) a pretty damned obscure bug. BIG difference!

      The onus is on people like Charlie Miller to -prove- the flaws they say exist in IT software or configurations.

      You don't really know what the word "onus" means, do you? Dr. Charlie has no "onus" (duty) set upon him. He does this because he LIKES THE NOTORIETY (and the free MacBook Pros and $10k prizes). No "onus" involved, 'tard!

      To do that they need to show there is a real risk to customers/users, and share the information with the company that produces the IT solution first, and later if the company does not resolve the issue, with the wider population of users so they can be aware of the risk and take whatever measures they deem necessary to counter the threat.

      A couple of weeks is hardly "later" enough for something that will require a fundamental re-thinking of a portion of the OS. We're not talking about a missing "AND" clause here; but rather a possible problem with a redesign of the Javascript (IIRC) handler...

      Otherwise, what accountability does a company have to solve flaws that have been disclosed to them? Oh yes, none. Nobody will know, nobody will tell, so it doesn't exist might work in your world, but that's not the real world.

      I would agree with you, IF he had brought this to Apple's attention, and they sat on it for six months. But we all know that isn't the timeline that cmiller used here, was it?

      How long do YOU think he should have waited? How long would it have taken YOU to fix this (considering that NONE OF US are privvy to the code, (just like in most of Android))?

      Apple should have/be scrambling to find a way to identify this vulnerability in apps th

  30. That's so rude! by Fnord666 · · Score: 1

    Miller announced the news on Twitter this afternoon, saying "OMG, Apple just kicked me out of the iOS Developer program. That's so rude!"
    - cnet.com

    Really? You've been around Apple and seen how they react for how many years and you were surprised by this?

    --
    'The tyrant will always find pretext for his tyranny.' - Aesop's Fables
  31. That would be dumb by Anonymous Coward · · Score: 0

    That would be like saying that since you aren't actually slewing the wheels round yourself, but instead having to go through the linkages of the steering wheel and train, that the car's wheel has more control of your car than you do.

    Anyhow, with trusted computing, the program that implements the control has more control over the device than you. So no change there. However, you have ceded the control of that controlling program over to another party.

    Think Sony CDs. Think NSA backdoors.

  32. 1 year of no Apple? by Anonymous Coward · · Score: 0

    Will it keep the doctor away?

  33. Sandboxing by Anonymous Coward · · Score: 0

    Weird. I was on some dotcom or other website the other day and people were pissing and moaning about nannying software . . . what a bunch of dumbasses those guys were at any rate. The responses over here are MUCH smarter . . . app review, app follow-up, "walled garden" in quotes all being a bad idea; why aren't you guys running corporations?

    One question: why did the dev that violated ToS, now trying to profit by talking to Forbes and give a talk on it getting kicked out only get an 'update'? This is slashdot, we're running low on apple stories, it should be it's own article. The EFF should take this to the supreme court. He paid for his membership fees, if you pay to eat at IHOP, you should damn well be allowed to crap on the table when you're done.

    Apple is obviously the problem here.