Skip to content

In-Depth Guide: How to Turn Your iPhone Into a Secure Cold Wallet?

Oct 14, 13:00·Original author: Yishi (@ohyishi, OneKey janitor)·Translated by: TechFlow
In-Depth Guide: How to Turn Your iPhone Into a Secure Cold Wallet?

TechFlow Summary: Using an offline iPhone as a cold wallet for crypto assets sounds reasonable, but author Yishi (maintainer at OneKey) sets a hard baseline: you need at least an iPhone 17 or newer, running iOS 27 or later, and you should migrate to a newer device every one to two years. Disconnecting the network does not eliminate the risk of someone physically acquiring your phone. The article covers border searches, mnemonic storage, the mobile forensics industry, BFU/AFU key states, the USB attack surface, the distinction between chip-off and decryption, wallet key management, and explains why the hardware floor starts at iPhone 17, concluding with his own signing device configuration. Bottom line first: going offline is just one of many precautions. What truly determines the security posture is hardware generation, patch version, BFU/AFU state, device passcode, and the wallet’s own key management.

You can do this, but I would require at least an iPhone 17 or newer, running iOS 27 or higher, and you must migrate to a newer device every one to two years. I would never entrust significant crypto assets to an older iPhone running an outdated iOS.

This is my minimum requirement for this use case, not an Apple certification, nor does it imply that everything above this line is safe. The reason is straightforward: disconnecting the phone from the network does not eliminate the risk posed by physical access.

To understand these risks, consider what happens when a phone arrives at a border checkpoint or a forensic lab.

Border Searches Don’t Require Your Phone to Be Online

In U.S. Customs and Border Protection (CBP)’s FY2025 annual report, 55,318 electronic device searches were recorded: 50,922 routine searches and 4,396 advanced searches. The fiscal year ran from October 1, 2024, to September 30, 2025. These are search statistics, not 55,318 successfully cracked iPhones. CBP Statistics and Policies

Routine searches typically involve officers visually inspecting device contents. Advanced searches involve connecting external devices (wired or wireless) to copy or analyze contents. Routine searches may also include logging relevant information into CBP systems.

A January 2026 directive contains a easily overlooked detail: merely using the device to make content available for inspection (including bypassing passcodes or breaking encryption) does not constitute an "advanced" search under this policy. Therefore, the routine vs. advanced binary cannot cleanly track which phones encountered unlocking tools. This is the current policy definition and does not tell us exactly how each search was conducted in the prior fiscal year. CBP Directive 3340-049B, §3.4

Under CBP policy, advanced searches require reasonable suspicion of an enforcement-related violation within their jurisdiction, or involve national security concerns, and must be approved by a supervisor. The directive also requires compliance with binding precedent. These are agency rules and do not mean legal standards are uniform across jurisdictions.

There are also practical details. Phones that cannot be inspected may be detained. CBP states that U.S. citizens will not be denied entry solely because a device cannot be inspected; for foreign applicants seeking entry, non-cooperation will be considered alongside other factors. The directive states searches should generally occur in the presence of the individual, but this does not mean the individual gets to watch the entire examination process. CBP FAQs Directive, §5.1.6

Most relevant to cold storage, CBP policy restricts inspections to locally stored device information. Officers must disable network connections or require travelers to do so themselves to avoid retrieving remotely stored data. Phones will be intentionally disconnected before local content is examined. A locally saved photo or note does not become inaccessible just because Wi-Fi is turned off. Directive, §5.1.2

Legal law enforcement checks and theft are two different things. But the lesson on custody is the same: you must account for the possibility that another person could inspect the data you carry with you.

Mnemonics in Notes or Photos Are Still Mnemonics

I would not take a photo of my recovery phrase, save it to Photos, and call it cold storage simply because the iPhone is offline. I would not paste it into a standard note either.

These files still fall under iOS encryption and Data Protection; they do not necessarily rest on NAND in plaintext. The issue is that once someone obtains them, the secret is laid bare in readable text or image format. The wallet’s own passcode, transaction approval, and signing controls no longer stand between "that copy" and "someone reconstructing the wallet." If an additional passphrase was used initially, it will still be required.

Locked Notes warrant precise distinction. Apple supports locking notes with a device passcode or a custom password, providing additional encrypted protection. A strong custom password presents a different scenario than a plain unlocked note. However, it remains a generic document store where authentication method matters critically: using the same device passcode does not grant you an independent password. Apple also notes that unlocking one note will unlock other locked notes under that account within minutes. Apple: Lock Notes Apple: Notes Security

Similarly, Hidden Albums and Recently Deleted albums rely on Face ID, Touch ID, or the device passcode. Hiding a photo does not add a layer of independent protection to your recovery secret. Deleted photos typically remain in Recently Deleted for 30 days. Turning off networking today does not revoke copies that may have already synced or backed up. Apple: Delete or Hide Photos

If your recovery phrase has already been exposed, moving the same phrase to a better-equipped device does not patch that exposure. You need to generate a fresh wallet in a trusted environment, then verify the recovery, perform a small test transaction first, and only afterward conduct an on-chain transfer.

Phone Forensics Is a Mature Industry

Companies like Cellebrite, Magnet’s Graykey, Oxygen, and China’s SDIC Intelligence (the parent company behind Meiya Pico) operate in mobile forensics. Their products and capabilities vary. Device access, passcode recovery, extraction, and analysis are distinct stages of the work; device model, OS version, and state determine which methods are viable. Magnet Training Oxygen SDIC Intelligence

You will see the term FFS: Full File System extraction. It differs from partial extraction, and both differ from recovering a lock screen passcode. Obtaining a filesystem copy does not mean every encrypted file inside it has been decrypted.

Cellebrite’s Spring 2026 brief explicitly names iPhone 17 and iOS 26.3.1 under its expanded Inseyets support. Page 4 offers a narrower, more useful claim: Cellebrite Advanced Services (CAS) asserts AFU access support for iPhone 11 through 16 devices running iOS 26 or later. These are vendor capability claims, not proof that "every supported combination can export every wallet secret." Cellebrite Briefing

In the same press release, Cellebrite states that 75% of devices received at North American forensic labs were locked. That is a volume statistic, not a 75% unlock success rate. But it does tell you that locked devices are routine business in this industry. Cellebrite Press Release

Graykey has historical evidence too. In November 2024, 404 Media reported based on internal documents that newer iPhones running iOS 18 and 18.0.1 could yield partial extractions. Public reporting did not clarify exactly what was included in each extraction. "Partial" does not equate to private key recovery, but the lock screen clearly cannot serve as evidence of "no data accessible." 404 Media Original Report

The most critical detail: whether the phone had ever been successfully unlocked since its last boot.

BFU and AFU Describe Key States

BFU stands for Before First Unlock. The phone is powered on but has never accepted a correct passcode. AFU stands for After First Unlock. Putting it back into sleep mode afterward does not revert it to BFU.

iOS organizes file protection around per-file keys, protected-class keys, and a keybag. The first unlock makes certain protected class keys available. Some keys remain usable after locking to allow background tasks to continue.

A crucial example is Class C: NSFileProtectionCompleteUntilFirstUserAuthentication. Apple documentation confirms its class key remains in memory after re-locking. It is also the default file protection class for third-party apps unless another class is specified. Class A behaves more strictly: its decrypted class key is discarded after locking under system protection policies. Apple: Data Protection Classes

With a suitable exploit chain and privileges, AFU therefore exposes app data that an attacker cannot reach in BFU. This is the valuable "hot" state forensics examiners try to preserve. Wallets may implement stricter file protection, Keychain access controls, or their own encryption, so Class C alone does not prove every wallet mnemonic is readable. It explains why simply pressing the lock button is insufficient to resolve the issue.

Apple has been steadily narrowing this window. iOS 18 introduced inactivity reboot. Researcher Jiska Classen documented a 72-hour interval in her tested build and traced the timer to the Secure Enclave Processor (SEP). Her subsequent notes described even earlier seven-day intervals. SEP tracks time since last unlock and triggers a reboot; this is not a standard background timer. These historical timings should not be assumed to apply to every future iOS version. Classen Reverse Engineering

A normal reboot returns the phone to BFU and clears some useful decrypted state. Forensic vendors are adapting. Cellebrite’s Spring 2026 launch page states Safeguard Mode maintains access after a reboot. Its public materials do not fully disclose the mechanism, prerequisites, or exact permissions retained on every device. This claim belongs in the discussion but must come with those caveats. Cellebrite: Safeguard Mode

Apple wants to close the extraction window; forensic vendors want to keep it open. This is why I power down my dedicated signing phone for storage, and why I would never rely on an auto-reboot feature as the foundation of my custody solution.

Network Off, USB Remains an Attack Surface

USB Restricted Mode (often abbreviated USBRM) limits wired data access on locked devices. It is a critical barrier, but it has had vulnerabilities.

CVE-2025-24200 allowed a physical attack to disable USB Restricted Mode on a locked device. Apple fixed it in iOS 18.3.1, stating it may have been used in highly targeted and sophisticated attacks against specific individuals. Apple Security Update

Amnesty’s investigation into forensic tool usage in Serbia provided a concrete example of a related technique on Android. It documented reaching kernel drivers by simulating USB peripherals, involving CVE-2024-53104, CVE-2024-53197, and CVE-2024-50302. Relevant device classes included video, audio, and HID. Amnesty Technical Report

This is an Android exploit chain, not proof that "these same bugs affect iPhones too." But the underlying tech is worth understanding: peripheral simulation → driver attack surface → kernel exploit → privilege escalation → extraction. These are concrete attack phases, not cybersecurity buzzwords.

Disconnecting the phone reduces network exposure. It does not remove physical ports, their drivers, or the software enforcing access restrictions.

Chip-Off Does Not Equal Decryption

This is precisely where iPhone’s design deserves praise. The device passcode binds to a hardware UID key. Apple states the associated derivation is calibrated to ~80 milliseconds per attempt, plus escalating delays and maximum attempt limits. As long as this hardware binding holds, brute-forcing must complete critical work on the target device. Apple: Passcodes and Passwords

Desoldering the NAND and dumping it does not turn the device passcode into something a GPU cluster can parallelize and casually attack. Apple also documents that the UID is not exposed via JTAG or other debug interfaces. Apple: Secure Enclave

In embedded forensics, chip-off refers to removing the storage chip to read it; ISP (In-System Programming) gains access while the chip remains on the board. These technologies solve the problem of "accessing stored bytes." They do not automatically recover the keys needed for decryption.

Fault injection and power side-channel analysis represent different attack vectors. Each requires specific weaknesses and experimental evidence. "They can rip the phone apart" is not an explanation of "how its private keys become readable."

The device passcode remains critically important. Consider a deliberately simplified scenario: an attacker bypasses attempt limits and escalating delays, but each guess still takes 80ms, guesses proceed sequentially, and there are no shortcuts.

Six random digits: 10⁶ possibilities. Exhausting the full space takes ~22.2 hours, averaging 11.1 hours.

Ten random lowercase letters and digits: 36¹⁰ possibilities. Exhausting the full space takes ~9.27 million years.

Twelve random uppercase and lowercase letters and digits: 62¹² possibilities. Exhausting the full space takes ~8.18 trillion years.

These calculations are under stated assumptions, not real-world speeds of a specific forensic product. They demonstrate how vital the device passcode itself is when another defense fails. A birthday, phone number, or "dictionary word + year" lacks the entropy of uniformly random strings.

I would use at least 12 truly random alphanumeric characters, paired with an independent offline recovery scheme. Leaving yourself permanently locked out is also a failure of custody.

After Gaining Device Access, Wallet Key Management Is the Next Boundary

Recovering the device passcode does not necessarily reveal the wallet’s recovery phrase. A wallet can encrypt its secrets and use Secure Enclave-generated, non-exportable keys to assist protection, governed by Keychain rules. In this setup, filesystem extraction may only yield ciphertext.

There is a crucial API detail. Apple-documented Secure Enclave key APIs use P-256 keys generated within the enclave; they do not import arbitrary existing plaintext private keys. Bitcoin and Ethereum commonly use secp256k1, a different curve. "Using the Secure Enclave" does not prove an arbitrary BIP39 recovery phrase lives entirely within the enclave, or that every on-chain signature is produced there. This is a limitation of the API, not a claim about every cryptographic capability inside the SEP. Apple Developer Documentation

A wallet might alternatively switch to key wrapping: a hardware-protected key assists in protecting the recovery phrase, or protects the key that encrypts it. Upon authorization, the app unwraps or decrypts what it needs, derives the blockchain key, and signs within its own process.

This gives us two separate problems: how is the secret protected at rest, and where does the plaintext exist in use?

Keychain configuration is critical. WhenUnlocked and AfterFirstUnlock have different access conditions. WhenPasscodeSetThisDeviceOnly adds constraints, including no iCloud Keychain sync and exclusion from backups. A Face ID icon tells you none of this. Apple: Keychain Data Protection

Compromising the kernel does not automatically mean the Secure Enclave is compromised. But controlling the environment running the wallet may still let an attacker read app memory or abuse available entitlements to force signing. "Non-exportable key" and "wallet rejecting an unauthorized transaction" are two different things.

Another design has a different failure mode. A wallet might derive a key from an app password via PBKDF2 or Argon2, then use it to encrypt the mnemonic on disk. If an attacker extracts the ciphertext, salt, and parameters, can verify guesses, and requires no additional hardware-bound secret, that password can be attacked on an external machine. This is offline cracking.

That 80ms-per-attempt figure for device passcodes no longer describes this attack. Cost depends on the entropy of the app password, PBKDF2 iterations or Argon2 memory/time settings, plus attacker implementation and hardware. Shouting a good KDF name won't save a weak password. Argon2 Specification PBKDF2 Specification

The worst case is simpler: the phone becomes accessible, the app passcode only sits in front of the UI, lacking effective independent protection or fresh transaction authorization. Someone can open the wallet, drain funds, without extracting a single mnemonic.

These are the questions I ask wallet developers: Does the app password actually participate in decryption? Does biometric auth fall back to the device passcode? Does every signature require fresh authorization? How long does decrypted key material sit in memory? What gets carried over in backups?

Why My Hardware Floor Starts at iPhone 17

The defenses above do not make hardware generations interchangeable. iPhone 17 and iPhone Air bring Memory Integrity Enforcement (MIE) with the A19 generation. Its components work synergistically to counter memory corruption exploits:

Typed allocators constrain how different object types share memory.

Enhanced Memory Tagging Extension (EMTE) synchronously checks pointers and memory tags.

Tag confidentiality makes tags harder to probe, thereby harder to bypass those checks.

Exploit developers typically start with a heap overflow, a use-after-free (UAF), or an out-of-bounds (OOB) read/write. Heap grooming arranges memory allocations to make that bug actionable. The end result is an exploit primitive; arbitrary kernel R/W is especially valuable.

MIE interferes with several of those steps. Apple describes its deployment across the kernel and over 70 user-space processes, evaluating it against historical real-world exploit chains. It launched initially with iOS 26 on supported new hardware, not iOS 27. Older phones cannot receive missing EMTE hardware via software updates. Apple MIE Technical Note

Third-party wallets' reliance on hardware memory tagging still depends on its build configuration. MIE also cannot fix a poor authorization decision or logic bug. I want that extra layer of hardware defense, paired with a wallet that actually utilizes available protections. Apple: Enhanced Security for Your App

Older devices carry another well-known issue: checkm8, a BootROM vulnerability affecting A5 through A11 devices (including iPhone X). Standard iOS updates cannot replace vulnerable BootROM code. Leveraging the boot chain does not automatically decrypt all user data or compromise the Secure Enclave, but it remains a permanent liability for those devices. checkm8 Original Project

iOS 27 is my current software baseline, carrying the latest stable security patches. This is a custody policy, not a claim that "every older version is exploitable and every newer version is secure." Apple continues to roll out updates across multiple supported branches. Apple Security Updates

A Phone’s History Matters; Its Effective Security Lifespan Is Limited

Apple patches vulnerabilities and adds hardware defenses. Forensic vendors continuously develop access methods. A public "support matrix" is an outdated statement of capability, not a promise for next year. This is why I migrate every one to two years, or sooner if major issues arise or the device loses support. That interval is my maintenance strategy, not a scientifically determined expiration date.

Before declaring an old phone "cold," there's another question to ask: Was it ever compromised while it was still your daily driver?

Google’s 2026 Coruna research documented five iOS exploit chains and 23 vulnerabilities, including modules targeting wallet apps. Its DarkSword research also described payloads designed to collect encrypted wallet data. These are attacks targeting specific vulnerable iOS intervals with fixes already available, but absolutely not proof that "these chains can remotely compromise a fully patched, offline phone." They illustrate why device history matters. Coruna Research DarkSword Research

If your recovery phrase leaked before going offline, Airplane Mode cannot retrieve it. Same goes for powering off or enabling Lockdown Mode.

QR codes cannot eliminate the necessity of "trusting the signer." Dark Skippy demonstrated that a maliciously compromised signer could encode secret material into transaction signatures via its nonce selection. The transaction puts outputs on-chain. This attack requires a compromised signer; it is not a claim that "regular iPhone wallets do this." It illustrates why even an offline signer retains an output channel. Dark Skippy Research

During migration, do not put your recovery phrase into AirDrop, iCloud, screenshots, chat logs, or shared clipboards, thereby creating new exposures. Moving hardware and safeguarding the recovery secret are both part of this.

If I Use an iPhone, Here Is How I Would Configure It

iPhone 17 or newer, iOS 27 or later, with current security patches. Verify actual model hardware protections. Plan migration every one to two years, responding sooner if major security changes occur.

A device passcode of at least 12 random alphanumeric characters. Do not rely entirely on the system's guessing limits.

A wallet with valid independent protection. Scrutinize mnemonic encryption, KDF parameters, Keychain classes, hardware-backed key wrapping, and transaction authorization. A Face ID prompt is not a security architecture.

An independent offline recovery backup. Do not place any recovery phrases in standard Notes, Photos, or screenshots. Before committing significant funds, verify that recovery actually works.

Reduce unnecessary interfaces and access. Disable Control Center access and unnecessary accessory access on the lock screen. Turn off Wi-Fi and Bluetooth in Settings; disconnecting them in the Control Center does not equal complete disablement. Apple Instructions

Power it down when storing it. The next normal startup enters BFU. Also physically secure the device.

Use a dedicated device initialized from a trusted state. No jailbreaks, no unrelated apps, no everyday Apple account, and no restoring full daily-driver datasets. Lockdown Mode reduces exposure for high-risk users, but it does not replace updates, nor does it revoke already-compromised secrets. Apple: Lockdown Mode

Maintain the entire signing workflow. Use a controlled offline signing process, including QR code handoff during support. Verify address, amount, network, and permissions. Plan updates prudently and verify isolation afterward. Factor in physical access, travel, and Recovery considerations, not just internet connectivity.

For long-term custody of substantial assets, I would prefer a dedicated signing device featuring transparent security design, continuous maintenance, and on-device transaction verification. Its firmware, supply chain, and recovery flow still require scrutiny.

Going offline is one precaution. Hardware, patch version, BFU/AFU state, passcode, and wallet key management ultimately determine what that precaution buys you.

Join the official Coincamps community:

X: https://x.com/coincamps

Telegram: https://t.me/coin_camps

Recommended

Gold-Digging Women Flood Silicon Valley, Targeting AI Billionaires for Husbands

Oct 14, 13:25
Gold-Digging Women Flood Silicon Valley, Targeting AI Billionaires for Husbands

Shandong Bincheng Cracks First Virtual Asset Theft Case: Behind the Recovery of 1,300 USDC and NFTs

Oct 14, 13:23
Shandong Bincheng Cracks First Virtual Asset Theft Case: Behind the Recovery of 1,300 USDC and NFTs

Morpho vault deposits surge 51% in Q3, but S&P’s new rules target withdrawal concentration

Oct 14, 13:20
Morpho vault deposits surge 51% in Q3, but S&P’s new rules target withdrawal concentration

CoreWeave Seeks Trillions in Insurance Capital, Aims for Investment-Grade Upgrade on $52B Debt

Oct 14, 13:18
CoreWeave Seeks Trillions in Insurance Capital, Aims for Investment-Grade Upgrade on $52B Debt

Weathering Six Years of Market Crashes, a Dormant Whale Suddenly Transfers $377 Million in BTC, With Six-Year Position Gains Nearing 10x

Oct 14, 13:09
Weathering Six Years of Market Crashes, a Dormant Whale Suddenly Transfers $377 Million in BTC, With Six-Year Position Gains Nearing 10x

OnePoint BFG CIO Warns: Bond Market Is Underestimating Inflation Risk

Oct 14, 12:53
OnePoint BFG CIO Warns: Bond Market Is Underestimating Inflation Risk