3 ms·
PlaidCTF 2020 had an interesting challenge, where you had to write a minimal 64bit shared object file which had to spawn a shell when preloaded to any (dynamica
by an-unknown 5y ago
PlaidCTF 2020 had an interesting challenge, where you had to write a minimal 64bit shared object file which had to spawn a shell when preloaded to any (dynamically linked) program. There are write-ups describing how people did it: https://ctftime.org/task/11305 https://ctftime.org/task/11305
Naturally, the files from that challenge were bigger than the minimal ELF file presented here, because dynamic linking requires more sections.