TinkerMole: Automated Reverse Engineering & Static Analysis Pipeline
A multi-threaded, GUI-driven Android reverse engineering pipeline. It automates APK extraction, deep Flutter engine analysis, static vulnerability scanning, and Ghidra workspace initialization.
Performance & metrics
- Asynchronous inter-thread log queuing prevents UI thread blocking and lock contention during aggressive subprocess execution
- Parallel target processing via
ThreadPoolExecutorfor concurrent analysis of multiple APKs - Memory-safe binary string extraction enforces strict file size constraints to prevent OOM errors on large payload dumps
- LRU caching applied to compiler environment resolution (
vcvarsall.bat) minimizing redundant OS-level polling
Why I built it
Handling complex mobile targets—especially AOT-compiled Flutter apps—traditionally requires juggling disjointed CLI tools and writing tedious boilerplate. I built TinkerMole to consolidate this fragmented workflow into a single, cohesive desktop application. It automates the entire static analysis and decompilation pipeline, drastically reducing my time-to-analysis while eliminating manual overhead.
Architecture & decisions
The core is a decoupled, multi-threaded engine written in Python. To ensure the Tkinter desktop interface remains responsive during heavy I/O and CPU-bound operations (like decompilation), I implemented an asynchronous inter-thread queuing system. External binaries like Ghidra, Blutter, and dex2jar are orchestrated via strict subprocess wrappers that pipe stdout directly to the GUI for real-time telemetry. The system also features a hardened ZIP extraction routine to actively mitigate Path Traversal (Zip Slip) attacks.
Key features
- Responsive Tkinter desktop GUI with real-time asynchronous log ingestion
- Automated APK/XAPK/APKM extraction with active Zip Slip vulnerability mitigation
- Deep Flutter analysis pipeline automating Dart snapshot decompilation via Blutter
- Automated network interception prep via Reflutter patching for SSL unpinning
- Headless Ghidra integration for automated native library (.so) importing and project initialization
- Multi-threaded static vulnerability, API key, and cloud secret scanning across binaries and source text
- Automated DEX-to-JAR decompilation mapping directly to an auto-generated IntelliJ project structure
Technical review
TinkerMole is designed as a complete engineering workbench. It proactively detects cross-platform frameworks (Flutter, React Native, Cordova), isolates target architectures, and executes necessary tooling to generate targeted Frida hook scripts and Dart symbol maps. The bespoke visual interface allows me to monitor aggressive subprocess executions in real-time without locking up the OS. All outputs are systematically structured into distinct workspaces, giving me an immediate, ready-to-use environment for dynamic instrumentation, IDE inspection, and deep Ghidra analysis.
Related projects
Pro Hex Analyzer & Binary Patcher
A lightweight, heavily multi-threaded desktop utility for rapid static binary triage. It provides real-time x86-64 disassembly, heuristic string extraction (IoC tagging), and live assembly injection.
- Python
- Tkinter
- Capstone Engine
- +3
Web Security Inspector Pro: Dynamic DOM Analysis & Routing
An enterprise-grade, multi-threaded desktop application designed for secure webpage extraction, deep DOM parsing, and automated secret discovery via dynamic Tor and proxy routing.
- Python
- HTML
- CSS
- +7
Esoteric C++ Macro Obfuscation Engine
An experimental C++ script utilizing aggressive preprocessor macro definitions to completely mutate standard C++ syntax into an esoteric, anime-themed programming language while effectively obfuscating payloads.
- C++
- C++ Preprocessor
- GCC/Clang Preprocessor
- +1
Need something similar?
I can build a system like this for you, too.
Describe your project in a few sentences, and we'll work out the right approach and an estimated scope together.