Seven mistakes reading GOOSE and SV captures

3 min read188 courses on OnlySecurity

These are the errors that show up most often when a learner meets IEC 61850 on the wire. Each is cheap to avoid.

  1. Filtering on IP. GOOSE and Sampled Values ride directly on Ethernet, so ip and tcp filters return nothing. Use goose and sv, or filter on the Ethernet types as eth.type == 0x88b8 || vlan.etype == 0x88b8 for GOOSE and vlan.etype == 0x88ba for Sampled Values, because on tagged frames eth.type shows the VLAN type instead (in our invented captures plain eth.type == 0x88b8 caught only 39 of 6569 GOOSE frames, and eth.type == 0x88ba caught none of the 80360 SV frames). Build conversation tables with -z conv,eth. MMS is the exception, since it travels over TCP port 102.
  2. Ignoring VLAN tags. Substation traffic is usually tagged with a priority and a VLAN id. A capture taken after tag stripping, or a filter written without the tag, behaves differently. Check whether the tag is present before reading priority as meaningful, and remember a tag moves the ethertype from eth.type to vlan.etype.
  3. Treating stNum as a clock. It counts state changes, not time. A quiet stream may show the same stNum for days. Do not infer a stall from a flat stNum alone; check that sqNum is still climbing.
  4. Reading sqNum as packet loss. A gap in sqNum may be loss, but it can also be a publisher restart, a wraparound or a capture drop. Compare against the capture’s own drop statistics, and look at the frames either side before declaring loss.
  5. Counting SV frames by eye. A single sampled value stream may send thousands of frames per second. The sample counter should wrap at a fixed value, and a missing sample is a gap in that sequence. Extract the counter and compute differences with a script instead of paging through the GUI. Quote the sample rate in samples per second only after you have measured it.
  6. Trusting the first dissector guess. If a frame does not decode as expected, a stale dissector setting or a nonstandard Ethernet type may be the cause. Confirm with Decode As, and check the Wireshark version recorded in your notes.
  7. Reading labels as proof. A dataset says a file contains an attack from a given time. That is a claim about the experiment. Find the evidence yourself in the counters and addresses. When your evidence and the label disagree, the label may still be right, so look again before choosing.

An eighth habit helps with all seven: write the command beside every claim, so another learner can rerun it. If a result rests on a step in the GUI, write that step down. The goal is a finding someone else can reproduce from the file and the notes alone.

Some of these mistakes come from habits learned on IP networks, where the conversation table and the stream follow tools answer most questions. Layer 2 substation traffic asks you to work from addresses, control block references and counters instead, and to build your own small summaries with sort and uniq -c when the GUI does not offer one. That is slower at first, but the same method scales to a capture of any size.

It also helps to keep a small reference card beside your notes: the Ethernet types for GOOSE and Sampled Values, the TCP port for MMS, the names of the counters you extract and the one line command that produces each summary. The card stops you rebuilding the same filters from memory on every capture, and each entry on it should be confirmed once against the current Wireshark documentation, with the version noted, before you rely on it.

Nothing in this article needs a live system. Work only on captures you have fetched yourself, open them in Wireshark or tshark, and never run anything you find inside one.

For structured practice on this topic, see the OnlySecurity course IEC 61850 Substations I: GOOSE, Sampled Values and MMS on the Wire.

More from this author