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

    • Shadow Hunter: Premium v11.128.2 +9 Cheats
      Modded/Hacked App: Shadow Hunter: Premium By ENIGMA SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.enigma.shadowhunter.paid
      iTunes Store Link: https://apps.apple.com/us/app/shadow-hunter-premium/id1588843797?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Free Equipment Level Up*
      - Free Merchant Shop*
      - Free Mystic Store*
      - Free Fragment Shop*
      - Free Video Shop*
      - No Awaken Dust Cost
      - No Ascend Requirements
      - No Evolve Requirements
      - 1 Item = 100 Items

      Notes:
      * under one switch. Do not purchase stuff that cost diamond, or your game becomes invalid. So, save from time to time to revert back if anything happens.
      • 670 replies
    • Shadow Hunter: Offline Games v10.128.2 +9 Cheats
      Modded/Hacked App: Shadow Hunter: Lost Worlds By ENIGMA SOFTWARE JOINT STOCK COMPANY
      Bundle ID: com.enigma.shadowhunter.free
      iTunes Store Link: https://apps.apple.com/us/app/shadow-hunter-lost-worlds/id1559150590?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - Free Equipment Level Up*
      - Free Merchant Shop*
      - Free Mystic Store*
      - Free Fragment Shop*
      - Free Video Shop*
      - No Awaken Dust Cost
      - No Ascend Requirements
      - No Evolve Requirements
      - 1 Item = 100 Items

      Notes:
      * under one switch. Do not purchase stuff that cost diamond, or your game becomes invalid. So, save from time to time to revert back if anything happens.
      • 820 replies
    • Fishing Hook2 v1.0.2 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Fishing Hook2 By MOBIRIX
      Bundle ID: com.mobirix.fishinghook2
      App Store Link: https://apps.apple.com/ph/app/fishing-hook2/id6751476015?uo=4


      🤩 Hack Features

      - Unlimited Gold / Sell Fish
      - Unlimited EXP / Sell Fish / Tested Not
      - Easy Catch
      • 6 replies
    • Fishing Hook2 v1.0.2 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Fishing Hook2 By MOBIRIX
      Bundle ID: com.mobirix.fishinghook2
      App Store Link: https://apps.apple.com/ph/app/fishing-hook2/id6751476015?uo=4
       

      🤩 Hack Features

      - Unlimited Gold / Sell Fish
      - Unlimited EXP / Sell Fish / Tested Not
      - Easy Catch
      • 5 replies
    • dropcult v1.3.4 +3 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: dropcult By SMOKESPOT GAMES, LLC
      Bundle ID: com.SmokeSpotGames.SkreetFigherzGame
      App Store Link: https://apps.apple.com/us/app/dropcult/id1550684098?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 35 replies
    • dropcult v1.3.4 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: dropcult By SMOKESPOT GAMES, LLC
      Bundle ID: com.SmokeSpotGames.SkreetFigherzGame
      App Store Link: https://apps.apple.com/us/app/dropcult/id1550684098?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      • 21 replies
    • Night Slashers: Remake v1.0.6 +4 Jailed Cheats [ God Mode + More ]
      Modded/Hacked App: Night Slashers: Remake By Forever Entertainment S.A.
      Bundle ID: com.forever-entertainment.NightSlashersRemake
      App Store Link: https://apps.apple.com/us/app/night-slashers-remake/id6739348927?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Point Multiplier
      - Free In-App Purchases
      • 0 replies
    • Night Slashers: Remake v1.0.6 +4 Cheats [ God Mode + More ]
      Modded/Hacked App: Night Slashers: Remake By Forever Entertainment S.A.
      Bundle ID: com.forever-entertainment.NightSlashersRemake
      App Store Link: https://apps.apple.com/us/app/night-slashers-remake/id6739348927?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Point Multiplier
      - Free In-App Purchases
      • 1 reply
    • Dead Impact: Survival MMORPG v1.09 +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
      • 180 replies
    • Dead Impact: Survival MMORPG v1.09 +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
      • 72 replies
    • Space Outpost: Drone War v0.4.8 [+2 Jailed Cheats]
      Modded/Hacked App: Space Outpost: Drone War By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.spaceoutpost
      App Store Link: https://apps.apple.com/us/app/space-outpost-drone-war/id6747959347?uo=4



      🤩 Hack Features

      - High Damage
      - Activate SVip
      • 0 replies
    • Space Outpost: Drone War v0.4.8 [+2 Cheats]
      Modded/Hacked App: Space Outpost: Drone War By CYBERJOY LIMITED
      Bundle ID: com.cyberjoy.spaceoutpost
      App Store Link: https://apps.apple.com/us/app/space-outpost-drone-war/id6747959347?uo=4



      🤩 Hack Features

      - High Damage
      - Activate SVip
       
      • 9 replies
×
  • 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