Strawhorse: Attacking the MacOS and iOS Software Development Kit
Open PDFDocument date: 2012-01-01
Pages: 1
Genre: wiki
Classification: SECRET
Dissemination: NOFORN
Abstract from the 2012 CIA Trusted Computing Base Jamboree, presented by Sandia National Laboratories, describing successful modification of Apple's Xcode 4.1 SDK to create a covert injection vector capable of embedding backdoors, exfiltrating developer private keys, forcing data transmission to intelligence listening posts, disabling ASLR in kernel extensions, and installing a keylogger via a modified OS X updater.
-
People mentioned:
Thompson, Ken
Countries:
-
Tags:
Sandia National Laboratories, CIA, Trusted Computing Base Jamboree, TCB Jamboree, Apple, Xcode, iOS, macOS, SDK attack, supply chain attacks, compiler attack, ASLR, keylogger, backdoors, private key extraction, listening post, kernel exploits, developer targeting, macOS updater, software development, binary modification, watermarking, exfiltration, mobile security
Identifier:
strawhorse-attacking-the-macos-and-ios-software
PDF SHA-256:
15e8a573d14cb6a9f92af045ec2a8c407c92a16cbd12ae6de840b1c8f9d104b3
My notes
[edit] (S//NF) Strawhorse: Attacking the MacOS and iOS Software Development Kit
(S) Presenter: [REDACTED] Sandia National Laboratories
(S//NF) Ken Thompson's gcc attack (described in his 1984 Turing award acceptance speech) motivates the StrawMan work: what can be done of benefit to the US Intelligence Community (IC) if one can make an arbitrary modification to a system compiler or Software Development Kit (SDK)? A (whacked) SDK can provide a subtle injection vector onto standalone developer networks, or it can modify any binary compiled by that SDK. In the past, we have watermarked binaries for attribution, used binaries as an exfiltration mechanism, and inserted Trojans into compiled binaries.
(S//NF) In this talk, we discuss our explorations of the Xcode (4.1) SDK. Xcode is used to compile MacOS X applications and kernel extensions as well as iOS applications. We describe how we use (our whacked) Xcode to do the following things: -Entice all MacOS applications to create a remote backdoor on execution -Modify a dynamic dependency of securityd to load our own library - which rewrites securityd so that no prompt appears when exporting a developer's private key -Embed the developer's private key in all iOS applications -Force all iOS applications to send embedded data to a listening post -Convince all (new) kernel extensions to disable ASLR
(S//NF) We also describe how we modified both the MacOS X updater to install an extra kernel extension (a keylogger) and the Xcode installer to include our SDK whacks.
Published in the Same Report
(9 documents)
-
Leaky phone apps [pdf]
These GCHQ slides describe the "WARRIOR PRIDE" mobile intrusion capability being ported to iPhone and Android, with plugins for power management, remote microphone, high‑precision geolocation, kernel stealth, and self‑protection. It claims the ability to retrieve almost any content from infected phones (SMS/MMS, email, call records, photos, calendar, etc.). Part of GCHQ's project "Mobile Applications Project".
Programs: Mobile Applications Project · WARRIORPRIDE · DREAMYSMURF · NOSEYSMURF · TRACKERSMURF · PORUS · PARANOIDSMURF -
Apple A4/A5 Application Processors Analysis [pdf]
This document appears in a collection of presentations from a secret CIA-sponsored conference called the "Jamboree," where security researchers shared methods for exploiting vulnerabilities in consumer electronics. The presentation focused on analyzing Apple's A4 and A5 processors, which were used in iPhones and iPads, as part of broader intelligence agency efforts to extract encryption keys and find security weaknesses in Apple devices.
-
Black Budget: Cryptanalysis & Exploitation Services – Analysis of Target Systems [pdf]
This document is a budget justification for the NSA's Cryptanalysis & Exploitation Services project, which develops capabilities to defeat commercial encryption systems, exploit emerging communications technologies, and conduct vulnerability analysis against both foreign and domestic security products.
-
Differential Power Analysis on the Apple A4 Processor [pdf]
1 p.This presentation abstract details a non-invasive method to extract the global AES cryptographic key (GID) from Apple's A4 processor using Differential Power Analysis (DPA). Success would enable the Intelligence Community to decrypt the boot firmware on devices like the iPhone 4 and iPad, providing a persistent means to find vulnerabilities and develop exploits independent of patchable software flaws.
-
Rocoto: Implanting the iPhone [pdf]
A top secret abstract from the CIA's 2010 Trusted Computing Base Jamboree conference, describing a Johns Hopkins University Applied Physics Laboratory presentation on efforts to create intelligence community exploitation tools for the iPhone 3G, including analysis of its firmware security architecture and leveraging community jailbreak methods for signals intelligence purposes.
-
Secure key extraction by physical de-processing of Apple's A4 processor [pdf]
An abstract from the CIA Trusted Computing Base Jamboree describing a physical chip decapping and de-processing attack on Apple's A4 processor to extract the embedded Global ID cryptographic key, which if successful would enable decryption of boot firmware across all A4-based Apple devices including the iPhone 4, iPod Touch and iPad.
-
TCB Jamboree 2012 [pdf]
1 p.A TOP SECRET//SI//NOFORN entry from NSA's internal WikiInfo-NF wiki describing the CIA Trusted Computing Base Jamboree — an annual conference hosted by CIA's Emerging Technologies Branch within the Information Operations Center, bringing together CIA analysts and contractors conducting research for the TCB programme, with NSA invited to participate through its own counterpart TCB programme.
-
TCB Jamboree 2012 Invitation [pdf]
The invitation to the CIA Information Operations Center's seventh annual Trusted Computing Base Jamboree, held at the Lockheed Martin Dulles Executive Plaza in Herndon, Virginia, February 7-9 2012 — an informal conference organised by the Engineering Development Group's Emerging Technologies Branch for developers working to circumvent or exploit new security capabilities, with a focus on applying Security Portfolio research results to Trusted Platform Module threats and opportunities and exploiting new attack vectors.
-
TPM Vulnerabilities to Power Analysis and An Exposed Exploit to Bitlocker [pdf]
A secret abstract from the Trusted Computing Base Jamboree describing research by Sandia National Laboratories into power analysis attacks against Trusted Platform Modules from five manufacturers — extracting RSA private keys non-invasively via wired power analysis and electromagnetic emissions, including a novel unpublished single-trace attack against a Chinese Remainder Theorem RSA implementation — and a case study demonstrating how the extracted TPM key enables circumvention of Microsoft BitLocker's root-of-trust system by modifying BIOS digest values without software-level detection.
Related Documents
-
Rocoto: Implanting the iPhone [pdf]
A top secret abstract from the CIA's 2010 Trusted Computing Base Jamboree conference, describing a Johns Hopkins University Applied Physics Laboratory presentation on efforts to create intelligence community exploitation tools for the iPhone 3G, including analysis of its firmware security architecture and leveraging community jailbreak methods for signals intelligence purposes.
-
Secure key extraction by physical de-processing of Apple's A4 processor [pdf]
An abstract from the CIA Trusted Computing Base Jamboree describing a physical chip decapping and de-processing attack on Apple's A4 processor to extract the embedded Global ID cryptographic key, which if successful would enable decryption of boot firmware across all A4-based Apple devices including the iPhone 4, iPod Touch and iPad.
-
TCB Jamboree 2012 Invitation [pdf]
The invitation to the CIA Information Operations Center's seventh annual Trusted Computing Base Jamboree, held at the Lockheed Martin Dulles Executive Plaza in Herndon, Virginia, February 7-9 2012 — an informal conference organised by the Engineering Development Group's Emerging Technologies Branch for developers working to circumvent or exploit new security capabilities, with a focus on applying Security Portfolio research results to Trusted Platform Module threats and opportunities and exploiting new attack vectors.
-
Apple A4/A5 Application Processors Analysis [pdf]
This document appears in a collection of presentations from a secret CIA-sponsored conference called the "Jamboree," where security researchers shared methods for exploiting vulnerabilities in consumer electronics. The presentation focused on analyzing Apple's A4 and A5 processors, which were used in iPhones and iPads, as part of broader intelligence agency efforts to extract encryption keys and find security weaknesses in Apple devices.
-
TCB Jamboree 2012 [pdf]
1 p.A TOP SECRET//SI//NOFORN entry from NSA's internal WikiInfo-NF wiki describing the CIA Trusted Computing Base Jamboree — an annual conference hosted by CIA's Emerging Technologies Branch within the Information Operations Center, bringing together CIA analysts and contractors conducting research for the TCB programme, with NSA invited to participate through its own counterpart TCB programme.