Jump to content

GDB Error: Segmentation fault: 11


Go to solution Solved by Rook,

20 posts in this topic

Recommended Posts

Posted

What I do after that ....

 

Zx9xmI.png

Read the tutorials in the Tutorials section. If you need help with something in it. Open a new topic in Help & Support section.
Posted

@@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"

Posted

@@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.

Posted (edited)

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
Posted

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

 

 

Posted
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

    • Disney Speedstorm v1.11.2 +2 Jailed Cheats [ Unlimited Nitro ]
      Modded/Hacked App: Disney Speedstorm By Gameloft
      Bundle ID: com.gameloft.disneyspeedstorm
      iTunes Store Link: https://apps.apple.com/us/app/disney-speedstorm/id6449708682?uo=4


      Hack Features:
      - Unlimited Nitro -> Will not decrease.
      - Instant Nitro Max


      Jailbreak required hack(s): [Mod Menu Hack] Disney Speedstorm v1.5.0 +2 Cheats [ Unlimited Nitro ] - 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/
      • 77 replies
    • Disney Speedstorm v1.11.2 +2 Cheats [ Unlimited Nitro ]
      Modded/Hacked App: Disney Speedstorm By Gameloft
      Bundle ID: com.gameloft.disneyspeedstorm
      iTunes Store Link: https://apps.apple.com/us/app/disney-speedstorm/id6449708682?uo=4


      Hack Features:
      - Unlimited Nitro -> Will not decrease.
      - Instant Nitro Max


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Disney Speedstorm v1.5.0 +2 Jailed Cheats [ Unlimited Nitro ] - 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/
      • 69 replies
    • EGGCRYPTO ( エグリプト 世界に一体だけのモンスターを育成して戦うRPG ) v1.97.2 +1 Jailed Cheat [ Auto Win ]
      Modded/Hacked App: エグリプト 世界に一体だけのモンスターを育成して戦うRPG By Kyuzan Inc.
      Bundle ID: com.kyuzan.eggrypto
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%82%A8%E3%82%B0%E3%83%AA%E3%83%97%E3%83%88-%E4%B8%96%E7%95%8C%E3%81%AB%E4%B8%80%E4%BD%93%E3%81%A0%E3%81%91%E3%81%AE%E3%83%A2%E3%83%B3%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%92%E8%82%B2%E6%88%90%E3%81%97%E3%81%A6%E6%88%A6%E3%81%86rpg/id1450911855?uo=4

       


      🤩 Hack Features

      - Auto Win
      • 9 replies
    • Lamar - Idle Vlogger v226.0.1 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Lamar - Idle Vlogger By Advant Limited
      Bundle ID: com.advant.lamar
      iTunes Store Link: https://apps.apple.com/us/app/lamar-idle-vlogger/id1595314851
       

      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Gold -> Spend some.


      Jailbreak required hack(s): [Mod Menu Hack] Lamar - Idle Vlogger v151.07.05 +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/
        • Like
      • 86 replies
    • Lamar - Idle Vlogger v226.0.1 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Lamar - Idle Vlogger By Advant Limited
      Bundle ID: com.advant.lamar
      iTunes Store Link: https://apps.apple.com/us/app/lamar-idle-vlogger/id1595314851
       

      Hack Features:
      - Unlimited Cash -> Will increase instead of decrease.
      - Unlimited Gold -> Spend some.


      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/
        • Like
      • 41 replies
    • Combat Master Mobile v0.24.71 +2 Jailed Cheats [ No Recoil ]
      Modded/Hacked App: Combat Master Mobile By Alfa Bravo Inc.
      Bundle ID: com.AlfaBravo.CombatMaster
      iTunes Store Link: https://apps.apple.com/us/app/combat-master-mobile/id1598639131
       

      Hack Features:
      - No Recoil
      - Instant Reload


      Jailbreak required hack(s): https://iosgods.com/topic/171228-combat-master-mobile-v08381-2-cheats-no-recoil/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
        • Thanks
      • 99 replies
    • Combat Master Mobile v0.24.71 +2 Cheats [ No Recoil ]
      Modded/Hacked App: Combat Master Mobile By Alfa Bravo Inc.
      Bundle ID: com.AlfaBravo.CombatMaster
      iTunes Store Link: https://apps.apple.com/us/app/combat-master-mobile/id1598639131
       

      Hack Features:
      - No Recoil
      - Instant Reload


      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/
        • Like
      • 113 replies
    • EGGCRYPTO ( エグリプト 世界に一体だけのモンスターを育成して戦うRPG ) v1.97.2 +1 Cheat [ Auto Win ]
      Modded/Hacked App: エグリプト 世界に一体だけのモンスターを育成して戦うRPG By Kyuzan Inc.
      Bundle ID: com.kyuzan.eggrypto
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%82%A8%E3%82%B0%E3%83%AA%E3%83%97%E3%83%88-%E4%B8%96%E7%95%8C%E3%81%AB%E4%B8%80%E4%BD%93%E3%81%A0%E3%81%91%E3%81%AE%E3%83%A2%E3%83%B3%E3%82%B9%E3%82%BF%E3%83%BC%E3%82%92%E8%82%B2%E6%88%90%E3%81%97%E3%81%A6%E6%88%A6%E3%81%86rpg/id1450911855?uo=4

       
       

      🤩 Hack Features

      - Auto WIn
      • 8 replies
    • AFK Magic TD v0.25.0 +3 Jailed Cheats [ Damage + More ]
      Modded/Hacked App: AFK Magic TD By ARIZONA, INC.
      Bundle ID: com.arizonags.afktd
      iTunes Store Link: https://apps.apple.com/gb/app/afk-magic-td/id6479079201?uo=4


      Hack Features:
      - God Mode
      - Damage Mulitplier
      - No Skill Consumption -> Charge skill first.


      Jailbreak required hack(s): [Mod Menu Hack] AFK Magic TD v0.16.1 +3 Cheats [ Damage + More ] - 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/
      • 13 replies
    • AFK Magic TD v0.25.0 +3 Cheats [ Damage + More ]
      Modded/Hacked App: AFK Magic TD By ARIZONA, INC.
      Bundle ID: com.arizonags.afktd
      iTunes Store Link: https://apps.apple.com/gb/app/afk-magic-td/id6479079201?uo=4


      Hack Features:
      - God Mode
      - Damage Multiplier
      - No Skill Consumption -> Charge skill first.


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] AFK Magic TD v0.16.1 +3 Jailed Cheats [ Damage + More ] - 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/
      • 17 replies
    • Backpack Brawl v0.33.2 +1++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Backpack Brawl By 1986 GAMES SIA
      Bundle ID: com.rapidfiregames.backpackbrawl
      iTunes Store Link: https://apps.apple.com/us/app/backpack-brawl/id6479175676?uo=4


      Hack Features:
      - Unlimited Currencies -> Earn some.


      Jailbreak required hack(s): [Mod Menu Hack] Backpack Brawl v0.14.0 +1++ 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/
      • 57 replies
    • Backpack Brawl v0.33.2 +1++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Backpack Brawl By 1986 GAMES SIA
      Bundle ID: com.rapidfiregames.backpackbrawl
      iTunes Store Link: https://apps.apple.com/us/app/backpack-brawl/id6479175676?uo=4


      Hack Features:
      - Unlimited Currencies -> Earn some.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Backpack Brawl v0.14.0 +1++ 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/
      • 47 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