Posted in Application Security
I built a Modbus/TCP guard proxy — a pre-parser that sits between a Modbus client and the server, checks…
Schomer — Founder & Security Architect | Pre-Parser Enforcement, Offensive Research & Deterministic Security Tooling
I built a Modbus/TCP guard proxy — a pre-parser that sits between a Modbus client and the server, checks each frame against a policy, and blocks writes that violate it while forwarding legitimate ones.
Verified results, all lab-only on 127.0.0.1:
- v3.1: 15/15 on a 15-case suite in paired off/on runs (same bytes sent direct, then through the gate). An FC16 write of [52, 53] was blocked; the aligned [52, 52] was forwarded.
- Then I found gaps in my own gate: FC22/FC23 weren't checked, and the FC16 check covered only the first value of a multi-write. Patched in v3.2, re-ran the expanded suite: 30/30.
- Known limits, stated plainly: FC43 passes through unchecked, read functions (FC3) aren't checked, and this is Modbus/TCP only — it doesn't speak S7 or CIP, and it's a network pre-parser, not firmware.
Demo: https://app.eternalboundaries.com — the Gate Proof page shows the paired off/on runs.
Happy to take hard questions, especially on the gaps I haven't closed.
2 reactions · 0 comments