293 points · by gist · 10y ago · 204 comments
And that belief is based on what exactly?
Apple has being saying the opposite. Apple doesn't know it's own code? FBI knows it better.
Let's say that some attacker wants to create a compromised OS and install it on a certain device.
If apple never creates the compromised OS, they would need to hack into apple, get all of the source code necessary to build iOS, figure out how to build it, figure out how to modify it in the desired ways, how to get it installed on a phone, steal the crypto keys necessary to do the signing, and sign the bad build.
If apple has created the compromised OS, they would just need to hack into apple and get the compromised OS build, steal the crypto keys, and sign it.
The first scenario is a large-scale software engineering project. Anyone that's been given a large source dump will tell you that it's horrible and takes forever to do anything, and iOS is going to be absolutely huge and tricky. You'd need a large, highly trained team of security/OS devs, which is hard to come by and would be extremely expensive.
The second scenario could conceivably be done by a single hacker, if they can find vulnerabilities in apple's security.
Now, let's say that they have written it for some reason, but it is restricted to a single device id. Well, it's now a lot easier for the government to compel Apple to hack another phone, because they can creditably argue that all Apple has to do is change some string constant and re-sign the package. The burden of work is now much, much less than if the tool itself doesn't already exist.
Apple doesn't want to ever create the tool. If they have to create it for any reason, even if it starts out being locked to a single device id, they've lost the war.
Crackers broke copy protections for decades without having access to source code of protected games.
The only thing you would need is to have access to private key needed to sign the new code so that phone will accept it, but even that could be broken by hardware engineer.
Anyway the whole thing does not make much sense. Those shooters are already dead, they destroyed their private phones, this was a work phone, they already can access metadata (outgoing/incoming calls etc) from cell provider. FBI went public with this even though in their best interest would be to do it secretly. What does FBI expect in doing this publicly? Did they expect is to cheer for them and complain about evil Apple not helping to break evil terrorists' phone?
It doesn't make much sense... unless the real goal was to make people trust Apple more after Snowden's disclosures. Isn't interesting that Google, Facebook, Microsoft... every company which was previously involved in PRISM supporting Apple? Trusting them benefits both, the agencies and those corporations.
And if you can get around the digital signage, you don't need the compromised OS.
Conway's technical interpretation of the Apple deliverables is right. There's a legal precedent which could cause reuse (and is rightly matter for debate/utter refusal of the FBI position), but if you just debate the technical merits Apple has been very misleading about the consequences.
Wait three weeks or three months for the FBI to request n copies of the evil thing, tailored to each of the n phones it wants to open. Better still, wait for a few others to make similar requests. Now penetrate or impersonate a law enforcement agency of your choice and send Apple a routine request for the n+1th copy, tailored to the phone of your choice.
Once you have done that, the other steps are easy.
Comment out the function call. Change the number of allowed guesses to MAX_INT. Change the time increment to zero. Click build.
This is not a hard task!
Come to think of it, why aren't free market standard bearers rallying against this as government intrusion into market features?
I think what's coming out of this is that the Fbi is riddled with incompetence and inability to face modern threats, plus a silly hybris that is the foundation for silly strategical mistakes.
So by not signing any requests for that particular firmware hash, Apple can effectively neuter that firmware and make sure it's never installed anywhere but on the target phone.
The problem is though: If apple can be compelled to do this once, they can also be compelled to do this any other time.
Not turning over the encryption/signing keys would be followed up with jail time / contempt of court charges for any officers/developers/etc refusing to remand the keys into federal custody.
Also the FBI would want to use it on other phones as well. They might modify it themselves to work with other phones.
Seems just for a moment, because, via Reuters:
http://www.reuters.com/article/us-apple-encryption-congress-...
"FBI Director James Comey told a congressional panel on Tuesday that a final court ruling forcing Apple Inc (AAPL.O) to give the FBI data from an iPhone used by one of the San Bernardino shooters would be “potentially precedential” in other cases where the agency might request similar cooperation from technology companies."
"Manhattan District Attorney Cyrus Vance testified in support of the FBI on Tuesday, arguing that default device encryption "severely harms" criminal prosecutions at the state level, including in cases in his district involving at least 175 iPhones."
Still a good idea?
In the scenario you lay out, these security agencies are incapable of writing their own modifications to iOS, even though they possess the source to iOS.
Absolutely ridiculous. If they can steal the source and signing key, they certainly have access to the technical expertise to do it themselves.
I mean christ, exactly how complicated do you think this pin timeout logic is? If they can hire sufficiently skilled hackers, they can certainly hire sufficiently skilled developers.
The security of the system lies in the secrecy of the signing key. If they can meet that bar, they can surmount any other obstacle.
Which in the current world, is about as far from having an exploit as one can be. Digital signing works pretty well.
Think about this in the context of jailbreaking to understand why such a facility exists. Apple doesn't want users to install their own modifications to iOS, and they also don't want users to install old versions of iOS that have vulnerabilities that would allow people to modify the OS.
One way you could implement something like this is to have a public/private keypair within the device and have updates encrypted with the public key; then design the device to only run an OS that it could decrypt with its private key. To do this well, you would need a TPM that did not allow the private key to leave the device, nor to be reset.
if (unique_device_id != SAN_BERNARDINO_DEVICE_ID) {
halt();
}
If this code must be signed to execute then it can't be modified to work on another device without Apple signing it again.This assumes there's a unique device ID that is known to the FBI and can't be tampered with. Maybe the serial number or IMEI?
"Whatever the judge's decision is in California ... will be instructive for other courts, and there may well be other cases that involve the same kind of phone and the same operating system"
It's a little strange for him to dismiss the notion that this will set a precedent because it will just be for one phone and then imply that this case will set a precedent for other phones.
Here's the report that he confirmed the precedent:
"Comey told a congressional panel" "that a final court ruling" "would be “potentially precedential” in other cases where the agency might request similar cooperation from technology companies."
http://www.reuters.com/article/us-apple-encryption-congress-...
However, if they can be compelled to do this once for one phone, they can be compelled to do this many more times for as many phones as the FBI or everyone else wants.
I would say: Both are right in this case.
Apple would have to change some config files to unlock the other phones, resulting in new code.
I've written up a summary of the hearings at InfoQ here: http://www.infoq.com/news/2016/03/apple-fbi-congress
The general responses from Apple were that it wouldn't be possible to write this just for one phone; that once the FBiOS was available for one it would be available for any phone. Dr Landon also highlighted the fact that most people now use their phones as part of a two-factor authentication, and that the easiest way to break into a system (such as the IRS leak) is to compromise login credentials. The fear is, therefore, that once pandora's box is opened that the operating system would be installable on any device and thus potentially give access to any state actor to any account simply through device compromise.
The entire hearing was very well laid out, though in a few cases Apple's witnesses weren't quite as fluid as the FBI's.
The congress members have five days to ask additional questions, after which presumably a report will be made. More information is available at the House page here:
http://judiciary.house.gov/index.cfm/2016/3/the-encryption-t...
-Carl Sagan
There is a serious problem here. If you ask me any government official who forces a backdoor down the throat of a private company ought to be fired, yet he believes he should be fired if he DOESN'T do it.
There's a very big divide happening right now in the US. This is going to be a rough time.
Looking at it from the other angle, I think it's a bad precedent if the FBI were to refrain from pursuing an avenue which it believes it may have legal standing to pursue. At that point, it runs the risk of a downward spiral of second-guessing and apprehension.
What I do have a problem with is this little fucking PR parade Comey's going on to try to lobby the public against Apple in particular, and privacy and cryptography in general. He's been completely rhetorical this whole time, ignoring the fact that what he's asked for is a huge fucking deal, and forcefeeding "terrorism", "public safety" and other trigger words to get the public to rally behind something they couldn't possibly understand.
Make the request and shut your stupid mouth, Comey.
This ... creates certain elements of friction and pressure.
That's only true in a vacuum. In reality, every tinpot tyrant on the planet would like to have the US set a low bar so they can insist that US tech companies agree to their similar demands.
Upholding the Constitution is basically your primary job responsibility in Law Enforcement and the Military. No other duty should supercede that duty.
You are correct that law enforcement does not provide the authoritative interpretation of the Constitution, but you seem to imply that they should operate under ignorance of the Constitution. This is wrong.
Law enforcement must have an understanding of the Constitution, and they must uphold it. For example, it's a dereliction of duty to always argue that any search is reasonable.
I [name] do solemnly swear (or affirm) that I will support and defend the Constitution of the United States against all enemies, foreign and domestic; that I will bear true faith and allegiance to the same; that I take this obligation freely, without any mental reservation or purpose of evasion; and that I will well and faithfully discharge the duties of the office on which I am about to enter. So help me God.
Its already not merely a firing offense but a federal felony for law enforcement officers and other public officials, but the FBI is the lead agency enforcing that law, so its probably unlikely to be as effectively enforced when the Director of the FBI is involved. [0]
[0] https://www.fbi.gov/about-us/investigate/civilrights/color_o...
For example, the 4th Amendment protects against "unreasonable" search and seizure. There is a lot of leeway in what is or isn't reasonable.
If you believe in the system you should be glad it is going to the courts - it is the job of the judicial branch to interpret the law. And however it comes out will be a precedent for the future.
Let's take this on face value. He's suggesting POTUS would fire him for not fighting for backdoors, when POTUS has publicly come out against backdoors. So what is going on here?
I suspect Comey is just a fucking idiot. He's one of these old school guys who thinks LE should have an endless war on the citizenship. I suspect we're destined to have this fight every so often, and from a more practical perspective, not every company is Apple or has the financial and political power Apple has. How many others have agreed to the terms Comey demands? Perhaps many.
Some people (Comey) believe that what is said in public has no value? Or that those same people might instead believe that the POTUS is not their boss...
I'd argue that he's being intentionally deceptive. For example, he testified* that "he's not a good lawyer", when in fact he served as the Deputy Attorney General during the Bush administration.
* http://www.motherjones.com/mojo/2016/02/james-comey-ducks-mo...
I hate this kind of willful ignorance. That update, if properly signed, will work on similar phones. The software is distinct from the signing and it's the software that Apple doesn't want to create.
Or maybe Comey believes that every time his phone is updated, an engineer in Cupertino lovingly arranged the bits for him.
> "Apple has created a technology which is default disk encryption. It didn't exist before. It exists now. Apple is now claiming a right of privacy about a technology that it just created. That right of privacy didn't exist before Apple created the technology." [1]
Wrong. The first and fourth amendments grant rights to privacy. The exact transcripts of what we say in the privacy of our homes, prior to a warranted wiretap or without witness testimony, are not the subject of law enforcement's investigation. Our entire history of digital communications should not be open for government surveillance. It would be overreach to try to implement, and anyway it is impossible to guarantee without destroying the US tech industry and turning us into a big brother state.
There really isn't a fourth amendment issue.
I do still disagree with the District Attorney's statement. We can write something on a piece of paper and burn it, or think something in our heads, and keep it private. That this is now possible with digital communications via encryption is not a new right, it is simply a new means to protect that right. Further, Apple didn't invent encryption, and this statement further shows how little the DOJ understands about technology.
Wait, is he actually arguing that the right of privacy didn't exist until a few years ago? There's literally decades of precedent, including digital precedent, for a right to privacy.
What's at stake here is the power of government to compel testimony. They already have the phone, but they lack the power to compel its unlocking.
That's not how rights work.
I'm not saying criminals don't deserve rights. In fact, what's at stake here is that the Fifth Amendment does protect a mass murderer from revealing his passcode, so I'm not sure what you and all these downvoters are going on about. If criminals didn't have rights there wouldn't be an issue here.
If the passcode on the phone were crackable, it would be absolutely 100% legal to search it. And that kind of thing happens routinely. The issue at stake is not searching the phone, but compelling Apple to help with the search.
It also amazes me he thought it was a helpful metaphor to say that the FBI doesn't want a backdoor, just for Apple to take the “vicious guard dog away” and “let us pick the lock.” I think every American would prefer having a guard dog protecting their personal property and data than just let these liars pick the lock.
The reality is that he is asking Apple to weaken the front-door to the point where an average attacker can open it with a paper clip.
They [Apple] sell phones, they don't sell civil liberties, they don't sell public safety, that's our business to worry about. [1]
He thinks public safety is entirely his domain and private companies cannot help people keep themselves safe. That's as bad as "self-made" business owners who cannot see that roads and infrastructure helped make their businesses successful and cry socialism whenever taxes are levied.
You know, the sad part about this (paraphrased) quote is that it'll probably be used as justification by the California court system to rule on this case specifically rather than on the circumstance more broadly. I wonder if that's Comey's strategy in admitting the error.
"We are a rule-of-law country. The FBI is not cracking into your phone or listening to your communications except under the rule of law," says Comey (1:37). I suppose that's the NSA's job...
Truly, I'm getting weary of all the nearly-identical news of Uncle Sam's assault on digital privacy. If the strategy is to desensitize and wear down the US populace, it's working.
I can't understand why Apple are fighting this. They're essentially forcing the government into resorting to legal mechanisms that will have longer term impacts.
It's pretty clear to nearly everyone that this phone belonged to someone who committed a terrorist attack. The data on it may prove useful in preventing future attacks. If Apple were being cooperative, they could create the mechanism to get the data off the phone, have the FBI hand over the phone so they could do that for them, (optionally) delete that version of the OS if there's a problem with it even existing, and no legal precedent would be set. The question of whether the FBI should be able to compel them wouldn't arise, because they would have been cooperating off their own accord.
If the FBI asks them to do this to the iPhone of someone who is more likely to be innocent, perhaps then this debate should be had. For now, they have the means, can do it without setting a precedent, have a pretty good reason to do it, and can do it in isolation. They should just do it, in my opinion.
The data on it may also not prove useful in preventing future attacks. Especially as it was a person's business (not primary) phone.
The other issue here is that this will only grant safety insofar as terrorists don't do math or encryption themselves - and that could be through an app that they write or a foreign made android phone where they lock the bootloader with their own code signature.
Besides, once the software exists and is signed by Apple, it's very hard to prove that all copies have been deleted.
Proving all copies are gone isn't possible; you can't prove non-existence. Ensuring extreme unlikelihood seems relatively straightforward, though. Make fewer copies, trusted personnel only, isolate the development to a particular location with no network access, etc. Naturally there'll be a risk that a copy survives, just as there's a risk that a contingent of rogue Apple employees are already working on it for the FBI.
From a security risk standpoint, Apple's arguments are fairly weak. They argue that this binary could potentially be leaked and used on other phones, but this would not be possible if they implement the solution I have already stated. Maybe an adversary could infect an OS with this code using a security vulnerability, but if they can do that then there are worse things they could already do. The best argument I have seen is that doing this will result in Apple trying to comply with requests from the government in bulk, and in doing so create an environment in which Apple signs many copies of this firmware on a much more frequent basis, an environment which would put their signing key at greater risk. Again they would not need to do this in this case if they fixed the authentication problem.
Apple keeps trying to construe this as a backdoor but it isn't really a backdoor. It is a security vulnerability in Apple's security architecture and it is fixable. If Apple keeps pushing the backdoor issue then Congress may legislate on backdoors or the courts may make a decision on them, and likely not in our favor in this case.
This is not the right battlefield for Crypto Wars 2.0. This is a high profile and emotionally driven case with a mass shooting in which much of the public will side with the FBI simply on this fact alone. The phone is the property of the government, the gunman is dead and all of these facts work in the FBI's favor. We should be fighting this on our terms and not the FBI's.
Rep. Sessenbrenner was correct when he told Apple's lawyer during the hearing that "you are not going to like what will come out of Congress on this". If any legislation is passed we will most likely be in a worse situation than we are in now. The best thing Congress could do on this issue is nothing at all. And Apple is pushing them to take action.
The issue here isn't the reusability of the technology—the issue is the reusability of the legal precedent. And this is certainly a very scary precedent to set!
http://www.reuters.com/article/us-apple-encryption-congress-...
"Manhattan District Attorney Cyrus Vance testified in support of the FBI on Tuesday, arguing that default device encryption "severely harms" criminal prosecutions at the state level, including in cases in his district involving at least 175 iPhones."
(2)The FBI wants 3 things: disable 'erase after 10', disable delay between attempts, create possibility to enter PINs programmatically so they can be brute forced.
(1) If this would be created, criminals/terrorist could easily defeat this by (instead of 6 digits) enabling alphanumeric passwords and creating strong passwords that cannot be brute forced (which isn't even a usability problem since you can easily unlock your iPhone with your fingerpint most of the time.)
So the end result of (2): security is lowered for 99% of all people (innocent) and criminals/terrorist (1%) can still easily avoid being caught by this measure.
Any iPhone <5 running iOS <8 is comically exploitable. This should drive home the point that as time progresses, older vulnerabilities become easier to exploit, so that leaving them unpatched becomes irresponsible.
If the FBI asks Apple to create new software to grant the FBI the ability to unlock the phone, they are effectively asking Apple to exploit a vulnerability in their software. By definition, Apple will know that vulnerability exists. In the "arms race," when Apple identifies a vulnerability, they fix it. In this case, when Apple identifies the vulnerability, will the FBI allow them to fix it? Or would the FBI prefer that Apple have a responsibility to "maintain" the vulnerability and ensure it remains exploitable?
I skipped around the video. I mostly saw support for Apple, with a few exceptions, one being Mr. Sensenbrenner.
Mr. Sensenbrenner, a House republican of Wisconsin, asked Apple what legislation they would support, and Mr. Sewell, Apple's general counsel, said they support debate on the subject [1]
The congressman was clearly bullying Mr. Sewell here and using his position as congressman to make it appear as though Apple is not being agreeable. Well, encouraging debate before writing one-sided legislation sounds like great teamwork to me.
The congressman should have been reminded that not supporting new legislation is a valid position, and that every problem we face need not be solved with new laws.
Perhaps Mr. Sewell is trying to be respectful to the congressman. But I think he should not shy from responding in kind. Treat others as they treat you. No one will judge you for it. I think Apple missed an opportunity here to say they do not feel new legislation is needed, since guaranteeing back doors into devices would be an abridgement of consumers' right to privacy, and Apple's right to create safe products for consumers as it sees fit.
Overall though this seemed like a productive session.
Mr. Gowdy, a House republican of South Carolina, also bullies Sewell in the same manner [3], literally asking Apple to lobby for legislation.
In other words he is saying, get some lobbyists, do my work for me, pay for my next election campaign and solve your own problem. I don't know how you could be more blatantly obvious about being a corrupt, useless politician.
[1] https://youtu.be/g1GgnbN9oNw?t=3h59m30s
EDIT transcript here, though no speaker names are given and quotes are cut short
[2] http://www.c-span.org/video/?405442-1/hearing-encryption-fed...
[3] https://youtu.be/g1GgnbN9oNw?t=4h36m35s
EDIT list of participants:
[1]http://digiday.com/publishers/wall-street-journal-paywall-go...
Some sites refuse to serve content if an adblocker is installed.
So there is a lot of subscription models with some websites that try to force people to pay for articles. It is not that they don't want you to read, they want you to pay to read.