Note
Only compatible with Paranoid v0.3.0+ (released in 25 Jan 2020)
A script to deobfuscate apps obfuscated with Paranoid/LSParanoid to help you with static analysis.
Before | After |
---|---|
pip install paranoid-deobfuscator
pipx install paranoid-deobfuscator
$ paranoid-deobfuscator --help
Usage: paranoid-deobfuscator [OPTIONS] COMMAND [ARGS]...
Options:
-v, --verbose Enables verbose mode
--help Show this message and exit.
Commands:
deobfuscate Deobfuscate a paranoid obfuscated APK smali files
helpers Helper commands
$ paranoid-deobfuscator helpers --help
Usage: paranoid-deobfuscator helpers [OPTIONS] COMMAND [ARGS]...
Helper commands
Options:
--help Show this message and exit.
Commands:
extract-strings Extracts the strings from a paranoid obfuscated APK
APK file (using Apktool)
- Decode
.apk
file:apktool d app.apk
- Run deobfuscator:
paranoid-deobfuscator deobfuscate app
- Build:
apktool b app
DEX file (using smali)
- Disassemble
.dex
file:baksmali d classes.dex
- Run deobfuscator:
paranoid-deobfuscator out
- Assemble:
smali a out