{"id":5638,"date":"2016-02-17T09:20:13","date_gmt":"2016-02-17T14:20:13","guid":{"rendered":"http:\/\/www.zdziarski.com\/blog\/?p=5638"},"modified":"2016-03-15T08:52:02","modified_gmt":"2016-03-15T13:52:02","slug":"tldr-apples-technical-capabilities-under-fbi-awa-order","status":"publish","type":"post","link":"https:\/\/www.zdziarski.com\/blog\/?p=5638","title":{"rendered":"tl;dr technical explanation of #ApplevsFBI"},"content":{"rendered":"<ul>\n<li>Apple was recently ordered by a magistrate court to assist the FBI in brute forcing the PIN of a device used by the San Bernardino terrorists.<\/li>\n<li>The court ordered Apple to develop\u00a0custom software\u00a0for the device that would disable a number of security features to make brute forcing possible.<\/li>\n<li>Part of the court order also instructed Apple to design a system by which pins could be remotely sent to the device, allowing for rapid\u00a0brute forcing while still giving Apple plausible deniability that they hacked a customer device in a literal sense.<\/li>\n<li>All of this amounts to the courts compelling Apple to design, develop, and protect a backdoor into iOS devices.<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<p>Firmware signing\u00a0capabilities:<\/p>\n<ul>\n<li>Apple has firmware signing capabilities for all of their devices, and are the only ones in the world that can boot custom software without exploiting a device. This also requires an authorization ticket from Apple&#8217;s\u00a0servers in order to authorize the code to load onto a device.<\/li>\n<li>Firmware updates run as a RAM disk on iOS devices, which is similar to booting off of a USB stick.<\/li>\n<li>Apple <em>can<\/em>\u00a0write a custom RAM disk (as a &#8220;SIF&#8221;), sign it, and boot it on any iOS device from restore or DFU mode to run from memory.<\/li>\n<\/ul>\n<p>Security\u00a0capabilities:<\/p>\n<ul>\n<li>A7 chips have moved the backoff (delay) and retry count\u00a0for passcode\u00a0attempts into the &#8220;Secure Enclave&#8221; (SEP), which is a coprocessor inside newer devices, however this can be updated (or &#8220;flashed&#8221;) by Apple in its present form to remove these features.<\/li>\n<li>The iPhone 5c does not have the new A7 chip, and therefore does not have a Secure Enclave, so the PIN delay is software-based and can be easily disabled anyway.<\/li>\n<li>The mechanism that wipes after 10 failed attempts appears to still be software based on all devices, and could be disabled on any device.<\/li>\n<\/ul>\n<p>Alternative methods:<\/p>\n<ul>\n<li>A number of alternative methods exist, some of which are believed to be feasible alternatives that can be performed without Apple&#8217;s assistance.<\/li>\n<li>The All Writs Act includes\u00a0a &#8220;necessity&#8221; prong that insists an order can only be granted if it is the only way to achieve a certain task.<\/li>\n<\/ul>\n<p>Summary:<\/p>\n<ul>\n<li>Apple can, on a technical level, comply with the court&#8217;s order to brute force the PIN on an iPhone 5c.<\/li>\n<li>Forcing Apple to develop a forensics tool is not the only feasible method available to access the content on the device in question.<\/li>\n<\/ul>\n<p>Editor&#8217;s\u00a0Notes<\/p>\n<ul>\n<li>The only reason it is possible to decrypt this information at all is because the subject chose a weak (numeric) passcode instead of an alphanumeric passcode. Choosing\u00a0a complex, alphanumeric passcode is computationally\u00a0infeasible to brute force, regardless of any backdoor compelled by the government. Apple uses the PBKDF2 key derivation function, which involves a\u00a0mathematically dependent\u00a080ms delay to compute a key, controlled by encryption routines that are bound to the hardware. As a result, it would take six years just to brute force a six digit alphanumeric key, and exponentially\u00a0more time for longer keys.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<ul>\n<li>Apple was recently ordered by a magistrate court to assist the FBI in brute forcing the PIN of a device used by the San Bernardino terrorists.<\/li>\n<li>The court ordered Apple to develop\u00a0custom software\u00a0for the device that would disable a number of security features to make brute forcing possible.<\/li>\n<li>Part of the court order also instructed Apple to design a system by which pins could be remotely sent to the device, allowing for rapid\u00a0brute forcing while still giving Apple plausible deniability that they hacked a customer device in a literal sense.<\/li>\n<li>All of this amounts to the courts compelling Apple to design, develop, and protect a backdoor into iOS devices.<\/li>\n<\/ul>\n<p><a class=\"read-more\" href=\"https:\/\/www.zdziarski.com\/blog\/?p=5638\" title=\"Read More\"> <span class=\"button \">Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,16,14],"tags":[],"class_list":["post-5638","post","type-post","status-publish","format-standard","hentry","category-apple","category-politics","category-security"],"_links":{"self":[{"href":"https:\/\/www.zdziarski.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zdziarski.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zdziarski.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zdziarski.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zdziarski.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5638"}],"version-history":[{"count":0,"href":"https:\/\/www.zdziarski.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/5638\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zdziarski.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zdziarski.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zdziarski.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}