Some of the most useful public captures were never meant as training material. They are test traces: small files written to prove that a protocol parser works. The collection of traces that accompanies a set of open source Zeek parsers for industrial protocols is one of these. Reading it as a dataset, rather than as a test fixture, needs a few adjustments.
First, understand the purpose. A parser test trace exists to exercise code paths. It contains the message types the author needed to cover, in the order that was convenient to test, often from a single lab session. It is not a day of plant traffic and it does not contain attacks, noise or the odd malformed packet that a real network produces. That makes it excellent for learning field layouts and poor for learning behaviour.
Second, read the folder structure as a protocol list. Each folder normally holds the captures for one protocol and, per the inventory, a PROVENANCE.md that says where the traces came from. The inventory notes that some traces may be third party material inside a repository whose own licence is BSD-3-Clause. That distinction matters. A permissive licence on the repository does not automatically cover every file in it. Read the provenance file for each folder you plan to use, and treat a folder without one as unverified.
Third, use the traces with the tool they were built for. Because these files exist to test Zeek parsers, they pair naturally with Zeek: run zeek -r trace.pcap and read the log files it writes, such as conn.log and the protocol specific logs the parser adds. Comparing what Zeek logs with what Wireshark shows for the same packets is one of the best exercises available to a beginner, because the two tools make different choices about what to summarise. When they disagree, you have found something worth understanding. Whether the parsers are installed as a package or loaded from source depends on your Zeek version and the repository’s current instructions, so follow the repository’s own install notes.
Fourth, count what you are looking at. Write down, for each trace, the number of packets, the number of conversations, the set of message types and whether a request always has a matching response. Test traces are often tidy enough that every request is answered, which is useful for learning and misleading as a model of production, where timeouts and retries are normal.
A short worked method. Pick one protocol folder. Open the smallest trace in Wireshark and list the distinct message types with Statistics, then Protocol Hierarchy, and a display filter on the protocol’s name. Run the same file through Zeek and list the log fields. For each message type, find the field that tells you which operation it is, and find the field that tells you whether it succeeded. You now have a decoding table for that protocol, built from two independent tools.
What the collection cannot do is tell you what is suspicious. It has no ground truth about attacks, so any challenge built from it has to be built on questions about content, such as which device answered or which function was requested, and not on questions about intent. That is a fair use. It is also why we link learners to the named files and let them download from the source with credit, rather than carry our own copy.
Finish with the reproducibility habit. Record the repository commit you downloaded from, the path of each file and its SHA-256, so that a future reader can tell whether the repository changed under you. Test collections are updated alongside the code they test, and a trace that disappears or changes between visits is a normal event, not a mystery.
One more caution, specific to this kind of source. Test traces sometimes include deliberately malformed packets, because a good parser test needs them. A malformed frame in a test trace is evidence that the author covered an error path, not evidence that anything attacked anything. Before you describe a packet as an anomaly, check whether the file’s own documentation describes it as an edge case it was written to exercise.
For structured practice on this topic, see the OnlySecurity course Reading Industrial Protocols on the Wire: EtherNet/IP, OPC UA and the Wider Library.
More from this author
- One capture, three questions2 December, 2026
- Payload channels versus timing channels2 December, 2026
