How mobsf/mobile-security-framework-mobsf works
MobSF is a Django-based mobile security research platform for Android, iOS, and Windows applications. A researcher or CI client submits an application through web or API entry points; authorization and sample handling precede static or dynamic analysis. Static pipelines parse platform artifacts, run security and malware checks, and persist findings. Dynamic pipelines control devices or Corellium, inject Frida instrumentation, optionally observe traffic, and generate reports. Results are stored for later web/API retrieval. Some orchestration links are inferred from the repository structure because only selected source files were sampled.
Main entry points: static_analyzer.py Static Orchestrator · scanning.py Web Entry · api_static_analysis.py API Entry · dynamic_analyzer.py Android Runtime
Components 22
Interface and Access
- Web Entry
mobsf/MobSF/views/scanning.py - API Entry
mobsf/MobSF/views/api/api_static_analysis.py - Authorization
mobsf/MobSF/views/authorization.py
Static Analysis
- Static Orchestrator
mobsf/StaticAnalyzer/views/android/static_analyzer.py - Android Parsing
mobsf/StaticAnalyzer/views/android/app.py - Android Checks
mobsf/StaticAnalyzer/views/android - iOS Analysis
mobsf/StaticAnalyzer/views/ios/static_analyzer.py - Windows Analysis
mobsf/StaticAnalyzer/views/windows/windows.py - SAST Engine
mobsf/StaticAnalyzer/views/sast_engine.py
Dynamic Analysis
- Android Runtime
mobsf/DynamicAnalyzer/views/android/dynamic_analyzer.py - iOS Runtime
mobsf/DynamicAnalyzer/views/ios/dynamic_analyzer.py - Device Control
mobsf/DynamicAnalyzer/views/common/device.py - Frida Bridge
mobsf/DynamicAnalyzer/views/common/frida/views.py - Frida Scripts
mobsf/DynamicAnalyzer/tools/frida_scripts - Traffic Proxy
mobsf/DynamicAnalyzer/tools/webproxy.py
Security Intelligence
- Malware Checks
mobsf/MalwareAnalyzer/views
Results and Storage
- Sample Store
mobsf/MobSF/models.py - Analysis Reports
mobsf/DynamicAnalyzer/views/android/report.py - Result Database
mobsf/MobSF/models.py
Other components
- Security Researcher
- CI API Client
- Reputation Service
Connections 28
- Security Researcher → Web Entry: submits sample
- CI API Client → API Entry: calls API
- Web Entry → Authorization: checks access
- API Entry → Authorization: checks access
- Web Entry → Sample Store: stores sample
- API Entry → Sample Store: stores sample
- Web Entry → Static Orchestrator: starts analysis
- API Entry → Static Orchestrator: starts analysis
- Web Entry → Android Runtime: starts analysis
- API Entry → iOS Runtime: starts analysis
- Static Orchestrator → Android Parsing: parses Android
- Static Orchestrator → iOS Analysis: analyzes iOS
- Static Orchestrator → Windows Analysis: analyzes Windows
- Static Orchestrator → SAST Engine: runs SAST
- Static Orchestrator → Android Checks: runs checks
- Static Orchestrator → Malware Checks: runs malware checks
- Android Runtime → Device Control: controls device
- iOS Runtime → Device Control: controls device
- Android Runtime → Frida Bridge: starts instrumentation
- iOS Runtime → Frida Bridge: starts instrumentation
- Frida Bridge → Frida Scripts: dispatches scripts
- Android Runtime → Traffic Proxy: captures traffic
- iOS Runtime → Traffic Proxy: captures traffic
- Malware Checks → Reputation Service: queries reputation
- Static Orchestrator → Result Database: writes findings
- Analysis Reports → Result Database: writes report
- Web Entry → Result Database: reads results
- API Entry → Result Database: reads results