Modbus/TCP
What is Modbus/TCP?
Modbus/TCP is the TCP/IP version of a decades-old industrial protocol used to read and write values on programmable logic controllers, typically over port 502, with no authentication, authorization or encryption built in. AdminKit's guide explains how to check whether a Modbus/TCP device is exposed to the internet.
By AdminKit team, Netbase JSC · Updated
Modbus/TCP is the TCP/IP version of Modbus, a decades-old industrial communication protocol used to read and write values — sensor readings, relay states, setpoints — on programmable logic controllers (PLCs) and other industrial equipment, typically over port 502. IANA’s service name and port number registry lists port 502 for the Modbus Application Protocol (mbap) and a separate port, 802, for its secure variant (mbap-s). It was designed in an era when industrial networks were assumed to be physically isolated, so the protocol itself has no authentication, authorization, or encryption built in: whoever can reach a Modbus/TCP device on the network can read its registers and, in many configurations, write to them too. Modern industrial networks are increasingly connected to the broader internet, directly or via misconfigured firewalls, which exposes this decades-old assumption as a real risk rather than a theoretical one. OPC UA, a newer industrial protocol, instead makes authentication and encryption built-in, configurable options rather than leaving them out entirely. The protocol itself is maintained by the Modbus Organization, and NIST SP 800-82, the federal guide to operational technology security, covers internet-exposed industrial protocols like Modbus/TCP as a defense-in-depth problem. AdminKit’s Modbus exposure check tests a device’s own reachability directly, live, against the public IP making the request.
See the full AdminKit glossary for other related terms.
Frequently asked questions
Does Modbus/TCP require a password to read or write values?
No -- Modbus/TCP has no authentication, authorization, or encryption built in, so whoever can reach a device on the network can read its registers and, in many configurations, write to them too.
What port does Modbus/TCP use?
Modbus/TCP typically runs over port 502.
Is Modbus/TCP still used in modern industrial systems despite having no security?
Yes -- it's a decades-old protocol still widely deployed, and modern industrial networks are increasingly connected to the broader internet directly or via misconfigured firewalls, which exposes the original isolated-network assumption as a real risk.
How is OPC UA different from Modbus/TCP on security?
OPC UA, a newer industrial protocol, makes authentication and encryption built-in, configurable options, instead of leaving them out entirely the way Modbus/TCP does.