Windows – How to Export Microsoft Network Monitor Capture File to .CSV file

networkingwindows

I've been using Microsoft Network Monitor to capture traffic data, which will eventually be used for data mining purposes and attack detection. It would be much more convenient if I could export the capture to a .csv file. Is there any way to export the capture as a .csv, or, assuming the .cap file is parser friendly, is it possible to analyze the .cap file directly in a language such as Python?

Best Answer

You can import the capture file into Wireshark (which understands a couple of dozen popular capture formats, including Microsoft's) and from there export the packet list to a CSV.