Slashdot Mirror


Apple Just Killed The 'GrayKey' iPhone Passcode Hack (forbes.com)

Apple's newest version of iOS has rendered the GrayKey hacking tech useless, a report said Wednesday. How Apple pulled it off wasn't immediately clear, but it would have a huge implication for the law enforcement agencies around the world that have relied on GrayKey to break into locked iPhones. Forbes reports: Apple has put up what may be an insurmountable wall. Multiple sources familiar with the GrayKey tech tell Forbes the device can no longer break the passcodes of any iPhone running iOS 12 or above. On those devices, GrayKey can only do what's called a "partial extraction," sources from the forensic community said. That means police using the tool can only draw out unencrypted files and some metadata, such as file sizes and folder structures.

Previously, GrayKey used "brute forcing" techniques to guess passcodes and had found a way to get around Apple's protections preventing such repeat guesses. But no more. And if it's impossible for GrayKey, which counts an ex-Apple security engineer among its founders, it's a safe assumption few can break iPhone passcodes. Police officer Captain John Sherwin of the Rochester Police Department in Minnesota said of the claim iOS 12 was preventing GrayKey from unlocking iPhones: "That's a fairly accurate assessment as to what we have experienced."

35 of 85 comments (clear)

  1. Go, Apple! by TheFakeTimCook · · Score: 5, Insightful

    Apparently STILL the only phone OEM STILL looking out for the USER'S Privacy...

    1. Re:Go, Apple! by DigitAl56K · · Score: 1

      Apparently STILL the only phone OEM STILL looking out for the USER'S Privacy...

      Is that true?

      Does anyone know how Pixel stands up against like tools?

    2. Re:Go, Apple! by Highdude702 · · Score: 3, Insightful

      Its a phone made by google. I wouldn't bet too much on privacy. Who knows about encryption though..

    3. Re:Go, Apple! by known_coward_69 · · Score: 2

      last I read, only IOS had the entire file system encrypted

    4. Re: Go, Apple! by MachineShedFred · · Score: 1

      Hilarious to see people bashing apple for positioning data security over fashion.

      GTFO.

      --
      Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
    5. Re:Go, Apple! by Riceballsan · · Score: 1

      depends on who you are meaning privacy from. Microsoft is huge on handing things over to big G without permission, google historically gives the absolute minimum required by law. Google absolutely sucks at privacy in terms of what they keep for themselves, but for the most part they aren't eager to hand it out.

    6. Re:Go, Apple! by Highdude702 · · Score: 1

      Either... Unfortunately that sounds like most companies these days. Its hard out here in the streets of the interweb.

    7. Re:Go, Apple! by TheFakeTimCook · · Score: 1

      Apparently STILL the only phone OEM STILL looking out for the USER'S Privacy...

      Is that true?

      Does anyone know how Pixel stands up against like tools?

      Well, considering there isn't such a tool for Android phones, I'd say that is your answer.

    8. Re:Go, Apple! by Paradise+Pete · · Score: 1

      You can trust Apple. You know you want to trust Apple. Just do it.

      Of course you can't trust them. But you can distrust them less.

    9. Re: Go, Apple! by sg_oneill · · Score: 1

      It's an option. Some users prefer not to so as to parse backups for files. Or at least it used to be, not sure now

      --
      Excuse the Unicode crap in my posts. That's an apostrophe, and slashdot is busted.
    10. Re:Go, Apple! by AmiMoJo · · Score: 1

      Are there any high end phones that aren't encrypted by default now? Has anyone cracked the latest Galaxy S or Pixel phones?

      Apple is obviously the biggest target and thus gets the most attention from crackers.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    11. Re:Go, Apple! by pgmrdlm · · Score: 1

      Starting with iOS 4, Apple included a âoedata protectionâ feature to encrypt all data stored a device. But unlike Android, Apple doesn't use the full-disk encryption paradigm. Instead, they employ a file-based encryption approach that individually encrypts each file on the device.Nov 24, 2016

      https://www.google.com/search?q=does+android+encrypt+file+system&ie=utf-8&oe=utf-8&client=firefox-b-1

      --
      Anonymous comments are as pathetic as the anonymous "sources" that contaminate gutless journalism from the New York Time
    12. Re:Go, Apple! by TheFakeTimCook · · Score: 1

      Are there any high end phones that aren't encrypted by default now? Has anyone cracked the latest Galaxy S or Pixel phones?

      Apple is obviously the biggest target and thus gets the most attention from crackers.

      Doesn't that statement fly directly in the face of all you Slashtards CONSTANTLY crowing about how ANDROID has the most marketshare, and thus would also be the BIGGEST TARGET?

      You idiots are just like Trump: You'll say ANYTHING to advance whatever LIE du jour...

    13. Re:Go, Apple! by AmiMoJo · · Score: 1

      iPhones are the most common type of phone that law enforcement are likely to encounter, simply because there are so few models and they all share common software. After that it's probably Samsung Galaxy phones.

      Overall Android is the large majority of the market, but there are so many different handsets all with different techniques needed to unlock them, if it can be done at all...

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    14. Re:Go, Apple! by AmiMoJo · · Score: 2

      https://deviceatlas.com/blog/m...

      Top 9 best selling phones in the US are iPhones.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    15. Re:Go, Apple! by TheFakeTimCook · · Score: 1

      Starting with iOS 4, Apple included a âoedata protectionâ feature to encrypt all data stored a device. But unlike Android, Apple doesn't use the full-disk encryption paradigm. Instead, they employ a file-based encryption approach that individually encrypts each file on the device.Nov 24, 2016

      https://www.google.com/search?...

      Yep, that's an option in APFS, which iOS uses.

  2. Re:For now by bob4u2c · · Score: 2

    Exactly. You want a secure phone that nobody can hack, they don't exist!

    Whenever you save or do something on your phone, take a moment to think: can this be used against me? If it can, don't save or do it!

    And just to throw the police off create a bunch of files like "masterUSPlan.doc" with nothing but wombat images. Then when asked about the "wombats" you know they have dug into your phone and you can tell them all about how wombats have ruined your life.

  3. Re:Still pretty useful to police by Anonymous Coward · · Score: 1

    No, all "content" is encrypted. It's the meta data (file sizes, folder structure) that is unencrypted.

    No photos, videos, etc, are left unencrypted.

  4. Re: Still pretty useful to police by MachineShedFred · · Score: 3, Informative

    When you activate a PIN / Touch ID / FaceID it uses the computed has as an encryption key for the entire user filesystem. Everything gets encrypted, and has for years.

    --
    Slashdot still doesnâ(TM)t support Unicode after it was added to the HTML standard in 1997.
  5. Re: Still pretty useful to police by saloomy · · Score: 1

    No, not exactly. But close.

    Those hashes are used to reverse a hash of a master key for your system which unlocks the file system. That way, both that hash and your pin code work. You need a master key, and then your authentication vectors re-encrypt the master key. You therefore have multiple avenues of logging in and authenticating, because each way provides you with a key you can unlock

  6. Is GreyKey stopped at that level, that is question by SuperKendall · · Score: 2

    Actually, the article is likely a bit off about that. The iPhone uses encrypted APFS, you shouldn't be able to get much other than "yep, there's a file system there".

    What I was getting at is that I thought GreyKey was still getting past the basic whole file system encryption, but that it was stymied getting to individual app files that had been encrypted until the app opened...

    That's how I read it anyway, otherwise why even bother to mention GreyKey could "still access unencrypted files" if it couldn't even get to the filesystem? It implies it can see some files at all.

    Could just be bad wording on the part of the summary or article but the fact it mentions files makes me suspect it can still get into the filesystem.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  7. If I were a tech savvy terrorist by taustin · · Score: 2

    I'd be wondering right now whether they actually can't crack my iPhone, or if they're just saying that so that I will keep using it, thinking it's "safe."

    1. Re:If I were a tech savvy terrorist by Cmdln+Daco · · Score: 1

      MS-DOS isn't really good enough, because the communications has to sit somewhere on the machine queued up for the PGP program to encrypt.

    2. Re:If I were a tech savvy terrorist by stealth_finger · · Score: 1

      I'd be wondering right now whether they actually can't crack my iPhone, or if they're just saying that so that I will keep using it, thinking it's "safe."

      If I were a terrorist I wouldn't be keeping anything on my phone, i or otherwise.

      --
      Wanna buy a shirt?
      https://www.redbubble.com/people/stealthfinger/shop?asc=u
    3. Re:If I were a tech savvy terrorist by Dixie_Flatline · · Score: 1

      If you were a tech savvy terrorist, you would've started using a much longer passcode a long time ago. The system only worked quickly on 4-digit passcodes (6.5 minutes), and 6-digit codes were reportedly up to 11 hours, which is 660 minutes or 10 times longer. Even if we assume that simple pattern held (every 2 digits increases the time by a factor of 10), a 10 digit code would be 1100 hours or 45 days, and a 14 digit code would be 12.5 years. In all likelihood, the rate of increase was considerably worse than that.

      Really, this system only worked on complete dummies that were doing crime with a phone that just came out of the box. They deserved to get caught.

  8. Re:Still pretty useful to police by Anonymous Coward · · Score: 1

    For 6+ year, everything on iOS is encrypted all the time and you can't turn it off.

    All that changes is policy around how the key material is managed - some of that policy is mandatory access controls and some of it is discretionary.

  9. Re:Let's keep the bombers secure by fattmatt · · Score: 1

    LOL

  10. Already blocked since iOS 11.4.1? by manu0601 · · Score: 1

    I thought they already addressed Graykey in iOS 11.4.1

  11. Re:Welcome! by Cmdln+Daco · · Score: 1

    Only the people in charge use desktop computers, junior.

    Including the people who write the 'apps' they allow you to run on your little gadgets.

  12. Re:Is GreyKey stopped at that level, that is quest by tlhIngan · · Score: 2

    What I was getting at is that I thought GreyKey was still getting past the basic whole file system encryption, but that it was stymied getting to individual app files that had been encrypted until the app opened...

    That's how I read it anyway, otherwise why even bother to mention GreyKey could "still access unencrypted files" if it couldn't even get to the filesystem? It implies it can see some files at all.

    Could just be bad wording on the part of the summary or article but the fact it mentions files makes me suspect it can still get into the filesystem.

    That's because people assume GrayKey is a magical box that you plug in and have full access to the device. It's not even close to how it works.

    First, it basically does a tethered jailbreak - and injects a special app because of it. (Jailbroken apps have full access to the system - that's the original meaning of the "jailbreak" - the app could break out of the OS jail it was put in to run). This app uses those abilities to crack the device PIN. Once the PIN is broken you take the phone and connect it to a PC and use it download all the data.

    What happened now is Apple changed things around that it can no longer crack the PIN - so either Apple patched the flaw that lead to the jailbreak, or fixed things that the injected app can't do the PIN search anymore. Thus the injected app only has the permissions a regular app has and access to whatever the OS allows it. Those are the limited "unencrypted" files. Likely it also cannot access the screen and thus you cannot answer the "App wants permission to access photos" dialogs as well to access photos.

  13. Re:Still pretty useful to police by gnasher719 · · Score: 1

    No, all "content" is encrypted. It's the meta data (file sizes, folder structure) that is unencrypted.

    Everything is encrypted at least with a key built into the CPU, and a key stored on the flash drive. The key on the flash drive means that the whole iPhone can be erased in a millisecond by erasing that key. _Most_ things use the passcode as an additional key.

    Things that don't use the passcode are those that Apple wants to be available even if you don't unlock your phone. For example, you can _take_ photos without unlocking the phone, and those photos could be extracted until you unlock your phone and then they get encrypted. Photos taken while the phone is unlocked are encrypted immediately.

  14. Re:Is GreyKey stopped at that level, that is quest by gnasher719 · · Score: 1

    What I was getting at is that I thought GreyKey was still getting past the basic whole file system encryption, but that it was stymied getting to individual app files that had been encrypted until the app opened...

    Nobody ever got past the encryption. People managed to find the passcode - and if you have the passcode then you can unlock the phone and access all the files on it.

    Finding the passcode could be done in theory by trying out all passcodes. Apple prevents this or tries to prevent this by making you wait longer until you can try another passcode; more than an hour after ten attempts. Or you can set up your phone to erase everything after ten wrong attempts. _That_ protection is what they got around.

    But you can protect your phone: Trying a passcode takes 80 milliseconds _even if you got around any protection that Apple puts into place_. With a 6 digit passcode, that's a million combinations, it takes 80ms times a million to try all combinations, that's a bit less than a day. So you take ten digits, or eight letters and digits, and nobody can get in in your life time, independent of what Apple is doing.

    Of course what they are doing now makes sure that you cannot even crack a phone with a 4 digit code.

  15. Re: For now by StikyPad · · Score: 1

    Fuck, man, how did you know about the wombats??? Are you working for them? They're INSIDE THE HOUSE now. I can hear them in the walls. Nobody believes me!!

  16. Re:Is GreyKey stopped at that level, that is quest by SuperKendall · · Score: 1

    Thanks, I wasn't sure just what GreyKey was doing. Then I guess the idea they could "access unencrypted files" is just totally wrong, as there are none without a filesystem...

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  17. Re:But if they have physical access of the phone by andymadigan · · Score: 1

    I think the PIN/password is used to access the master key, which is kept in the Secure Element in the CPU silicon. The master key has far more possible values than the PIN - probably 256-bit. The Secure Element is presumably designed to make it impossible to directly extract the master key.

    So, when iOS wants to decrypt the hard drive it first has to retrieve the master key using the PIN.

    --
    The right to protest the State is more sacred than the State.