Jump to content

[ARM64] IDA + LLDB Tutorial [Noob Friendly]


Ted2

137 posts in this topic

Recommended Posts

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

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

    • TALION By GAMEVIL Inc. v5.7.80 +1 [Speed multiplier]
      Modded/Hacked App: TALION By GAMEVIL Inc.
      Bundle ID: com.gamevil.talion.ios.apple.global.normal
      iTunes Store Link: https://apps.apple.com/us/app/talion/id1258046552?uo=4



      Hack Features:
      - Attack Speed Multiplier Unlinked
      - More coming later


      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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 295 replies
    • SpearKnight Kr - 창술사 키우기-방치형RPG v2.0.38 +3 Cheat
      Modded/Hacked App: 창술사 키우기-방치형RPG By Changgon Woo
      Bundle ID: com.dragonheart.spearknighrpg
      iTunes Store Link: https://apps.apple.com/kr/app/%EC%B0%BD%EC%88%A0%EC%82%AC-%ED%82%A4%EC%9A%B0%EA%B8%B0-%EB%B0%A9%EC%B9%98%ED%98%95rpg/id1584649578?uo=4


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


      Hack Features:
      - Loot 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
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 56 replies
    • NecroMerger - Idle Merge Game v1.49 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: NecroMerger - Idle Merge Game By Grumpy Rhino Games LTD
      Bundle ID: com.grumpyrhinogames.necromerger
      iTunes Store Link: https://apps.apple.com/us/app/necromerger-idle-merge-game/id1611769159
       

      Hack Features:
      - Unlimited Currencies -> Will not decrease and can always afford whatever you're buying.


      Jailbreak required hack(s): [Mod Menu Hack] NecroMerger - Idle Merge Game v1.01 +1++ Cheat [ 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
        • Thanks
        • Like
      • 18 replies
    • NecroMerger - Idle Merge Game v1.49 +1++ Cheat [ Unlimited Currencies ]
      Modded/Hacked App: NecroMerger - Idle Merge Game By Grumpy Rhino Games LTD
      Bundle ID: com.grumpyrhinogames.necromerger
      iTunes Store Link: https://apps.apple.com/us/app/necromerger-idle-merge-game/id1611769159
       

      Hack Features:
      - Unlimited Currencies -> Will not decrease and can always afford whatever you're buying.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] NecroMerger - Idle Merge Game v1.01 +1++ Cheat [ 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
      • 14 replies
    • MineGeon: Space Mining Dungeon v1.16.4 +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MineGeon: Space Mining Dungeon By KICKSTONE STUDIO SPA
      Bundle ID: com.KickStoneStudios.MineGeon
      iTunes Store Link: https://apps.apple.com/us/app/minegeon-space-mining-dungeon/id6443925239?uo=4


      Hack Features:
      - Unlimited Currencies -> Earn some.
      - God Mode
      - One-Hit Kill
      - Unlimited Ammo -> Will not decrease.
      - Unlimited Stamina -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] MineGeon: Space Mining Dungeon v1.15.6 +6 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
        • Thanks
        • Like
      • 9 replies
    • MineGeon: Space Mining Dungeon v1.16.4 +6 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: MineGeon: Space Mining Dungeon By KICKSTONE STUDIO SPA
      Bundle ID: com.KickStoneStudios.MineGeon
      iTunes Store Link: https://apps.apple.com/us/app/minegeon-space-mining-dungeon/id6443925239?uo=4


      Hack Features:
      - Unlimited Currencies -> Earn some.
      - God Mode
      - One-Hit Kill
      - Unlimited Ammo -> Will not decrease.
      - Unlimited Stamina -> Will not decrease.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] MineGeon: Space Mining Dungeon v1.15.6 +6 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
        • Like
      • 17 replies
    • Forza Customs - Restore Cars v4.0.10087 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Forza Customs - Restore Cars By Hutch Games Ltd
      Bundle ID: com.hutchgames.ccw
      iTunes Store Link: https://apps.apple.com/us/app/forza-customs-restore-cars/id6448070968?uo=4


      Hack Features:
      - Unlimited Currencies
      - Unlimited Lives -> Spend some.


      Jailbreak required hack(s): [Mod Menu Hack] Forza Customs - Restore Cars v0.9.6395 +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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 55 replies
    • Forza Customs - Restore Cars v4.0.10087 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Forza Customs - Restore Cars By Hutch Games Ltd
      Bundle ID: com.hutchgames.ccw
      iTunes Store Link: https://apps.apple.com/us/app/forza-customs-restore-cars/id6448070968?uo=4


      Hack Features:
      - Unlimited Currencies
      - Unlimited Lives -> Spend some.


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Forza Customs - Restore Cars v0.9.6395 +2 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
      • 33 replies
    • Modern Community v1.4006.107228 +1++ Jailed Cheat [ Unlimited Everything ]
      Modded/Hacked App: Modern Community By Magic Tavern, Inc.
      Bundle ID: com.sts.vision
      iTunes Store Link: https://apps.apple.com/us/app/modern-community/id6447748647?uo=4


      Hack Features:
      - Unlimited Everything


      Jailbreak required hack(s): [Mod Menu Hack] Modern Community v1.1008.81088 +1++ Cheat [ Unlimited Everything ] - 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
        • Thanks
        • Winner
        • Like
      • 36 replies
    • Modern Community v1.4006.107228 +1++ Cheat [ Unlimited Everything ]
      Modded/Hacked App: Modern Community By Magic Tavern, Inc.
      Bundle ID: com.sts.vision
      iTunes Store Link: https://apps.apple.com/us/app/modern-community/id6447748647?uo=4


      Hack Features:
      - Unlimited Everything


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] Modern Community v1.1008.81088 +1++ Jailed Cheat [ Unlimited Everything ] - 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/
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 41 replies
    • Garden Affairs: Design & Match v2.5604 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Garden Affairs: Design & Match By JUDIAN TECHNOLOGY INTERNATIONAL PTE. LTD.
      Bundle ID: com.huayuan.xiaochu
      iTunes Store Link: https://apps.apple.com/us/app/garden-affairs-design-match/id1514355595?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Stars


      Jailbreak required hack(s): [Mod Menu Hack] Garden Affairs: Design & Match v2.4601 +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/
        • Informative
        • Haha
        • Thanks
        • Like
      • 36 replies
    • Garden Affairs: Design & Match v2.5604 +2 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Garden Affairs: Design & Match By JUDIAN TECHNOLOGY INTERNATIONAL PTE. LTD.
      Bundle ID: com.huayuan.xiaochu
      iTunes Store Link: https://apps.apple.com/us/app/garden-affairs-design-match/id1514355595?uo=4


      Hack Features:
      - Unlimited Coins
      - Unlimited Stars


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Garden Affairs: Design & Match v2.4601 +2 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/
        • Haha
        • Winner
        • Like
      • 39 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