CS38, Security and Privacy, Spring 2005


The ELF format is key to many exploits. In particular, infecting executables requires an intimate understanding of it. The ELF spec is somewhat dense, and does not describe many sections that are present in any executable or shared object file on a modern GNU/Linux system. Levin's books is a gentler introduction to the subject, especially to relocation, but referring to the ELF spec is still inevitable.

You might find it interesting that the accompanying debugging format to ELF, an intimate friend, is called DWARF.

ELF hackery

ELF tools

Useful tools to be aware of:


Back to Dartmouth CS Home Page     Sergey Bratus