Deobfuscate "paranoid" protected apps
Paranoid/LSParanoid deobfuscator
[!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 | | :---------------------------: | :-------------------------: | |
|
|
Installation
Using pip
pip install paranoid-deobfuscator
Using pipx
pipx install paranoid-deobfuscator
Usage
$ 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 deobfuscate --help
Usage: paranoid-deobfuscator deobfuscate [OPTIONS] TARGET
Deobfuscate a paranoid obfuscated APK smali files
Options: --help Show this message and exit.
$ paranoid-deobfuscator helpers --help
Usage: paranoid-deobfuscator helpers [OPTIONS] COMMAND [ARGS]...
Helper commands
Options: --help Show this message and exit.
Commands: deobfuscate-string Deobfuscate a string using extracted chunks extract-chunks Save the chunks from a paranoid obfuscated APK extract-strings Extracts the strings from a paranoid obfuscated APK
APK file (using [Apktool])
- Decode
.apkfile:apktool d app.apk - Run deobfuscator:
paranoid-deobfuscator deobfuscate app - Build:
apktool b app
DEX file (using [smali])
- Disassemble
.dexfile:baksmali d classes.dex - Run deobfuscator:
paranoid-deobfuscator deobfuscate out - Assemble:
smali a out
[paranoid]: https://github.com/MichaelRocks/paranoid [lsparanoid]: https://github.com/LSPosed/LSParanoid [apktool]: https://github.com/iBotPeaches/Apktool [smali]: https://github.com/google/smali
๐ Support My Work
If you find my projects useful, consider supporting me:
Your support helps me continue improving these tools and creating new ones. Thank you! ๐
If you can't donate, I also appreciate stars โญ on my repositories!