soc-home-lab

Hunt checklist — CVE-2026-58115 (Node-RED missing adminAuth, flow audit)

Work top to bottom. Check the box when done, note what you found.

CISA KEV status

Sources: CISA KEV · NVD · Vendor advisory: Siemens ProductCERT SSA-834709

Verified against CISA KEV on 2026-12-04 (catalog version 2026.12.03). Re-checked weekly by tools/verify_kev.py. Detection only. This is a misconfiguration and flow-audit lab, not a CISA KEV pack. No Siemens hardware is required. SIMATIC IoT2050 is advisory context.

1. Am I even in scope?

2. Flows export (host signal)

Export flows.json (editor menu, or GET /flows with Node-RED-API-Version: v2) and diff it against the last known-good export.

3. Access log (network signal)

On the proxy or the admin listener, combined log format:

4. What the container lab is allowed to do

The lab deploy is a benign inject node that fires once, wired to an exec node whose command is id and echo writing two marker files (/dev/shm/nodered-lab-whoami.txt and /tmp/nodered-lab-marker.txt). addpay is false, so the inject payload is not appended to the command.

5. Hardening after you have the finding

Correlation the reference script uses

Practice without Docker

From the repo root:

python3 08-nodered-flow-audit/detect/flows-audit.py \
  --flows 08-nodered-flow-audit/samples/flows-lab-exec.json \
  --baseline 08-nodered-flow-audit/samples/flows-baseline.json \
  --access 08-nodered-flow-audit/samples/nodered-access.log

Expect [INCIDENT] 203.0.113.50 and [RECON] 198.51.100.40. 192.0.2.10 only reads /flows and is not listed. The http in → exec fixture is samples/flows-http-in-exec.json (no access log; it is not what the container deploys).

python3 -m pytest 08-nodered-flow-audit/tests -v

All of those files are synthetic training data.