Chain loading, not preloading: the dynamic linker as a virtualization vector(cs.kent.ac.uk)
cs.kent.ac.uk
Chain loading, not preloading: the dynamic linker as a virtualization vector
https://www.cs.kent.ac.uk/people/staff/srk21/blog/2021/01/04/#elf-chain-loading
1 comments
The details in the article may be useful for malware research. But in most situations, when the target executable is PIE and is not sensitive about how it is run (which normal programs are), you can just "dlopen()" it like a shared library and invoke its "main()" function after changing the runtime environment in your own executable.