MEDUSA - Binary instrumentation framework based on FRIDA

1739606386233.webp

MEDUSA is an extensible and modularized framework that automates processes and techniques practiced during the dynamic analysis of Android and iOS Applications.

Installation​

  1. Clone this repo
  2. Navigate to the medusa's directory
  3. Run the following command:
pip install -r requirements.txt

Using Stheno (Σθενώ) with Medusa​

Stheno is a subproject of Medusa, specifically designed for intent monitoring within this framework. Below is a quick guide on how to set up and use Stheno effectively.

Check our​

Demos:
Medusa consists of two main scripts: medusa.py and mango.py:

Using medusa.py​

The main idea behind MEDUSA is to be able to add or remove hooks for Java or Native methods in a large scale while keeping the process simple and effective. MEDUSA has more than 90 modules which can be combined, each one of them dedicated to a set of tasks. Indicatively, some of these tasks include:

  • SSL pinning bypass
  • UI restriction bypass (e.g. Flag secure, button enable)
  • Class enumeration
  • Monitoring of:
    • Encryption process (keys, IVs, data to be encrypted)
    • Intents
    • Http communications
    • Websockets
    • Webview events
    • File operations
    • Database interactions
    • Bluetooth operations
    • Clipboard
  • Monitoring of API calls used by malware applications, such as:
    • Spyware
    • Click Fraud
    • Toll Fraud
    • Sms Fraud
Furthermore, you can intercept Java or Native methods that belong to 3rd party apps or create complex frida modules with just few simple commands.

Using mango.py​

Mango is medusa's twin brother which can be used to:
  • Parse and analyse the Android manifest
  • Enumerate an application's attack entry points (exported activities, deeplinks, services etc.)
  • Keep track of all your analysed applications
  • Automate boring processes like:
    • Set up a MITM
    • Patching
    • Wrap adb commands
    • Set/View/Reset the device's proxy configuration
...and many many more

 
Back
Top