Programming Weird Machines with ELF Metadata
summary
Shows a concrete method to program the loader by crafting ELF symbol and relocation metadata to perform arbitrary computation before memory protections are set, bypassing ASLR. Implements the eight Brainfuck primitives using relocation entries and indirect-function symbols, relying on only three relocation types plus GOT/PLT and link_map manipulation. Uses ERESI/elfsh and the RCToolkit to inject writable relocation/symbol sections, compiles metadata on GitHub, and demonstrates a ping backdoor that invokes exec to spawn a root shell.
AI-written summary · about
