Add xtra functions to existing exe without modifying the exe's code

Add xtra functions to existing exe without modifying the exe's code

Post by miseko » Tue, 23 Sep 2003 12:05:57


hi all,

As refer to the subject above, I've a software which I need to add in
new task, without modifying the existing code. So,would it possible to
control a software execution whereby at specific instruction, it will
transfer the control to another exe? My idea sofar is to write an exe,
eg. D.exe, that behave like a de *** and it will started to 'debug'
the A.exe. Then when at specific instruction in the A.exe, it will
transfer the control to D.exe. Now, the D.exe will perform some tasks
and when it's done, it let A.exe to proceed. Thought this can be done
by setting the trace bit in the flag register to 1, and then stop the
'tracing' of A.exe where the D.exe need to perform the extra task.
Pls advice and appreciate any feedback.

Thanks,
misekoy
 
 
 

Add xtra functions to existing exe without modifying the exe's code

Post by miseko » Fri, 26 Sep 2003 11:20:50


I agree with you, but that's the only solution I could think of since
I quite newbie on this. If I'm not worry about this performance, would
my idea work?
Btw, hv u encountered any info on whether ppl hv done it b4?


The A.exe is the original file that I want to add in the new function.
Suppose to write D.exe which will then run the A.exe.


My purpose is not to modify the existing code of A.exe without getting
any permission from the original writer. So, thought maybe can have
this D.exe to examine each instruction till it find the correct one,
then it will perform some task, e.g. sleep/wait for 10sec, b4
returning back the control to A.exe. So, is there any other solutions
for this?

 
 
 

Add xtra functions to existing exe without modifying the exe's code

Post by Alex McDon » Sat, 27 Sep 2003 04:23:24


===snipped

Have you read the licence that came with the program? Does it forbid you do
this without permission? It may have restrictions on "reverse engineering,
disassembling, modifying" etc. If it doesn't, then consider API interception
instead; it may suffice.

--
Regards
Alex McDonald
 
 
 

Add xtra functions to existing exe without modifying the exe's code

Post by miseko » Sat, 27 Sep 2003 15:57:21


It does not allowed to modify the existing code. So, thought this idea
would work as I'm just having another exe to 'encapsulate' it. Btw,
it's a ms-dos exe.