Not sure if the title is that telling but what I want to do is hack into an executable and do as little as necessary to get the code from my DLL running since I want to write as few lines of assembly code as possible.
I already have the place where I'd like to jump in and I am ready to insert the necessary assembly instructions into the executable using ollydbg but since I never did that before I'm afraid I need a little help on those last steps.
What I want to do is basically:
- Force the executable to load my DLL
- Push a few parameters onto the stack for
but I'm not sure what's the best way to accomplish that. Is there a straight forward way to get this done?
Btw: Is what I'm doing here actually called "dll-injection"?