MVP-2.3 · Siemens rules + unbounded WHILE/FOR rule #277

Open
opened 2026-09-20 20:18:25 +00:00 by sharang · 0 comments
Owner

Goal

Parsing Siemens code is only useful if there are rules that fire on it. Add the Siemens communication and exposure patterns, plus the unbounded-loop rule from #236 (loop part) which applies to both vendors.

What to change

In pipeline/plc/rules.rs:

  • Siemens communication and exposure patterns: TCON / TSEND_C, PUT/GET, MB_SERVER write ranges, and credentials in communication parameters.
  • The unbounded WHILE / FOR rule (#236, loop part) for both Siemens and CODESYS.

Acceptance

  • Each new rule has a positive and a negative fixture and a stable rule_id.
  • The unbounded-loop rule fires on both CODESYS ST and Siemens SCL fixtures.
  • New rule_ids get control-map LUT entries so findings carry CRA control refs (MVP-2.7).
  • The loop part of #236 is delivered here; the IEC 62443-4-2 CR-ref part stays in R1 (#241).
## Goal Parsing Siemens code is only useful if there are rules that fire on it. Add the Siemens communication and exposure patterns, plus the unbounded-loop rule from **#236** (loop part) which applies to both vendors. ## What to change In `pipeline/plc/rules.rs`: - Siemens communication and exposure patterns: `TCON` / `TSEND_C`, PUT/GET, `MB_SERVER` write ranges, and credentials in communication parameters. - The **unbounded `WHILE` / `FOR` rule (#236, loop part)** for both Siemens and CODESYS. ## Acceptance - [ ] Each new rule has a positive and a negative fixture and a stable `rule_id`. - [ ] The unbounded-loop rule fires on both CODESYS ST and Siemens SCL fixtures. - [ ] New `rule_id`s get `control-map` LUT entries so findings carry CRA control refs (MVP-2.7). - [ ] The loop part of #236 is delivered here; the IEC 62443-4-2 CR-ref part stays in R1 (#241).
sharang added this to the Production MVP milestone 2026-09-20 20:18:25 +00:00
sharang added the enhancement label 2026-09-20 20:18:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: platform/pruefwerk#277