Log in

View Full Version : [Help] Intercept InterProcess Communication


microbyte
June 26th, 2009, 03:26
Hi all!

Imagine I have process1.exe and process2.exe.
Process2.exe is receiving data from process1.exe.

Which is the best way to get the data being sent from one process to the other?


Any help would be appreciated

Kayaker
June 26th, 2009, 11:48
The specifics would depend on the method of IPC naturally, which could be as simple as a WM_COPYDATA message to something more involved. What method is being used?

http://msdn.microsoft.com/en-us/library/aa365574(VS.85).aspx

WaxfordSqueers
July 1st, 2009, 07:34
Quote:
[Originally Posted by microbyte;81327]Imagine I have process1.exe and process2.exe.
Process2.exe is receiving data from process1.exe. Which is the best way to get the data being sent from one process to the other?
You might find some clues in this thread:

http://www.woodmann.com/forum/showthread.php?t=11087&highlight=ipc

I spent countless hours on an IPC setup and never did get totally comfortable with it, but it was a really complex program with many different modules interacting.

Here's a tip from Delta: "My suggestion would be to breakpoint MapViewofFile, and its return value will be the address of this communication buffer".