Famine is an educational project from the 42 school that focuses on understanding and implementing code injection techniques.
The project involves writing a binary that can inject its own code into existing binaries on the machine, allowing it to persist or conceal itself.
Pedagogical Objective: Learn about binary manipulation, ELF format, injection techniques, and their implications on system security. The project provides an opportunity to explore code injection, memory manipulation.
Famine is intended solely for educational purposes and must be treated responsibly.
Code injection and persistence mechanisms can be misused for malicious purposes, which is why this project must not be used on any machine without permission.
The goal is to learn about these techniques, not to implement them in production environments or real-world systems.
~$ mkdir -p /tmp/test /tmp/test2
~$ cp /bin/ls /tmp/test
~$ strings /tmp/test/ls|grep 'famine by '
~$ ./Famine
~$ strings /tmp/test/ls|grep 'famine by '
famine by jgirard- & elorenze
~$ cp /bin/ls /tmp/test2
~$ strings /tmp/test2/ls|grep 'famine by '
~$ /tmp/test/ls
Famine Makefile README.md src
~$ strings /tmp/test2/ls|grep 'famine by '
famine by jgirard- & elorenze