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?
Could it be implemented in future edition of Wireshark?
The problem mainly lies in npcap and the data and interfaces available to it, adding subsequent support to Wireshark to display the info wouldn't be difficult.
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.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: Mar 25 '2
Seen: 5,799 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.