Jump to content

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


191 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:

  Reveal hidden contents



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.

  Reveal hidden contents



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

  Reveal hidden contents



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

  Reveal hidden contents



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:

  Reveal hidden contents



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

  Reveal hidden contents



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
  On 6/18/2015 at 4:26 PM, Stephen Curry said:

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
  On 6/18/2015 at 4:33 PM, shmoo said:

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

    • Pal Go: Tower Defense TD v0.3.64 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 39 replies
    • Pal Go: Tower Defense TD v0.3.64 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 64 replies
    • NETHER MONSTERS v1.03 [+4 Cheats]
      Modded/Hacked App: NETHER MONSTERS By ARAKUMA STUDIO S.A.
      Bundle ID: com.ArakumaStudio.NetherMonsters
      iTunes Store Link: https://apps.apple.com/us/app/nether-monsters/id6742568029?uo=4

       

      🤩 Hack Features

      - Never Die
      - Get IAP Products  
      - Add Currency
      - Auto Win (Enable inside battle)
      • 4 replies
    • NETHER MONSTERS v1.03 [+4 Jailed Cheats]
      Modded/Hacked App: NETHER MONSTERS By ARAKUMA STUDIO S.A.
      Bundle ID: com.ArakumaStudio.NetherMonsters
      iTunes Store Link: https://apps.apple.com/us/app/nether-monsters/id6742568029?uo=4



      🤩 Hack Features

      - Never Die
      - Get IAP Products  
      - Add Currency
      - Auto Win (Enable inside battle)
      • 3 replies
    • [ FFBE WoTV Japan ] FFBE幻影戦争 WAR OF THE VISIONS Cheats v12.0.2 +3
      Modded/Hacked App: FFBE幻影戦争 戦略RPG/シミュレーションゲーム By SQUARE ENIX Co., Ltd.
      Bundle ID: com.square-enix.WOTVffbejp
      iTunes Store Link: https://apps.apple.com/jp/app/ffbe%E5%B9%BB%E5%BD%B1%E6%88%A6%E4%BA%89-%E6%88%A6%E7%95%A5rpg-%E3%82%B7%E3%83%9F%E3%83%A5%E3%83%AC%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E3%82%B2%E3%83%BC%E3%83%A0/id1443703517?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Full Map Movement


      iOS Hack Download Link: https://iosgods.com/topic/173484-ffbe-wotv-japan-ffbe%E5%B9%BB%E5%BD%B1%E6%88%A6%E4%BA%89-war-of-the-visions-cheats-v916-3/
      • 89 replies
    • Treasure Party: Puzzle Fun! v2.34.3 [ +3 Jailed ] Coins Max
      Modded/Hacked App: Treasure Party: Puzzle Fun! By PlayQ Inc.
      Bundle ID: net.playq.treasureparty4
      iTunes Store Link: https://apps.apple.com/us/app/treasure-party-puzzle-fun/id1668898401?uo=4

       
      Hack Features

      - Coins
      - Lives
      - Moves



      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 14 replies
    • Treasure Party: Puzzle Fun! v2.34.3 [ +3 Cheats ] Coins Max
      Modded/Hacked App: Treasure Party: Puzzle Fun! By PlayQ Inc.
      Bundle ID: net.playq.treasureparty4
      iTunes Store Link: https://apps.apple.com/us/app/treasure-party-puzzle-fun/id1668898401?uo=4

       

      Hack Features

      - Coins
      - Lives
      - Moves



      For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/

       

      iOS Hack Download Link


      Hidden Content

      Download Hack
      • 10 replies
    • Dream Resort - Match 3 Games v1.3.2 [ +7 Jailed ] Auto Win
      Modded/Hacked App: Dream Resort - Match 3 Games By F.O.G LIMITED
      Bundle ID: com.dream.resort.candy.match.mania.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-resort-match-3-games/id6737011572?uo=4
       

      🚀 Hack Features

      - Auto ADS Disable

      - Coins

      - Diamonds

      - Lives Cost

      - Moves Freeze

      - Booster [ Buy Get Unlimited After use Then work ]

      - Auto win 


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 9 replies
    • Dream Resort - Match 3 Games v1.3.2 [ +7 Cheats ] Auto Win
      Modded/Hacked App: Dream Resort - Match 3 Games By F.O.G LIMITED
      Bundle ID: com.dream.resort.candy.match.mania.ios
      iTunes Store Link: https://apps.apple.com/us/app/dream-resort-match-3-games/id6737011572?uo=4

       

      🔧 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Cydia, Sileo or Zebra).

       

      🚀 Hack Features

      - Auto ADS Disable

      - Coins

      - Diamonds

      - Lives Cost

      - Moves Freeze

      - Booster [ Buy Get Unlimited After use Then work ]

      - Auto win 


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 10 replies
    • Plant Power - Fruit Showdown! v7.5 [ +20++ Cheats ] Currency Max
      Modded/Hacked App: Plant Power - Fruit Showdown! By Ka Chun CHEUNG
      Bundle ID: com.CHEUNG.plant
      iTunes Store Link: https://apps.apple.com/us/app/plant-power-fruit-showdown/id6657962632?uo=4

       

      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Speed UP Card Active

      - Gems

      - Gold

      - Energy

      - Golden Keys

      - Silver Keys

      - Hero Basic [ Unlocked ]

      - Hero Legendary [ Unlocked Just Tap Card ]

      - Weapons Unlocked

      - Walls Unlocked

      - GamePlay Unlocked [ Play Free Any ]

      - Weapon LvL UP Cards

      - Basic Hero LvL UP Cards

      - Wave Faster Skip [ Kill 1 Monster ]

      - Weapon LvL & Status [ ATK SKILL CD CRITI HP ETC ]

      - Basic Hero LvL & Status [ ATK CD CRITI ETC ]

      - Legendary Hero LvL & Status [ ATK CD CRITI ETC ]
      • 6 replies
    • Plant Power - Fruit Showdown! v7.5 [ +20++ Jailed ] Currency Max
      Modded/Hacked App: Plant Power - Fruit Showdown! By Ka Chun CHEUNG
      Bundle ID: com.CHEUNG.plant
      iTunes Store Link: https://apps.apple.com/us/app/plant-power-fruit-showdown/id6657962632?uo=4
       

      🤩 Hack Features

      - ADS NO [ Rewards Free ]

      - Speed UP Card Active

      - Gems

      - Gold

      - Energy

      - Golden Keys

      - Silver Keys

      - Hero Basic [ Unlocked ]

      - Hero Legendary [ Unlocked Just Tap Card ]

      - Weapons Unlocked

      - Walls Unlocked

      - GamePlay Unlocked [ Play Free Any ]

      - Weapon LvL UP Cards

      - Basic Hero LvL UP Cards

      - Wave Faster Skip [ Kill 1 Monster ]

      - Weapon LvL & Status [ ATK SKILL CD CRITI HP ETC ]

      - Basic Hero LvL & Status [ ATK CD CRITI ETC ]

      - Legendary Hero LvL & Status [ ATK CD CRITI ETC ]
      • 2 replies
    • BASEBALL 9 v3.7.0 +9 Cheats for Jailed iDevices!
      Modded/Hacked App: BASEBALL 9 By playus soft
      Bundle ID: us.kr.baseballnine
      iTunes Store Link: https://apps.apple.com/us/app/baseball-9/id1340866223?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Stamina
      - Unlimited Gems
      - Unlimited Recruit Tickets
      - Unlimited Gold Badges
      - Unlimited Silver Badges
      - Unlimited Platinum Badges
      - Unlimited XP Drinks
      - Unlimited Condition Drinks


      Jailbreak required hack(s): https://iosgods.com/topic/136094-baseball-9-cheats-all-versions-1/


      Hack Download Link: https://iosgods.com/topic/82460-baseball-9-v333-9-cheats-for-jailed-idevices/
      • 1,451 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