This project implements a polymorphic virus designed to evade dynamic analysis by altering its signature each time it is executed. The primary goal of this virus is to showcase the concept of polymorphism in the context of computer security. The payload, for the purpose of this assignment, demonstrates a simple "Hello, World!" statement, but the technique can be adapted for more sophisticated exploits.
- Polymorphic Nature: The virus changes its signature dynamically, making it challenging for static analysis tools to detect and classify.
- Payload: The payload, though benign in this case, illustrates the potential for executing arbitrary code. Users can replace the payload with any desired exploit.
- Encryption: The virus encrypts its payload, requiring a password for decryption, adding an additional layer of obfuscation.
-
Clone the Repository:
git clone https://github.com/your-username/polymorphic-virus.git cd polymorphic-virus
-
Execution:
- Execute the virus script, which will decrypt the payload and execute it.
bash polymorphic_virus.sh
-
Customization:
- Modify the payload in the
polymorphic_virus.sh
script to incorporate your own exploit.
- Modify the payload in the
-
Important Notes:
- Use this project responsibly and only for educational purposes. Do not deploy or distribute this code maliciously.
- Ensure compliance with ethical guidelines and legal regulations.
- Bash: The script is written in Bash and requires a compatible environment for execution.
- OpenSSL: Used for encryption and decryption.
Contributions to this project are welcome. Please follow the standard GitHub flow:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature
. - Commit your changes:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature/your-feature
. - Submit a pull request.
This project is intended for educational purposes only. Do not use this code for malicious activities. The author is not responsible for any misuse of the software.
This project is licensed under the MIT License - see the LICENSE file for details.