Skip to content

londek/ipadecrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ipadecrypt

End-to-end FairPlay decrypter for App Store apps. Give it a bundle ID, get a decrypted .ipa. And yes - it happily decrypts iOS 26 apps.

Go Version macOS Linux Windows License PRs Welcome

The trick

You don't have to run an encrypted iOS app to decrypt it. After posix_spawn with POSIX_SPAWN_START_SUSPENDED, grab a task_for_pid port, and mach_vm_read the __TEXT segment. The kernel's fault handler runs FairPlay's decrypter on the target's behalf and hands back plaintext. So we kind of simplified the problem of decrypting .ipa to bare minimum. It's my braindead way of calling mremap_encrypted without mremap_encrypted.

Requirements

On your computer

  • macOS, Linux, or Windows - anything that can SSH into the device
  • Go 1.25+ for building from source (prebuilt binaries are on the releases page)
  • Jailbroken iPhone reachable over the network

On the jailbroken iPhone

All installable through Sileo:

Package Purpose
OpenSSH SSH server - ipadecrypt drives the device over SSH
AppSync Unified Bypasses installd's signature check (add repo https://lukezgd.github.io/repo)
appinst Installs modified IPAs on the device
zip Packages the decrypted IPA on-device

Tested on iOS 16.7.11 / palera1n rootless / iPhone 8 Plus. iOS 14 through 17 on A10–A14 devices are expected to work.

Install

Download a prebuilt binary from the releases page.

Using go install:

go install github.com/londek/ipadecrypt/cmd/ipadecrypt@latest

From source (refer to BUILDING.md for detailed instructions):

git clone https://github.com/londek/ipadecrypt
cd ipadecrypt
go build ./cmd/ipadecrypt

Usage

First-time setup

ipadecrypt bootstrap

A four-step interactive wizard:

  1. App Store sign-in - prompts for Apple ID; handles 2FA. Credentials stay local in ~/.ipadecrypt/config.json.
  2. Device connect - SSH host / user / password; probes iOS version + arch.
  3. Prerequisites - verifies AppSync, appinst, and zip are installed.
  4. Helper install - uploads a small embedded helper binary.

Decrypt an app

ipadecrypt decrypt <bundle-id|app-store-id|path-to-local-ipa>

License

MIT.

Prior art

AI Disclaimer

This project was developed with the assistance of AI tools. While I can't guarantee the accuracy of all AI-generated content, I have overviewed creation process and then reviewed, tested the code to ensure it meets the project's requirements.

Star History Chart

About

πŸ”“ ipadecrypt is an open-source tool for downloading, patching and decrypting .ipa's with minimal user intervention.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors