• Stars
    star
    167
  • Rank 226,635 (Top 5 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 3 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tool to decrypt iOS apps using r2frida

r2flutch

Yet another tool to decrypt iOS apps using r2frida.

Demo

Requirements

It requires to install Frida on the Jailbroken iOS device:

Installation

  • Using PIP:
pip install r2flutch
  • Using r2pm:
r2pm -ci r2flutch

Usage

  • Run r2flutch -l to list all the installed apps.

List applications

  • Run r2flutch -i <App Bundle> to pull a decrypted IPA from the device.

List applications

  • Run r2flutch <App Bundle> to pull the decrypted app binary from the device.

Demo

Troubleshooting

Issue #1: Xcode isn't open.

error: This feature requires an iOS Developer Disk Image to be mounted; run Xcode briefly or use ideviceimagemounter to mount one manually Cannot spawn: This feature requires an iOS Developer Disk Image to be mounted; run Xcode briefly or use ideviceimagemounter to mount one manually

Solution: Run Xcode

Issue #2: Gadget isn't installed

error: Cannot attach: Need Gadget to attach on jailed iOS; its default location is: /Users/mak/.cache/frida/gadget-ios.dylib

Solution: 2 steps

  1. Visit https://github.com/frida/frida/releases
  2. download and extract (gunzip) i.e: we'll do this for frida-gadget-15.1.10-ios-universal.dylib.gz but make sure to get the latest
  • curl -L https://github.com/frida/frida/releases/download/15.1.10/frida-gadget-15.1.10-ios-universal.dylib.gz -o frida-gadget-15.1.10-ios-universal.dylib.gz
  • gunzip frida-gadget-15.1.10-ios-universal.dylib.gz
  • mkdir -p ~/.cache/frida
  • mv frida-gadget-15.1.10-ios-universal.dylib ~/.cache/frida/gadget-ios.dylib

More Repositories

1

frida-scripts

Repository including some useful frida script for iOS Reversing
JavaScript
231
star
2

BinaryCookieReader

A tool to read the binarycookie format of Cookies on iOS applications
Python
93
star
3

Android-Tools

A recopilatory of useful android tools
Java
90
star
4

r2clutch

r2-based tool to decrypt iOS applications
Python
36
star
5

iphone-dataprotection

Some useful tools for a iOS Forensics.
C
31
star
6

Frida_Exercise

The best way to learn Frida, is practicing. This is an example of scripts to use in a practical workshop.
Python
27
star
7

Android-Examples

APK's used as example Apps for decompiling
22
star
8

ctfd-r2con-themes

r2con CTFD themes
JavaScript
13
star
9

vecna

Automatic tool to find arbitrary Intent that gets reflected back vulnerabilities on Android apps.
Python
12
star
10

r2frida-scripts

This repository includes some r2frida scripts to monitor iOS and Android Mobile apps.
JavaScript
11
star
11

r2con-ctf-challenges

r2con CTF games
C
6
star
12

iPhoneLabs

A forked version from iPhoneLabs (https://github.com/SecurityCompass/iPhoneLabs)
Python
4
star
13

ios-dynamic-analysis

Example iOS app for testing basic dynamic instrumentation
Objective-C
3
star
14

VulnWeb

Vulnerable Android application for Dynamic Analysis
Java
3
star
15

owasp-igoat

A forked version of the Owasp iGoat
C
2
star
16

DVIA

Damn Vulnerable iOS App by Prateek Gianchandani
Objective-C
2
star
17

AntiPiracyDemo

iOS apps examples for AntiPiracy bypass
2
star
18

LocalDataStorageDemo

A Demo Exercise about insecure Local Data Storage
Objective-C
2
star
19

AzureTraining

Materials for the Azure Training
PowerShell
1
star
20

XposedDemoProject

Xposed Demo module to use in Android 5.1(lollypop) and using Xposed v.82 and XposedApi-54
Java
1
star
21

MethodSwizzlingDemo

Pentesting iOS - Demo about Method Swizzling from Prateek Gianchandani
Objective-C
1
star
22

Organizer

App Example on Insecure Data Storage for iOS Security Assessments
Objective-C
1
star
23

classdump

Classdump Binary
1
star
24

dotfiles

Vim Script
1
star
25

radarerc

Includes Radare2 resource files
1
star