OT practice guide
What uses TCP port 502 in OT?
TCP 502 is commonly associated with Modbus TCP. Use asset inventory and protocol evidence to confirm the actual service and expected behavior.
Worked example
A firewall can allow TCP 502 while still permitting reads and writes. If the approved operator flow needs reads only, test application-aware enforcement where supported, and confirm normal visibility and alarms with operations.
What to verify
Check the endpoint roles, allowed functions and maintenance context. Test read and write restrictions only with the site’s approval.
Understand what the packets can establish
Traditional Modbus TCP on port 502 provides no built-in client authentication or encryption. Modbus Security is a separate TLS-based specification. Check what your devices actually support before planning controls. Function code 03 reads holding registers, 06 writes one register, and 16 (0x10) writes multiple registers.
Protocol reference Modbus Organization specifications
Educational guidance. Validate against your site’s operating requirements, safety procedures and change approval.
Background reference NIST SP 800-82 Rev. 3