Jump to content

GDB Error: Segmentation fault: 11


Go to solution Solved by Rook,

20 posts in this topic

Recommended Posts

@@DiDA

i got address "0x31b68e78" of ptrace follow your way.and i load binary to IDA,then i try to search for it.but there isnt the address which i found.any ideas ?

 

 

 

"Breakpoint 1 at 0x31b68e78

Pending breakpoint 1 - "ptrace" resolved

warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info"

@@DiDA

i got address "0x31b68e78" of ptrace follow your way.and i load binary to IDA,then i try to search for it.but there isnt the address which i found.any ideas ?

 

 

 

"Breakpoint 1 at 0x31b68e78

Pending breakpoint 1 - "ptrace" resolved

warning: Unrecognized osabi 0 in arm_set_osabi_from_host_info"

Search for ptrace/syscall/sysctl and xref it to see how many there are.

 

If the app has sysctl, look for the one with memset, getpid near it and if you see a MOVS R1, #0x1F, NOP it.

Search for ptrace/syscall/sysctl and xref it to see how many there are.

 

If the app has sysctl, look for the one with memset, getpid near it and if you see a MOVS R1, #0x1F, NOP it.

i`ve found this,but without "MOVS R1, #0x1F",

and is it must me the same as "MOVS R1, #0x1F"

 
 
ADD             R7, SP, #0xC
STMFD           SP!, {R8,R10}
SUB             SP, SP, #0x20C
BIC             SP, SP, #7
MOV             R5, R1
MOV             R1, #0x1EC------->is this correct one??
MOV             R6, R0
STR             R1, [sP,#0x220+var_28]
MOV             R0, R5  ; void *
MOV             R1, #0  ; int
MOV             R4, R2
BL              _memset
MOV             R0, #1
MOV             R1, #0xE
STR             R0, [sP,#0x220+var_24]
MOV             R8, #0
STR             R1, [sP,#0x220+var_20]
MOV             R1, #4  ; u_int
STR             R0, [sP,#0x220+var_1C]
ADD             R0, SP, #0x220+var_24 ; int *
STR             R6, [sP,#0x220+var_18]
ADD             R6, SP, #0x220+var_218
ADD             R3, SP, #0x220+var_28 ; size_t *
STR             R8, [sP,#0x220+var_220] ; void *
MOV             R2, R6  ; void *
STR             R8, [sP,#0x220+var_21C] ; size_t
BL              _sysctl
CMP             R0, #0
BLT             loc_19531E4
Updated by zzmutu

i found MOVS            R1, #0x1F      app crashed when i changed to whatever values or nop it .any ideas ?

__text:00F36D08                 PUSH            {R4-R7,LR}
__text:00F36D0A                 ADD             R7, SP, #0xC
__text:00F36D0C                 PUSH.W          {R8,R10}
__text:00F36D10                 SUB.W           SP, SP, #0x20C
__text:00F36D14                 MOV             R5, R0
__text:00F36D16                 MOV             R0, #(___stack_chk_guard_ptr - 0xF36D24)
__text:00F36D1E                 MOV             R10, R1
__text:00F36D20                 ADD             R0, PC ; ___stack_chk_guard_ptr
__text:00F36D22                 MOVS            R4, #0
__text:00F36D24                 MOVS            R1, #0x1F     nop or changed to any values different 
__text:00F36D26                 MOVS            R2, #0
__text:00F36D28                 LDR.W           R8, [R0] ; ___stack_chk_guard
__text:00F36D2C                 MOVS            R3, #0
__text:00F36D2E                 LDR.W           R0, [R8]
__text:00F36D32                 STR             R0, [sP,#0x220+var_18]
__text:00F36D34                 MOVS            R0, #0x1A ; int
__text:00F36D36                 STR             R4, [sP,#0x220+var_220]
__text:00F36D38                 BLX             _syscall
__text:00F36D3C                 ADD             R6, SP, #0x220+var_204
__text:00F36D3E                 MOV.W           R0, #0x1EC
__text:00F36D42                 STR             R0, [sP,#0x220+var_218]
__text:00F36D44                 MOVS            R1, #0  ; int
__text:00F36D46                 MOV             R0, R6  ; void *
__text:00F36D48                 MOV.W           R2, #0x1EC ; size_t
__text:00F36D4C                 BLX             _memset
__text:00F36D50                 MOVS            R0, #1
__text:00F36D52                 MOVS            R1, #0xE
__text:00F36D54                 STR             R0, [sP,#0x220+var_214]
__text:00F36D56                 STR             R1, [sP,#0x220+var_210]
__text:00F36D58                 STR             R0, [sP,#0x220+var_20C]
__text:00F36D5A                 BLX             _getpid
__text:00F36D5E                 STR             R0, [sP,#0x220+var_208]
__text:00F36D60                 ADD             R0, SP, #0x220+var_214 ; int *
__text:00F36D62                 ADD             R3, SP, #0x220+var_218 ; size_t *
__text:00F36D64                 MOVS            R1, #4  ; u_int
__text:00F36D66                 MOV             R2, R6  ; void *
__text:00F36D68                 STR             R4, [sP,#0x220+var_220] ; void *
__text:00F36D6A                 STR             R4, [sP,#0x220+var_21C] ; size_t
__text:00F36D6C                 BLX             _sysctl
__text:00F36D70                 CMP             R0, #0

 

 

On 11/23/2014 at 1:13 AM, DiDA said:

World At Arms has Anti-Debugging Protection (ptrace)

 

You need to disable ptrace in order to debug the process. Disable ptrace by doing this:

 

Open Terminal and type in:


gdb /User/Containers/Bundle/Application/xxxxxx-xxxx-xxx-xxx-xxxxxx/MCT.app/MCT

Then:


break ptrace

Then:


run

Terminal will show you the Offset. Go to the offset in IDA and NOP ptrace and then attach MCT again normally.

 

More info: http://www.coredump.gr/articles/ios-anti-debugging-protections-part-1/

 

Tutorial by shmoo: https://iosgods.com/topic/26721-breaking-securityhow-to-disable-syscall-anti-debugging-protection/

is it same command for LLDB??? and is there some option in ida pro to remove that permanet....?

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

    • BASEBALL 9 v3.6.7 +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/
        • Informative
        • Agree
        • Winner
        • Like
      • 1,321 replies
    • Choices: Stories You Play Cheats v3.9.0 +4
      Modded/Hacked App: Choices: Stories You Play By Pixelberry Studios
      Bundle ID: com.pixelberrystudios.choices
      iTunes Store Link: https://apps.apple.com/us/app/choices-stories-you-play/id1071310449?uo=4


      Hack Features:
      - Free Premium Choices
      - Free Outfits
      - Free Hairstyles
      - Free Looks

      Note: able to purchase without having enough gems.


      iOS Hack Download Link: https://iosgods.com/topic/147155-choices-stories-you-play-v309-4-cheats/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 345 replies
    • Otherworld Three Kingdoms Cheats v1.0.18 +3
      Modded/Hacked App: Otherworld Three Kingdoms By SuperPlanet corp.
      Bundle ID: com.superplanet.samworld
      iTunes Store Link: https://apps.apple.com/us/app/otherworld-three-kingdoms/id6496345383?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Instant Skills


      iOS Hack Download Link: https://iosgods.com/topic/183743-otherworld-three-kingdoms-cheats-v103-3/
        • Like
      • 95 replies
    • Shadow Fight 4: Arena Cheat v1.9.30 +4
      Modded/Hacked App: Shadow Fight 4: Arena By Nekki Limited
      Bundle ID: com.nekki.shadowfightarena
      iTunes Store Link: https://apps.apple.com/us/app/shadow-fight-4-arena/id1479050948?uo=4


      Hack Features:
      - Freeze Enemies

      ViP Features:
      - Multiply Attack
      - Multiply Defense
      - God Mode
       

      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/136035-shadow-fight-4-arena-v1920-jailed-cheat-4/


      iOS Hack Download Link: https://iosgods.com/topic/136014-shadow-fight-4-arena-cheat-v1920-4/
        • Thanks
        • Like
      • 357 replies
    • Arena of Valor v1.56.1.3 - [ Map Hack ]
      Modded/Hacked App: Arena of Valor By Tencent Games
      Bundle ID: com.ngame.allstar.eu
      iTunes Store Link: https://apps.apple.com/us/app/arena-of-valor/id1150318642?uo=4&at=1010lce4


      Hack Features:
      - Map Hack

      This hack works on the latest x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.


      Jailbreak required hack(s): https://iosgods.com/topic/130943-arm64-arena-of-valor-cheats-all-versions-1/

       

      iOS Hack Download Link: https://iosgods.com/topic/113547-arena-of-valor-v14117-map-hack/
        • Agree
        • Thanks
        • Like
      • 1,570 replies
    • Dragon City - Breed & Battle! Cheats v24.11.2 +4 [ Always Your Turn / One Hit Kill ]
      Modded/Hacked App: Dragon City - Breed & Battle! By Socialpoint
      Bundle ID: es.socialpoint.dragoncity
      iTunes Store Link: https://apps.apple.com/us/app/dragon-city-breed-battle/id561941526?uo=4


      Hack Features:
      - One Hit Kill
      - God Mode 
      - Auto-Battle Unlocked

      This hack is using the new iOSGods Auto Updater. The hack will automatically update itself to the current app version you have installed on your iDevice.
      Note:
      Everything is linked with enemies, please use it carefully

      This hack works on the latest x64 or ARM64 & ARM64e iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, 11, 11 Pro, 11 Pro Max, 12, 12 Pro, 12 Pro Max, 12 Mini, 13, 13 Pro, 13 Pro Max, 13 Mini, 14, 14 Plus, 14 Pro, 14 Pro Max, SE, iPod Touch 6G, 7G, iPad Air, Air 2, iPad Pro & iPad Mini 2, 3, 4, 5, 6 and later.


      iOS Hack Download Link: https://iosgods.com/topic/129371-dragon-city-mobile-cheats-auto-updating-3-god-mode-one-hit-kill/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,098 replies
    • Subway Surfers Cheats v3.38.0 +5
      Modded/Hacked App: Subway Surfers by Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?uo=4&at=1010lce4


      Hack Features:
      - Infinite Currencies
      - Unlock Characters Outfit
      - Custom Jump Height
      - No Clip (You can't end level with this even if you turned it off)


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/119795-arm64-subway-surfers-v231-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/119793-arm64-subway-surfers-cheats-all-versions-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,240 replies
    • Hero Assemble : Epic Idle RPG Cheats v1.9.0 +5
      Modded/Hacked App: Hero Assemble : Epic Idle RPG By cookapps
      Bundle ID: com.cookapps.heroassemble
      iTunes Store Link: https://apps.apple.com/us/app/hero-assemble-epic-idle-rpg/id6478940653?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier
      - Loot Multiplier
      - Jailbreak Detection Removed


      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/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia 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 necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down 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
      • 122 replies
    • Idle Ninja Online v2314 +8 Jailed Cheats
      Modded/Hacked App: Idle Ninja Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.growninja
      iTunes Store Link: https://apps.apple.com/us/app/idle-ninja-online/id1559182313?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:
      - Hit Count Multiplier
      - Disable Enemy Skills
      - Move Speed Multiplier
      - Attack Speed Multiplier 
      - Shuriken Count Multiplier 
      - No Skills Cooldown
      - Shuriken Penetrate All Enemies
      - No Mana Skills


      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
      • 160 replies
    • Idle Ninja Online v2314 +9 Cheats
      Modded/Hacked App: Idle Ninja Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.growninja
      iTunes Store Link: https://apps.apple.com/us/app/idle-ninja-online/id1559182313?uo=4


      Hack Features:
      - Hit Count Multiplier
      - Disable Enemy Skills
      - Move Speed Multiplier
      - Attack Speed Multiplier 
      - Shuriken Count Multiplier 
      - No Skills Cooldown
      - Shuriken Penetrate All Enemies 
      - No Mana Skills 
      - Jailbreak Detection Removed


      Non-Jailbroken & No Jailbreak required hack(s): 


      iOS Hack Download Link: https://iosgods.com/topic/148430-idle-ninja-online-v2312-9-cheats/
        • Haha
        • Thanks
      • 635 replies
    • (Cat Kingdom Korea) 냥킹덤 v00.06.00 +2 Jailed Cheats
      Modded/Hacked App: 냥킹덤 By Fathermade
      Bundle ID: com.fathermade.catkingdom
      iTunes Store Link: https://apps.apple.com/kr/app/%EB%83%A5%ED%82%B9%EB%8D%A4/id1606840138?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


      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
      • 16 replies
    • (Cat Kingdom Korea) 냥킹덤 v00.06.00 +2 Cheats
      Modded/Hacked App: 냥킹덤 By Fathermade
      Bundle ID: com.fathermade.catkingdom
      iTunes Store Link: https://apps.apple.com/kr/app/%EB%83%A5%ED%82%B9%EB%8D%A4/id1606840138?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Damage Multiplier
      - Defense Multiplier


      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/


      iOS Hack Download Link:

      Hidden Content

      Download Hack








      Installation Instructions:
      STEP 1: Download the .deb Cydia 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 necessary, tap on the downloaded file, and then, you will need to press 'Install' from the options on your screen.
      STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down 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
      • 20 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