Session

How to execute an object file

In this session we will create a small toy dynamic linker/loader, which allows importing and executing any piece of pre-compiled binary code. Imagine you have a binary blob from an obscure system with no toolchain to utilize it. Or you're designing a bespoke sandbox to research a piece of malware.

Along the way we will learn how runtime linking works and how executables and shared libraries are combined into a single application. We will dissect the ELF file format, implement code relocations and stub external dependencies. In the end we will have a small, but fully working standalone program, which can load an external piece of code and execute it.

Ignat Korchagin

Cloudflare, Linux Guru

London, United Kingdom

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top