Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/giacomoferretti/paranoid-deobfuscator
Deobfuscate "paranoid" protected apps
https://github.com/giacomoferretti/paranoid-deobfuscator
android deobfuscation deobfuscator lsparanoid paranoid python python3 reverse-engineering static-analysis string-deobfuscator string-obfuscation string-obfuscator
Last synced: 3 days ago
JSON representation
Deobfuscate "paranoid" protected apps
- Host: GitHub
- URL: https://github.com/giacomoferretti/paranoid-deobfuscator
- Owner: giacomoferretti
- License: apache-2.0
- Created: 2020-09-04T15:20:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-24T22:24:32.000Z (2 months ago)
- Last Synced: 2025-01-22T06:07:09.334Z (11 days ago)
- Topics: android, deobfuscation, deobfuscator, lsparanoid, paranoid, python, python3, reverse-engineering, static-analysis, string-deobfuscator, string-obfuscation, string-obfuscator
- Language: Python
- Homepage:
- Size: 1.71 MB
- Stars: 46
- Watchers: 3
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Paranoid/LSParanoid deobfuscator
[![PyPI - Version](https://img.shields.io/pypi/v/paranoid-deobfuscator)](https://pypi.org/project/paranoid-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 |
| :---------------------------: | :-------------------------: |
| ![Before](.github/assets/before.png) | ![After](.github/assets/after.png) |## Installation
### Using pip
`pip install paranoid-deobfuscator`
### Using pipx
`pipx install paranoid-deobfuscator`
## Usage
```text
$ paranoid-deobfuscator --helpUsage: 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
``````text
$ paranoid-deobfuscator helpers --helpUsage: 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])
1. Decode `.apk` file: `apktool d app.apk`
2. Run deobfuscator: `paranoid-deobfuscator deobfuscate app`
3. Build: `apktool b app`### DEX file (using [smali])
1. Disassemble `.dex` file: `baksmali d classes.dex`
2. Run deobfuscator: `paranoid-deobfuscator out`
3. 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