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

    • Plants vs. Zombies™ 2 v12.5.2 +4 Cheats [Unlimited Currencies]
      Modded/Hacked App: Plants vs. Zombies™ 2 By PopCap
      Bundle ID: com.popcap.ios.PvZ2
      iTunes Store Link: https://itunes.apple.com/us/app/plants-vs-zombies-2/id597986893
       

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Mints
        • Agree
        • Thanks
        • Winner
        • Like
      • 3,791 replies
    • Fitness RPG: Hero health game v5.6 [ +6 Cheats ] ADS NO
      Modded/Hacked App: Fitness RPG: Hero health game By Shikudo Co., Ltd.
      Bundle ID: com.shikudo.fitrpg
      App Store Link: https://apps.apple.com/ca/app/fitness-rpg-hero-health-game/id1252580641?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Super Card Active
      - Normal Card Active
      - Currency / NO Need
      - Resources / NO Need
      - DMG / When Opp Turn OFF
      • 0 replies
    • Fitness RPG: Hero health game v5.6 [ +6 Jailed ] ADS NO
      Modded/Hacked App: Fitness RPG: Hero health game By Shikudo Co., Ltd.
      Bundle ID: com.shikudo.fitrpg
      App Store Link: https://apps.apple.com/ca/app/fitness-rpg-hero-health-game/id1252580641?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Super Card Active
      - Normal Card Active
      - Currency / NO Need
      - Resources / NO Need
      - DMG / When Opp Turn OFF
      • 1 reply
    • Travel Town - Merge Adventure v2.12.1231 Jailed Cheats +1
      Modded/Hacked App: Travel Town - Merge Adventure By Magmatic Games Ltd
      Bundle ID: io.randomco.travel
      iTunes Store Link: https://apps.apple.com/us/app/travel-town-merge-adventure/id1521236603?uo=4


      Hack Features:
      - Infinite Currencies


      iOS Hack Download Link: https://iosgods.com/topic/148953-travel-town-merge-adventure-v212287-jailed-cheats-1/
        • Agree
        • Like
      • 816 replies
    • SuperStar SMTOWN Cheats v3.26.8 +3
      Modded/Hacked App: SuperStar SMTOWN By Dalcomsoft Inc.
      Bundle ID: kr.co.dalcomsoft.superstar.i
      iTunes Store Link: https://apps.apple.com/us/app/superstar-smtown/id890937532?uo=4


      Hack Features:
      - Auto Dance
      - Never Lose Combo


      iOS Hack Download Link: https://iosgods.com/topic/161038-superstar-smtown-cheats-v378-2/
      • 198 replies
    • Soul Huntress: Dungeon Crawler v1.0.9 [+3 Jailed Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4


      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
      • 35 replies
    • Soul Huntress: Dungeon Crawler v1.0.9 [+3 Cheats]
      Modded/Hacked App: Soul Huntress: Dungeon Crawler By Panthera Joint Stock Company
      Bundle ID: com.pantheraplay.soulhuntress
      App Store Link: https://apps.apple.com/ph/app/soul-huntress-dungeon-crawler/id6743422594?uo=4



      🤩 Hack Features

      - Never Die
      - Unlimited Currency (Always Will Increase Spend)
      - Always Can Use Items (Even when has cooldown)
      • 40 replies
    • Train Invasion v1.0 [ +1 Cheats ] Currency Max
      Modded/Hacked App: Train Invasion By Kiwert SPRL
      Bundle ID: com.kiwert.traininvasion
      App Store Link: https://apps.apple.com/ca/app/train-invasion/id6751881247?uo=4

      🤩 Hack Features

      - Unlimited Gold
      • 1 reply
    • Train Invasion v1.0 [ +1 Jailed ] Currency Max
      Modded/Hacked App: Train Invasion By Kiwert SPRL
      Bundle ID: com.kiwert.traininvasion
      App Store Link: https://apps.apple.com/ca/app/train-invasion/id6751881247?uo=4

      🤩 Hack Features

      - Unlimited Gold
      • 2 replies
    • (GODDESS OF VICTORY: NIKKE CHINA) 胜利女神:新的希望 v7.3.1 +4 Cheats
      Modded/Hacked App: 胜利女神:新的希望 By Shenzhen Tencent Tianyou Technology Ltd
      Bundle ID: com.tencent.nikke
      App Store Link: https://apps.apple.com/cn/app/%E8%83%9C%E5%88%A9%E5%A5%B3%E7%A5%9E-%E6%96%B0%E7%9A%84%E5%B8%8C%E6%9C%9B/id6467825646?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

      - Never Die
      - Unlimited Ammo
      - No Charge Time
      - Fire Rate Multiplier

       

      ⬇️ iOS Hack Download Link


      Hidden Content

      Download Hack







       

      📖 iOS Installation Instructions

      STEP 1: Download the .deb hack file from the link above. Use Safari, Google Chrome or other iOS browsers to download.
      STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
      STEP 3: If needed, tap on the downloaded file again, then select ‘Normal Install’ from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. If it doesn’t install successfully, see the note below.
      STEP 5: Open the game, log in to your iOSGods account when asked, then toggle on the features you want and enjoy!

       

      NOTE: If you have any questions or problems, read our Jailbreak iOS Hack Troubleshooting & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue below and we'll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A

       

      More iOS App Hacks
      If you’re looking for Non-Jailbroken & No Jailbreak required iOS IPA hacks, visit the iOS Game Cheats & Hacks or the iOSGods App for a variety of modded games and apps for non-jailbroken iOS devices.

      Modded Android APKs
      Need modded apps or games for Android? Check out the latest custom APK mods, cheats & more in our Android Section.
      • 1 reply
    • (GODDESS OF VICTORY: NIKKE CHINA) 胜利女神:新的希望 v7.3.1 +4 Jailed Cheats
      Modded/Hacked App: 胜利女神:新的希望 By Shenzhen Tencent Tianyou Technology Ltd
      Bundle ID: com.tencent.nikke
      App Store Link: https://apps.apple.com/cn/app/%E8%83%9C%E5%88%A9%E5%A5%B3%E7%A5%9E-%E6%96%B0%E7%9A%84%E5%B8%8C%E6%9C%9B/id6467825646?uo=4

       

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Never Die
      - Unlimited Ammo
      - No Charge Time
      - Fire Rate Multiplier

       

      ⬇️ iOS Hack Download IPA Link


      Hidden Content

      Download via the iOSGods App







       

      📖 PC Installation Instructions

      STEP 1: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see our iOSGods App IPA Download Tutorial which includes a video example.
      STEP 2: Download Sideloadly and install it on your Windows or Mac.
      STEP 3: Open Sideloadly on your computer, connect your iOS device, and wait until your device name appears in Sideloadly.
      STEP 4: Once your iDevice is recognized, drag the modded .IPA file you downloaded and drop it into the Sideloadly application.
      STEP 5: Enter your Apple Account email, then press “Start.” You’ll then be asked to enter your password. Go ahead and provide the required information.
      STEP 6: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 7: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles / VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 8: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.

       

      🙌 Credits

      - AlyssaX64

       

      📷 Cheat Video/Screenshots

      N/A
      • 3 replies
    • Jobmania Eternal Dungeon v2.38.0 +3 Jailed Cheats
      Modded/Hacked App: Jobmania Eternal Dungeon By Aubrey Puan
      Bundle ID: com.aubjective.jobmania
      iTunes Store Link: https://apps.apple.com/us/app/jobmania-eternal-dungeon/id1643100440?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier
      - Add Currenies  → Battle → Market → Buy & Retreat


      Jailbreak required hack(s): 


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App








      PC Installation Instructions:
      STEP 1: If necessary, uninstall the app if you have it installed on your iDevice. Some hacked IPAs will install as a duplicate app. Make sure to back it up so you don't lose your progress.
      STEP 2: Download the pre-hacked .IPA file from the link above to your computer. To download from the iOSGods App, see this tutorial topic.
      STEP 3: Download Sideloadly and install it on your PC.
      STEP 4: Open/Run Sideloadly on your computer, connect your iOS Device, and wait until your device name shows up.
      STEP 5: Once your iDevice appears, drag the modded .IPA file you downloaded and drop it inside the Sideloadly application.
      STEP 6: You will now have to enter your iTunes/Apple ID email login, press "Start" & then you will be asked to enter your password. Go ahead and enter the required information.
      STEP 7: Wait for Sideloadly to finish sideloading/installing the hacked IPA. If there are issues during installation, please read the note below.
      STEP 8: Once the installation is complete and you see the app on your Home Screen, you will need to go to Settings -> General -> Profiles/VPN & Device Management. Once there, tap on the email you entered from step 6, and then tap on 'Trust [email protected]'.
      STEP 9: Now go to your Home Screen and open the newly installed app and everything should work fine. You may need to follow further per app instructions inside the hack's popup in-game.

      NOTE: iOS/iPadOS 16 and later, you must enable Developer Mode. For free Apple Developer accounts, you will need to repeat this process every 7 days. Jailbroken iDevices can also use Sideloadly/Filza/IPA Installer to normally install the IPA with AppSync. If you have any questions or problems, read our Sideloadly FAQ section of the topic and if you don't find a solution, please post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - AlyssaX64


      Cheat Video/Screenshots:

      N/A
      • 49 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