Posted in Application Security
Stopping Unauthenticated PLC Logic & Register Manipulation Before the Parser
Schomer — Founder & Security Architect | Pre-Parser Enforcement, Offensive Research & Deterministic Security Tooling
Joint Cybersecurity Advisory AA26-097A (updated July 22, 2026, by FBI, CISA, NSA, EPA, DOE, and Treasury) highlights a critical architectural reality in industrial control systems: when PLCs from Rockwell Automation, Schneider Electric, and Siemens are reachable over industrial ports (44818, 2222, 102, and 502), adversaries don't need a new zero-day memory bug to alter physical operations. They pull project files, overwrite safety ladder logic and Add-On Instructions, and spoof HMI/SCADA views using native protocol traffic.
Taking PLCs off the public internet is step one—but network isolation alone still leaves controllers vulnerable whenever an upstream IT/OT boundary is crossed, because legacy industrial protocols execute commands without pre-parser boundary enforcement.
In our Eternal Trust Boundary Validation (ETBV) lab benchmarks, we tested deterministic pre-parser enforcement directly in front of a Modbus TCP socket decoder (MessageSocket.decode / PyModbus 3.6.9) using CPython sys.setprofile entry instrumentation:
• Zero-Byte Decoder Reach on Malformed Framing (etbv-pymodbus-entry-lab): Across 23 preregistered trials, our Rust framing-forwarding gate (etbv-analyst-lab-v1) dropped truncated headers (invalid_incomplete_header), zero-length payloads (invalid_length_zero), and non-Modbus Protocol IDs (invalid_pid) with 0 bytes reaching MessageSocket.decode (first_parser_consume_mono_ns: null), while cleanly reassembling legitimate fragmented TCP streams (valid_split).
• O(1) Semantic & Register Write Filtering (ETB_LAYERZERO_INGRESS): Extending enforcement past framing syntax into PDU semantics, our native verifier intercepted unauthorized Modbus FC 06 (Write Single Register) setpoint mutations (value 150 > 100) and mutated control-logic payloads at Layer Zero before any write could touch downstream controller state.
If an unauthenticated packet or out-of-bounds register write never reaches the controller's parser, it cannot rewrite safety logic or desynchronize operator telemetry.
#OTSecurity #ICSSecurity #Modbus #CriticalInfrastructure #ETBV #ZeroTrust
3 reactions · 0 comments
Topics: #otsecurity, #modbus, #zerotrust, #criticalinfrastructure, #icssecurity, #etbv