Let's say I have to write a Windows program that will at some time create one or more new processes with the corresponding executable images. I have known a few possible ways to do this:
- The easy way is to extract this image to disk and create a new process from there.
- As this question and its answerer suggested (load the image to a RAM drive like tmpfs - the Windows equivalence is UPX)
My question is: Is there any other way? I'm thinking of somehow turn the exec into a DLL and load it or even trojanized some of the running processes?