lets say you run third party program on your computer whitch create a process named example.exe
how do i determinate if this process is running and how many windows does he open? How do i intercept network communication between this windows and server?
my goal is to create an app whitch will be monitoring network trafic between example.exe and its home server in order to analyze data and save to database, and finally simulate user interaction to get more relevant data
You could use wireshark from wireshark.org to sniff the network traffic (or any other packet sniffer).
python intercepting communication