When I debug .exe
file with IDA, I want to put a breakpoint before the .exe
sends a TCP packet.
When I listen with ProcMon I can see that this .exe
sends and receives TCP packets.
- I look at the
.exe
file import tab, and put a breakpoint atsend
function, but that doesn't trigger. - I looking at the line at ProcMon when I see
tcp send
in stack tab, and see:
frame 0 ,module ntoskrnl.exe , Location CcMdlWriteAbout + 0x....
frame 1 ,module tcpip.sys , Location tcpip.sys + 0x....
frame 2 ,module tcpip.sys , Location tcpip.sys + 0x....
etc.
How can I find the function in the .exe
file that sends TCP packets? I want to put breakpoint there.