show process name (Windows)
I used to use Microsoft Network Monitor.
Trying Wireshark now, however, first question which come to my mind: How do I add process name on the capture window?
Wireshark doesn't support that.
There are multiple ways of implementing this:
Note that a table of that sort, internal to the kernel, might be what would be used for the first of those solutions.
I used to believe obtaining the process id or name requires elevation. Certainly netstat -b
does, but the PowerShell Get-NetTcpConnection
doesn't seem to need that.
However, I think that attempting to obtain the process info after receipt of a packet from npcap might be prone to errors, particularly affected by Windows reuse of process IDs.
Asked: 2022-03-25 17:43:42 +0000
Seen: 5,375 times
Last updated: Mar 25 '22
For that you have use the Sysinternals tools to obtain the information and add it as comments in the pcapng packets. Currently there is not automated way to do that that I am aware of.