Jump to content

[IDA Attempt] Trouble with IDA Hacking! >_<


TripMX

10 posts in this topic

Recommended Posts

Posted

Hello everyone, TripMX here!  I've recently taken up interest in IDA Hacking.

 

I'm a freelance coder and have used other such tools like THEOS, GamePlayer, Game Guardian, GameGem Flex, Flex 2, etc., and I even dabbled with the GDB (iPad x iPhone) in the past.  With that being said, I want to get into IDA hacking, which seems to be a more powerful means of hacking iOS games in comparison to the other tools...I must admit though, THEOS did a great job when it worked on x version of x iOS of x device....in my case that was iPad 2 on iOS 5.1.1.....that is, until I unwittingly updated THEOS from sdk3 thinking the sdk6+ would still work. -_-;  Oh well, haha!  I have THEOS installed on my iPad Air 2 (iOS 8.3) with the supposed "fix", but I haven't bothered using it in fear of being disappointed.

 

 

ANYWAYS!  Back to the point; I've done a little bit of research on the ARM documentation as well as followed some tutorials INCLUDING the ones here on iOS Gods, but I STILL can't seem to get even the simplest of IDA hacks to work.  I've thoroughly read EvillyG00d's and ZahirSher's IDA hacking tutorials and followed them, but STILL I fail. -_-

 

 

There must be something either wrong with my setup or the tutorial:

 

LET ME SHOW YOU:

 

My Hardware and Tools

  • Jailbroken iPad Air 2 (iOS 8.3)
  • Laptop running Windows 10
  • IDA Pro v6.8
  • HxD Hex Editor
  • iFunBox
  • Cracked IPA for the game Infection Bio War Free v1.0.14 (same one ZahirSher used in the tutorial)

 

 

HERE'S WHAT I DID:

 

FIRST_zpsrtk0jzja.jpg

 

^: FIRST, I loaded the cracked binary file like this.

 

 

 

 

 

SECOND_zpsmrmpaeed.jpg

 

^: SECOND, I selected YES...I tried "No" in later attempts, but it made no difference, as I still failed.

 

 

 

 

 

 

THIRD_zpsykpb513v.jpg

 

^: THIRD, this message pops up.  What does this mean in layman's terms?  If the register ( R ) is 0, [R0]?, then ARM mode is used, otherwise THUMB mode is used?  I can change the value of the virtual register T by pressing ALT-G...........can't I just change the register value in the HEX view instead?  The real value changing occurs in the HxD Hex Editor, right?

 

 

 

 

 

 

FOURTH_zpsphusfyda.jpg

 

^: FOURTH, I've successfully loaded up the cracked binary and searched for DNA and found the spendPoints function just like ZahirSher's tutorial showed.

 

 

 

 

 

 

 

 

 

 

FIFTH_zpsa2jv4jl8.png

 

^: FIFTH, just like ZahirSher's tutorial suggested, I changed the appropriate bytes in the appropriate offset:

 

1. SUBS R0, R2, R0   =>  ADD R0, R2, R0 [In HEX: 1018] (It will give you the money it took instead of substracting)
2. SUBS R0, R2, R0   =>  MOVS  R0, R7 [In Hex: 38 1C] (Will give you millions instead of substracting)
3. SUBS R0, R2, R0   =>  NOP [In Hex: C0 46] (it will be FREE)

There is another method you can use  :)

STR R0, [1] - Stored 0 in 1
Change it to STR R7, [1] - Stores 668 Millon in 1  :p

Done!  xD 

 

 

^: I tried all three of the above changes, and it still failed.  His last suggestion for changing STR R0, [1] into THUMB HEX does not convert, however, the converter can convert STR R0, [R1] into THUMB HEX....it is not clear whether [R1] and [1] are the same thing or not.  Either way, I went ahead and converted STR R0, [R1] into STR R7, [R1], but the hack STILL failed.

 

 

 

 

 

 

 

 

All in all, I have no idea why the hack failed to execute on my device.  All permissions were set to 777, and the game was unaffected by the hacks.  The DNA subtracted normally.

 

 

So, am I doing something wrong?  Where could have I screwed up?  Can any of you try to crack and hack the binary of the game and see what's the problem?

 

LINK TO GAME: https://itunes.apple.com/us/app/infection-bio-war-free/id805807843?mt=8

 

 

 

 

Sorry for the long post, but thanks for any help in advance!

Posted

Are you using a hex editor to modify? You can't modify files right in IDA's hex-view

 

Yes, I'm using HxD Hex Editor to modify and save the modified cracked binary hex code.

Posted

Are you going to the hex offset in the hex editor? (Different than the offset in IDA)

 

I'm going off the offset based on the offset shown in IDA, which is located in the bottom-left corner of the IDA window.

 

Also, on the IDA screen, it shows this part:

__text:00126CB4                 SUBS            R0, R2, R0

^: The bottom-left of the IDA window has this same 00126CB4 offset (Hex View matches this as well).  In the Hex Editor, I search for this same offset (without the first two zero digits).

Posted

Are you using a hex editor to modify? You can't modify files right in IDA's hex-view

Yes you can if you click save patches to binary file

 

I'm going off the offset based on the offset shown in IDA, which is located in the bottom-left corner of the IDA window.

 

Also, on the IDA screen, it shows this part:

 

__text:00126CB4                 SUBS            R0, R2, R0
^: The bottom-left of the IDA window has this same 00126CB4 offset (Hex View matches this as well).  In the Hex Editor, I search for this same offset (without the first two zero digits).

I think the offset you need is next to it

Posted

I think the offset you need is next to it

 

What do you mean?

 

 

 

 

whatotheroffset_zpstzh1m5a4.png

 

 

^: The current offset is to the bottom-left while the current location is next to it, and they look pretty much the same minus a bunch of zeros.

Archived

This topic is now archived and is closed to further replies.

  • Our picks

    • Matching Story v1.67.01 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4


      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 109 replies
    • Matching Story v1.67.01 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Matching Story By VERTEX GAMES PTE. LTD.
      Bundle ID: matching.story
      iTunes Store Link: https://apps.apple.com/ph/app/matching-story/id1558803930?uo=4

       
      🤩 Hack Features

      - Auto Win

      - Coins

      - Diamonds [ Win Match Linked With Moves ]

      - Lives

      - Booster

      - Moves
        • Informative
        • Agree
        • Haha
        • Thanks
        • Like
      • 107 replies
    • Sport Star - Team Manager Idle v0.10.0 [ +4 APK MOD ] Currency Max
      Mod APK Game Name: Sport Star - Team Manager Idle
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.coolcatsgames.sportstaridle&hl=en

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Currency Freeze
      - Gems Max
      - Cash Increaser
      • 0 replies
    • Sport Star - Team Manager Idle v0.10.0 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Sport Star - Team Manager Idle By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.coolcatsgames.sportstaridle
      App Store Link: https://apps.apple.com/us/app/sport-star-team-manager-idle/id6761053085?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Enough Currency
      - Currency Freeze
      - Gems Max
      - Cash Increaser
      • 0 replies
    • Sport Star - Team Manager Idle v0.10.0 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Sport Star - Team Manager Idle By Gryphon Games UG (haftungsbeschrankt)
      Bundle ID: com.coolcatsgames.sportstaridle
      App Store Link: https://apps.apple.com/us/app/sport-star-team-manager-idle/id6761053085?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Enough Currency
      - Currency Freeze
      - Gems Max
      - Cash Increaser
      • 0 replies
    • God Rivals: RPG Roguelike +8 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: God Rivals: RPG Roguelike By Gamee Joint Stock Company
      Bundle ID: com.gamee.godslayer.rpg.rougelike
      App Store Link: https://apps.apple.com/us/app/god-rivals-rpg-roguelike/id6747413590?uo=4

       

      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Increased Attack Speed
      - No Skill Cooldown
      - Auto Win
      - Unlimited Currencies -> Will increase instead of decrease.
      - Unlock Premium Pass
      - Unlock Royal Pass
        • Informative
        • Winner
        • Like
      • 4 replies
    • Dragon Barrage: Brick Breaker v1.1.6 [ +6 APK MOD ] Auto Win
      Modded/Hacked App: Dragon Barrage By Ryogo Oka
      Bundle ID: game01.hosistem.ne
      App Store Link: https://apps.apple.com/us/app/dragon-barrage/id6760708796?uo=4

      🤩 Hack Features

      - ATK MAX
      :::::: VIP ::::::
      - Auto ADS NO
      - Auto Win
      - Unlimited Gems / Sell Items Then Get
      - Unlimited Energy
      - Enemy Freeze
      • 0 replies
    • Dragon Barrage v1.1.6 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Dragon Barrage By Ryogo Oka
      Bundle ID: game01.hosistem.ne
      App Store Link: https://apps.apple.com/us/app/dragon-barrage/id6760708796?uo=4

      🤩 Hack Features

      - ATK MAX
      :::::: VIP ::::::
      - Auto ADS NO
      - Auto Win
      - Unlimited Gems
      - Unlimited Energy
      - Enemy Freeze
      • 0 replies
    • Dragon Barrage v1.1.6 [ +6 Jailed ] Auto Win
      Modded/Hacked App: Dragon Barrage By Ryogo Oka
      Bundle ID: game01.hosistem.ne
      App Store Link: https://apps.apple.com/us/app/dragon-barrage/id6760708796?uo=4

      🤩 Hack Features

      - ATK MAX
      :::::: VIP ::::::
      - Auto ADS NO
      - Auto Win
      - Unlimited Gems
      - Unlimited Energy
      - Enemy Freeze
        • Like
      • 0 replies
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 APK MOD ] Currency Max
      Mod APK Game Name: Ghost Sniper: War FPS Shooter
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=sniper.war.target.soldier.shooter.aldagames.com

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
        • Agree
        • Like
      • 1 reply
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 Jailed ] Currency Max
      Modded/Hacked App: Ghost Sniper: War FPS Shooter By Alda Games, s.r.o.
      Bundle ID: sniper.war.target.soldier.shooter.aldagames.com
      App Store Link: https://apps.apple.com/us/app/ghost-sniper-war-fps-shooter/id6756882608?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
        • Like
      • 2 replies
    • Ghost Sniper: War FPS Shooter v1.0.1 [ +6 Cheats ] Currency Max
      Modded/Hacked App: Ghost Sniper: War FPS Shooter By Alda Games, s.r.o.
      Bundle ID: sniper.war.target.soldier.shooter.aldagames.com
      App Store Link: https://apps.apple.com/us/app/ghost-sniper-war-fps-shooter/id6756882608?uo=4

      🤩 Hack Features

      - Auto ADS No
      - Unlimited Gold
      - Unlimited Cash
      - Unlimited Energy
      - Unlimited Stars
      - Ammo Freeze
      • 0 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