Jump to content

[Tutorial] How to Perform a Binary Patch / How to Thin your Binary


192 posts in this topic

Recommended Posts

Updated (edited)

No hidden content so the user can just see it, do it, and use the hack. If lipoARM64 won't work, here is how to manually do a binary patch:


Instructions:
1. Get 'Darwin CC Tools' (version 855) from the BigBoss repo, 'Clutch2' from cydia.iphonecake.com repo, and 'iOS Terminal' from the BigBoss repo.

2. - VERY IMPORTANT: The iOS 9 jailbreak breaks many command line tools and now they must be signed manually with ldid in order for them to work. Because of this, lipo must be signed or else you'll get the infamous "Killed: 9" error. To resign lipo, follow these steps:

1. Navigate to /usr/bin/ in iFile.

2. Find a file named "lipo" and copy it into /var/mobile/.

3. Open iOS Terminal and run these commands:


su
alpine
cd /var/mobile
ldid -s lipo

4. Now we have to set permissions to the newly signed lipo file. Set them as shown here:
Owner: root
Group: wheel

User: Read, Write, Execute
Group: Read, Execute
World: Read, Execute

5. Hit "Done" after setting permissions and copy the new lipo into /usr/bin/ and overwrite the old one.

6. You are done signing lipo!

3. Go into iOS Terminal, switch to root, and run Clutch (enter each command per line).

su
alpine
Clutch2

If I were to crack Netflix I would do this:

MJWiS6k.jpg



Then crack the app and go to /var/mobile/Documents/Cracked (or wherever you set your cracked apps location when configuring Clutch). There should be a new .ipa file there. Rename the .ipa extension to .zip then simply open it with WinRar/7-Zip on your PC or iFile/Filza on your iDevice.

xDRYB0i.jpg



4. Locate the binary inside the .ipa archive: /Payload/App Name.app/Binary Name (Binary file has no extension)

zMbrszZ.jpg



5. Now extract the binary and send it to /var/mobile on your iDevice and rename it to "1" (to make it easier).

JnGtNtm.png



6. Switch back to iOS Terminal and then type in this command:

cd /var/mobile
lipo 1 -thin armv7 -o BinaryNameFromIPAHere

Here is what it would look like with Netflix:

ytNXWHD.png



7. Take the binary that lipo created (in /var/mobile, it will be smaller than the original binary by around half) and send it to the location where your game's folder is:

iOS 6 & 7: /var/mobile/Applications/AppName/AppName.app

iOS 8 & 9: /var/mobile/Containers/Bundle/Application/AppName/AppName.app

8. Now we will need to set permissions to the binary file inside the app's folder:

Owner: mobile
Group: mobile

User: Read, Write, Execute
Group: Read, Write, Execute
World: Read, Write, Execute

yT8JZA2.jpg



Do that or your game will crash.

9. Now you can celebrate because you just did a binary patch. :snoop:

Updated by Guest
Added Clutch2 instead of Clutch
Posted

Does this do anything?

For me:

1. It takes off the arm64 portion of the binary cos its useless to me

2. It makes it so that I can patch syscall (debugging protection) successfully

3. It makes it so that I can remove ASLR (address space layout randomization, basically makes it so that the original offset is hidden)

4. It makes it so that I'm able to set watchpoints and so that there are no 64 bit memory addresses

5. It makes it so that I can attach GDB to the app successfully (for breakpoints)

6. It makes it so that LLDB won't flip out when I try to attach

7. It makes it so that I don't have to patch the arm64 part as well as the armv7 part

8. Smaller binary size = less time to load in IDA

 

For you:

1. It makes the hack work

 

:p

Posted

For me:

1. It takes off the arm64 portion of the binary cos its useless to me

2. It makes it so that I can patch syscall (debugging protection) successfully

3. It makes it so that I can remove ASLR (address space layout randomization, basically makes it so that the original offset is hidden)

4. It makes it so that I'm able to set watchpoints and so that there are no 64 bit memory addresses

5. It makes it so that I can attach GDB to the app successfully (for breakpoints)

6. It makes it so that LLDB won't flip out when I try to attach

7. It makes it so that I don't have to patch the arm64 part as well as the armv7 part

8. Smaller binary size = less time to load in IDA

 

For you:

1. It makes the hack work

 

:p

so basically nothing useful :rofl:

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
  • Our picks

    • Hunt Royale: Action RPG Battle v3.22.3 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hunt Royale: Action RPG Battle By BoomBit, Inc.
      Bundle ID: com.hunt.royale
      iTunes Store Link: https://apps.apple.com/us/app/hunt-royale-action-rpg-battle/id1537379121?uo=4

       
       

      🚀 Hack Features

      - Dumb Enemies

      VIP
      - Damage Multiplier
      - Defence Multiplier
      • 229 replies
    • Animal Mafia v1.0.3 [ +20 Jailed ] Currency Max
      Modded/Hacked App: Animal Mafia By IGNITION M CO., LTD.
      Bundle ID: com.ignm.animalmafia
      App Store Link: https://apps.apple.com/us/app/animal-mafia/id6741849079?uo=4

      🤩 Hack Features

      - Premium Active
      - Premium Claim Unlimited
      - Premium Unlimited Rewards
      - Normal Unlimited Rewards
      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited Soul Can
      - Unlimited Sprout Keys + Voucher
      - Unlimited Grilled Fish + Voucher
      - Unlimited Enhancement Crystal + Voucher
      - Unlimited Animal Cookie
      - Unlimited Bloom Key
      - Unlimited Adventure Medal
      - Offline Rewards / Unlimited Gold
      - Offline Rewards / Unlimited Gummy
      - Gacha / Earn Gold
      - Gacha / Earn Gummy
      - ATK / Hero Upgrade
      - HP / Hero Upgrade
      • 1 reply
    • Animal Mafia v1.0.3 [ +20 Cheats ] Currency Max
      Modded/Hacked App: Animal Mafia By IGNITION M CO., LTD.
      Bundle ID: com.ignm.animalmafia
      App Store Link: https://apps.apple.com/us/app/animal-mafia/id6741849079?uo=4

      🤩 Hack Features

      - Premium Active
      - Premium Claim Unlimited
      - Premium Unlimited Rewards
      - Normal Unlimited Rewards
      - Unlimited Gems
      - Unlimited Gold
      - Unlimited Energy
      - Unlimited Soul Can
      - Unlimited Sprout Keys + Voucher
      - Unlimited Grilled Fish + Voucher
      - Unlimited Enhancement Crystal + Voucher
      - Unlimited Animal Cookie
      - Unlimited Bloom Key
      - Unlimited Adventure Medal
      - Offline Rewards / Unlimited Gold
      - Offline Rewards / Unlimited Gummy
      - Gacha / Earn Gold
      - Gacha / Earn Gummy
      - ATK / Hero Upgrade
      - HP / Hero Upgrade
      • 1 reply
    • Dead Impact: Survival MMORPG v1.17 +11 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Dead Impact: Survival MMORPG By SYNTHEZ GAMES LIMITED
      Bundle ID: games.synthez.zombie.survival.multiplayer
      App Store Link: https://apps.apple.com/us/app/dead-impact-survival-mmorpg/id6444281832?uo=4

       
       

      🤩 Hack Features

      - Freeze Currencies
      - Freeze Items
      - 1 Stat Point Requirement
      - Level Threshold Modifier -> Amount of XP required to advance to the next level.
      - No Craft Item Requirement
      - Unlimited Durability
      - No Consumable Cooldown

      VIP
      - Unlimited Currencies -> Will increase instead of decrease.
      - Unlimited Items -> Will increase instead of decrease.
      - Unlock All
      - Unlock All Classes
      • 260 replies
    • Dead Impact: Survival MMORPG v1.17 +11 Cheats [ Unlimited Everything ]
      Modded/Hacked App: Dead Impact: Survival MMORPG By SYNTHEZ GAMES LIMITED
      Bundle ID: games.synthez.zombie.survival.multiplayer
      App Store Link: https://apps.apple.com/us/app/dead-impact-survival-mmorpg/id6444281832?uo=4

       


      🤩 Hack Features

      - Freeze Currencies
      - Freeze Items
      - 1 Stat Point Requirement
      - Level Threshold Modifier -> Amount of XP required to advance to the next level.
      - No Craft Item Requirement
      - Unlimited Durability
      - No Consumable Cooldown

      VIP
      - Unlimited Currencies -> Will increase instead of decrease.
      - Unlimited Items -> Will increase instead of decrease.
      - Unlock All
      - Unlock All Classes
      • 92 replies
    • Matchcreek Motors v10.7.19722 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Matchcreek Motors: Custom Cars By Hutch Games Ltd
      Bundle ID: com.hutchgames.carsm3
      iTunes Store Link: https://apps.apple.com/us/app/matchcreek-motors-custom-cars/id6566187035?uo=4

       
       

      🤩 Hack Features

      - Unlimited Currencies -> Will increase instead of decrease.
      - Freeze Lives
      - Freeze Pre-Game Boosters
      - Freeze Boosters
      - Freeze Moves
      • 11 replies
    • Romantic Blast: Love Stories v2.5.1 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Romantic Blast: Love Stories By Pexix Technology Limited
      Bundle ID: ios.romantic.blast.makeover.game
      iTunes Store Link: https://apps.apple.com/us/app/romantic-blast-love-stories/id6463772070?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Gems -> Earn or spend some.
      - Unlimited Lives -> Earn or spend some.
      - Unlimited Boosters -> Will not decrease.
      - Unlimited Moves -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Romantic Blast: Love Stories v2.2.9 +5 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 5 replies
    • Epic Stickman: RPG Idle Game v1.0.48 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Epic Stickman: RPG Idle Game By Fansipan Limited
      Bundle ID: com.fansipan.epic.stickman.survival.rpg.idle.game
      iTunes Store Link: https://apps.apple.com/us/app/epic-stickman-rpg-idle-game/id6503872838?uo=4


      Hack Features:
      - Unlimited Currencies -> Will increase instead of decrease.
      - Free In-App Purchases -> Toggle via iGMenu.


      Jailbreak required hack(s): [Mod Menu Hack] Epic Stickman: RPG Idle Game v1.0 +2++ Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 45 replies
    • Disney Solitaire v1.11.2 +2++ Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Disney Solitaire By SuperPlay LTD
      Bundle ID: com.superplaystudios.disneysolitairedreams
      iTunes Store Link: https://apps.apple.com/us/app/disney-solitaire/id6475757306?uo=4

       
       

      🤩 Hack Features

      - Unlimited Everything -> Will increase instead of decrease.
      - Free In-App Purchases
        • Haha
      • 46 replies
    • Tiny Reaper: Reborn v1.2.13 +4 Jailed Cheats [ God Mode + More ]
      Modded/Hacked App: Tiny Reaper: Reborn By DAERI SOFT
      Bundle ID: com.daerigame.babysasin
      App Store Link: https://apps.apple.com/us/app/tiny-reaper-reborn/id6739761698?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - No Skill Cooldown
      - Dumb Enemies
        • Like
      • 23 replies
    • Brotato v1.3.262 +4 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: Brotato By QI YU SG. PTE. LTD.
      Bundle ID: com.brotato.shooting.survivors.action.games.bullethell.ios
      iTunes Store Link: https://apps.apple.com/us/app/brotato/id6445884925?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - God Mode
      - Move Speed Multiplier
      - Free In-App Purchases
      • 45 replies
    • Golf Superstar 2 v1.0.15 +2 Jailed Cheats [ Unlimited Cash ]
      Modded/Hacked App: Golf Superstar 2 By Scott Baillie
      Bundle ID: com.lazyboydevelopments.golfsuperstar2
      App Store Link: https://apps.apple.com/us/app/golf-superstar-2/id1598585549?uo=4

       

      🤩 Hack Features

      - Unlimited Cash 
      - Unlimited XP
      • 1 reply
×
  • 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