Jump to content

Modded binary immediately closes app?


Go to solution Solved by Rook,

10 posts in this topic

Recommended Posts

Posted (edited)

Hey, here's my typical app modding workflow:

  1. Decrypt .ipa using bfdecrypt (only decryption tool that works on Taurine 14.3, as far as i have found)
  2. Extract binary from new decrypted .ipa
  3. Thin it using lipo (only if it's multi arch binary)
  4. Fix permissions to 755/777
  5. Throw it in GHIDRA and start analyzing
  6. Manually apply mods/patches to binary using hex editor, and directly replace original one in app's bundle

Now, for some reason, this game https://apps.apple.com/us/app/id938586035 immediately closes after modding. Actually, even without modding, after only first two steps, if i replace original binary with decrypted one, it refuses to start. Does anyone have an idea what it could be, it's a random free game, and i don't think it has to do something with some form of anti-piracy..

Updated by al3xs7x
Posted

Use CrackerXI+ from iphonecake instead. No longer required lipo and manual setting permission

  • Solution
Posted

I can’t fully remember, but you may need AppSync installed and try running ldid -S on the binary.

Posted
39 minutes ago, al3xs7x said:

I know, but it doesn't work on libhooker (Taurine). So you think it's bfdecrypt's fault?

You need to fakesign the binary with ldid if using bfdecrypt

Posted (edited)
52 minutes ago, Rook said:

I can’t fully remember, but you may need AppSync installed and try running ldid -S on the binary.

 

51 minutes ago, Laxus said:

You need to fakesign the binary with ldid if using bfdecrypt

 

Yes, i have AppSync Unified installed. I have never used ldid, do i use it on phone or pc?

Updated by al3xs7x
Posted
2 minutes ago, al3xs7x said:

 

 

Yes, i have AppSync Unified installed. I have never used ldid, do i use it on phone or pc?

Device. Install Link Identity Editor from Cydia.

Posted (edited)

ldid -S did the trick! Thanks! Is the sign universal, eg. will it work on other devices? I am planning to release some patches/mods, is ipa the best way, i guess releasing only patched binary and requiring of users to replace original one in bundle is stupid..?

Updated by al3xs7x
Posted
1 hour ago, al3xs7x said:

ldid -S did the trick! Thanks! Is the sign universal, eg. will it work on other devices? I am planning to release some patches/mods, is ipa the best way, i guess releasing only patched binary and requiring of users to replace original one in bundle is stupid..?

I really don't remember. Binary modifications are a thing of the past, and we don't approve those anymore, unless you release as IPA. Then Sideloadly will take care of the signing.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines