Skip to content

toniall/ransomchat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ransomware Chat Simulation

This repository contains a Python script for simulating chat negotiations with ransomware groups based on real-world behavior patterns.

Author: Antonio Brandao
Data Source: Based on real ransomware chat logs from Casualtek/Ransomchats.
Special Thanks: Valéry Marchive for insights and contributions.

Features

  • Behavior Analysis: Reads behavior patterns from text files extracted from actual ransomware negotiations, allowing for realistic simulation of ransomware group interactions.
  • API Flexibility: Supports integration with either OpenAI or xAI Grok APIs, giving flexibility in AI model usage for responses.
  • User Interface: Offers a command-line interface with color-coded outputs to differentiate between user and ransomware responses.
  • File Management: Includes a script to update terminology from 'behavior' to 'behaviour' for consistency with British English or specific project needs.

Usage

  • Choose between OpenAI or xAI Grok for AI-powered responses in simulated ransomware negotiations.
  • Select from a list of ransomware groups, sorted by the size of their behavior data, to simulate interactions.
  • Engage in a simulated negotiation where the AI responds based on predefined behavior patterns.

Requirements

  • Python 3.x
  • openai library for OpenAI API integration
  • colorama for colored terminal text on Windows
  • An API key for either OpenAI or xAI Grok services

Installation

  1. Clone the repository:
 git clone https://github.com/toniall/ransomchat.git
 cd ransomchat
  1. Set up and activate a virtual environment:
python3 -m venv venv
source venv/bin/activate  # For Linux/macOS
  1. Install dependencies:
 pip install -r requirements.txt

Run the Python script

python3 RamsonChat.py

image image

Run the Python GUI for the Chat

python3 RamsonChatPyQt.py
  1. Choose your API and enter the API Key:

image image

  1. Select the Behaviour Folder:

image

  1. Select the Ransomware Group for the Negotiations:

image

  1. Start the Chat:

image

Note

This tool is for educational, research, or demonstration purposes only. It should not be used for any malicious activities or to engage with actual ransomware groups.

About

Ransomware Chat Simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages