PCAPs for Testing¶
The easiest way to download pcaps for testing is our so-test tool. Alternatively, you could manually download pcaps from one or more of the following locations:
You can download pcaps from the link above using a standard web browser or from the command line using a tool like
curl. Here are some examples.
To download the pcap from https://www.malware-traffic-analysis.net/2020/09/16/index.html using wget:
To download a pcap from https://www.netresec.com/?page=MACCDC:
You can use
tcpreplay to replay any standard pcap to the sniffing interface of your Security Onion sensor.
A drawback to using tcpreplay is that it’s replaying the pcap as new traffic and thus the timestamps that you see in Kibana and other interfaces do not reflect the original timestamps from the pcap. To avoid this, a new tool was developed called so-import-pcap.