This project demonstrates techniques used in binary manipulation, specifically targeting ELF (Executable
and Linkable Format) executables. This tool encrypts the .text section of an ELF executable, injects a
custom payload written in Assembly into a code cave, and modifies the entry point to execute the injected
payload first. Upon execution, the payload will display a message, decrypt the .text
section, and
then execute the original program.
The Malicious-Packer is a program written in C that showcases how to encrypt, inject, and manipulate ELF executables. The injected payload performs two main actions:
- Prints a custom message.
- Decrypts the
.text
section and transfers control to the original entry point of the executable.
- Compile the project
make
- Run the packer on a target program (ELF executable binary)
./woody-woodpacker target_program
- Run the infected program