The OPM Hack Is One Big Reason Apple Couldn’t Guarantee Its Ability to Keep FBiOS Safe

Underlying the legal debate about whether the government can demand that Apple write an operating system that will make it easier to brute force Syed Rizwan Farook’s phone is another debate, about whether the famously secretive tech company could keep such code safe from people trying to compromise iPhones generally.

The government asserted, in its response to Apple’s motion to overturn the All Writs Act order, that Apple’s concerns about retaining such code are overblown.

[C]ontrary to Apple’s stated fears, there is no reason to think that the code Apple writes in compliance with the Order will ever leave Apple’s possession. Nothing in the Order requires Apple to provide that code to the government or to explain to the government how it works. And Apple has shown it is amply capable of protecting code that could compromise its security. For example, Apple currently protects (1) the source code to iOS and other core Apple software and (2) Apple’s electronic signature, which as described above allows software to be run on Apple hardware. (Hanna Decl. Ex. DD at 62-64 (code and signature are “the most confidential trade secrets [Apple] has”).) Those —which the government has not requested—are the keys to the kingdom. If Apple can guard them, it can guard this.

Even if “criminals, terrorists, and hackers” somehow infiltrated Apple and stole the software necessary to unlock Farook’s iPhone (Opp. 25), the only thing that software could be used to do is unlock Farook’s iPhone.

That’s explicitly a citation to this passage from Apple’s original motion.

The alternative—keeping and maintaining the compromised operating system and everything related to it—imposes a different but no less significant burden, i.e., forcing Apple to take on the task of unfailingly securing against disclosure or misappropriation the development and testing environments, equipment, codebase, documentation, and any other materials relating to the compromised operating system. Id. ¶ 47. Given the millions of iPhones in use and the value of the data on them, criminals, terrorists, and hackers will no doubt view the code as a major prize and can be expected to go to considerable lengths to steal it, risking the security, safety, and privacy of customers whose lives are chronicled on their phones.

In pointing to that passage, DOJ ignored the first passage in the Apple motion that addresses the danger of hackers: one that notes the government itself can’t keep its secrets safe as best exemplified by the Office of Personnel Management hack.

Since the dawn of the computer age, there have been malicious people dedicated to breaching security and stealing stored personal information. Indeed, the government itself falls victim to hackers, cyber-criminals, and foreign agents on a regular basis, most famously when foreign hackers breached Office of Personnel Management databases and gained access to personnel records, affecting over 22 million current and former federal workers and family members.

By arguing that Apple can keep its secrets safe while ignoring the evidence that the government itself can’t, the government implicitly conceded that Apple is better at keeping secrets than the government.

Of course, it’s not that simple. That’s because the millions of private sector employees who play a role in the secretive functions have clearances too. They were also compromised in the OPM hack. Thus, by failing to keep its own secrets, the government has provided China a ready made dossier of information it can use to compromise all the private sector clearance holders, in addition to the government personnel.

Which is why — in addition to his comment that it was “not reasonable to draw such a conclusion [that hackers could not hack iPhones from the lock screen] based solely on publicly released exploits” — I find this passage from Apple Manager of User Privacy Erik Neuenschwander’s supplemental declaration, submitted to accompany Apple’s reply, to be rather pointed.

Thus, as noted in my initial declaration (ECF No. 16-33), the initial creation of GovtOS itself creates serious ongoing burdens and risks. This includes the risk that if the ability to install GovtOS got into the wrong hands, it would open a significant new avenue of attack, undermining the security protections that Apple has spent years developing to protect its customers.

There would also be a burden on the Apple employees responsible for designing and implementing GovtOS. Those employees, if identified, could themselves become targets of retaliation, coercion, or similar threats by bad actors seeking to obtain and use GovtOS for nefarious purposes. I understand that such risks are why intelligence agencies often classify the names and employment of individuals with access to highly sensitive data and information, like GovtOS. The government’s dismissive view of the burdens on Apple and its employees seems to ignore these and other practical implications of creating GovtOS.

From the briefing in this case, we know that Neuenschwander was part of the then-secret discussions about how to access Farook’s phone before DOJ started leaking to the press about an impending AWA order. That means he almost certainly has to have clearance (and may well deal with more sensitive discussions related to FISA orders). We also know that he would be involved in writing what he calls GovtOS. You would have to go no further than Neuenschwander to identify a person on whom China has sensitive information that would also have knowledge of FBiOS (though there are probably a handful of others).

So he’s not just talking about nameless employees when he talks about the burden of implementing this order. He’s talking about himself. Because of government negligence, his own private life has been exposed to China. And, in part because DOJ chose to conduct this fight publicly, his own role (which admittedly was surely known to China and other key US adversaries before this fight) has been made public in a way NSA’s own engineers never would be.

FBI’s request of Apple — particularly coupled with OPM’s negligence — makes people like Neuenschwander a target. Which is why, no matter how good Apple is at keeping their own secrets, that may not be sufficient to keeping this code safe.

Marcy has been blogging full time since 2007. She’s known for her live-blogging of the Scooter Libby trial, her discovery of the number of times Khalid Sheikh Mohammed was waterboarded, and generally for her weedy analysis of document dumps.

Marcy Wheeler is an independent journalist writing about national security and civil liberties. She writes as emptywheel at her eponymous blog, publishes at outlets including the Guardian, Salon, and the Progressive, and appears frequently on television and radio. She is the author of Anatomy of Deceit, a primer on the CIA leak investigation, and liveblogged the Scooter Libby trial.

Marcy has a PhD from the University of Michigan, where she researched the “feuilleton,” a short conversational newspaper form that has proven important in times of heightened censorship. Before and after her time in academics, Marcy provided documentation consulting for corporations in the auto, tech, and energy industries. She lives with her spouse and dog in Grand Rapids, MI.

9 replies
  1. bloopie2 says:

    Tremendous post. I’d love to see the Magistrate ask the DOJ lawyer, at oral hearing: “If two years from now China blackmails an Apple employee on the basis of information that China obtained by hacking you, should that employee sacrifice himself and his family in order to keep this code secret – all because you could not keep him a secret? Yes or no, counsel — there is no other choice. I’ll wait.”

    • bloopie2 says:

      Ah, crap, my comment of “Yes or no, which will it be – I’ll wait.” Must have been inspired by Meat Loaf’s “Paradise By the Dashboard Lights”. He gave in to her, of course, saying “I’ll love you ‘til the end of time”. We all know what happened next – “So now I’m praying for the end of time, so I can end … my … time … with … you.”

  2. Frit says:

    But don’t the arguments that Apple can’t keep GovtOS save apply to _all_ of Apple’s IP – specifically the “keys to the kingdom”? Mutatis mutandis and all that. This is not an argument for weakening encryption, but for strengthening it, because there is no IT security without it and without IT security, the whole ecosystem is at risk.

    Apple, by posing as immune (to the 2nd law of thermodynamics, apparently) confuses the issue – if they can provide absolute security for anything, they can provide it to GovtOS, which they can’t. So Apple with its marketing and posturing confuses the issue.

    As a side note, if Apple weren’t basically a bad actor in many ways (tax avoidance, labor practices, monopolist) the case wouldn’t be such a mess.

    From whence came the saying “bad cases make bad laws”?

  3. blueba says:

    “provided China a ready made dossier”

    Does emptywheel have conclusive evidence that China hacked the OPM? If so could you share said information – which should show conclusively that the hacker was in fact “China” which could mean anything I guess it’s a huge country with 1.4 billion people – do they act as a monolith? Or are you referring to the Chinese government in which case your evidence will also conclusively show that Chinese government operatives were the hackers.

    Otherwise this is yet another example of a long string of anit-China possibly raciest comments on this blog.

    • emptywheel says:

      Why would it be racist to suggest the Chinese pawned the USG government, skillfully, over the course of years? It would, instead, be suggesting they’re as close to a match to the US as there is, which also engages in large-scale theft, often by hacking.

  4. Rayne says:

    blueba (1:52) — You’re asking the wrong source. Ask PRC contacts about this article: Chinese government has arrested hackers it says breached OPM database | Washington Post, 02-DEC-2015

    This: “long string of anit-China possibly raciest comments”
    Already did the count for you once before about the relatively small number of articles in which China as a country has been featured compared to other countries. This site has done relatively few considering the size of impact China’s foreign policy and economics have on the U.S.

    As for “possibly raciest comments”: bullshit. This article mentions China as a country, and yes, there’s just the PRC as a monolith. No mention of Chinese people by race here, and as a person of Chinese (specifically Han) heritage myself, I would take issue with it if it were.

Comments are closed.