Modbus TCP, MC protocol (SLMP) and the LS XGT dedicated protocol were designed for closed plant networks and never ask which PC sent a request. Anything that can reach the port (502, 5006, 2004 …) can read and write. That is not a device fault or a bug in any program — it is how these protocols work. So the basic job is to limit, through the network layout, who can reach those ports. This guide gives general principles based on public guidance; PortDock is not a security product.
1. What «no authentication» means
- A Modbus request has no user or password field. The Unit ID is only an address, so if a PC on the same network writes with FC06 or FC10, the device accepts it. The Modbus Organization has published a separate Modbus Security Protocol (TLS, port 802); whether a device supports it varies, so check the manual.
- MC protocol and the XGT dedicated protocol likewise process any well-formed frame that arrives on the open port. Some models offer settings such as a remote password or allowed client addresses — look for them in the PLC or communication module manual.
- There is no encryption either. A capture on the same network shows values and commands as they are (see «Capturing PLC traffic with Wireshark and pktmon»).
- Using a protocol without authentication is not wrong in itself. Most plants run that way; the risk depends on who can reach it and what they could do once they do.
2. Basic 1 — separate the equipment and office networks
- Separate the equipment network (PLCs, HMIs, drives) from the office network (mail, internet) with switches, VLANs or a firewall. Removing internet exposure and separating IT from OT are also the first primary mitigations CISA lists for OT.
- Do not put equipment directly on the internet. Check that no port forwarding on a router or remote-access box exposes ports such as 502, 5006 or 2004. If remote access is really needed, use a VPN with multi-factor authentication.
- IEC 62443 divides a network into zones and the conduits between them and sets the security level each zone needs. For a small site, drawing «equipment network / office network / the path between them» is a good start. The «System diagram» web tool helps you see what connects to what.
3. Basic 2 — keep the firewall on field PCs
- By default Windows Firewall accepts only incoming connections that match a rule. Check it is on for each profile (domain, private, public). Instead of switching the firewall off when a device will not connect, add an inbound rule for just the port and the remote addresses needed.
- When Windows asks to allow a program the first time it opens a server, look at the kind of network (private or public) and allow only where needed.
- A field PC with two adapters (equipment + office) easily becomes a bridge between the networks. Check that the office-side profile does not open the equipment ports.
4. Basic 3 — 0.0.0.0 means «every adapter»
- A server listening on 0.0.0.0 accepts connections on every adapter of the PC (equipment network, office network, Wi-Fi). A PC running a simulator or a gateway may then be reachable from the office side too.
- For use on the same PC only, bind to 127.0.0.1; for the equipment network only, bind to that adapter's single address.
- PortDock's PLC Simulator, Serial port sharing and the Modbus TCP ↔ RTU gateway listen on 127.0.0.1 by default; from 0.10.0 Modbus Slave (TCP), TCP server/relay and Simulator also start on 127.0.0.1 — pick 0.0.0.0 or an adapter's address in the address box for other PCs. UDP listens on 0.0.0.0 by default because it has to receive device replies. The full table is on the «Safety principles» page.
5. Basic 4 — close unused admin ports
- Telnet (23), FTP (21), VNC (5900) and HTTP admin pages (80) on devices send user names and passwords unencrypted. If unused, check whether the device settings can turn them off.
- Change the default passwords of admin pages and HMIs at installation. CISA also advises changing default passwords right away.
- OPC UA (4840) with security mode «None» or anonymous login enabled is no better than an unauthenticated protocol. Check the device's security policy.
- Look at a field PC's Remote Desktop, SMBv1 and automatic sign-in the same way — see «Reading a field PC exposure check».
6. What PortDock can show (from 0.10.0)
- Net Scan's «Exposed» tag: if a device's already-checked open ports include Modbus TCP 502, MC 5006/5007, EtherNet/IP 44818, S7 102, IEC 60870-5-104 2404, DNP3 20000, OPC UA 4840, Telnet, FTP or VNC, a tag appears next to its IP and the panel below says what to check (HTTP 80 alone shows only in the panel). The tag never scans extra ports.
- Port Inspector «This PC», exposure group: reads this PC's Remote Desktop, SMBv1, firewall profiles, ports listening on all addresses (or a LAN address), automatic sign-in and USB AutoPlay without administrator rights.
- Both only read and change no settings. They do not decide whether a network is secure; they point at places to check.
- Before running Net Scan on a company network, tell the people in charge. Security equipment may see it as a port scan.
7. Before you change anything
Changing the network layout or firewall rules can cut traffic that used that path (SCADA, remote support, data collection). Have the equipment and IT people write down together which traffic must go where, and on a running plant change one thing at a time with a stop plan. Afterwards look at error rates and response times again and keep a record.
Sources
- CISA — Primary Mitigations to Reduce Cyber Threats to Operational Technology (2025) — remove internet exposure, change default passwords, secure remote access, segment IT and OT, manual operation
- NIST SP 800-82 Rev. 3 — Guide to Operational Technology (OT) Security — OT topologies, threats and countermeasures
- ISA/IEC 62443 Series of Standards — overview of the IACS security standards series
- Modbus Organization — Specifications — Modbus Security Protocol (TLS, X.509, port 802)
- Microsoft — Windows Firewall overview — default behaviour (block unsolicited inbound) and domain/private/public profiles
Published 2026-10-31