Android Runtime Security · MITRE ATT&CK · v1.0.0
End-to-end behavioral surveillance for Android applications. Collect runtime signals via ADB, detect anomalies with ML, and get AI-powered root-cause analysis — all without touching the app under analysis.
Performance
Measured on a real Android emulator under controlled conditions. Consistent across all test scenarios.
Connect to any debuggable Android device or emulator via ADB. No root access, no code injection, no app modification required.
MITRE ATT&CK Kill Chain
Every detected anomaly is instantly mapped to a MITRE ATT&CK tactic, enabling correlation with existing threat intelligence databases.
Software Architecture
High cohesion between signal generation, analysis intelligence, and SOC visualization.
Detection Engine
Six detection rules covering the most critical Android runtime attack patterns.
Comparison
The only tool combining real-time ADB monitoring, MITRE ATT&CK classification, and AI diagnostics in a single deployable package.
| Feature | DBP (Ours) | DroidBox | CopperDroid | DeepLog |
|---|---|---|---|---|
| Real-time monitoring | ✓ | ✗ | ✗ | Partial |
| No app modification needed | ✓ | ✗ | ✗ | ✓ |
| MITRE ATT&CK mapping | ✓ | ✗ | ✗ | ✗ |
| AI root-cause analysis | ✓ | ✗ | ✗ | ✗ |
| Web SOC dashboard | ✓ | ✗ | ✗ | ✗ |
| REST API | ✓ | ✗ | ✗ | ✗ |
| Open source | ✓ | ✓ | ✗ | ✓ |
| Android-native | ✓ | ✓ | ✓ | ✗ |
| No root required | ✓ | ✗ | ✗ | ✓ |
| Detection latency | < 3 seconds | Offline | Offline | Batch |
Getting Started
No complex infrastructure required. Just Python, ADB, and an Android device or emulator.
git clone https://github.com/Abdeljalil-Fajri/AndroidBehaviorAnalysis.gitcd profiler && pip install flask flask-cors colorama requestsollama pull phi3 && ollama serveadb devicesprofiler/static/index.html for the live SOC dashboard.python main.pyVideo Demonstration
End-to-end walkthrough: baseline calibration, attack simulation, real-time detection, AI root-cause analysis, and audit export.
REST API
All profiler data exposed through a Swagger-documented Flask API, ready for SIEM integration.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/status | Server health, tracking metadata, baseline status |
| GET | /api/signals/current | Latest 1-second signal snapshot |
| GET | /api/signals/history | Rolling 60-second telemetry history |
| GET | /api/logs | Last 50 raw logcat lines |
| GET | /api/incidents | All detected incidents for the active session |
| POST | /api/analyze | Trigger on-demand AI root cause analysis |
| POST | /api/incidents/:id/triage | Set status: acknowledged / mitigated / false_positive |
Published Research
This project is backed by a peer-reviewed article submitted to the Software Impacts journal.
Contributors
Developed within the Android Mobile Application Programming and Security module at École Nationale des Sciences Appliquées de Marrakech, Cadi Ayyad University — 2025/2026.