Can i run Wireshark as a service and make notifier?

Hello guys, does anyone know if it's possible to run Wireshark as a service all the time and create some short of Notifier?

I was running a test for a new App i downloaded from Play Store which is a WiFi Analyzer and i scanned for LAN users. I ran Wireshark to see what will catch from the App and i saw a lot of specific packets going through which were of course the requests from the App to identify the users.

So my thinking is can I run Wireshark as a service all the time and create a Notifier for example to catch these or anything else I want and notify if any of these happen?

If anyone knows please tell me and guide me a little if you can. (I run Wireshark x64 on Windows 7 - x64), thank you.

Posted Nov 25, 2017, 1:01 PM UTC

17
havermyer•

I can't provide you with full step by step instructions, but it sounds like you are looking for Bro or sn0rt. Pretty sure they are Linux only, so you would probably want to build a virtualbox vm.

Some googling of the above terms should get you going in the right direction.

2
MunchRegisterOP•

I checked Snort and there is for Windows, I already use it but it's not completely what I need. It's close but not the preferable, if you have any idea of any other program please tell me. Thank you

1

You cannot run Wireshark indefinitely. It will eventually run out of memory.

You can run tshark to capture indefinitely. But even this doesn't do what you want.

2
djdawson•

The most common recommendation for long-term captures is to use the "dumpcap" command line tool that comes with Wireshark instead of tshark, since tshark still does the per-packet protocol decoding that is the primary cause of increasing memory usage. Wireshark and tshark actually call dumpcap to do their packet capturing, so you're really using it when you run tshark anyway. On *nix systems the "tcpdump" utility is generally considered to be an even better alternative.

2
MunchRegisterOP•

Thank you for this information, I'll do PoC and check it.

1
MunchRegisterOP•

So there are no companies that run Wireshark 24/7? What would use a company to analyze and save it's whole traffic?

1

They run tshark

1