Unified, cross-platform Mobile and IoT SAST / DAST / penetration-testing toolkit with a desktop app, a CLI, and an MCP server over MobSF, Frida, objection, mitmproxy, nmap, and binwalk.
Mobile Security Research Framework glues best-in-class security engines together behind one consistent interface so you (or an AI agent) can run an assessment end to end: static analysis, dynamic analysis, runtime instrumentation, traffic interception from anywhere, and IoT/firmware recon.
The desktop app (msrf ui). Every picture is generated from the current build by packaging/capture_screenshots.py, which scans the DIVA sample app for real.
| Dashboard: engine readiness and findings charts |
|---|
![]() |
| Static analysis findings, most severe first | Internal file browser (binary manifest decoded) |
|---|---|
![]() |
![]() |
| Permissions | Code analysis (CWE / OWASP / MSTG) |
|---|---|
![]() |
![]() |
| Inbuilt Frida hooks (run on the built-in simulator) | Dynamic (DAST) techniques |
|---|---|
![]() |
![]() |
| Android emulator with activity and live log | Findings and reporting |
|---|---|
![]() |
![]() |
| Activity log (every task, with Output / Log / Parameters) |
|---|
![]() |
| Light theme | Dark theme |
|---|---|
![]() |
![]() |
| Help and MCP setup |
|---|
![]() |
Every GitHub Release ships self-contained builds (MobSF, Java runtime, jadx, adb, Frida, mitmproxy and objection are bundled; nothing else to install):
- Windows installer:
MSRF-<version>-setup.exe(Start menu and desktop shortcuts, optionalmsrfon PATH, clean uninstall) - Windows portable:
MSRF-windows-x86_64.zip - Linux:
MSRF-linux-x86_64.zip - macOS (Apple Silicon):
MSRF-macos-arm64.zip
Unzip and run msrf (no arguments opens the desktop app; with arguments it is the CLI). Each file has a matching .sha256 for verification.
Prefer pip? The release also has the wheel and source: pip install msrf-<version>-py3-none-any.whl, then msrf ui.
- Extensible by design. Every capability is an
Enginewith@actionmethods registered in one place. New engines and actions automatically appear in the desktop app, the CLI, and the MCP server, with no extra wiring. - Cross-platform. Linux, macOS, and Windows. Tools are discovered on
PATH, the workspace uses OS-appropriate directories viaplatformdirs, and every subprocess is invoked shell-free. - Three front-ends, one core. A PyQt6 desktop app (
msrf ui), a rich CLI, and a FastMCP server, all over the same engine layer. - A library of 20+ inbuilt Frida hooks that run with one click or one command. SSL/root/anti-Frida/biometric bypasses plus monitors for crypto, keystore, SharedPreferences, SQLite, file I/O, clipboard, HTTP, intents, and logcat. You never write JavaScript unless a target is truly custom.
- Dynamic analysis anywhere. Wire a device into your interception network over Wi-Fi, USB (
adb reverse), or a WireGuard tunnel so a physical device on any network routes its traffic back to your host. - Built-in simulator. Generate and test payloads with nothing external attached (no emulator, SDK, or device).
| Engine | Backend | What it does |
|---|---|---|
sast |
MobSF | Manage a native MobSF server; upload and statically scan APK/IPA/APPX; pull JSON/scorecard/PDF reports. |
dast |
MobSF + Frida | MobSF dynamic analysis; enumerate Frida devices/processes/apps; provision frida-server on demand. |
hooks |
Frida | 20+ inbuilt Frida hooks; generate and test payloads against a dummy app (DIVA) or a real device. |
runtime |
objection | Runtime exploration: SSL-pinning/root bypass, keystore and class listing, arbitrary commands. |
proxy |
mitmproxy | Capture traffic (regular/transparent/socks/upstream/wireguard); decode flows to JSON. |
network |
adb + mitmproxy | Set up the DAST network anywhere: host IPs, CA install, device proxy, WireGuard tunnel. |
iot |
nmap + binwalk | Host discovery, port/service scanning, firmware signature scan and extraction. |
sim |
built-in | A self-contained DIVA-like device and Frida-script simulator; generate and test payloads with nothing external attached. |
emulator |
Android SDK | Create a virtual device and launch the normal Android emulator in its own window (like Android Studio), with every step streamed to a live log. Optional: root with Magisk, LSPosed and common Xposed modules. Needs host virtualization. |
appdata |
adb + sqlite | Grab a running app's databases and shared_prefs (from a device or the simulator sample data) and open them (SQLite tables/rows, XML). |
findings |
built-in | Central store of all findings; auto-imports static-analysis results, accepts custom findings, and generates reports in PDF/HTML/XLSX/CSV/JSON/Markdown. |
- Python 3.12+
- Python dependencies install automatically (
pip install -e .). - External tools discovered on
PATH(install what you need):adb(Android platform-tools) for device engines;nmapandbinwalkfor theiotengine;wkhtmltopdffor MobSF PDF reports (optional).frida,objection, andmitmproxyinstall as Python dependencies (extras below).
From this project root (inside your virtualenv):
pip install -e ".[all,dev]" # toolkit + GUI + frida/objection/mitmproxy/qr + dev tools
Minimal install (no heavy backends):
pip install -e .MobSF is expected as a checkout under mobsf/ (already present here) and is installed into the same environment.
# See every engine and action msrf info # Health-check what is ready on this machine msrf preflight # --- Static analysis --- msrf sast start-server msrf sast scan ./app.apk msrf sast report <HASH> msrf sast pdf <HASH> # --- Frida payloads (tested on DIVA) --- msrf hooks list-templates msrf hooks generate --template hook-method --params '{"CLASS":"jakhar.aseem.diva.APICreds","METHOD":"access"}' # Test with nothing external attached (built-in simulator): msrf sim status msrf sim run-hook --template ssl-pinning-bypass msrf hooks test --template ssl-pinning-bypass --device-id sim # Or against a real rooted device/emulator: msrf dast provision-frida-server # fetches matching frida-server on demand msrf hooks test --template ssl-pinning-bypass # --- Intercept traffic anywhere --- msrf proxy start-capture --mode regular msrf network install-ca msrf network setup-local # Wi-Fi, or add --use-reverse for USB msrf network setup-anywhere # WireGuard tunnel + QR for a remote device # --- IoT / firmware --- msrf iot host-discovery 192.168.1.0/24 msrf iot port-scan 192.168.1.10 --ports 1-1024 msrf iot firmware-scan ./firmware.bin
Every command prints JSON, so output pipes cleanly into jq or other tooling.
A cross-platform PyQt6 GUI over the same engines:
pip install -e ".[gui]" # or ".[all]" msrf ui # launches the desktop app
Tabs: Dashboard (engine readiness), Static (every MobSF analyzer as tables, plus an internal file browser), Frida Hooks (one-click inbuilt hook library, run on the built-in simulator or a real device), Dynamic (150+ techniques), Emulator (the normal Android emulator in its own window, with an activity bar and live log), App Data (grab and open app databases), Proxy, Network, IoT, Findings (all results plus your own, exported as PDF/HTML/XLSX/CSV/JSON/Markdown) and Help. Light, dark or system theme from View > Theme. Every action runs on a worker thread so the UI never freezes.
Run the server so an MCP client (for example Claude) can drive the whole toolkit:
msrf serve # stdio (default)
msrf serve --transport http --port 8765Each engine action is exposed as a tool named <engine>_<action> (for example sast_scan, hooks_test, network_setup_anywhere), plus msrf_preflight and msrf_version.
Example MCP client config (stdio):
{
"mcpServers": {
"msrf": { "command": "msrf", "args": ["serve"] }
}
}Resolved in order: explicit args, then MSRF_* env vars, then a TOML config file, then defaults. The default config path is the per-user config dir (see msrf info).
# config.toml workspace = "~/.local/share/msrf" log_level = "INFO" [mobsf] url = "http://127.0.0.1:8000" port = 8000 # api_key = "..." # otherwise auto-generated and persisted # Slim/offline profile (defaults shown): fast startup, no runtime downloads, system jadx, headless REST-only. offline_profile = true use_system_jadx = true api_only = true disable_authentication = true async_analysis = false domain_malware_scan = false vt_enabled = false [proxy] mode = "regular" # regular | transparent | wireguard | socks5 | upstream listen_port = 8080 wireguard_port = 51820 [frida] server_dir = "../Frida" # holds frida-server-* binaries for provisioning
Point msrf at it with msrf -c ./config.toml ... or MSRF_CONFIG=./config.toml.
from msrf.engines.base import Engine, action from msrf.registry import register @register class MyEngine(Engine): name = "myengine" summary = "What it does." @action("Do the thing.") def do_thing(self, target: str, count: int = 1) -> dict: return {"target": target, "count": count}
Register the module in msrf/registry.py::_load_builtins (or load it as a plugin). It now appears in msrf info, gets a CLI subcommand (msrf myengine do-thing), a GUI presence, and an MCP tool (myengine_do_thing), with no other changes required.
pip install -e ".[gui,dev]"
ruff check src tests
QT_QPA_PLATFORM=offscreen pytest -qmsrf is released under GPL-3.0-only (it integrates GPL-licensed MobSF). The wrapped tools keep their own licenses: MobSF (GPL-3.0), Frida (wxWindows), objection (GPL-3.0), mitmproxy (MIT), nmap (NPSL), binwalk (MIT). Installing and using them is your responsibility.












