Skip to content

Educational research on polymorphic malware with encryption, self-modification, and controlled file infection.

Notifications You must be signed in to change notification settings

Pranavh-2004/PolymorphicMalware

Repository files navigation

Polymorphic Malware Research Project

⚠️ WARNING: This is a research project for educational purposes only. Do not use this code maliciously or on any systems you don't own or have permission to modify.

Overview

This project demonstrates a polymorphic malware implementation for educational and research purposes. It includes features such as:

  • Code encryption
  • Polymorphic code generation
  • File infection capabilities
  • Backup creation before modification

Requirements

  • Python 3.8 or higher
  • cryptography package (see requirements.txt)

Installation

  1. Clone this repository
  2. Install dependencies:
pip install -r requirements.txt

Usage

⚠️ IMPORTANT: Only run this code in a controlled, isolated environment (e.g., a virtual machine) that you own and have permission to modify.

To run the demonstration:

python virus.py

Safety Notes

  • The code creates backups of files before modification
  • It includes a signature system to prevent reinfection
  • Maximum file limit is set to 10 files
  • Only modifies files with .exe extension

Disclaimer

This code is provided for educational and research purposes only. The author is not responsible for any misuse or damage caused by this code. Use at your own risk and only in controlled environments.

License

This project is for educational purposes only. No license is granted for commercial or malicious use.

About

Educational research on polymorphic malware with encryption, self-modification, and controlled file infection.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages