De4py
The ultimate AI-powered toolkit for python reverse engineering
Install / Use
/learn @Fadi002/De4pyREADME
<a href="#home"><img src="https://github.com/Fadi002/de4py/blob/main/Pictures/de4py.jpg?raw=true"></img></a>
de4py
⚠️ de4py is FREE & OPEN SOURCE (CC BY-NC 4.0).
Any paid versions sold elsewhere or commercial use are NOT permitted. If you paid for de4py, you were misled.
De4py is an advanced Python deobfuscator with a beautiful UI (PySide6) and a robust set of features for malware analysts and reverse engineers. It supports both automatic deobfuscation of common packers and manual analysis tools.
Maintained by Fadi002 and AdvDebug.
🚀 Features
| Feature | Function | | :--- | :--- | | Onyx Engine (AI) | Advanced deobfuscation utilizing local LLMs (Ollama) combined with AST cleaning, control-flow flattening recovery, and pattern matching. | | Legacy Deobfuscation | Direct support for popular obfuscators: Jawbreaker, BlankOBF, PlusOBF, Wodx, Hyperion, pyobfuscate. | | File Analyzer | Detection of packers (PyInstaller, unpy2exe), dynamic hash calculation, suspicious string lookup, and metadata extraction. | | Pyshell GUI & Code Execution | Custom GUI to execute Python code inside external target processes (useful for dynamic analysis and licensing bypasses). | | Modern UI | Built with PySide6 and a custom dark theme for a premium look and feel. CLI mode also supported. | | Global Localization | Support for over 18+ languages out of the box, powered by a community-driven localization engine. | | Plugin Architecture & API | Extensible plugin system to create custom analyzers. You can also use de4py directly as a programmable library in your own tools. | | Behavior Monitor & DevTools | Monitor process handles, memory access, and sockets. Built-in developer tools for real-time inspection, UI debugging, and API testing. |
📦 Installation & Usage
Prerequisites
- Python 3.8+
- Windows (recommended for full feature support)
Installation
You can install de4py as a package:
git clone https://github.com/Fadi002/de4py.git
cd de4py
pip install .
Running
GUI Mode:
python -m de4py
# OR
python main.py
CLI Mode:
python -m de4py --cli
🧠 Onyx Engine & Ollama Setup
To use the advanced Onyx-Alpha Deobfuscator (which utilizes local LLMs for heavily obfuscated code), you need to set up Ollama:
- Download and install Ollama.
- Open your terminal and pull the required model (default is
qwen2.5-coder:1.5b):ollama run qwen2.5-coder:1.5b - Once the model is downloaded and running, the Onyx engine in de4py will automatically connect to it for AI-assisted deobfuscation. You can change the model and thresholds in the UI settings.
🛠 Project Structure
The project has been refactored for clarity:
de4py/
├── de4py/ # Main Package
│ ├── core/ # Core logic (EngineManager, Interfaces)
│ ├── engines/ # Deobfuscators and Analyzers
│ ├── ui/ # PySide6 User Interface
│ ├── config/ # Configuration management
│ └── utils/ # Utilities (RPC, TUI, etc.)
├── plugins/ # External Plugins folder (Root)
├── main.py # Entry point
└── pyproject.toml # Project configuration
🤝 Contributions
All contributions are welcome!
🔗 Community
- Matrix: Join our Matrix room 🔒 (recommended)
- Signal: Join our Signal room
- Discord: Join here 💬
🌐 Help Translate de4py
We use Crowdin for translations.
- Select a language you want to translate.
- Use the Crowdin web editor.
- Submit translations for review.
⚠️ Disclaimer
This tool is for educational purposes only. Never deobfuscate software without permission. The developers are not responsible for misuse.
📄 License
Licensed under Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).
📝 Attribution Notice
This project was created by Fadi002.
If you fork or redistribute this project, you must retain the original copyright notices and provide appropriate attribution according to the CC BY-NC 4.0 license. Commercial use is not permitted without explicit permission from the author.
Related Skills
node-connect
335.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
82.7kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
82.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
335.9kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
