miticollo / frida-ios-dump

pull decrypted ipa from jailbreak device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

frida-ios-dump

A tool for extracting decrypted IPA files from jailbroken devices.

What's New?

This fork no longer requires using scp, unlike the original project. This is possible because I used the Frida File API to read all bytes inside a Module file and then parse it into a MachO object. Currently, this class does not implement all Apple specifications.

By doing this, the tool doesn't generate auxiliary files on the APFS filesystem, as they are only stored as ArrayBuffer (and node:Buffer) in memory. After patching, I can send the file to PC/macOS using the send Frida primitive.

Furthermore, this solution extends the ConsoleApplication class, thereby avoiding issues with argument handling.

Usage

To use frida-ios-dump, follow these steps:

  1. Install frida on your device.

    Note
    My repo is no more necessary because since Frida 16.1.5 supports rootless and rootfull JB. Anyway if you want to compile your own Frida DEB you can follow/adapt my guide.

  2. Clone this project by entering the following command in your terminal:
    git clone --depth=1 -j8 https://github.com/miticollo/frida-ios-dump.git
    cd frida-ios-dump/
  3. Create a virtual environment.
    python -m venv --upgrade-deps ./.venv
    source ./.venv/bin/activate
  4. Run pip -vvv install frida-tools --require-virtualenv --upgrade --upgrade-strategy 'eager' to install the Frida dependency.

    Note
    This command will also upgrade dependencies.

  5. (Optional) Connect your iDevice to macOS/PC using a USB lightning cable. You can also decrypt iOS over Wireless using the remote communication provided by Frida, although USB is recommended.
  6. Run the following commands to decrypt apps:
    • python ./decrypter.py -U -f com.google.ios.youtube
      This spawns YouTube and then decrypts it.
    • python ./decrypter.py -U -n Spotify 
      Use this after opening the Spotify app.

How to install it?

To install the app, sideload it as follows:

  • Use Sideloadly sideloadly.png

    Note
    Enable “Sideload Spoofer” as some apps may not work after decryption.

Tested environment

Devices and iOS Versions

References

About

pull decrypted ipa from jailbreak device

License:MIT License


Languages

Language:TypeScript 76.4%Language:Python 23.6%