Four ways to catch a forged GOOSE frame, compared

3 min read188 courses on OnlySecurity

A forged GOOSE frame is a frame that claims to come from a relay it did not come from, or that says something the relay did not decide. There are at least four ways to catch one, and each has a different cost and a different blind spot.

The first is identity checking. Build a table of which source address publishes which control block reference, and alert when the pairing changes or a new source claims an old reference. It is cheap, it needs only a baseline, and it catches a forger who is careless about addresses. It fails against a forger who copies the real address, which on a layer 2 network is easy.

The second is counter checking. The state number should rise only on a genuine change, and the sequence number should climb steadily within a state. An injected frame with a state number that is too high makes the real publisher’s next frame look like a step backwards. Alerting on a state number that moves in ways the publisher never moves catches this well. It fails if the forger follows the real counters closely, which requires seeing the live stream.

The third is timing checking. A genuine publisher follows a retransmission schedule after a change. A forger who sends one frame and stops, or one who repeats at a different rate, leaves a pattern that does not match. You need the baseline schedule for each control block, which differs between labs and between configurations. It fails against a forger who copies the schedule.

The fourth is process checking, which needs data from outside the network. Does the change in the frame fit what the electrical measurements show? A trip with no disturbance is suspect whatever the counters say. It is the strongest check and the most expensive, because it needs a second data source and a careful alignment of clocks.

Now compare them on cost and coverage. Identity and counters are cheap and run on a single capture. Timing needs a longer baseline. Process checking needs more instruments. In a layered design you run the cheap checks everywhere and keep the expensive one for the messages that matter, such as trips.

Compare them on failure direction too. A strict identity rule fails closed and may alert on a legitimate device replacement. A loose counter rule fails open and may pass a careful forger. State which direction each check errs in, because that is what an operator needs to know when choosing thresholds.

A small exercise ties this together. Take one capture and write each check as a script of ten lines or fewer. Run all four. Make a table of which check fired on which frame. The gaps in that table are your argument for layering, and a good place to start a detection engineering lesson.

Two caveats apply to all four methods. First, every one of them needs a baseline, and a baseline built from a short or unrepresentative capture makes every rule noisy. Spend the time to build a good one and record how long it was and what it covered. Second, an alert is a prompt to look, not a verdict. The follow up question, what did the process do, is what separates a forged trip from a legitimate one, and a detector that skips it will either miss attacks or cry wolf.

In a course setting, the best exercise is to give learners a capture with one forged frame and ask which of the four checks would have caught it. The answer depends on how the forger worked, and learners come away with a clear picture of why no single check is enough.

For structured practice on this topic, see the OnlySecurity course IEC 61850 Substations II: GOOSE, SV and MMS Attack Analysis.

More from this author