low · M7 · MASVS-RESILIENCE-2 · PTKD-BIN-NOENCRYPT
iOS binary is not encrypted (cryptid = 0)
The Mach-O has an encryption-info load command but cryptid is 0, so the executable is shipped in the clear (easier to reverse).
How it is exploited
cryptid=0 means the executable is not FairPlay-encrypted, so the binary on disk is the binary in memory: trivially disassembled, string-dumped, and repackaged.
Why it matters
Reverse engineering and tamper analysis require no decryption step at all. (Ad-hoc/enterprise/TestFlight builds are legitimately unencrypted; store builds should not be.)
How to fix it
- For App Store distribution this is applied by Apple automatically; investigate why the analyzed store build lacks it.
- Do not rely on binary encryption as your only obfuscation; strip symbols and avoid secrets in code regardless.
Does your app have this?
PTKD checks your build or your source project for PTKD-BIN-NOENCRYPT and every other check in this knowledge base.
Scan your appReferences
Related checks (M7)
- Executable built without stack canaries
- Executable is not position-independent (no PIE/ASLR)
- On-device cryptocurrency mining code
- iOS build is debuggable (get-task-allow = true)
- Debuggable release (get-task-allow in code signature)
- Source maps shipped inside the app
- Large DEX code without R8 shrinking and obfuscation
- Framework that downloads and runs code after review