A Free and Open Source Software (FOSS) automation script designed to perform a raw bit-stream physical extraction of the NAND storage chip from supported iOS devices. It leverages custom SSH ramdisk environments over USB multiplexing to pull low-level diagnostic images, saving them using professional forensic naming conventions similar to industry-standard suites like Cellebrite.
- Automated Device Preflight: Checks for
PWNDDFU state and verifies hardware model compatibility automatically. - Forensic Structural Naming: Generates structured target files utilizing unique physical hardware metadata:
Physical_Extraction_[Device_Model]_[Serial_Number]_[ECID]_[Timestamp].img - Automatic Metadata Logging: Captures and outputs a corresponding
.logfile containing full hardware registry data for chain-of-custody tracking. - Robust Network Port Forwarding: Deploys internal background handlers via
iproxyto stream binary block-level partitions seamlessly over SSH usingdd.
Ensure your host Linux machine has the required system packages installed:
sudo apt update
sudo apt install libimobiledevice-utils irecovery openssh-client
The main script relies on specific pre-compiled boot and environment utilities. Organize your folder structure as follows before running the extraction:
├── dump_nand.sh <-- The main extraction script
└── Resources/
├── usbliter8_boot <-- Hardware boot loader utility binary
└── boot/
├── iBEC.d321.RELEASE.patched
├── iBEC.d331.RELEASE.patched
└── [Other supported patched boot stages...]
Place the target iOS device into a pwned DFU mode utilizing your choice of hardware security implementation framework (such as usbliter8 or a compatible checkm8 utility tool).
Grant execute privileges to the automation shell script:
chmod +x dump_nand.sh
Run the script from your terminal environment. Ensure your current terminal directory points to the parent folder containing the Resources/ asset pathway:
./dump_nand.sh
Upon a successful capture pass, two files will initialize inside your working path:
.imgAsset File: The complete, uncompressed raw block image binary data dumped directly from/dev/rdisk0..logAsset File: Contains full extraction environmental logs, internal timestamps, and physical hardware indicators parsed during initialization.
Warning
Storage Requirement Warning: The generated image file format is a bit-stream reflection copy of the underlying flash controller. A 64GB storage device target will output a file size of exactly 64GB, regardless of active data volumes. Ensure your workstation partition has adequate free capacity before initiating.
Built completely using open standards. Support open-source digital forensic framework engineering (FOSS).