235 points · by miles · 6y ago · 137 comments
https://www.forbes.com/sites/thomasbrewster/2020/01/15/the-f...
(to be clear: if Forbes handled their ads on their own or used ad networks that invest in the security of their platform, I'd actually probably bite the bullet, but if I visit the site on mobile and end up being redirected to another "your phone is infected!" ad exploiting their current provider... I'll keep steering clear without ublock enabled.)
Image copy of the article for the interested.
So basically bad actors are hijacking the ad network that Forbes is using because it's a poorly secured ad network.
I didn't realize that was what was going on but that explains a great deal.
And the "long been used" is IMHO a tad bit exaggerated, it came out in the first months of 2018, and - set aside the FBI and whatever other US three or four letter government agencies, it is not likely that US$ 15,000 or US$ 30,000 is something that any police department has in a drawer and can spend instantly, more probably it has taken at least a few months for everyone to get the expense authorized:
https://www.forbes.com/sites/thomasbrewster/2018/03/05/apple...
No idea on volumes of sale or how many departments got one, in either the "online" or "offline" version, but by now - if it was "widely" used - I presume we would have a lot of evidence based on unlocked iPhones in trials.
I wish that were true. Police in any small town in America could start at lunchtime and have that amount by nightfall. Let me introduce you to "civil asset forfeiture" ( https://www.heritage.org/research/reports/2014/03/civil-asse... )
There are state and federal version of this, and a "sharing" program to share the loot. It's pure corruption in blatant violation of the US Constitution, but it's good for government/police business (e.g. buys a lot of helicopters, tactical/swat equipment, training, etc.) so it persists.
I don't know, I simply have no idea of the number of device units of the Gray thingy sold, and how much they could have been used, and as well I have no idea on how many crimes involve the access to a (password protected) iPhone, but unless (yet another piece of data I have no idea about) all suspects either use an Android (or however non-iPhone) or give to the police access to the device without need to "crack" the access code, they should be non-trivial amounts.
I mean, I understand that it is a fraction (going to trial) of a fraction (criminal cases involving a phone) of a fraction (suspects not providing access to the device) of a fraction (suspects using specifically an iPhone), still the ubiquity of iPhones and the large number of criminal cases should anyway result in tens or hundreds, while we have AFAICT none or maybe a few actually documented/published about.
The declining of local reporting may be indeed another factor, but there would certainly be lawyers making a fuss (right or wrong) about this or that right violated through the use of this or similar tool.
The contract with ICE:
https://www.forbes.com/sites/thomasbrewster/2019/05/08/immig...
is likely to produce no public court records, just like many national agencies, still the sheer fact that not a single actual court record of its use can be found (at least by me) could mean that the device is not used that much by local police, a few cases should have been brought to the attention of the public.
[0]: https://techpinions.com/apples-penchant-for-consumer-securit...
If they do, why would they reveal it for something as 'basic' as a single attacker? Or they may have broken it, and simply 'reverse engineered' the path to evidence with public means:
* https://en.wikipedia.org/wiki/Parallel_construction
Agencies don't want to reveal means and methods if they don't have to.
Does this mean. There's a new unpatched exploit out there that greykey is using?
[1] https://blog.elcomsoft.com/2019/09/usb-restricted-mode-in-io...
I wouldn't blame them for any lack of success. Perhaps instead blame them for suggesting to the user physical security is possible at all.
The hard part is trying to defend a physical device in the hands of an attacker while using a simple 6-digit passcode.
Apple has chosen to run a ton of code inside the secure enclave, and bugs from that are on them.
This is potentially a quite difficult problem IMO
If you assume the device is off and the user chose a strong password, it's pretty easy to defend. You simply encrypt the data with a key which is encrypted with the user's password.
If you want to protect devices that are on, or want to protect devices with less than stellar passwords, then it becomes harder.
It is often more secure to generate a random, high-entropy key and storing it in secure storage, which is what the iPhone does.
When was the last time a regular person turned their phone off? Not counting reboots or out of battery incidents I'm going to guess not since it was purchased.
I suppose if you assume the user never puts data on the device, it also becomes easier.
Yep, and if it gets hacked, then all you need to do is change your fingerprints.
Let’s not sing the requiem for their security team just yet.
>GrayKey is not for everyone. We kindly request that you tell us a bit about yourself and your organization.
This feels like its begging for DMCA litigation, but its likely Apple already knows how and why GrayKey works. Keeping GrayKey around serves apple as law enforcement has (for now) an easy means of hacking some iphones at an entry cost, while permitting Apple to continue insisting their phones are just too secure to help hack.
How? If the FBI can get into someone's iPhone with their magic box and you can read about it in the news, how can Apple convince people that the iPhone is "too secure"?
It can't do anything for FaceID, TouchID or alphanumeric passcodes.
https://appleinsider.com/articles/18/04/16/researcher-estima...
4 digit = less than 15 minutes 6 digit = less than 24 hours 8 digit = less than 92 days
Besides those estimates, other sources talk of 4 digit = a couple of hours 6 digit = some three days
https://blog.malwarebytes.com/security-world/2018/03/graykey...
even if those could be "lucky" events.
The "clever" bit, according to reports is that the procedure "frees the device", i.e.:
1) you connect the iPhone to the Graykey
2) Graykey does something in a few minutes
3) you disconnect the iPhone and it is the phone itself that in due time unlocks itself
Which plainly means that several devices can be processed per hour (and then kept on a shelf, connected to a power supply as long as it is needed).
It’s probably using some kind of exploit to upload a custom ramdisk (similar to jailbreaks). Except, unlike jailbreaks, it doesn’t jailbreak the device, but instead tests the passwords.
What’s also interesting is that the Secure Enclave (which holds the encryption key) is supposed to enforce the 10 password limit, so they’re doing something really clever here.
It's much more likely that a marketing-driven product development culture would lie to its customers than it is that Grayshift engineers have compromised the SEP itself. Researchers have been "compromising" HSMs by standing on its external signaling implementation rather than the chip itself for decades, now.
Apparently GrayKey can't crack long passwords, since it's essentially brute-forcing, but almost everyone I know uses a four-digit code.
Also, this is troublesome because in the US, we're told that cops can force you to hand over your fingerprint but not your passcode. It's a bit problematic if those passcodes are easy to crack.
It's not settled law that you can't be compelled to provide a passcode. In general, the 5th Amendment prohibits compelled testimony that is incriminating. Disclosing a password to your own phone is usually not per se incriminating. Contrast that with disclosing a password to a device you're accused of hacking, where showing knowledge of the password is evidence of guilt. Many (most?) courts haven't yet been prepared to defend such a fine distinction, and seem to be more comfortable with a simpler rule that prohibits compelling password disclosure, period. But that could easily change, especially at the Supreme Court.
That's why my passcode is always "I murdered her, officer".
Even 4 digits could be enough, given that iOS enforces (very long) delays after a few failed attempts.
That's just a guess though, it could be far more complex than that
The most obvious possibility is that Apple can one day succeed and iPhone will be uncrackable by these tools.
Can it be that Greykey is just a relabeled Chinese unlock box made to crack the lock screen?
Lots of things are illegal without a warrant or without some other legal requirement.
The FBI breaking encryption in a legal investigation is not illegal.
isn't it the other way around?
I can probably think of hundreds of places you can still do it and it's not illegal. Some examples: in school classes to learn, at home for practice, researchers attacking each others new algorithms, estate clearance to get dead person assets released, for interoperability in may cases, for archiving old things in many cases, and on and on.
In fact, almost any place I can think of where I might break encryption (which I have done both as a hobby and professionally and as while a PhD student) is perfectly legal. It becomes illegal when used to do something else illegal, like violating copyright, or stealing things.
So no, breaking encryption is not illegal as a whole.
Here, break this: Lbh qvqa'g oernx gur ynj.
doesn't mean Apple has to accommodate
With an iPhone, any storage you can access with physical access is going to be encrypted. The encryption key lives in the secure enclave, which you do not have access to even with physical access, barring drastic measure like trying to take chips apart and scanning their contents, which may or may not be feasible at all.
What still may be possible is bugs and exploits, but that's up to whether you are lucky enough to have one that works against a particular phone and firmware.
If I wanted to hide an important piece of information, I guess I'd find a physically obscure and secured playce, like a hidden safe or whatnot. But I wouldn't trust crypto, no matter if the key were placed in a "secure enclave" (haha), or not.
The idea of a Secure Enclave has existed for years in the form of Chip-and-PIN bank cards. Before that HSMs are built on the same principle (a bank card I just a tiny HSM).
Of this works on the principle that it’s very hard to reverse engineer silicon, and that you can make it harder by creating silicon designs that deliberately obfuscate their purpose.
End result is a piece of hardware that very difficult to take apart with irreversible damaging it, and destroying the data in the process. The attack itself would also require an extremely high level of skill.
Ultimately no security is perfect, it’s not meant to be. Security is just meant to skew the effort-reward equation enough that no one can be bothered to break into your thing.
Citation needed.
> If I wanted to hide an important piece of information, I guess I'd find a physically obscure and secured playce [sic], like a hidden safe or whatnot.
That's just basic threat assessment. Obviously if you have a chunk of data that's really sensitive, it would be best to "air gap" it from the internet.
> But I wouldn't trust crypto, no matter if the key were placed in a "secure enclave" (haha), or not.
Please review Apple's "Apple Platform Security" document before continuing to comment. [1]
[1] https://manuals.info.apple.com/MANUALS/1000/MA1902/en_US/app...
Every phone ever sold can have its internal data read, it's not a case of if but when. This also applies to every HDD, SDD and any encryption software you may be using, it will be cracked eventually.
Just because the FBI pay $$$$ per unlock, doesn't mean the marginal cost to the supplier is $$$$, that could just be GrayKey trying to cover the $$$$$$$ they paid for an exploit, and make some profit.
Right now they are using USB to gain access to the device. There is nothing stopping an attacker from actually prying open the device and fitting alternative components that can bypass security. Consoles are cited as an example of an unhackable device, which is not true. Consoles were designed to be unhackable by cheap mass-market methods but a determined hacker can still do it, just that he will have to spend more to do it than the cost of a new console. The hacker in this scenario is FBI with a lot of money and resources with the physical device in their custody. I doubt if FBI is going to lose the ability to hack devices anytime soon.