by bediger4000 · 3y ago · 0 comments
Interesting idea, it shows that Linux execute(2) system call doesn't do any magic, except look at setuid bits.
Also, isn't this pretty much what Windows people call "process hollowing" or some such?
I’m not sure what the terminology is these days, but I called it userland exec() because it was an implementation of execve in userland…
I wrote it in, 2003 or 2004? I can’t find an original link anymore, but I posted it to bugtraq the week after I finished it.
By 2008, your original code didn't seem to work: https://lkml.indiana.edu/hypermail/linux/kernel/0803.3/1215....