Crypter is a CLI-based tool designed to encrypt payloads and generate executable stubs for execution.
It supports AES-256 and ChaCha20 encryption with customizable output formats.
- Supports EXE and DLL generation
- AES-256 / ChaCha20 encryption support
- Command-line arguments for flexibility
- Interactive CLI with verbose output
- Colorized output for clarity
- Robust stub compilation and error handling
Ensure you have Rust installed:
rustc --version
If Rust is missing, install it via:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Clone this repository
git clone /~https://github.com/daemon-reconfig/Cryptr.git
cd crypter
cargo build --release
Basic Syntax:
./crypter -i <input file> -o <output file> -e <exe|dll> -m <aes|cha> [-v]
- Reads the input payload.
- Encrypts it using the selected encryption algorithm.
- Generates a stub executable that decrypts and runs the payload at execution.
- Uses Rust's cargo build to compile the final EXE or DLL.
- The stub contains embedded encrypted payload.
- Upon execution, it decrypts and executes the payload in memory.
- Uses AES-256-GCM or ChaCha20Poly1305 for secure encryption.
- ✅ Implement CLI for EXE/DLL encryption selection.
- ✅ Support AES-256 and ChaCha20 for encryption.
- ✅ Develop a decryption stub that executes payloads.
- 🔄 Integrate process hollowing (partially done, needs refinement).
- 🔄 Implement syscall obfuscation (work in progress).
- 🔲 Encrypt stub sections to hinder static analysis.
- 🔲 Implement polymorphic techniques (e.g., junk code insertion).
- 🔲 Modify PE structure to avoid common signatures.
- 🔲 Implement in-memory execution for stealth.
- 🔲 Implement optional registry-based persistence.
- 🔲 Add scheduled task execution.
- 🔲 Support multiple payload execution methods (DLL injection, APC queue, etc.).
- 🔲 Test against different Windows versions.
- 🔲 Improve stub efficiency (reduce size, optimize performance).
- 🔲 Validate against common AV/EDR solutions.
- 🔲 Implement automated payload generation.