Welcome to the RansomUwu repository! This project provides a Rust-based application that demonstrates techniques in file encryption and decryption using AES-256. The application includes dynamic library loading for AES functions, basic obfuscation techniques, and timing evasion strategies.
- Dynamic AES Loading: Load AES functions at runtime to evade static analysis.
- File Encryption/Decryption: Encrypt and decrypt files using AES-256.
- Obfuscation: Basic XOR-based obfuscation for strings and file operations.
- Timing Evasion: Randomized delays to avoid detection.
- Rust: Make sure you have Rust installed. You can install it from rust-lang.org.
- Windows API: This project uses Windows API calls, so it is intended for Windows environments.
-
Clone the repository:
git clone https://github.com/yourusername/rust-basic-ransomw.git cd rust-basic-ransomw.git
-
Build the project:
cargo build --release
-
Prepare the AES DLL: Ensure you have an
aes.dll
with the functionsAES_encrypt
andAES_decrypt
available in your working directory or system path.
-
Generate and Save Key:
cargo run
This will generate a key and IV, save them to a file, and proceed with either encryption or decryption based on a random action.
-
Encrypt/Decrypt Files:
Modify the
main
function or pass parameters to encrypt or decrypt files in your specified directory. -
Check Ransom Note:
After execution, a ransom note will be created in the specified directory.
- File Paths: Modify the
folder_path
andransom_note
paths in themain
function to suit your environment. - XOR Key: Adjust the XOR key used for obfuscation if needed.
- Testing: Ensure to test in a controlled environment to avoid any accidental data loss.
- Contributions: Feel free to fork the repository, submit issues, or propose changes.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or concerns, please reach out via XMPP+OMEMO [email protected].
This project is for educational and research purposes only. Use responsibly and ethically.