Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
Serial Modbus runs one master over RS-485 with checksum-framed messages, while Modbus TCP wraps the same commands in an Ethernet header, making them routable, concurrent, and far more exposed.

What Is the Difference Between Modbus TCP and Serial?
Modbus comes in two families that carry identical commands over very different transports. Understanding which one you have matters, because the protocol’s complete absence of authentication means that exposure is the only variable you control.
The original form runs over RS-232 for point-to-point links or, far more commonly, RS-485 for a multi-drop bus. Two variants exist. Modbus RTU sends compact binary messages framed by silence: a gap of at least three and a half character times marks the start and end of a message, and a 16-bit cyclic redundancy check protects it. Modbus ASCII sends the same content as readable hexadecimal characters with a colon as the start marker and a longitudinal redundancy check, which is easier to debug and roughly half as efficient.
The architecture is strictly one master and up to 247 addressed slaves. Only the master initiates; devices answer when polled and never speak otherwise. Typical speeds run from 9,600 to 115,200 bits per second, and a cable run of a kilometre is routine.
Modbus TCP keeps the function code and data payload unchanged and replaces the serial framing with a seven-byte application protocol header carrying a transaction identifier, a protocol identifier of zero, a length field, and a unit identifier. The checksum disappears, because TCP already provides error detection, and the message travels to port 502.
Three consequences follow, and all three are security-relevant. The exchange is now routable, so it crosses switches, routers, firewalls, and VPNs, and in too many cases the internet. Multiple clients may talk to the same server simultaneously, so there is no single master whose compromise is required. And the unit identifier, originally meant to address a device behind a gateway, is frequently ignored entirely.
| Aspect | Serial (RTU and ASCII) | TCP |
|---|---|---|
| Physical layer | RS-232 or RS-485 twisted pair | Ethernet, any IP network |
| Framing | Silent interval or colon delimiter | Application protocol header with length field |
| Error detection | CRC-16 or LRC | Provided by TCP |
| Concurrency | Single master, strict polling | Many simultaneous clients |
| Addressing | Slave address 1 to 247 | IP address plus unit identifier |
| Reach of an attacker | Requires access to the physical bus | Anywhere the network routes |
Most real installations are hybrids. A serial-to-Ethernet gateway, a protocol converter, or a PLC with both ports translates between the two so that a modern supervisory system can read elderly field devices. That gateway is the security boundary, whether or not anyone has designated it as one.
Two failure patterns recur. First, the gateway itself is an unmanaged embedded device with a web interface, default credentials, old firmware, and no logging, sitting at the junction of a protected network and an unprotected bus. Second, the serial side is assumed to be safe because it is serial, when in fact the gateway has given the whole bus an IP address.
The December 2015 attack on Ukrainian electricity distribution made this concrete in reverse. Having cut supply, the attackers deliberately overwrote the firmware of serial-to-Ethernet converters at substations, which removed the operators’ ability to restore breakers remotely and forced manual recovery site by site. The devices were considered infrastructure rather than assets, and nobody had planned for their loss.
At Privia Security, we map serial and Ethernet Modbus architectures and their gateways through our Infrastructure and Architecture Review Services.
Neither authenticates anything, so the difference is reach rather than strength. Attacking a serial bus requires access to the physical wiring or to a device already on it. Attacking Modbus TCP requires only a network path, which may extend across a site, a corporate network, or the internet. Serial is harder to reach, not harder to abuse once reached.
A single byte in the application protocol header that identifies a device behind a gateway, preserving the serial slave address when a message is bridged onto a serial bus. Where a device is addressed directly by IP, the field is often set to a fixed value and ignored by the server, so it should never be relied upon as any form of access control.
Only where there is an operational reason. Each conversion turns a bus that required physical access into one reachable by anything the network routes, and introduces a gateway that becomes a new asset to manage. Where the migration is genuinely needed, place the gateway at a documented zone boundary with filtering, logging, and individual credentials.
Because destroying them removed remote control. After opening breakers at regional distribution companies in December 2015, the attackers overwrote the firmware of the converters linking substation equipment to the control network, so operators could not reclose remotely and had to restore supply by sending crews to each site. It turned a one-hour outage into a prolonged manual recovery.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.