ipadecrypt
ipadecrypt copied to clipboard
[v0.6.0 regression] Framework decryption fails binaries left with cryptid != 0
Describe the bug Decryption of app frameworks is broken in v0.6.0, a regression compared to v0.5.6.
To Reproduce
- Run the tool against any App Store app (reproduced with
io.stampapp.Stampv9.25.0) - Observe that the main binary decrypts successfully but all embedded frameworks fail
- Check the output IPA 17 binaries still have
cryptid != 0
Expected behavior
All binaries (main executable + frameworks) should be fully decrypted, with cryptid 0 across the board, as was the case in v0.5.6.
Logs
· event=dyld phase="exc_msg" msgh_bits="0x80001112" msgh_size="356" msgh_remote="0x290f" msgh_local="0x2403" msgh_id="2403"
· app halted during launch; recovering what was loaded
· failed to decrypt Frameworks/hermes.framework/hermes (couldn't read decrypted memory)
· failed to decrypt Frameworks/OneSignalCore.framework/OneSignalCore (couldn't read decrypted memory)
· failed to decrypt Frameworks/OneSignalNotifications.framework/OneSignalNotifications (couldn't read decrypted memory)
· failed to decrypt Frameworks/OneSignalInAppMessages.framework/OneSignalInAppMessages (couldn't read decrypted memory)
· failed to decrypt Frameworks/FBAEMKit.framework/FBAEMKit (couldn't read decrypted memory)
· failed to decrypt Frameworks/FBSDKCoreKit.framework/FBSDKCoreKit (couldn't read decrypted memory)
· failed to decrypt Frameworks/FBSDKLoginKit.framework/FBSDKLoginKit (couldn't read decrypted memory)
· failed to decrypt Frameworks/OneSignalOSCore.framework/OneSignalOSCore (couldn't read decrypted memory)
· failed to decrypt Frameworks/OneSignalFramework.framework/OneSignalFramework (couldn't read decrypted memory)
· failed to decrypt Frameworks/OneSignalOutcomes.framework/OneSignalOutcomes (couldn't read decrypted memory)
· failed to decrypt Frameworks/FBSDKCoreKit_Basics.framework/FBSDKCoreKit_Basics (couldn't read decrypted memory)
· failed to decrypt Frameworks/OneSignalExtension.framework/OneSignalExtension (couldn't read decrypted memory)
· failed to decrypt Frameworks/OneSignalLiveActivities.framework/OneSignalLiveActivities (couldn't read decrypted memory)
· failed to decrypt Frameworks/FBSDKShareKit.framework/FBSDKShareKit (couldn't read decrypted memory)
· failed to decrypt Frameworks/FBSDKGamingServicesKit.framework/FBSDKGamingServicesKit (couldn't read decrypted memory)
· failed to decrypt Frameworks/OneSignalUser.framework/OneSignalUser (couldn't read decrypted memory)
· failed to decrypt Frameworks/OneSignalLocation.framework/OneSignalLocation (couldn't read decrypted memory)
· spawned OneSignalNotificationServiceExtension via ptrace
· decrypted OneSignalNotificationServiceExtension (16.0 KB)
· app couldn't fully launch on this device; recovering what was loaded
· packaged → io.stampapp.Stamp_9.25.0.ipa
✓ decrypted 2 image(s): 2 main, 0 framework
✓ → /Users/######/Desktop/ipadecrypt/io.stampapp.Stamp_9.25.0.decrypted.ipa
✗ 17 binary(ies) still have cryptid != 0
Environment
- Jailbreak: Dopamine
- iOS version: 16.1.1
- Device: iPhone 11 (arm64e)
Additional context
This is a regression v0.5.6 decrypted the same app successfully. The main executable (FreeYourMusic) and one extension (OneSignalNotificationServiceExtension) do decrypt correctly so the issue appears to be specific to framework decryption specifically in this version.
Addressed in 0.6.1