Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m3str3/rust-ransomware
Basic ransomware to learn the basics of Rust. Don't judge me :(
https://github.com/m3str3/rust-ransomware
learning ransomware rust
Last synced: 6 days ago
JSON representation
Basic ransomware to learn the basics of Rust. Don't judge me :(
- Host: GitHub
- URL: https://github.com/m3str3/rust-ransomware
- Owner: M3str3
- Created: 2024-03-19T20:28:14.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-19T20:50:19.000Z (10 months ago)
- Last Synced: 2024-03-19T21:52:33.720Z (10 months ago)
- Topics: learning, ransomware, rust
- Language: Rust
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Ransomware in Rust
## Disclaimer
This ransomware project is created solely for educational purposes to explore and understand the complexities of ransomware mechanics and to learn Rust programming language intricacies. It is strictly forbidden to use this project or any part of its code for illegal activities. The creator assumes no responsibility for misuse or damages caused by this software.
## Introduction
This project is a personal journey into simulating the behavior of ransomware within a controlled and safe environment. It serves as a hands-on experiment for me to dive into file encryption and decryption, explore anti-reversing techniques, and understand how to interact with the Windows API, all while learning the Rust programming language. This initiative is driven by a curiosity about cybersecurity, malware analysis, and a desire to deepen my programming skills.
## Features
- **Encryption & Decryption**: Utilizes AES encryption to encrypt and decrypt files.
- **Anti-Reversing Techniques**: Implements basic methods to detect debugging and virtual machine environments.
- **Wallpaper Change**: A harmless demonstration of how ransomware might alter system settings to signal its presence.
- **Educational Ransom Note**: Includes a mock ransom note that emphasizes the project's educational purpose.
- **Build Script**: Features a `build.rs` script for generating encryption keys and preparing the build environment.## Getting Started
1. **Clone the Repository**
```bash
git clone https://github.com/M3str3/rust-ransomware.git
cd rust-ransomware
```2. **Compile the encrypter**
```bash
cargo build --release --features "ransomw"
```3. **Compile the decryptor**
```bash
cargo build --release --features "decryptor"
```4. **Enjoy**
The executables should be on `target/release/`