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
- Python 3.8 or higher
- cryptography package (see requirements.txt)
- Clone this repository
- Install dependencies:
pip install -r requirements.txtTo run the demonstration:
python virus.py- 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
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.
This project is for educational purposes only. No license is granted for commercial or malicious use.