Jump to content

Need help creating tweak or patching jailbreak detection IDA Pro and Theos


5 posts in this topic

Recommended Posts

Posted (edited)

Hey guys,

I have tried every anti jailbreak detection tweak in Cydia and nothing works for either Optik on the Go or Virgin TV Anywhere


Back in the days these 2 apps could be patched with Flex for jailbreak detection but now nothing works. Flex cannot see a lot of values that I can see with IDA Pro.

In fact I can clearly see that Optik on the Go checks for apps installed and some specific folders. However it seems that IDA itself cannot patch the binary, everything is done through a Hex Editor and it gets very confusing trying to figure out which value to patch at what address.

Then I found this post 

http://kolbi.cz/blog/?p=286

It seems that the best way to patch it is creating a Cydia tweak with Theos. Now I do have Theos installed and working. And if anyone takes a loo at the binary for Optik on the Go in IDA you will see the method use is very similar to the one used for the Citrix App that gets patched on that link that I provided above. However it has some other files it looks for.

However this is where I need help.

I do need to hook to the class object that has the jailbreak detection right?

Also if I'm trying to create a bool to reurn false, does that mean that the bool value has to exist in that section or I can just create it? because if the bool actually existed I would be able to find it with Flex right? But I cannot find it and that's why these 2 apps are impossible to patch with Flex.


If anyone has time. I can provide the decripted executable for both of these apps. I need help creating the tweak.xm file, then I think I can probbaly build the deb file once I have the propper tweak.xm file.

Here is the ipa I created with Clutch2

https://www.dropbox.com/s/ru23fx3pttczuam/com.telus.nscreen-iOS7.0-(Clutch-2.0.4).ipa?dl=0

I whish I could just change bools and other values in IDA and save the changes back to the executable and replace the executable but it seems that IDA is not able to do that. Every guide I have checked shows how to find values, but then you need to convert some code to hex and patch it with a hex editor; and that's where it gets complicated because no one explains how they actually got the hex values to patch.

That's the nice thing about Flex that you can void stuff and change bool values so easy but it just doesn't work for jailbreak detection in  a few apps.

 

Updated by saulin
  • Like 1
Posted (edited)

maybe downgrade them to version you can bypass,i dont know what are these apps.

not on my appstore cant help

Updated by Th3nop
Posted

If anyone wants to help I can provide login information for the apps as well.

They are Cable Providers apps that allow you to stream live TV or episodes and movies.

Much like Comcast Xfinity Stream or the DirecTV app. Downgrading does not help because the versions that are hackable by Flex are not longer supported and not compatible with IOS 9/10

 

Posted (edited)
6 hours ago, saulin said:

 

However this is where I need help.

 

Also if I'm trying to create a bool to reurn false, does that mean that the bool value has to exist in that section or I can just create it? because if the bool actually existed I would be able to find it with Flex right? But I cannot find it and that's why these 2 apps are impossible to patch with Flex.....

 I whish I could just change bools and other values in IDA and save the changes back to the executable and replace the executable but it seems that IDA is not able to do that. Every guide I have checked shows how to find values, but then you need to convert some code to hex and patch it with a hex editor; and that's where it gets complicated because no one explains how they actually got the hex values to patch.

That's the nice thing about Flex that you can void stuff and change bool values so easy but it just doesn't work for jailbreak detection in  a few apps.

 

There aren't any simple bool variables in Flex to change, and ya can't just make them up because the code is still being executed, you just don't see it in Flex.  

 Flex just shows the headers,  not the implementation logic, or specific function(s)/ subfunctions that need modified.  That's where IDA comes in.

If you find where it has the jailbreak check, you'll find a branch to a dead end one way, or back to the main flow the other way. 

Basically you need to find the address of the correct subfunction, then tell it to jump to the address where the sub-function branches to if it's not jailbroken, ( to the main flow) and then void the rest of the subfunction, so it never has a chance to branch to the dead end that having a jailbreak would send ya to.

With the right offsets/addresses, and instructions, you can patch the binary, and with armconverter.com get what you need to make a tweak.

It takes some patience (and a nice learning curve) tho to get there. There's some good tutorials on here for using IDA. Good luck. 

Updated by i0s_tweak3r
  • Like 1
Posted (edited)

I wish someone would post a tut on any of these 2 apps. I can find lots of references to jailbreak and jailbroken but what to patch is the big question. Also since there is no true of false values to change makes it a lot harder than altering the money value on a game lol

I swear these 2 apps are more protected than bank apps. They have some crazy jailbreak protection, nothing seems to work

Oh well back to smali code hacking on Android for me. I was able to patch the Android version of Optik on the Go but the Virgin TV Anywhere App is showing to be a real challenge as well.

 

***EDIT**

 

Watching this video

 

It looks like this guy is able to NOP the values that send the jailbreak message right in the program and then he's able to save a new executable?

At  around 10:30 on the video he starts explaining how the jailbreak is called

Can IDA in Windows do the same?

Otherwise do I just need a virtual machine with Mac software to install that Hopper software he's using?

This is exactly what I was hopping I would be able to do with IDA

The patch function does nothing in IDA for me. I can seem to be able to remove stuff but the changes are not reflected in the Hex area and also, I'm not able to save any changes or the difference of the changes for ARM64 IOS games and apps anyways.

Also I was trying to patch a game to get the items for free. I thought I had found the correct subs entry and I tried to NOP it with a hex editor in Windows. After I made the changes and transferred the modified executable back to the game.app folder on the device, the app just crashes, even though the permissions were set exactly the same as the other files in the folder. What is the proper way to to transferred the modified files back to the app or game?

However if I modify the hex values right on the phone itself with the Hex Editor built into Filza File Manager, the app doesn't crash but it looks like I got the wrong entry or I was not supposed to NOP it anyways because the app crashes when I try to make the purchase.

 

 

 

 

 

 

 

Updated by saulin

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

    • Basketball Star Rising v1.5.4 [ +2 Cheats ] Gems Max
      Modded/Hacked App: Basketball Star Rising By 军 赵
      Bundle ID: com.casual.basketball
      App Store Link: https://apps.apple.com/us/app/basketball-star-rising/id1562071554?uo=4
       

      🤩 Hack Features

      - ADS NO
      - Gems
      • 1 reply
    • Basketball Star Rising v1.5.4 [ +2 Jailed ] Gems Max
      Modded/Hacked App: Basketball Star Rising By 军 赵
      Bundle ID: com.casual.basketball
      App Store Link: https://apps.apple.com/us/app/basketball-star-rising/id1562071554?uo=4
       

      🤩 Hack Features

      - ADS NO
      - Gems
      • 1 reply
    • Bully: Anniversary Edition Cheats v1.4.1 +1 [ Dev Menu ]
      Modded/Hacked App: Bully: Anniversary Edition by Rockstar Games, Inc.
      Bundle ID: com.rockstargames.bully
      iTunes Store Link: https://apps.apple.com/us/app/bully-anniversary-edition/id1148321705?uo=4&at=1010lce4


      Hack Features:
      Jump to (will lose current progress)
      - Ability to jump to any Mission in-game. From Chapter 1 to Chapter 6.
      - Ability to jump to any Classes in-game. Art, Biology, Gym, Geography, Math, English, Chemistry, Music, Photography, Shop.
      - Ability to play any Minigames such as Arcade, Mowing House 1/2/3, Mowing Part 1/2/3, Paper Route Intro, Paper Route, Keep Ups, Penalty Shots, Bike Store & Tattoos.
      - Teleport to any location in-game. Asylum (Ouside), Blue Skies Industrial Part (Trailer Part), Bullworth Town (Outside), Carnival (Outside), New Coventry (Outside), Old Bullworth Gardens (Park), Old Bullworth Vale (Town), High Striker (Carnival Games), etc, etc. 
       
      Interrupt time-space continuum
      - Ability to Change Time.
      - Ability to Change Season. Summer, Fall, Winter, Spring.
      - Cycle Weather.
       
      Cheats
      - Toggle FPS (Display and Frames Per Second counter at the bottom of your screen).
      - Heal (Heal yourself).
      - Give Money (Give yourself unlimited money. The more you tap on this option the more money you will get).
      - Disable Crime
      - Give Bike
      - Invulnerability a.k.a God Mode / Never Die
      - Unlimited Sprint
      - Unlimited Ammo
      - Max Ammo
      - One Shot Kills
      - All Pranks
      - All Weapons
      - All Moves
      - All Grapples
      - All Clothing
      - Pass mission (Pass your current mission with success).
      - Fail mission (Fail your current mission).
       

      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/135424-bully-anniversary-edition-v11-jailed-cheats-1-debug-menu/


      iOS Hack Download Link: https://iosgods.com/topic/113583-bully-anniversary-edition-cheats-v11-1-dev-menu/
      • 1,322 replies
    • SimCity BuildIt Cheats v1.66.1 +1 [ Freeze Currencies ]
      Modded/Hacked App: SimCity BuildIt By EA Swiss Sarl
      Bundle ID: com.ea.simcitymobile.bv
      iTunes Store Link: https://apps.apple.com/us/app/simcity-buildit/id913292932?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/124792-arm64-simcity-buildit-v1412-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/157687-simcity-buildit-cheats-v1415-1/
        • Like
      • 670 replies
    • Aqua Match Cheats v0.230.1 +5
      Modded/Hacked App: Aqua Match By PLR Worldwide Sales Limited
      Bundle ID: com.playrix.aquamatch
      App Store Link: https://apps.apple.com/us/app/aqua-match/id6502511364?uo=4

       

      📌 Mod Requirements

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

       

      🤩 Hack Features

      - Freeze Moves
      - Freeze Life
      - Freeze Boosters
      - Freeze Coins
      - Freeze Gems



      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/196699-aqua-match-cheats-v02301-5/
      • 2 replies
    • Star Wars™: Galaxy of Heroes Cheats v0.36.8 +8
      Modded/Hacked App: Star Wars™: Galaxy of Heroes By Electronic Arts
      Bundle ID: com.ea.starwarscapital.bv
      iTunes Link: https://itunes.apple.com/us/app/star-wars-galaxy-of-heroes/id921022358?mt=8&uo=4&at=1010lce4


      Mod Requirements
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features
      - No Skill Cooldown time / Skill Always Available. Linked with enemy. Enable when it's your turn, disable when it's enemies turn. Timing is key.
      - One Hit Kill / Very High Damage. This is linked with you and the enemy, use with Skip Enemy Turn feature or enable disable when you attack via the In-Game Mod Menu! Do not kill the last enemy with OHK otherwise the game will crash. This feature is only for x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
      - Always Your Turn / Skip Enemy Turn. It's always your turn, you're always attacking.
      - Auto Win. You must use this with One Hit Kill in order for it to work. Kill 1 Enemy and you will auto win the battle.
      - Only 1 Encounter on All Missions.
      -- God Mode / Never Die thanks to the features above.

      This hack is now an In-Game Mod Menu. This means you can toggle switches on/off while in a fight. Since God Mode is linked, turn it off when you're attacking and turn it on when the enemy is attacking to do damage but not receive damage. Same goes for the other features.
      • 3,130 replies
    • Homematch - Home Design Games v2.17.2 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Homematch - Home Design Games By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.homecraft
      iTunes Store Link: https://apps.apple.com/us/app/homematch-home-design-games/id1438898374?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems


      Jailbreak required hack(s): [Mod Menu Hack] Homematch - Home Design Games v1.92.3 +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/
      • 14 replies
    • Homematch - Home Design Games v2.17.2 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Homematch - Home Design Games By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.homecraft
      iTunes Store Link: https://apps.apple.com/us/app/homematch-home-design-games/id1438898374?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Homematch - Home Design Games v1.92.3 +2 Jailed Cheats [ Unlimited Currencies ] - Free Non-Jailbroken IPA 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/
      • 7 replies
    • Hero's Adventure v1.2.117 +6 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Hero's Adventure By X.D. Network Inc.
      Bundle ID: com.xd.dxlzz.global
      iTunes Store Link: https://apps.apple.com/us/app/heros-adventure/id6711347049?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - Give All Items -> Head into Settings > Other and toggle the User Agreement button.
      - Unlock All Achievements -> Head into Settings > Other and toggle the Privacy Policy button.
      -- All DLC Purchased
      -- Guest Login Enabled
      • 141 replies
    • Hero's Adventure v1.2.117 +6 Cheats [ Damage & Defence ]
      Modded/Hacked App: Hero's Adventure By X.D. Network Inc.
      Bundle ID: com.xd.dxlzz.global
      iTunes Store Link: https://apps.apple.com/us/app/heros-adventure/id6711347049?uo=4

       
       

      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - Give All Items -> Head into Settings > Other and toggle the User Agreement button.
      - Unlock All Achievements -> Head into Settings > Other and toggle the Privacy Policy button.
      -- All DLC Purchased
      -- Guest Login Enabled
      • 31 replies
    • Pal Go: Tower Defense TD v0.3.86 [+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/
      • 55 replies
    • Pal Go: Tower Defense TD v0.3.86 [+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/
      • 79 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