Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Java scripts to create and encrypt files to test anti-virus software in a secure environment and simulate a ransomware attack.

License

Notifications You must be signed in to change notification settings

danieljancar/java-encrypter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Red Lock

This Java application simulates the process of ransomware encryption, providing a safe and controlled environment for educational purposes in cybersecurity.

Java Ransomware Encryption Simulator

Key Features

  • Creates files with random data.
  • Secures files using AES-256 encryption.
  • Various operational modes: creation, encryption, or both, with an additional help guide.

Prerequisites

  • Java 8 or higher.

Getting Started

  1. Ensure Java is installed on your system.
  2. Download the project from GitHub.

Usage

The application can be operated through the command line with the following commands:

  1. Compile the Program:
javac src/main/java/dev/danieljancar/App.java
  1. Run the Program:
  • General Syntax:
    java -cp src/main/java dev.danieljancar.App <mode> <args>
  • To Create Files:
    java -cp src/main/java dev.danieljancar.App create <path> <amount> <file extension>
  • To Encrypt Files:
    java -cp src/main/java dev.danieljancar.App encrypt <path> <key>
  • To Create and Encrypt Files:
    java -cp src/main/java dev.danieljancar.App both <path> <amount> <file extension> <key>
  • For Help:
    java -cp src/main/java dev.danieljancar.App help

Technical Details

  • Encryption Algorithm: AES-256
  • Intended for educational insights into file encryption.

Disclaimer

This is an educational tool. Do not use it on unauthorized systems.

License

This project is open-source, under the MIT License.

About

Java scripts to create and encrypt files to test anti-virus software in a secure environment and simulate a ransomware attack.

Topics

Resources

License

Stars

Watchers

Forks

Languages