Jump to content

[ARM64] IDA + LLDB Tutorial [Noob Friendly]


139 posts in this topic

Recommended Posts

Posted
26 minutes ago, Ted2 said:

Could you post full stack trace?

27 minutes ago, Ted2 said:

Could you post full stack trace?

i dont really know how to post a screenshot on here lol so i copied and pasted the whole thing

> Making all for tweak bloodyharry…
make[2]: Nothing to be done for 'internal-library-compile'.
> Making all in bloodyharrySettings…
> Making all for bundle bloodyharry…
==> Copying resource directories into the bundle wrapper…
==> Compiling bloodyharry.mm (armv7)…
While building module 'Preferences' imported from bloodyharry.mm:1:
In file included from <module-includes>:1:
In file included from /var/theos/include/Preferences/Preferences.h:2:
In file included from /var/theos/include/Preferences/NSArray+PreferencesAddition.h:1:
In file included from /var/theos/include/Preferences/PSSpecifier.h:2:
/var/theos/include/Preferences/PSTableCell.h:53:18: error: expected ';' after method prototype
- (BOOL)isChecked API_AVAILABLE(ios(6.0));
                 ^
                 ;
/var/theos/include/Preferences/PSTableCell.h:55:47: error: expected ':'
- (void)setChecked:(BOOL)checked API_AVAILABLE(ios(6.0));
                                              ^
                                              :
/var/theos/include/Preferences/PSTableCell.h:55:47: error: expected ';' after method prototype
- (void)setChecked:(BOOL)checked API_AVAILABLE(ios(6.0));
                                              ^
                                              ;
While building module 'Preferences' imported from bloodyharry.mm:1:
In file included from <module-includes>:1:
In file included from /var/theos/include/Preferences/Preferences.h:2:
In file included from /var/theos/include/Preferences/NSArray+PreferencesAddition.h:1:
/var/theos/include/Preferences/PSSpecifier.h:123:66: error: expected ':'
+ (instancetype)groupSpecifierWithID:(NSString *)ID API_AVAILABLE(ios(8.0));
                                                                 ^
                                                                 :
/var/theos/include/Preferences/PSSpecifier.h:123:66: error: expected ';' after method prototype
+ (instancetype)groupSpecifierWithID:(NSString *)ID API_AVAILABLE(ios(8.0));
                                                                 ^
                                                                 ;
bloodyharry.mm:1:9: fatal error: could not build module 'Preferences'
#import <Preferences/PSListController.h>
 ~~~~~~~^
6 errors generated.
make[4]: *** [/var/theos/makefiles/instance/rules.mk:201: /var/root/bloodyharry/.theos/obj/armv7/bloodyharry.mm.c520ca07.o] Error 1
==> Compiling bloodyharry.mm (arm64)…
While building module 'Preferences' imported from bloodyharry.mm:1:
In file included from <module-includes>:1:
In file included from /var/theos/include/Preferences/Preferences.h:2:
In file included from /var/theos/include/Preferences/NSArray+PreferencesAddition.h:1:
In file included from /var/theos/include/Preferences/PSSpecifier.h:2:
/var/theos/include/Preferences/PSTableCell.h:53:18: error: expected ';' after method prototype
- (BOOL)isChecked API_AVAILABLE(ios(6.0));
                 ^
                 ;
/var/theos/include/Preferences/PSTableCell.h:55:47: error: expected ':'
- (void)setChecked:(BOOL)checked API_AVAILABLE(ios(6.0));
                                              ^
                                              :
/var/theos/include/Preferences/PSTableCell.h:55:47: error: expected ';' after method prototype
- (void)setChecked:(BOOL)checked API_AVAILABLE(ios(6.0));
                                              ^
                                              ;
While building module 'Preferences' imported from bloodyharry.mm:1:
In file included from <module-includes>:1:
In file included from /var/theos/include/Preferences/Preferences.h:2:
In file included from /var/theos/include/Preferences/NSArray+PreferencesAddition.h:1:
/var/theos/include/Preferences/PSSpecifier.h:123:66: error: expected ':'
+ (instancetype)groupSpecifierWithID:(NSString *)ID API_AVAILABLE(ios(8.0));
                                                                 ^
                                                                 :
/var/theos/include/Preferences/PSSpecifier.h:123:66: error: expected ';' after method prototype
+ (instancetype)groupSpecifierWithID:(NSString *)ID API_AVAILABLE(ios(8.0));
                                                                 ^
                                                                 ;
bloodyharry.mm:1:9: fatal error: could not build module 'Preferences'
#import <Preferences/PSListController.h>
 ~~~~~~~^
6 errors generated.
make[4]: *** [/var/theos/makefiles/instance/rules.mk:201: /var/root/bloodyharry/.theos/obj/arm64/bloodyharry.mm.cda5af5f.o] Error 1
make[3]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/root/bloodyharry/.theos/obj/armv7/bloodyharry.bundle/bloodyharry] Error 2
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [/var/theos/makefiles/instance/bundle.mk:37: /var/root/bloodyharry/.theos/obj/arm64/bloodyharry.bundle/bloodyharry] Error 2
make[2]: *** [/var/theos/makefiles/instance/bundle.mk:26: internal-bundle-all_] Error 2
make[1]: *** [/var/theos/makefiles/master/rules.mk:117: bloodyharry.all.bundle.variables] Error 2
make: *** [/var/theos/makefiles/master/aggregate.mk:12: internal-all] Error 2

 

 

Posted
1 hour ago, Ted2 said:

How did you install theos? And which SDK did you download?

I got Theos by following the rook tutorial and using putty on windows and I’m using the iphoneos9.3 sdk

Posted
11 hours ago, Wwvk said:

I got Theos by following the rook tutorial and using putty on windows and I’m using the iphoneos9.3 sdk

Try these sdks: https://github.com/theos/sdks, download them and extract in the sdks folder. Then run: make clean package and see if that works.

Posted
6 hours ago, Ted2 said:

Try these sdks: https://github.com/theos/sdks, download them and extract in the sdks folder. Then run: make clean package and see if that works.

after doing that i get 55 errors but i think it might have something to do with me being on ios 13, does that have something to do with it maybe?

Posted
On 2/18/2022 at 8:21 PM, Wwvk said:

after doing that i get 55 errors but i think it might have something to do with me being on ios 13, does that have something to do with it maybe?

It might be that the template I used in this guide is outdated for theos. You could try to make a menu instead with this template:

https://github.com/joeyjurjens/iOS-Mod-Menu-Template-for-Theos

Posted (edited)

Hey, really nice tutorial, it gave me a nice motivation to start hacking on iOS devices too!

I've been trying to reverse engineer Head Soccer as my first proper project but I really did not understand how ASLR works on ARM64.

 

(lldb) image list "headsoccer"

[  0] 177C24B9-537F-3B7A-ACDF-74DDC1B4D35B 0x00000001022d8000 /private/var/containers/Bundle/Application/028CC5F9-515B-4E52-8380-ED4D992353B8/headsoccer.app/headsoccer

(lldb)

According to the guide I need to take the last 5 hex digits of the address 0x1022d8000, aka d8000 but I wonder if this is always the case or if the ASLR slide could include more or less digits (like 0x4000 or 0x100000).

Many thanks for publishing this guide!

Updated by cinderace
fixed some bad grammar

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

    • NETHER DUNGEONS v1.18 [+3 Cheats]
      Modded/Hacked App: NETHER DUNGEONS By ARAKUMA STUDIO S.A.
      Bundle ID: com.ArakumaStudio.NetherDungeons
      iTunes Store Link: https://apps.apple.com/us/app/nether-dungeons/id6737908225?uo=4



      🤩 Hack Features

      - Never Die
      - Activate Vip Mode
      - Add Currency
       
        • Like
      • 4 replies
    • NETHER DUNGEONS v1.18 [+3 Jailed Cheats]
      Modded/Hacked App: NETHER DUNGEONS By ARAKUMA STUDIO S.A.
      Bundle ID: com.ArakumaStudio.NetherDungeons
      iTunes Store Link: https://apps.apple.com/us/app/nether-dungeons/id6737908225?uo=4

       

      🤩 Hack Features

      - Never Die
      - Activate Vip Mode
      - Add Currency
        • Like
      • 3 replies
    • Kiwoyong: Raise Your Dragon ( 키워용: 도굴라이프 ) v1.5.16 +2 Cheats [ Damage ]
      Modded/Hacked App: 키워용: 도굴라이프 By Co., Ltd. NGELGAMES
      Bundle ID: kr.ngelgames.dragon
      App Store Link: https://apps.apple.com/kr/app/%ED%82%A4%EC%9B%8C%EC%9A%A9-%EB%8F%84%EA%B5%B4%EB%9D%BC%EC%9D%B4%ED%94%84/id6618145893?uo=4

       
       

      🤩 Hack Features

      - God Mode
      - Damage Multiplier
        • Thanks
      • 1 reply
    • Hungry Shark World v6.7.7 +5 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hungry Shark World By Ubisoft
      Bundle ID: com.ubisoft.hungrysharkworld
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-world/id1046846443?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:
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Pearls
      - Unlimited Boost
      - Season Pass Unlocked


      Jailbreak required hack(s): [Mod Menu Hack] Hungry Shark World v5.9.1 +5 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 227 replies
    • Hungry Shark World v6.7.7 +5 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Hungry Shark World By Ubisoft
      Bundle ID: com.ubisoft.hungrysharkworld
      iTunes Store Link: https://apps.apple.com/us/app/hungry-shark-world/id1046846443?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Gems
      - Unlimited Pearls
      - Unlimited Boost
      - Season Pass Unlocked


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Hungry Shark World v5.9.1 +4 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 92 replies
    • Run! Goddess v1.0.10 [+3 Jailed Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4



      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 31 replies
    • Run! Goddess v1.0.10 [+3 Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4

       

      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
       
        • Informative
        • Agree
        • Thanks
        • Winner
        • Like
      • 24 replies
    • Sword Master Story Cheats v4.107.556 +5
      Modded/Hacked App: Sword Master Story By SuperPlanet corp.
      Bundle ID: com.superplanet.swordmaster
      iTunes Store Link: https://apps.apple.com/us/app/sword-master-story/id1521447065?uo=4


      Hack Features:
      - Custom Player Stats
      - Weak Enemies
      - One Hit Kill
      - & More

      Press & Hold to read feature description


      iOS Hack Download Link: https://iosgods.com/topic/146819-sword-master-story-cheats-v42294-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,445 replies
    • Subway Surfers v3.45.0 +22 Jailed Cheats [ Currencies + More ]
      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


      Hack Features:
      - Unlimited Currencies
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble
      - Score Multiplier
      - Speed Multiplier
      - Gravity Multiplier
      - Jump Height Multiplier
      - Air Jump Height Multiplier
      - Unlimited Jumps
      - Unlimited Powers
      - Instant Lane Change
      - Freeze Trains
      - No Clip
      - Disable All Pickup
      - No Revive Cost
      - Unlimited Jetpack Time
      - Camera Stops
      - Camera Follows


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers v3.40.0 +20 Cheats [ Currencies + More ] - ViP 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 35 replies
    • Subway Surfers v3.45.0 +22 Cheats [ Currencies + More ]
      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


      Hack Features:
      - Unlimited Currencies
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble
      - Score Multiplier
      - Speed Multiplier
      - Gravity Multiplier
      - Jump Height Multiplier
      - Air Jump Height Multiplier
      - Unlimited Jumps
      - Unlimited Powers
      - Instant Lane Change
      - Freeze Trains
      - No Clip
      - Disable All Pickup
      - No Revive Cost
      - Unlimited Jetpack Time
      - Camera Stops
      - Camera Follows


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Subway Surfers v3.40.0 +20 Jailed Cheats [ Currencies + More ] - ViP Non-Jailbroken Hacks & 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 40 replies
    • Mob Control v2.86.0 +7 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mob Control By Voodoo
      Bundle ID: com.vincentb.MobControl
      iTunes Store Link: https://apps.apple.com/us/app/mob-control/id1562817072?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Skip'Its -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement


      Jailbreak required hack(s): [Mod Menu Hack] Mob Control v2.78.0 +7 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 195 replies
    • Mob Control v2.86.0 +7 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mob Control By Voodoo
      Bundle ID: com.vincentb.MobControl
      iTunes Store Link: https://apps.apple.com/us/app/mob-control/id1562817072?uo=4


      Hack Features:
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Skip'Its -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      - Unlimited Bricks
      - Unlimited Earnt Bricks
      - Unlimited Cards -> Will increase instead of decrease.
      - No Card Requirement


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Mob Control v2.78.0 +7 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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 100 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