Skip to content

Commit

Permalink
Add MASTG-TECH-0119: Launching a repackaged app in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cpholguera committed Dec 2, 2024
1 parent 077a50d commit 087d3c4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions techniques/ios/MASTG-TECH-0119.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: Launching a Repackaged App in Debug Mode
platform: ios
---

After the app has been installed on the device, it needs to be launched in debug mode. This is not the case when launching the app via springboard (the application will crash), but it is possible with various tools as explained in @MASTG-TECH-0056. When the application is running in debug mode, Frida can be injected into the process with name `Gadget`:

```bash
idevicedebug -d run sg.vp.UnCrackable1

# In a new terminal
frida -U -n Gadget
...
[iPhone::Gadget ]->
```

## Starting with iOS 17 and Xcode 15

Since Xcode 15 and iOS 17 the tool @MASTG-TOOL-0054 will [not work anymore to start an app in debug mode](https://github.com/ios-control/ios-deploy/issues/588).

A workaround to start the re-packaged app with the `FridaGadget.dylib` in debug mode (without using @MASTG-TOOL-0054) can be found [here](https://github.com/ios-control/ios-deploy/issues/588#issuecomment-1907913430).

0 comments on commit 087d3c4

Please sign in to comment.