Laiq Khan
Laiq Khan

Reputation: 1

Is there anyway to craft a PCAP from a CSV file?

I have easily converted a PCAP file to CSV file, every packet of the pcap is presented as a row in the csv file & I believe none of the data is dropped during this conversion.

I have done this using 2 ways: Wireshark & CICFlowmeter. Now, i want to convert this csv file back into pcap.

The Goal:

I am doing an experiment where I convert malicious pcap file into csv. I use this csv file as a dataset to train GANs(CTGAN). The GANs give me new samples, call it Synthetic-Dataset, in csv format. Now I want to convert this synthetic-dataset into PCAP and replay that PCAP under my IDS to see if the GAN was able to correctly generate synthetic attack data.
I have seen many research papers doing almost the same thing but they don't test their approach in real deployment. Instead they use other ML algorithms to check the closeness of original and synthetic data.

Upvotes: 0

Views: 353

Answers (0)

Related Questions