prosch88/UFADE
About
Extract files from Apple devices on Windows, Linux and MacOS. Mostly a wrapper for pymobiledevice3. Creates iTunes-style backups and "advanced logical backups"
Systems & InfrastructureMeasured star growth
- in 24h
- 0
- in 7 days
- +4
- in 15 days
- +5
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalUFADE
Universal Forensic Apple Device Extractor
This is a python script written for my masters thesis in IT-Security and Forensics at the Wismar University.
It utilizes the awesome projects: pymobiledevice3 and iOSbackup to automate the acquisition of Apple mobile devices. Options can be selected via a dialog. The SSH access is realized via Paramiko.
The interface is based on CustomTkinter. You can also load the Windows version from the release page.
Requires Python >= 3.11.
More features may follow.
UFADE has been selected as a finalist for the Sans Difference Makers Award 2024 in the category “Innovation of the Year (Open-Source or Product Tool)”.
ALEX is now available as a comparable tool for extracting data from Android devices.
Installation
Clone the repo:
git clone https://github.com/prosch88/UFADE
To use the developer features you need to mount a DeveloperDisk image on the device. A submodule with images can be loaded while cloning:
git clone https://github.com/prosch88/UFADE --recurse-submodules
Install dependencies:
Arch / Manjaro:
sudo pacman -S tk
Debian / Ubuntu:
sudo apt-get install python3-tk libasound2-dev
CentOS / Red Hat:
sudo yum install tkinter
MacOS:
brew install [email protected] [email protected]
Install the requirements:
pip install -r requirements.txt
Windows:
install Apple-Devices
Highly recommended: Disable the Maximum Path Length Limitation
Venv:
If you run UFADE in a virtual environment, install: libcairo2 and girepository/libgirepository. Then:
pip install pygobject
Usage
Connect an Apple device (iPhone, iPad) to your workstation, unlock and pair the device. Start the script:
python ufade.py
Possibly the trust-message is shown on the device screen. Confirm with "trust". Now you should see the device information screen and will be prompted to choose a working directory. By default, the script is setting this to the directory from which it has been called.
In the main menu you have the options:
Save device information to text
Save device information and a list of user-installed apps to a textfile.
Backup Options
including:
Logical (iTunes-Style) Backup
Perform a backup as iTunes would do (with an option to bruteforce an unknown backup-password)
Logical+ Backup
Perform and decrypt an iTunes backup, gather AFC-media files, shared App folders and crash reports. Creates a TAR-archive.
Logical+ Backup (UFED-Style)
Creates an "advanced Logical Backup" as ZIP-archive with an UFD file to load in the Cellebrite Physical Analyzer©
PRFS Backup
Perform and decrypt an iTunes backup, gather AFC-media files, shared App folders and crash reports. Creates a TAR-archive structured like the filesystem on the device.
Filesystem Backup (jailbroken)
Creates a full filesystem backup from an already jailbroken device.
Collect Unified Logs
Collects the AUL from the device and saves them as a logarchive.
Developer Options
Try to mount a suitable DeveloperDiskImage. Gives further options for screenshots and filesystem views.
On iOS/iPadOS 17.4+ and watchOS 10.4+, UFADE opens a USB userspace tunnel
without administrator privileges. Install the updated requirements (including
pmd-pytcp==0.3.7), pair and unlock the device, and enable Developer Mode.
Reopening Developer Options checks whether an existing userspace tunnel still
responds. A failed check is logged and the tunnel is rebuilt once automatically;
the check runs in the background with a timeout so the UI remains responsive.
Older versions retain the existing privileged tunnel. The userspace tunnel is
also replaced by the existing tunnel flow if setup or service discovery fails:
UFADE logs the error and asks for confirmation before starting a privileged
tunnel (or reuses an existing one). The userspace tunnel is
available only inside UFADE and supports one device at a time. It is closed in
the background when leaving the developer area and rebuilt on the next visit.
Closing UFADE does not wait for tunnel cleanup. After disconnecting a device,
reopen Developer Options to reconnect.
Advanced Options
Gives options like network-sniffing and various Logging functions .
Like this tool?
Acknowledgements
This script utilizes the following projects:
CustomTkinter by TomSchimansky
Explore related projects
Loading…