The ultimate Android RE experience right inside your VS Code.
APKLab seamlessly integrates the best open-source tools: Quark-Engine, Apktool, Jadx, uber-apk-signer, apk-mitm and more to the excellent VS Code so you can focus on app analysis and get it done without leaving the IDE.
Features
- Decode all the resources from an APK
- Disassemble the APK to Dalvik bytecode aka Smali
- Decompile the APK to Java source
- Interactive Malware Analysis Report
- Initialize Project dir as Git repo
- Excellent Smali language support with Smalise
- Analyze & Hack effectively with feature-rich VS Code
- Apply MITM patch for HTTPS inspection
- Build an APK from Smali and resources
- Rebuild an APK in Debug mode for dynamic analysis
- Sign the APK seamlessly during the build
- Install the APK directly from VS Code
- Support for Apktool-style projects (
apktool.yml
) - Support for most Apktool CLI arguments
- Android resource frameworks management (Coming soon!)
- Support for user-provided keystore for APK signing
- Download and configure missing dependencies
- Supports Linux, Windows, and Mac
Requirements
- JDK 8+
Run java -version
in your Shell, if not found, download from here.
- quark-engine >=21.01.6 (for malware analysis)
Run quark
in your Shell, if not found, check official docs.
"
"
- adb
Run adb devices
in your Shell, if not found, check this guide.
Getting Started
Open APK or Apktool project
- Open the Command Palette (Ctrl+Shift+P) ➜ APKLab: Open an APK
- Or Just open an existing Apktool project folder
Apply MITM patch
- Right-Click on or inside
apktool.yml
file ➜ APKLab: Prepare for HTTPS inspection
ReBuild and Sign APK
- Right-Click on or inside
apktool.yml
file ➜ APKLab: Rebuild the APK
Install APK to device
- Right-Click on
.apk
file (indist
directory) ➜ APKLab: Install the APK
Clean ApkTool frameworks dir
- Open the Command Palette (Ctrl+Shift+P) ➜ APKLab: Empty ApkTool Framework Dir