Most errors in reading IEC-104 are the same few, made repeatedly. Eight are worth naming.
- Trusting the port. The protocol normally uses TCP 2404, but a capture may carry it elsewhere, and a filter on the port alone will return nothing. If the protocol hierarchy shows plain TCP where you expected IEC-104, use Decode As to bind the port, then check that the ASDU fields appear.
- Skipping the capture check. A capture taken at one point on a network may miss traffic taken elsewhere, and a file that starts mid session may have no handshake. Run capinfos and look at the first packets before analysing, and state where the capture was taken.
- Ignoring the sequence counters. The send and receive numbers in information frames advance in step. A gap means a missing frame, and a gap in only one direction is a different story from a gap in both. Read them as
iec60870_104.txandiec60870_104.rx:tcp.analysis.lost_segmentstays empty when a device in the middle drops reports at the application level, because TCP sees a healthy stream. Analysts who read ASDUs and skip the control fields miss the evidence of a dropping man in the middle. - Counting a command by its type alone. A type identifier tells you the kind of command, but the cause of transmission tells you whether it is an activation, a confirmation or a termination. Counting all frames of type 45 will triple count one command.
- Reading a flood as a fault. A very high rate of one command is suspicious, but so is a polling burst after a link restart. Compare the rate with the baseline for that pair, and look at what happened just before.
- Treating labels as proof. A dataset’s labels describe what the experiment designers ran. They do not always align to the second with the packets, and a timezone offset can place an attack an hour away from its label. Join on time carefully and check one case by eye.
- Loading a huge file whole. Multi gigabyte captures turn every filter into a wait. Slice by time or count first, work on the slice, and return to the full file only to confirm.
- Writing findings nobody can reproduce. A claim like “a rogue command was sent” is worthless without the frame number, the time, the source, the type, the cause and the object address. Give the display filter that finds it.
Two of these deserve a closer look. The first is the cause of transmission. Many beginners learn the type identifiers and never learn the cause values, so they cannot tell a spontaneous measurement from an interrogated one, or an activation from its confirmation. The cause is a small field with a large amount of meaning, and a baseline that ignores it is blind.
The second is the label trap. A labelled set is attractive because it offers an answer key, and it is tempting to work backwards from the label to the packet. That teaches you to find what you were told to find. The better habit is to form your own conclusion from the capture first, write it down, and only then compare with the label. Where you disagree, work out which of you is right. Sometimes the label is wrong, and sometimes the lesson is yours.
None of these mistakes needs special tools. Each is avoided by a few minutes of checking before and after the analysis, which costs far less than a wrong report.
A ninth habit sits under all eight: keep a short checklist and tick it. Port bound, capture point stated, counters checked, cause read, rate compared, labels held back, slice taken, evidence recorded. It takes under a minute and it catches the mistakes that experience alone does not, because the mistakes are made by people who feel sure. Teams that adopt it find that review conversations shift from arguing over conclusions to checking the same list, which is faster and kinder.
For structured practice on this topic, see the OnlySecurity course IEC 60870-5-104 Traffic Analysis: ASDU Anatomy to Command Abuse.
More from this author
- One capture, three questions2 December, 2026
- Payload channels versus timing channels2 December, 2026
