Skip to content

Commit

Permalink
Merge pull request #2906 from OWASP/sushi2k-patch-1
Browse files Browse the repository at this point in the history
Update MASTG-TECH-0054.md
  • Loading branch information
sushi2k authored Oct 6, 2024
2 parents f293ea9 + a054578 commit c3fb86c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions techniques/ios/MASTG-TECH-0054.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ In order to retrieve the unencrypted version, you can use [frida-ios-dump](https

First, configure @MASTG-TOOL-0054 `dump.py`:

- set it to use `localhost` with port `2222` when using @MASTG-TOOL-0055, or to the actual IP address and port of the device from which you want to dump the binary.
- set it to use `localhost` with port `2222` when using @MASTG-TOOL-0055 (`iproxy 2222 22`), or to the actual IP address and port of the device from which you want to dump the binary.
- update the default username (`User = 'root'`) and password (`Password = 'alpine'`) in `dump.py` to the ones you have set.

Enumerate the apps installed on the device by running `python dump.py -l`:
Expand All @@ -74,7 +74,7 @@ Enumerate the apps installed on the device by running `python dump.py -l`:
...
```

You can dump the selected app, for example Telegram, by running `python dump.py ph.telegra.Telegraph`
You can dump the selected app, for example Telegram, by running `python dump.py -H 127.0.0.1 -p 2222 --user mobile -P alpine ph.telegra.Telegraph`, if you are using an SSH tunnel with `iproxy` and the default credentials on a jailbroken phone.

After a couple of seconds, the `Telegram.ipa` file will be created in your current directory. You can validate the success of the dump by removing the app and reinstalling it (e.g. using @MASTG-TOOL-0054 `ios-deploy -b Telegram.ipa`). Note that this will only work on jailbroken devices, as otherwise the signature won't be valid.

Expand Down

0 comments on commit c3fb86c

Please sign in to comment.