I stumbled upon a problem and I would like to know your opinions. I have a closed-source executable and a binary file that contains code (no header etc.). I want to merge the code in the binary file and the executable, so the next time you run the executable, you'll run the binary code first and then continue to the original code.
I'm familiar with the old/common ways to "inject" code, but I need a clean method that won't look suspicious for Anti-Viruses.
My current solution is to do split-merge, but that's way too hard to accomplish.
EDIT: Recompiling and other nasty patching is not what I'm looking for.




