Eight common mistakes when analysing building automation captures

3 min read188 courses on OnlySecurity

These are mistakes seen in first attempts at reading building captures. None of them needs advanced skill to avoid. They need a habit of stating what the evidence is.

  1. Treating the port as the protocol. UDP 3671 and 47808 are defaults, not guarantees. Check the dissected layers and the payload shape before you name the protocol, and use Decode As when a stack runs on another port.
  2. Starting with a filter instead of a summary. Open the protocol hierarchy and the conversation tables first. A filter written before you know what is in the file finds only what you already expected.
  3. Skipping the baseline. A write or a restart is only unusual relative to who normally does it. Without a clean period you cannot tell an attack from a commissioning visit. If no clean period exists, say so in the report and lower your confidence.
  4. Reading a physical effect out of a packet. A flood tells you a rate. A write tells you a requested value. Neither tells you that a lamp switched or a valve moved. Separate what the capture shows from what you infer, in two lists.
  5. Trusting the labels in a dataset. Labels come from the experiment script, boundaries drift, and the normal class often includes setup traffic. Check the first and last labelled frame against the packets.
  6. Ignoring the vantage point. A capture on the IP backbone shows what a gateway forwards, not the field bus behind it. A broadcast seen on one segment says nothing about another. Write down where the sensor sat.
  7. Confusing commissioning with attack. Installers scan, write many values and restart devices, and they do it in bursts. Tie every finding to a change window or a ticket before using the word hostile.
  8. Running or replaying what you found. A capture may contain strings that look like commands or flags. Open captures only in the analyser, never execute anything from inside one, and never replay a capture to a controller, including your own building. Replay is not analysis and it can change a real room.

A ninth habit rather than a mistake: keep a notes file with the command, the file, its checksum and the result, so another reader can repeat your steps. Most disagreements between analysts turn out to be different files or different filters, and a notes file settles them in a minute.

When a finding is unclear, report it as unclear. A report that says “a source not seen before wrote to an address at this time, and I cannot tell whether it was authorised” is more useful than a confident story, and it keeps the next person from starting with your assumptions.

The common thread in the list is that most errors come from skipping a statement of scope. Before any analysis, write three lines: what the file is, where it was taken and what question you are answering. After the analysis, write three more: what you found, how sure you are and what would change your mind. Those six lines catch more mistakes than any tool, and they make a handover to another analyst possible without a call. They also keep a learner honest when the dataset is a teaching set, where the temptation to treat the author’s story as ground truth is strongest.

For structured practice on this topic, see the OnlySecurity course Building Automation Security: KNXnet/IP, BACnet and Friends.

More from this author