Jump to content

[Breaking Security]How to disable syscall (anti-debugging protection)


314 posts in this topic

Recommended Posts

Posted

I made this tutorial in April of 2015 for the cheaters here and after almost a year of it being private I decided to post it to the public.

 

Gameloft always uses syscall on their games, and while this was written in April, MC5 still has removable syscall and you can use MC5 to practice :)

 

Requirements:

- IDA Pro

- Modern Combat 5

- GNU Debugger from cydia.radare.org (repo)

- OpenSSH

- Clutch 1.4.7-2

- armv7 binary of MC5, crack it on a 32 bit device for it to be armv7. I won't post one here because of copyright issues.

 

Below this line is the exact text I wrote on April 10, 2015. Enjoy :)

 

------

Hidden Content

    What is syscall? Syscall is anti-debugging protection. This is what causes the Segmentation Fault: 11 when trying to attach to an app. But as hackers we need to attach to an app, and thats why I made this tutorial :snoop:

     

    Again, I'm using MC5.

     

    Let's get started :p

     

    1. Open up the binary in IDA and wait like four to five minutes so that you can actually xref.

     

    2. Once you have waited, click on the "Imports" tab and search for syscall.

    nvzZIjL.jpg

     

    3. Double click it and xref to syscall's location in the binary. Here is the function that you are looking for:

    nuc5Cfj.jpg

     

    It should have _getpid, _memset, and _sysctl there.

     

    4. Highlight the BLX _syscall (or BLX.W _syscall sometimes), and click "Hex View 1". The hex should be highlighted. Now right click before the beginning of the highlighted hex and click "edit".

    fLfnXh3.jpg

     

    5. Now type "C046C046". This means NOP, or no instruction/operation. Basically it makes the app ignore the instruction. The edited hex should have turned orange.

    Wpp9SuU.jpg

     

    6. Save your changes. Right click on the orange edited hex and click "Apply changes".

    0oIyscA.jpg

     

    7. After that, go back to IDA View A and confirm that the BLX _syscall and the instruction below it is NOP'ed.

     

    8. Apply your changes to the binary. Go to Edit --> Patch program --> Apply patches to input file. Create a backup if you want to.

    9Hrh8Xv.jpg

     

    9. Replace the original binary with the hacked binary and set the permissions to:

    Owner: mobile

    Group: mobile

     

    User: read, write, execute

    Group: read, write, execute

    World: read, write, execute

     

    Now you are done! Try to attach and it should work! :)

Proof: (me attaching to Modern Combat 5 in GDB)

 

xrLa6qY.jpg

Posted

Thanks for sharing ! ;)


One question.

when the app do not use _syscall what it could be ?

i searched for all methods that check if they had Cydia or etc.

 

Thanks.

  • Like 45
  • Winner 2
  • Thanks 2
  • Haha 3
  • Agree 8
  • Informative 2
Posted

Thanks for sharing ! ;)

One question.

when the app do not use _syscall what it could be ?

i searched for all methods that check if they had Cydia or etc.

 

Thanks.

 

It's ptrace. Try searching imports for ptrace

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Spin Break: Roulette Battle v1.4.0 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Spin Break: Roulette Battle By Fifty-one percent Corp.
      Bundle ID: com.FiftyOnePercent.SpinBreak
      iTunes Store Link: https://apps.apple.com/us/app/spin-break-roulette-battle/id6462842820?uo=4

      Hack Features:

      - Currency Max

      - Energy Max

      - LvL Rewards Gold

      - Hero Status [ HP DMG DEF Luck Gold ]

      - Enemy Status [ ATK HP DEF 0 ]

       
      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 24 replies
    • Spin Break: Roulette Battle v1.4.0 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Spin Break: Roulette Battle By Fifty-one percent Corp.
      Bundle ID: com.FiftyOnePercent.SpinBreak
      iTunes Store Link: https://apps.apple.com/us/app/spin-break-roulette-battle/id6462842820?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:

      - Currency Max

      - Energy Max

      - LvL Rewards Gold

      - Hero Status [ HP DMG DEF Luck Gold ]

      - Enemy Status [ ATK HP DEF 0 ]


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 17 replies
    • Match Dreams: Puzzle Adventure v0.7.645 [ +2 Jailed ] Auto Win
      Modded/Hacked App: Match Dreams: Puzzle Adventure By Clever Duck LTD
      Bundle ID: com.cleverduck.travelduck
      iTunes Store Link: https://apps.apple.com/us/app/match-dreams-puzzle-adventure/id6446136627?uo=4
       

      Hack Features

      - Coins [ Win LvL After Close Game Then Work ]
      - Auto Win




      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 9 replies
    • Match Dreams: Puzzle Adventure v0.7.645 [ +2 Cheats ] Auto Win
      Modded/Hacked App: Match Dreams: Puzzle Adventure By Clever Duck LTD
      Bundle ID: com.cleverduck.travelduck
      iTunes Store Link: https://apps.apple.com/us/app/match-dreams-puzzle-adventure/id6446136627?uo=4
       

      Hack Features

      - Coins [ Win LvL After Close Game 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/
      • 9 replies
    • DEAD TARGET: FPS Zombie Games v6.149.0 [ +10 Cheats ] Currency Max
      Modded/Hacked App: DEAD TARGET: FPS Zombie Games By VNG SINGAPORE PTE LTD
      Bundle ID: com.vng.g6.a.zombie
      iTunes Store Link: https://apps.apple.com/us/app/dead-target-fps-zombie-games/id901793885?uo=4
       

      Hack Features

      - Unlimited Gold
      - Unlimited Cash

      - Unlimited Diamonds
      - Unlimited Grenades
      - Unlimited MedKits
      - Unlimited Ammo
      - One Hit Kill
      - God Mode
      - High Accuracy

      - ADS NO
      • 12 replies
    • DEAD TARGET: FPS Zombie Games v6.149.0 [ +10 Jailed ] Currency Max
      Modded/Hacked App: DEAD TARGET: FPS Zombie Games By VNG SINGAPORE PTE LTD
      Bundle ID: com.vng.g6.a.zombie
      iTunes Store Link: https://apps.apple.com/us/app/dead-target-fps-zombie-games/id901793885?uo=4
       

      Hack Features

      - Unlimited Gold
      - Unlimited Cash

      - Unlimited Diamonds
      - Unlimited Grenades
      - Unlimited MedKits
      - Unlimited Ammo
      - One Hit Kill
      - God Mode
      - High Accuracy

      - ADS NO
      • 20 replies
    • Domino Dreams™ v1.40.1 [ +10 Cheats ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4



      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]

      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task

      - Ticket Free Max [ Linked With Stars ] LvL Cost

      - Undo Max [ Linked With Stars ] 

      - Gold Card Max [ Linked With Stars ] 

      - Chapter Next [ Play LvL Quit & Win ]

      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]

      - Auto Win LvL [ Play LvL Move Anything ] 

      - Bonus Mod LvL [ ON-OFF ] 

      - Spin Free [ Need One Point only Open Play LvL ]
      • 4 replies
    • Domino Dreams™ v1.40.1 [ +10 Jailed ] Auto Win
      Modded/Hacked App: Domino Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dominodreams
      iTunes Store Link: https://apps.apple.com/us/app/domino-dreams/id6444043291?uo=4


      🤩 Hack Features

      - Coins Unlimited [ LvL Rewards ]
      - Stars Unlimited [ Win LvL Then Back Show Stars Hacked Disable Cheat Close App Again Open Then Work Stars Don't Use Again ] Linked With Some Task
      - Ticket Free Max [ Linked With Stars ] LvL Cost
      - Undo Max [ Linked With Stars ] 
      - Gold Card Max [ Linked With Stars ] 
      - Chapter Next [ Play LvL Quit & Win ]
      - Avatar Unlocked [ Play LvL Win After Unlocked Don"t Use Again ]
      - Auto Win LvL [ Play LvL Move Anything ] 
      - Bonus Mod LvL [ ON-OFF ] 
      - Spin Free [ Need One Point only Open Play LvL ]
      • 3 replies
    • Backpacker™ Go! v1.4.4 [ +3 Cheats ] Dice Unlimited
      Modded/Hacked App: Backpacker™ Go! By Qiiwi Games AB
      Bundle ID: com.qiiwi.backpackergo
      iTunes Store Link: https://apps.apple.com/us/app/backpacker-go/id6478389736?uo=4


      Hack Features:
      - ADS NO [ Between Playing ] 
      - Cash Unlimited [ This Hack Linked Other Items - Ticket Exp Etc. Use Only Cash ] Use Another Items Maybe Game Freeze But Works  
      - Dice Unlimited



      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 17 replies
    • Backpacker™ Go! v1.4.4 [ +3 Jailed ] Dice Unlimited
      Modded/Hacked App: Backpacker™ Go! By Qiiwi Games AB
      Bundle ID: com.qiiwi.backpackergo
      iTunes Store Link: https://apps.apple.com/us/app/backpacker-go/id6478389736?uo=4



      Hack Features:
      - ADS NO [ Between Playing ] 
      - Cash Unlimited [ This Hack Linked Other Items - Ticket Exp Etc. Use Only Cash ] Use Another Items Maybe Game Freeze But Works  
      - Dice Unlimited 


      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 19 replies
    • Arena Heroes: Online RPG v1.7.1 [ +2 Cheats ] Skill CD
      Modded/Hacked App: Arena Heroes: Online RPG By INFUSION GAMES OU
      Bundle ID: com.infusiongames.fighting.rpg.adventure.multiplayer.wars.pvp.battles.arena.heroes
      iTunes Store Link: https://apps.apple.com/us/app/arena-heroes-online-rpg/id6448993010?uo=4
       

      🤩 Hack Features

      - DMG [ When Enemy Turn Disable ]
      - Skill CD



      DMG Not Tested With Dungeon & Arena 
      • 12 replies
    • Arena Heroes: Online RPG v1.7.1 [ +2 Jailed ] Skill CD
      Modded/Hacked App: Arena Heroes: Online RPG By INFUSION GAMES OU
      Bundle ID: com.infusiongames.fighting.rpg.adventure.multiplayer.wars.pvp.battles.arena.heroes
      iTunes Store Link: https://apps.apple.com/us/app/arena-heroes-online-rpg/id6448993010?uo=4


      🤩 Hack Features

      - DMG [ When Enemy Turn Disable ]
      - Skill CD



      DMG Not Tested With Dungeon & Arena 
      • 6 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