UMAS inside Modbus: recognising an engineering session

3 min read188 courses on OnlySecurity

Some PLC families use Modbus/TCP as a transport for a richer, vendor specific protocol. One example is function code 90 (0x5a), which Wireshark labels “Unity (Schneider)” and shows only as a raw payload. (Cite a public UMAS source at build; until then this article says no more than the Wireshark label.) The consequence is that a capture showing function code 90 is not showing a standard Modbus operation. It is showing a different protocol wearing Modbus framing.

Why does that matter to an analyst? Because the two kinds of traffic mean different things. Ordinary Modbus reads and writes are what a supervisory system does all day. A UMAS exchange is closer to what engineering software does when it connects to a controller: negotiate a session, read configuration, and in some cases change a program or a mode. A session that appears once, from a host that is not the usual supervisor, is a high value observation.

Recognition does not require knowing the protocol in detail. Three features are enough. The function code is the one named above. The data after it begins with a structure that is not a register address and count, which you can tell because the length does not fit a standard read or write. And the conversation has a different rhythm, usually a short handshake followed by a few larger exchanges, rather than a steady poll.

What you can say from a capture is limited, and an article for learners should say so. You can say that a session took place, who opened it, when, how many bytes moved each way and whether the traffic stopped cleanly. You can say what class of operation the sizes suggest, such as a read of configuration or a transfer. You cannot, without protocol documentation, say what was changed. Resist the temptation to name an operation from a byte pattern copied from a forum post.

The course deliberately does not teach UMAS commands. The lesson on this topic covers recognition, scoping and reporting. Frames in our own capture are teaching frames with invented content, not copied from any vendor documentation.

In an incident report, the useful statement is plain: at this time, host A opened an engineering style session with controller B on a port normally used for polling, the session lasted this many seconds and moved this many bytes, and host A is not on the list of authorised engineering stations. That sentence is evidence. Anything about intent needs further evidence from outside the capture, such as change records and the engineering station’s own logs.

A short exercise makes the point. Take a capture where you know a session happened and write the one sentence above using only what the capture shows. Then list three things you wish you knew and where you would get each. Typical answers are the list of authorised engineering stations from an asset register, the change ticket for that window from the maintenance system, and the controller’s own audit log for program or mode changes. Learners who do this tend to stop over-reading byte patterns, because they see that the capture is one source among several. It also builds the habit of writing recommendations that point at the missing evidence, which is more credible to an operations team than a confident claim about what the traffic did to the process.

For structured practice on this topic, see the OnlySecurity course Modbus Packet Forensics: Hidden Data, Odd Operations and Covert Channels.

More from this author