Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Is Modbus Security?

Modbus is the most widely deployed industrial protocol and has no authentication, no encryption, and no integrity protection, so anyone who can reach a device can read and command it.

Illustration for the cybersecurity term Modbus Security
Home / Blog / Cybersecurity Terms / What Is Modbus Security?
17 November 2026

What Is Modbus Security?

What Is Modbus Security?

Modbus was published by Modicon in 1979 for talking to programmable controllers over a serial line. It is a request and response protocol of remarkable simplicity: a device address, a function code, some data, and a checksum. Four decades later it is still the most widely implemented industrial protocol in the world, found in factories, water treatment works, building plant, power distribution, marine systems, and solar inverters, because it is simple enough that any vendor can implement it in an afternoon.

That simplicity is also the security position. There is no authentication, no encryption, no sequence protection, and no integrity mechanism beyond a checksum designed to catch electrical noise. The protocol has no concept of a user, so there is nothing to authorise.

The Function Codes That Matter

An attacker who can send a Modbus message to a device does not need an exploit. The documented function codes are enough:

Tooling is ordinary. Nmap has a Modbus discovery script, Metasploit ships client modules, and a dozen lines of Python with a Modbus library will read or write anything reachable. Internet-wide scanning consistently finds tens of thousands of devices answering on TCP port 502, including building plant and small utility sites in the United Kingdom.

FrostyGoop Showed What That Means

In January 2024, a heating utility in Lviv lost control of its system in sub-zero conditions, and around 600 apartment buildings went without heating for two days. The analysis published later that year identified malware named FrostyGoop, notable as the first publicly documented malware to use Modbus TCP directly to manipulate equipment. It did not exploit a vulnerability. It connected to controllers and sent commands, because that is what the protocol is for.

The entry point, as so often, was a router at the network edge with an unpatched vulnerability, and the controllers themselves were reachable from it. The case is the clearest available argument that Modbus exposure is not an abstract finding.

Modbus Security as a Protocol Extension

A secure variant exists. The Modbus Organization published a specification in 2018 that carries Modbus over TLS on port 802, with X.509 certificates providing device authentication and a role extension in the certificate supporting authorisation decisions. It is a sound design and is almost never deployed, because the installed base cannot run it and few vendors have implemented it. Treat it as the right requirement for new equipment and as irrelevant to the plant you have.

What Actually Protects a Modbus Network

  1. Segmentation. Modbus devices belong in a zone whose boundary is enforced, with no route from general corporate IT and nothing exposed to the internet. This is the control that would have prevented most published incidents, and it is described under network segmentation and the zone model of IEC 62443.
  2. Function code filtering. An industrial firewall with deep packet inspection can permit read functions across a conduit while blocking writes, diagnostics, and restarts. Where a business system needs plant data, this gives it the data without the capability.
  3. Passive monitoring. Modbus polling is extremely regular, so a sensor on a tap learns the normal master and slave pairs, the normal function codes, and the normal cycle time within hours. A write command from a new source is a high-confidence alert.
  4. Controller protection. Keep PLC key switches in run rather than program mode, enable any write protection the device offers, and alert on mode changes.
  5. Audit the gateways. Serial-to-Ethernet converters are what put a serial Modbus network on an IP network in the first place, and they are frequently unmanaged, unpatched, and forgotten, as discussed under Modbus TCP and serial.
  6. Inventory honestly. Most sites discover more Modbus than they expected, in building plant, metering, and packaged equipment supplied by third parties.

At Privia Security, we assess Modbus environments using passive analysis and laboratory replicas through our OT-SCADA Penetration Test.

FAQ – Frequently Asked Questions

Can Modbus Be Made Secure?

Not within the original protocol, which has no authentication, encryption, or integrity mechanism. A secure variant carrying Modbus over TLS with certificate-based authentication was published in 2018 but is rarely implemented. In practice, security comes from the network around the protocol: segmentation, function code filtering at zone boundaries, passive monitoring, and physical protection of devices and gateways.

What Is Listen-Only Mode and Why Does It Matter?

A diagnostic sub-function that places a device into a state where it receives messages but does not reply. An attacker can use it to make a controller appear to have failed, so the supervisory system shows a communications error and operators focus on a suspected hardware fault while the underlying process continues under whatever conditions the attacker established.

What Was FrostyGoop?

Malware identified in 2024 and used against a district heating utility in Lviv in January that year, cutting heating to around 600 apartment buildings for two days in sub-zero weather. It was the first publicly documented malware to use Modbus TCP directly to send commands to controllers, exploiting no software vulnerability because the protocol itself requires no authentication.

How Do I Find Modbus Devices Without Disrupting Them?

Listen rather than probe. A network tap or span port feeding a protocol-aware sensor will reveal every active device, its address, and its normal traffic pattern within a short period. Active scanning can upset older devices with limited network stacks, so reserve it for laboratory equipment or agreed outage windows with engineering present.

Related Terms

You May Be Interested In These

What Is tcpdump?

Cybersecurity Terms

17 November 2026

What Is tcpdump?

Read More
What Is regreSSHion?

Cybersecurity Terms

17 November 2026

What Is regreSSHion?

Read More