[Paper Review] The bumpy road towards iPhone 5c NAND mirroring
This paper demonstrates a practical, low-cost hardware attack to mirror the NAND flash chip of an iPhone 5c running iOS 9, enabling bypass of the passcode retry limit through physical access and reverse engineering of the proprietary bus protocol. The authors successfully prototype the mirroring process, proving that such attacks are feasible despite prior claims to the contrary.
This paper is a short summary of a real world mirroring attack on the Apple iPhone 5c passcode retry counter under iOS 9. This was achieved by desoldering the NAND Flash chip of a sample phone in order to physically access its connection to the SoC and partially reverse engineering its proprietary bus protocol. The process does not require any expensive and sophisticated equipment. All needed parts are low cost and were obtained from local electronics distributors. By using the described and successful hardware mirroring process it was possible to bypass the limit on passcode retry attempts. This is the first public demonstration of the working prototype and the real hardware mirroring process for iPhone 5c. Although the process can be improved, it is still a successful proof-of-concept project. Knowledge of the possibility of mirroring will definitely help in designing systems with better protection. Also some reliability issues related to the NAND memory allocation in iPhone 5c are revealed. Some future research directions are outlined in this paper and several possible countermeasures are suggested. We show that claims that iPhone 5c NAND mirroring was infeasible were ill-advised.
Motivation & Objective
- To demonstrate that NAND mirroring on the iPhone 5c is feasible despite prior claims of infeasibility.
- To reverse engineer the proprietary NAND-to-SOC bus protocol using low-cost, accessible components.
- To bypass the iOS 9 passcode retry counter by physically mirroring the NAND flash chip.
- To reveal reliability issues in NAND memory allocation specific to the iPhone 5c.
- To inform future system design by identifying vulnerabilities and suggesting countermeasures.
Proposed method
- Desoldered the NAND Flash chip from an iPhone 5c to gain physical access to its connections with the SoC.
- Used low-cost, off-the-shelf components from local electronics distributors to interface with the NAND chip.
- Reverse engineered the proprietary bus protocol between the NAND and the SoC through signal analysis and timing measurements.
- Reconstructed the NAND flash contents by capturing and interpreting data transfers during read operations.
- Validated the mirroring process by successfully replicating the passcode retry counter state on a cloned NAND image.
- Demonstrated that the mirrored NAND could be used to circumvent the passcode retry limit, enabling repeated unlock attempts.
Experimental results
Research questions
- RQ1Is it possible to perform a hardware-level NAND mirroring attack on the iPhone 5c without expensive equipment?
- RQ2What are the technical challenges and feasibility of reverse engineering the proprietary NAND bus protocol in the iPhone 5c?
- RQ3Can the passcode retry counter be bypassed through physical mirroring of the NAND flash chip?
- RQ4What reliability issues exist in the NAND memory allocation that could affect mirroring success?
- RQ5What countermeasures can be derived from this attack to improve future device security?
Key findings
- The authors successfully demonstrated a working prototype of NAND mirroring on the iPhone 5c, proving the attack is feasible with low-cost tools.
- The proprietary NAND bus protocol was reverse engineered using only basic test equipment and off-the-shelf components.
- The passcode retry counter state was successfully mirrored, allowing repeated attempts to bypass the lockout mechanism.
- The attack revealed inherent reliability issues in the iPhone 5c’s NAND memory allocation that could impact mirroring consistency.
- The study refutes previous claims that NAND mirroring on the iPhone 5c was infeasible, showing otherwise.
- Several countermeasures for improved device security were identified and proposed based on the findings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.