Hi great idea popped into my head a while back ago and the idea is i write a program that does a automated task. I than compile the program and open it with a HEX editor or a Debugger. I than get a "Legit" Program and open that with a Debugger and/or a HEX editor. I find a "process" that is to be executed from a command from the "legit" program and replace the HEX with the program that i wrote. but the program that i wrote has to have the equivalent size to the command i am replacing in bytes. The legit program will probably crash but the task i would want would be executed.
So is this a injecting Process?