Skip to main content

Overview

MobSF (Mobile Security Framework) is an all-in-one automated framework for mobile app pentesting and malware analysis. Performs static and dynamic analysis, generates detailed security reports, and exposes a REST API for CI/CD integration. Supports: APK · IPA · APPX · source code zips Latest release: v4.4.6: github.com/MobSF/Mobile-Security-Framework-MobSF
Fastest path. No dependency setup required.
With persistent storage (keep scan history between runs):
Access: http://localhost:8000 Default credentials: mobsf / mobsf

Install: Local (Linux / macOS)

Requirements: Python 3.12+, Git, OpenSSL, wkhtmltopdf (for PDF reports)
macOS (Homebrew):

Static Analysis

Upload via Web UI

  1. Open http://localhost:8000
  2. Drag and drop the APK (or IPA/APPX) into the upload zone
  3. MobSF decompiles, analyzes, and presents a full report

Upload via REST API


What the Static Report Covers


Dynamic Analysis: Android

Dynamic analysis requires a real device or emulator with root access.

Emulator Setup (Android-x86 / AVD)

Recommended: Genymotion or Android Studio AVD with a non-Google Play image (root accessible).

Start Dynamic Analysis

  1. Upload and scan the APK (static scan must run first)
  2. Click “Start Dynamic Analysis” in the report
  3. MobSF installs the app and its instrumentation agent on the device
  4. Interact with the app through the emulator while MobSF captures:
    • Network traffic (HTTP/HTTPS with SSL unpinning)
    • Filesystem reads/writes
    • Logcat output
    • Screenshot timeline
    • Exported activity/service invocations
  5. Click “Stop Analysis” → MobSF generates a dynamic report

Dynamic Report Covers

  • Decrypted HTTPS traffic (via injected proxy)
  • Files created/modified during runtime
  • Sensitive data leaked to logs
  • Exported component interactions
  • Screenshot evidence

mobsfscan: CI/CD Integration

Static analysis scanner for source code, usable in pipelines without the full MobSF server.
GitHub Actions example:

Useful API Endpoints

Full API docs: http://localhost:8000/api_docs

Online Demo

No setup needed for quick static analysis: mobsf.live: upload and scan directly in browser.