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

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

    • Match Villains v1.28.0 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Match Villains By Good Job Games Bilisim Yazilim ve Pazarlama AS
      Bundle ID: com.goodjobgames.matchvillains
      iTunes Store Link: https://apps.apple.com/us/app/match-villains/id6479752688?uo=4
       

      🚀 Hack Features

      - Coins
      - Lives
      - Moves Freeze
      - Booster


      🍏 Jailbreak iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      🤖 Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 13 replies
    • Match Villains v1.28.0 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Match Villains By Good Job Games Bilisim Yazilim ve Pazarlama AS
      Bundle ID: com.goodjobgames.matchvillains
      iTunes Store Link: https://apps.apple.com/us/app/match-villains/id6479752688?uo=4
       

      🚀 Hack Features

      - Coins
      - Lives
      - Moves Freeze
      - Booster


      🍏 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/
      • 17 replies
    • Pocket Necro v1.5.2 [ +11 Cheats ] Gold Unlimited
      Modded/Hacked App: Pocket Necromancer By Sandsoft Publishing Company
      Bundle ID: com.quicksand.pocketnecromancer
      iTunes Store Link: https://apps.apple.com/us/app/pocket-necromancer/id6450004790?uo=4


      Hack Features:
      - ADS NO [ Reward Fee ]

      - Premium Active

      - Energy Cost 0

      - Energy Increaser

      - Gold Unlimited [ Win Battle ] Rewards

      - Stage Unlocked

      - Chapter Unlocked +2

      - Play Any [ Stage & Ch ]

      - Never Die

      - DMG

      - Speed Mov

      - Bullet Max [ Works With Weapon Only Just Equip ]


      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/
      • 49 replies
    • Pocket Necro v1.5.2 [ +11 Jailed ] Gold Unlimited
      Modded/Hacked App: Pocket Necromancer By Sandsoft Publishing Company
      Bundle ID: com.quicksand.pocketnecromancer
      iTunes Store Link: https://apps.apple.com/us/app/pocket-necromancer/id6450004790?uo=4


      Hack Features:

      - ADS NO [ Reward Fee ]

      - Premium Active

      - Energy Cost 0

      - Energy Increaser

      - Gold Unlimited [ Win Battle ] Rewards

      - Stage Unlocked

      - Chapter Unlocked +2

      - Play Any [ Stage & Ch ]

      - Never Die

      - DMG

      - Speed Mov

      - Bullet Max [ Works With Weapon Only Just Equip ]

       
      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/


      iOS Hack Download IPA Link:

      Hidden Content

      Download via the iOSGods App
      • 53 replies
    • Turret Defense King v1.2.20 [ +9 Cheats ] Gold Max
      Modded/Hacked App: Turret Defense King By MOBIRIX
      Bundle ID: com.mobirix.tdwt
      iTunes Store Link: https://apps.apple.com/us/app/turret-defense-king/id6480586157?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free]

      - Gold [ Revive To Get ]

      - Battle Coins [ Enemy Drop Kill ]

      - Tower Cost [ Earn Battle Coins ]

      - Enemy Max [ Only Stage Mod] Easy Win

      - Wave Max [ Only Stage Mod] Easy Win

      - Tower DMG [ Just Rebuild & Upgrade ]

      - Tower ATK Range

      - Tower Fire Rate
      • 13 replies
    • Turret Defense King v1.2.20 [ +9 Jailed ] Gold Max
      Modded/Hacked App: Turret Defense King By MOBIRIX
      Bundle ID: com.mobirix.tdwt
      iTunes Store Link: https://apps.apple.com/us/app/turret-defense-king/id6480586157?uo=4


      🚀 Hack Features

      - ADS NO [ Rewards Free]

      - Gold [ Revive To Get ]

      - Battle Coins [ Enemy Drop Kill ]

      - Tower Cost [ Earn Battle Coins ]

      - Enemy Max [ Only Stage Mod] Easy Win

      - Wave Max [ Only Stage Mod] Easy Win

      - Tower DMG [ Just Rebuild & Upgrade ]

      - Tower ATK Range

      - Tower Fire Rate
      • 14 replies
    • Tower Rush - Tower Defense TD v2.0.1 [ +2 Cheats ] AI Freeze
      Modded/Hacked App: Tower Rush - Tower Defense TD By Raw Sunshine, LLC
      Bundle ID: com.sunshine.towerrushlegend
      App Store Link: https://apps.apple.com/us/app/tower-rush-tower-defense-td/id6455461456?uo=4

       

      🤩 Hack Features

      - Elixir Freeze
      - AI Freeze [ Can't Place The Tower ] 

      • 10 replies
    • Tower Rush - Tower Defense TD v2.0.1 [ +2 Jailed ] AI Freeze
      Modded/Hacked App: Tower Rush - Tower Defense TD By Raw Sunshine, LLC
      Bundle ID: com.sunshine.towerrushlegend
      App Store Link: https://apps.apple.com/us/app/tower-rush-tower-defense-td/id6455461456?uo=4
       

      🤩 Hack Features

      - Elixir Freeze
      - AI Freeze [ Can't Place The Tower ]

      • 3 replies
    • Royal Kingdom v19048 [ +9 Jailed ] Auto Win
      Modded/Hacked App: Royal Kingdom By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/us/app/royal-kingdom/id1606549505?uo=4


      Hack Features:

      - Coins [ Win Match ]

      - Potions

      - Lives Free

      - Booster Max

      - ViP Frame Unlock

      - Kingdom Pass Free

      - District unlock [ One Task Only ]

      - Auto Win [ Just One Move ]

      - Colour Spawn [ Blue Green Red Yellow Pink Orange ] Choose One Only


      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/
      • 52 replies
    • Royal Kingdom v19048 [ +9 Cheats ] Auto Win
      Modded/Hacked App: Royal Kingdom By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/us/app/royal-kingdom/id1606549505?uo=4



      Hack Features:
      - Coins [ Win Match ]

      - Potions

      - Lives Free

      - Booster Max

      - ViP Frame Unlock

      - Kingdom Pass Free

      - District unlock [ One Task Only ]

      - Auto Win [ Just One Move ]

      - Colour Spawn [ Blue Green Red Yellow Pink Orange ] Choose One Only


      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/
      • 43 replies
    • Galaxiga - Classic 80s Arcade V10.86 [ +7 Jailed ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?uo=4


      Hack Features:

      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ]

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ] Easy To Win PvP NO Bannnn


      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/
      • 43 replies
    • Galaxiga - Classic 80s Arcade V10.86 [ +7 Cheats ] Energy Max
      Modded/Hacked App: Galaxiga - Classic 80s Arcade By ONESOFT GLOBAL PTE. LTD.
      Bundle ID: com.os.space.force.galaxy.alien
      iTunes Store Link: https://apps.apple.com/us/app/galaxiga-classic-80s-arcade/id1519367184?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:
      - Premium Pass [ Rewards Only ]

      - Energy Unlimited [ Linked Premium Pass ]

      - Plane Unlocked [ Tire 1 Tire 2 ] 

      - Drone Unlocked [ Tire 1 Tire 2 ]

      - Stone Unlocked [ Tire 1 Tire 2 ] 

      - Unlock Gem Cost 0 [ Plane Drone Stone ] Maybe Effect PvP 

      - Easy Kill [ Only SP - No PVP ] 

      - Win PvP Select Higher Rank [ Plane Drone Stone ]

      Not3:- Don't Abuse The Hack Incase Banned Lower Chances Maybe


      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
      • 76 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