1.2 KiB
1.2 KiB
Rust Crypter
x86-64 Malware Crypter built in Rust for Windows with Anti-VM, powered by memexec
Usage
- Put your Portable Executable in /crypt/ and rename it to example.exe (or change the code to be the same name as your PE)
- In /crypt/
cargo run(will output encrypted_bytes.bin and key.txt) - move encrypted_bytes.bin and key.txt to /stub/src/
- In /stub/
cargo build --target x86_64-pc-windows-gnu --releaseor build without--releaseto keep debug symbols - compiled exe will be in /stub/target/debug/ named "stub.exe"
Supported targets
- Windows x86-64
- Windows x86
Limitations
- .NET not supported
- Files over 600MB not supported
TODO
- File dialogue choose file instead of renaming code strings/executable names
- Automatically move encrypted bytes and key into stub for compiling
- GUI
- Obfuscated Strings
Disclaimer
This is a tool used to test the Dynamic detection capabilites of AV and EDR, use of this project is at your own risk
MITRE TTPs (Indicators)
User Execution: Malicious File T1204.002 Deobfuscate/Decode Files or Information T1140 Embedded Payloads T1027.009 System Checks T1497.001 Reflective Code Loading T1620
References
https://crates.io/crates/memexec https://crates.io/crates/inside-vm