Open Source · MIT License · Python 3.10+ · 487 Automated Tests
开源项目 · MIT 协议 · Python 3.10+ · 487 项自动化测试
UNPACK
Commercial-grade Android unpacking, 10-step DEX repair, static & VMP inspection, multi-provider AI analysis, persistent workspaces, and SARIF audit reporting — unified across CLI and UNPACK Studio.
商业级 Android 脱壳与逆向分析平台 —— 集 24 家壳识别、三引擎自动调度、10 步 DEX 修复、VMP/ELF/DEX 深度检视、UNPACK Studio 工作台、内置多模型 AI 引擎、持久化工作区与 SARIF 审计报告于一体。
scan / inspect→
dump (3 engines)→
10-step repair→
vmp / xref / repack→
AI + SARIF report
10-Step
DEX Repair PipelineDEX 修复流水线
7 Views
UNPACK Studio UIStudio 商业工作台
18 + 10
CLI CommandsCLI 命令与子组
Platform Capabilities核心能力
From Raw APK to Verified Audit Report从原始 APK 到可验证审计报告的全链路闭环
Legacy unpackers solve one fragmented step at a time. UNPACK unifies identification, multi-engine extraction, repair, disassembly, AI reasoning, workspace persistence, and CI-ready reporting.
传统脱壳工具往往各自为战且“dump 完即丢”。UNPACK 将壳识别、多引擎提取、10 步修复、反汇编分析、内置 AI 研判、持久化工作区与企业级审计报告打通为一条数据驱动流水线。
24
24-Packer Static Identification24 家壳厂商自动识别
6-dimension weighted scoring (SO, Manifest, Assets, DEX classes, Certs, small-DEX heuristic) with version fingerprinting (360 v1–v4, Legu v1–v3) and protection-level classification.
6 维加权评分(SO、Manifest、Assets、DEX 类名、证书、小 DEX 启发式),支持版本识别(360 v1–v4、腾讯乐固 v1–v3)及 DEX/函数抽取/VMP/DEX2C 保护等级判定。
3x
3-Engine Smart Dispatcher三引擎智能路由调度
Runtime /proc behavioral fingerprinting routes targets across Memory (zero-injection + multi-PID), Frida (5 strategies + 7 anti-detect hooks), and eBPF (APEX libdexfile.so uprobes) with automatic fallback.
基于保护等级与运行时行为指纹在 Memory(零注入 + 多进程)、Frida(5 策略 + 7 项反检测)与 eBPF(APEX libdexfile.so 内核探针)之间自动调度并支持失败降级。
10
10-Step DEX Repair & Diff10 步 DEX 修复与差异对比
CDEX conversion, magic & file_size fix, section bounds, truncation recovery, map_list, CodeItem alignment, debug_info hygiene, NOP scan, and SHA-1/Adler32 recalculation for clean jadx/JEB loading.
自动完成 CDEX 转换、Magic/Size 修正、Section 越界清零、截断恢复、Map/Alignment/debug_info 校验、NOP 标记与 SHA-1/Adler32 重算,直接兼容 jadx / JEB / baksmali。
UI
UNPACK Studio (7 Views)UNPACK Studio 商业工作台
Zero-CDN bilingual Flask workbench with 3-pane Dalvik disassembler, VMP & Native ELF studio, Repair Lab diff viewer, guided 6-stage pipeline, snapshot-only auto-relocation, and hardened security headers.
零外部 CDN 依赖的中英双语 Web 工作台:内建三栏 Dalvik 反汇编器、VMP/Native 工作室、修复差异实验室、6 阶段向导流水线、快照模式 SHA-256 自动重定位与安全响应头加固。
AI
Built-In 7-Provider AI Engine内置 7 大模型 AI 逆向引擎
Native unpack ai analyzer supporting OpenAI, Anthropic Claude, Google Gemini, DeepSeek, Qwen/DashScope, local Ollama, and custom OpenAI-compatible endpoints — plus claude -p Unix piping.
内置 unpack ai 支持 OpenAI、Anthropic Claude、Google Gemini、DeepSeek、通义千问、本地 Ollama 与自定义 OpenAI 兼容端点,同时保留 claude -p 管道集成能力。
DB
SQLite Workspaces & SARIF 2.1.0持久化工作区与 SARIF 报告
Save samples, pipeline runs, and AI insights in persistent SQLite workspaces (unpack workspace) with JSON bundle export/import. Render deduplicated audit reports in HTML5, Markdown, JSON, and SARIF 2.1.0.
通过 SQLite 工作区(unpack workspace)持久化保存样本、流水线记录与 AI 研判结果并支持 JSON 打包迁移;一键生成去重后的 HTML5 / Markdown / JSON / SARIF 2.1.0 审计报告。
Workbench & Persistence商业级工作台
UNPACK Studio + Multi-Provider AI + WorkspacesUNPACK Studio · 多模型 AI · SQLite 工作区
Launch unpack web for a full interactive reverse-engineering workbench with modular Blueprint API v1, real-time SSE task streaming, and zero-device offline workflows.
执行 unpack web 启动完整交互式逆向工作台,采用模块化 Blueprint API v1、实时 SSE 任务流,并支持无真机离线深度分析。
UNPACK Studio · http://127.0.0.1:8080 · API v1 · Dark/Light · 中/EN · ⌘K
1. Samples & IntakeVault
2. Scan & Intel24
3. APK & DEX Inspector3-Pane
4. VMP & NativeELF
5. Repair & Verify LabDiff
6. Pipeline Studio6-Stage
7. Reports & ExportSARIF
3-Pane Dalvik Disassembler三栏 Dalvik 反汇编浏览器
Browse DEX classes, methods, Dalvik bytecode, strings, IOCs, and native ELF risk flags in-browser without firing up jadx.
无需启动 jadx,直接在浏览器检视 DEX 类树、方法反汇编指令、字符串 IOC 与原生 ELF 安全特征。
Snapshot-Only & Auto-Relocate快照容错与 SHA-256 自动重定位
Moved local APK folders are automatically relocated by SHA-256; offline snapshots stay inspectable even when raw files are detached.
样本目录迁移后自动按 SHA-256 重定位;源文件离线时依然可浏览历史快照与审计报告。
Domain-Expert RE Prompts领域专家级 AI 逆向分析
Structured scan, manifest, signing, ELF, VMP, and XRef context fed securely to 7 LLM providers with SSRF/URL validation and masked keys.
自动聚合壳特征、Manifest、签名、ELF、VMP 与 XRef 上下文发送至 7 大模型服务,支持安全 URL 校验与密钥脱敏。
Unpacking Engines三大脱壳引擎
Three Complementary Extraction Paths三种互补的运行时提取路线
Automatically selected by core/dispatcher.py based on packer protection level, device capabilities, and runtime fingerprints — or explicitly pinned via -e memory|frida|ebpf.
由 core/dispatcher.py 依据保护等级、设备能力与运行时指纹自动路由,也可通过 -e memory|frida|ebpf 手动指定。
Memory Engine
RECOMMENDED
Host-side /proc/pid/maps & /proc/pid/mem extraction. Zero injection — completely invisible to anti-Frida and anti-debug checks.
Host 侧解析 /proc/pid/maps 并直读 /proc/pid/mem,零注入进程,对 anti-Frida / anti-debug 完全免疫。
- Multi-process child enumeration (
pgrep -P)多进程子进程枚举(pgrep -P)
- VDEX / OAT / CDEX container extraction (Android 5+)VDEX / OAT / CDEX 容器感知(Android 5+)
- 64KB sliding window DEX-in-DEX scan on
anon rw-p匿名 rw-p 区域 64KB 滑动窗口扫描 DEX-in-DEX
- Smart wait (thread stabilization + logcat cues)智能等待(线程稳定化 + logcat 关键词检测)
Interactive Memory flow →
查看 Memory 引擎流程图 →
Frida Engine
5 STRATEGIES
Dynamic instrumentation with 5 cooperative capture strategies, 7 pre-resume anti-detection hooks, and jailed-Gadget device guard.
基于 Frida DBI 的五策略协同捕获体系,内置 7 项 resume 前同步生效的反检测绕过与越狱/Gadget USB 设备预检。
- S1–S4: MemScan,
DexFile::Open, ClassLoader, dlopen SOS1–S4:内存扫描、DexFile::Open、ClassLoader、SO dump
- S5:
ClassLinker::DefineClass (FART-style hook)S5:ClassLinker::DefineClass(FART 风格类注册捕获)
- 7 anti-detect hooks shared with Active Invocation与主动调用共享 7 项统一反检测模块
- Sanitized output paths + strict DEX header check安全路径清洗 + 严格 DEX 头部校验
Interactive Frida flow →
查看 Frida 引擎流程图 →
eBPF Engine
APEX-AWARE
Kernel-space bpftrace uprobes on APEX libdexfile.so and libart.so with per-symbol probeability verification.
内核态 bpftrace uprobe 挂钩 Android 10+ APEX libdexfile.so 与 libart.so,逐符号验证可探测性。
- Android 10+ APEX
libdexfile.so auto-discoveryAndroid 10+ APEX libdexfile.so 自动发现
- Filters
UND / non-FUNC / 0x0 & strips @@VERSION过滤 UND/非 FUNC/0x0 符号并清理 @@VERSION
bpftrace -l verification + verified-only offset fallbackbpftrace -l 逐项验证 + 安全偏移量回退
- Omits unprobeable hooks cleanly without crashes自动剔除不可探测钩子,避免脚本挂载失败
Interactive eBPF flow →
查看 eBPF 引擎流程图 →
Quick Start快速上手
Install & Run in 60 Seconds60 秒完成安装与全流程运行
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[all]"
unpack doctor
unpack guide
unpack scan app.apk -v
unpack inspect app.apk
unpack pipeline app.apk --mode offline --execute
unpack dump app.apk --deep --report-html report.html
unpack report ./unpacked/ --apk app.apk --format sarif -o audit.sarif
unpack ai config --provider deepseek --model deepseek-chat --api-key sk-...
unpack ai analyze app.apk --save-workspace default
unpack workspace list
unpack web --port 8080
Real-Device Benchmark真机实测数据
Verified on Production Hardened Apps真机环境与大型商业加固样本验证
Tested on Pixel 7 Pro (Android 13, Kernel 5.10) across 14 real-world APKs (150–230MB large APK average scan time < 1s, 4–18x speedup).
在 Pixel 7 Pro(Android 13, Kernel 5.10)上对 14 款真实商业 App 完成扫描与脱壳验证;150–230MB 大型 APK 平均扫描耗时 < 1s(较早期提速 4–18x)。
| Packer加固厂商 |
Detected检出样本 |
Version版本识别 |
Protection Level保护等级 |
Scan Time扫描耗时 |
| Bangbang Enterprise梆梆安全 | 1 app | Enterprise企业版 | Function extraction函数抽取 | 0.2s |
| Aliyun / Jaq阿里聚安全 | 2 apps | v1 | Function extraction / DEX enc函数抽取 / DEX 加密 | 0.5s |
| NetEase Shield网易易盾 | 3 apps | v2 | Function extraction / DEX enc函数抽取 / DEX 加密 | 0.7s |
| Tencent Legu腾讯乐固 | 1 app | — | DEX encryptionDEX 加密 | 1.0s |
| Unpacked / Clean未加壳 | 7 apps | — | — | 0.1–0.4s |
18 DEX · 150 MB · 19.6s · 96.2% coverage
327,660 classes & 1.86M methods extracted zero-injection without triggering anti-Frida termination.
零注入提取 327,660 个类与 186 万方法,全程无触发网易易盾 anti-Frida 强退检测。
31 DEX · 164 MB · 33.7s · 31/31 verified
End-to-end VDEX container extraction followed by 10-step repair and integrity verification.
端到端完成 VDEX 容器提取、10 步修复与完整性校验,全部 31 个 DEX 通过验证。
Signature Coverage特征库覆盖
24 Supported Android Packers支持 24 家主流加固方案
360加固保 v1–v4
腾讯乐固 v1–v3
腾讯御安全
梆梆安全
爱加密 v1–v3
网易易盾 v1–v2
百度加固
阿里聚安全
娜迦加固
通付盾
几维安全
海云安
中国移动加固
珊瑚灵御
瑞星
顶象
盛大加固
网秦
UU安全
apktoolplus
DexProtector
APKProtect
LIAPP
AppSealing
Comparison生态对比
Feature Matrix vs Open-Source Unpackers与主流开源脱壳工具的功能矩阵对比
UNPACK focuses on a no-ROM-flash, multi-engine + post-unpack analysis workbench, complementing ART-modified ROM tools like r0dump / FART.
UNPACK 聚焦免刷机路线下的三引擎自动化与脱壳后全栈分析工作台,与 r0dump / FART 等 ART 源码修改路线互为补充。
| Capability能力项 |
UNPACK |
frida-dexdump |
BlackDex |
r0dump |
clsdumper |
BPFDex |
| Packer Identification壳厂商识别 |
24 vendors + version24 厂商 + 版本 |
— | — | — | — | behavioral |
| Unpack Engines脱壳引擎 |
3 (auto-dispatch)3 引擎自动调度 |
1 (Frida) | 1 (cookie) | 1 (ART mod) | 1 (Frida 9) | 1 (eBPF) |
| Active Invocation主动调用(函数抽取) |
Frida + Frida-free + CodeItem mergeFrida + 免 Frida + CodeItem 合并 |
— | deep mode | FART-style | partial | — |
| DEX RepairDEX 修复 |
10-step pipeline + diff10 步流水线 + Diff |
— | partial | DEX rebuild | — | — |
| Anti-Detection反检测绕过 |
7 hooks (pre-resume)7 项统一绕过 |
— | N/A | N/A (ROM) | 3 hooks | N/A |
| Zero Injection / No ROM Flash零注入 / 免刷机 |
Memory & eBPF / Yes |
No / Yes | Yes / Yes | ROM required | No / Yes | Yes / Yes |
| Post-Unpack RE脱壳后分析 |
Disasm, XRef, VMP, Native ELF, Repack, FART反汇编 / XRef / VMP / ELF / 重打包 / FART |
— | — | — | — | — |
| Web Workbench & WorkspacesWeb 工作台与工作区 |
UNPACK Studio (7 views) + SQLiteStudio 7 视图 + SQLite 持久化 |
— | — | — | — | — |
| AI & Audit ReportingAI 研判与合规报告 |
7 LLM providers + HTML/MD/JSON/SARIF 2.1.07 大模型内置引擎 + HTML/MD/JSON/SARIF 2.1.0 |
— | — | — | — | — |
Acknowledgments参考项目
Community Inspiration社区开源参考