← Back to blog
Blog Detail

Refrigeration Controller Exposure: Testing Setpoint Writes and Proving Cold-Chain Impact

Internet-exposed refrigeration controllers often enforce roles in the UI but not in the write endpoint behind it. Test the endpoint with two accounts, then prove impact with the request pair and the sensor trace that moved.

Trusteed Team
Trusteed Editorial
Written On
Nov 7, 2026
Category
Research
Read Time
9 min read
  • OT Security
  • ICS
  • Refrigeration Systems
  • Authorization Testing
  • Attack Surface
  • BACnet
  • Modbus
Refrigeration Controller Exposure: Testing Setpoint Writes and Proving Cold-Chain Impact

Refrigeration Controller Exposure: Testing Setpoint Writes and Proving Cold-Chain Impact

TL;DR

Unit 42's report on attacks against European refrigeration systems lands on a control layer most security programs never test: the rack controllers, store supervisors, and remote monitoring gateways that hold the cold chain together. An open port or a login page is a signal; the finding is a request you can send without operator credentials that actually moves a setpoint, confirmed by independent telemetry. This post walks the test end to end — fingerprint the surface, run the same write endpoint with a viewer account and an operator account, then attach the request, the response, and the sensor trace that moved. Impact is proved by the physical consequence, not by the banner.

What this is

Refrigeration exposure testing is the practice of checking whether the control layer behind a cold chain can be reached and whether its read/write interfaces enforce authorization. It is not a port scan with a nicer report. Three surfaces are in play:

  • The vendor web UI and its API. Login pages on port 443 with a role model — viewer, operator, engineer — and a JSON or form endpoint behind each button.
  • The field protocol. BACnet/IP on UDP 47808, Modbus/TCP on 502, and vendor sockets that speak a lighter dialect of the same idea: read a point, write a point.
  • The remote path. Port forwards, site-to-site VPNs, cellular routers, and cloud monitoring agents that bridge the plant to the internet.

Three different claims get conflated in most reports. Keep them apart:

  1. Exposure — the host answers on a port from an untrusted network.
  2. Capability — the interface will accept a write from a session that should not be allowed to write.
  3. Impact — the setpoint changed and the controlled temperature followed.

Only the third is a finding a second researcher can check.

Why it matters

Who is affected: grocery and convenience chains, cold storage and logistics, food and beverage manufacturing, pharma cold chain, district cooling, and any facilities team that inherited a "temporary" port forward from a vendor commissioning visit. These systems sit outside the web app inventory, outside authenticated DAST, and usually outside the pentest scope memo because nobody classified them as software.

What fails if you ignore it:

  • No CVE, no ticket. A design flaw where the write endpoint skips the role check has no CVSS vector and no advisory. It sits in the backlog behind a hundred scanner hits that do have one.
  • Second-order damage. Defrost cycles disabled, alarm thresholds raised, and compressor staging forced are not just temperature problems. Ice build-up, short cycling, and equipment wear show up days after the change.
  • Detection blind spot. Setpoint writes come from the vendor's own tooling during maintenance, so the write itself is not anomalous. Only the source, the timing, and the operator identity distinguish an attack.
  • Safety exposure. Large ammonia and CO2 industrial systems carry a safety dimension that a case-temperature change does not. Get a site engineer in the loop before you touch an industrial rack.

How it works

The mechanism is boringly consistent: authorization is enforced in the presentation layer and trusted in the handler behind it.

Discovery. Certificate transparency and banner data identify vendor UIs by favicon hash, HTML title, and TLS certificate subject. UDP 47808 and TCP 502 are the protocol tell. A device answering BACnet Who-Is with a device name that contains a store number is a stronger indicator than any port scan.

Identification, read-only. Modbus function codes 3 and 4 read holding and input registers; a unit-ID sweep with those codes maps points without writing anything. BACnet Who-Is/I-Am and property reads enumerate analog inputs and setpoint objects. In the web UI, a viewer-level account is enough to see whether the setpoint field renders with an edit control.

The hypothesis. Take one endpoint — the write handler for a single setpoint — and ask whether it checks the session role or only the UI does. The test is a differential, not a probe:

  • Create account A as a read-only viewer and account B as an operator.
  • Capture the legitimate write from B: POST /api/v1/points/AI-3/setpoint with a value in the JSON body. Record the status code, the response body, and the timestamp.
  • Replay the identical request with A's session cookie or bearer token.
  • Compare: 200 with a persisted value means the role check lives in the UI. 403 means it does not, and you go look somewhere else.

Those paths and field names are an illustrative example, not a vendor's API. Capture the real ones from your own traffic; guessing paths on a production controller is how you get a maintenance call you did not plan.

The proof of impact. A 200 is capability, not impact. To close the loop you need a controlled write inside an approved window, with a site engineer watching and a rollback ready:

  • Record the current setpoint and the current case or return-air temperature from the historian.
  • Write a small, reversible delta — enough to move the sensor, small enough not to threaten product.
  • Read the setpoint back through a different path (a second account, the field protocol, or the supervisor) to prove persistence rather than a cached echo.
  • Wait for the historian to show the temperature trending toward the new setpoint, or the compressor state changing.
  • Roll back, read back again, and note how long the recovery took.

The historian trace is the evidence that separates you from every scanner on the internet. There is no CVE to cite for this class of flaw; firmware-specific issues in this space are published through CISA's ICS advisory program and by the vendors themselves, so pin any version claim you make to one of those pages rather than to a banner string alone.

Detection and response

Dark insight card with three side-by-side evidence panels at the same 14:22:07 timestamp: an HTTP POST writing a −8.0 °C setpoint from a viewer-role session, a 200 OK response accepting it, and a historian temperature trace climbing past the −12 °C limit before rolling back to −18.0 °C.

Defenders rarely get a clean alert here, so build the baseline first. What to collect:

  • Historian and BMS audit logs — who wrote which point, from where, and with which credential.
  • Controller and gateway event logs — configuration changes, new local accounts, alarm threshold edits, defrost schedule edits, firmware writes.
  • Network flow — TCP 502 and UDP 47808 arriving from IT or guest VLANs, or from the internet, where the only expected talker is the supervisor.
  • Remote access logs — VPN sessions, cellular router admin logins, and vendor support tunnels, especially sessions with no matching change ticket.
  • Egress — the controller or gateway initiating outbound connections to an address you cannot attribute.

Then check three things: does any write occur outside a maintenance window, does any read come from outside the OT segment, and is there a device in the cold-chain path whose firmware has not been touched in years but which still answers on 47808 from a public address. A yes on the third is the one that gets scheduled this week.

What to do

  1. Scope it in writing. List the controllers, supervisors, and gateways by name, and get the site engineer's sign-off before any write. Industrial refrigeration with ammonia is a different risk class than a display case.
  2. Inventory the control plane. Enumerate management interfaces, not just ports: TLS certificate subjects, HTML titles, favicon hashes, and BACnet device names. Anything that answers from a public IP goes to the top of the list.
  3. Fingerprint read-only. Modbus FC 3/4, BACnet property reads, and a viewer account in the UI. No writes, no exceptions, until step 5.
  4. Run the two-account differential. Same request, two roles, diff the status codes and the response bodies. Save both captures with timestamps.
  5. Prove one write, in a window, with an observer. Small delta, independent read-back, historian trace, rollback. Stop after one point.
  6. Attach the evidence to the finding. Request, response, the second read-back, the historian export, and the rollback timestamp. A finding without the trace is a hypothesis.
  7. Fix the path, not just the port. Remove the forward, front the controller with a broker or VPN that enforces MFA, enable the controller's own authentication where it exists, put the supervisor on a one-way data path for read-only telemetry, and log every write with the identity that made it.

FAQ

Do I need to write a setpoint to prove impact? Yes, if you want an impact finding rather than a capability finding. A 200 response proves the authorization gap; the historian trace proves the consequence. If a write is genuinely unsafe for the site, report the authorization gap as its own finding and say explicitly that physical impact was not tested.

Is scanning BACnet or Modbus on a production network safe? Read-only function codes and property reads are generally low risk, but discovery traffic can still disturb fragile devices, and a broadcast Who-Is on a large flat OT network has surprised people before. Rate-limit, scope the source address, and agree on the window with the OT owner.

How do I know the host is a refrigeration controller and not a honeypot or a decoy? Corroborate across layers: the BACnet device object name matches a store or site identifier, the certificate subject matches the vendor, the UI version string matches the vendor's published firmware, and the historian shows a real temperature series. A device that answers on 47808 but has no sensor history behind it is not a cold chain.

The controller sits behind a BMS gateway — does that change the test? It changes where the authorization check lives. The gateway may enforce roles correctly while passing field-protocol writes straight through to the controller, which is why you test both the gateway's API and the field protocol on the far side.

Is this a web app finding or an OT finding? It is an authorization finding on a control interface that happens to regulate temperature. Report it to the application owner and the OT owner together, with the same evidence pack, because the fix usually needs both.

Sources

Join Our Newsletter

Trusteed keeps you informed: emerging risks, platform updates, and practical guides for faster defense.