
Tool for embedding payloads into JPG/PNG format images, allowing to perform certain actions when opening them.
This project is a tool for embedding payloads into JPG/PNG format images, allowing you to perform certain actions when opening them.
This repository is provided for educational purposes only and intended for authorized security research. Use of these materials in unauthorized or illegal activities is strictly prohibited.
The project uses CMake to automate building and integrating various libraries, including Python 2. Below are the main steps to build the project and use the exploit.
C++ standard and compilation options:
-Wall for warnings and -g for debug information are added.Linking external libraries:
The project uses the following external libraries:
signals2 component).Integration with Python 2 via pybind11:
Installing Python 2 dependencies:
pip2 install -r requirements.txt.Automatic file handling:
exploit3r.py and Resou.sln.scr are automatically copied to the output directory after building, but they are not executed automatically.Compilation and linking:
.cpp files in the project and generates the executable.This will generate the project executable and copy the necessary Python files and other scripts to the output directory.
Step 1: Installing Python 2 dependencies:
Make sure you have Python 2 installed. All Python dependencies are listed in the requirements.txt file. To install them, run:
pip2 install -r requirements.txt
This will install the required libraries such as BeautifulSoup, argparse, requests, and others.
Step 2: Running the exploit3r.py script: After the project has been successfully built and all dependencies installed, you can run the exploit3r.py script manually. It should be run in a Python 2 environment.
python2 exploit3r.py
exploit3r.py is the main part of the program for generating the exploit file. After launch, a graphical interface will appear where you can select the malware file (e.g., .exe file) and the JPG file in which the malicious code will be embedded.
Step 3: Using the interface
Step 4: Verifying the result After completion, you will obtain a file that appears to be an image but contains malicious code. You can test this file with various antivirus scanners to check its stealth.