I am currently working on learning how different types of DLL injection can be performed. Right now I am able to run a function by:
- Opening the remote process;
- Allocating memory in remote process;
- Relocating our image according to the address of allocated memory;
- Using
CreateRemoteThread()
giving it the address of my declared function.
So, right now I am just executing a _MessageBox_
which is surely uninteresting. What I want to do right now is to execute a function which will load a DLL into its own address space and execute it, like how a traditional PE loader works. I took a reference code and tried but I am getting an access violation when I inspect using Olly.
Please tell me, is it even possible?