Obtain an iOS app's IPA and decrypt the FairPlay-encrypted App Store binary (frida-ios-dump / ipa-decryptor) so class-dump/otool/strings work. Tier 1. Use first on any App Store iOS target before static analysis. Needs a jailbroken device (or resigned-gadget path).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ios Ipa Acquisition Decrypt?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-ios-ipa-acquisition-decrypt)
---
name: ios-ipa-acquisition-decrypt
description: Obtain an iOS app's IPA and decrypt the FairPlay-encrypted App Store binary (frida-ios-dump / ipa-decryptor) so class-dump/otool/strings work. Tier 1. Use first on any App Store iOS target before static analysis. Needs a jailbroken device (or resigned-gadget path).
---
# iOS IPA Acquisition & FairPlay Decryption
App Store binaries are FairPlay-encrypted; `class-dump`/`strings`/`otool` return garbage until the decrypted binary is pulled from memory. This is the prerequisite for all static/RE work (MASVS-RESILIENCE, MASTG RE).
## Trigger phrases
`ios ipa dump, fairplay decrypt, frida-ios-dump, cryptid, decrypt ios app, ipa-decryptor, class-dump garbage, app store binary`
## Method
1. **Get the IPA if provided** — if the client supplied an IPA from TestFlight/enterprise/dev signing it may already be unencrypted (`cryptid 0`); verify first (step 5) before dumping.
2. **Apple Configurator route** — download the app, IPA lands in `~/Library/Group Containers/.../MobileApps/` (still FairPlay-encrypted; use only to obtain the package).
3. **Jailbroken dump (preferred)** — on device run `frida-server` (from the `build.frida.re` repo), forward SSH with `iproxy 2222 22`, then host-side: `frida-ps -Uai` to get the bundle id, and `python3 dump.py <bundle-id>` (frida-ios-dump) — pulls the decrypted main binary + `Frameworks/*` from memory and repackages a clean IPA.
4. **Alt tool** — `python3 ipa-decryptor.py -b com.example.app -o decrypted.ipa` (uses `root:alpine` over `iproxy`-forwarded port 22).
5. **Verify decryption** — `unzip decrypted.ipa -d out` then `otool -l out/Payload/App.app/App | grep -A5 LC_ENCRYPTION_INFO` → **`cryptid 0` = decrypted**, `cryptid 1` = still encrypted. Also sanity-check `class-dump out/Payload/App.app/App` returns real Obj-C headers (not empty/garbage).
6. **Per-arch check** — fat binaries: `otool -arch all -Vl App | grep -A5 LC_ENCRYPT`; thin out the running arch with `lipo -thin arm64 App -output App.arm64` if class-dump chokes.
## Modern / rare techniques
- **Non-jailbroken decryption is not possible directly** — resign + Frida-gadget to instrument, or use a jailbroken device; chain to `ios-nonjailbroken-resign-gadget`.
- **frida-ios-dump SSH vs USB mode** — edit `dump.py` `Host`/`Port`/`Password` for `iproxy` USB forwarding when the device has no network route.
- **PAC devices (A12+)** need Frida ≥16 for a reliable dump.
## Escalation / chaining
Decrypted binary unlocks `ios-binary-protections`, `ios-infoplist-entitlements-ats`, `ios-sdk-inventory`, `ios-crypto`, and all RE. Extracted `Frameworks/` feed `ios-sdk-inventory`.
## Backend & tooling
Run frida/objection/libimobiledevice from native Kali / WSL+Kali / Kali-SSH or HexStrike. **Requires a jailbroken device** with `frida-server` + SSH (`root:alpine`); for App Store apps on a non-JB device use the resign-gadget path instead (own-device/authorized app only).
## Verification (background, before reporting)
Confirm `cryptid 0` AND that `class-dump`/`strings` yield real symbols/strings from two different tools before treating the binary as decrypted; re-dump if frameworks are missing.
## Evidence
Capture the `otool -l ... LC_ENCRYPTION_INFO` output showing `cryptid 0`, the repackaged IPA path, and a class-dump header sample. Decryption itself is not a finding — it enables them. MASVS: MASTG-TECH acquisition/RE prerequisite.