TRA Studio
All example documents

Fictitious example. ACME Embedded GmbH, its products, records and document IDs are invented for illustration. Use this as a structural model, not as a template to adopt unchanged — and not as legal advice.

ENG-DES-033 — Minimal Attack-Surface Design Plan

Document IDENG-DES-033, rev. 1.0
ProductSensorNode S300 (project P-2026-04)
ReferenceCRA Annex I I(2)(b); inputs: attack-surface inventory SEC-TM-S300 §3; verified later via SDL-CHK-030
Prepared byTeam Lead Firmware, 2026-07-27
Approved byProduct Security Lead
PrincipleEvery interface, service, port, and protocol not required for the intended function is removed from the build, or — where removal is impossible — disabled by default. "Disabled" beats "undocumented"; "removed" beats "disabled". Decided now, in pre-development, so the architecture never grows the surface in the first place.

1. Decision table (planned system, per interface)

#Interface / service / protocolNeeded for intended function?DecisionImplementation rule
1802.15.4 radio — authenticated join + telemetryYesKeepOnly AEAD-protected frames accepted; join window opens only during commissioning mode (physical button, 10 min timeout)
2802.15.4 — vendor "sniffer/promiscuous" test modeNoRemoveCompiled out of production build (build flag audit in CI)
3Firmware update service (via radio)YesKeepAccepts signed images only; no developer-key acceptance path in production build
4SWD debug portProduction: noDisable by default (cannot be removed physically)Debug authentication + permanent lock fused at EOL-of-line test; verified per production batch
5UART service connectorField diagnosis onlyDisable shell; keep signed-command protocolNo interactive shell in production image; maintenance protocol requires per-device challenge–response
6BLE (available in candidate-B silicon)NoRemoveBLE stack not linked; radio PHY BLE mode not initialized; documented as "present in silicon, not in firmware" in attack-surface doc
7NFC commissioning tagYes (read-only ID)Keep, constrainedStatic read-only content, cryptographically bound to device ID; no write path from tag to firmware
8Vendor SDK default services (echo/test task, RTT logging)NoRemoveSDK integration checklist strips vendor demo tasks; RTT disabled in release build
9Filesystem on external flashInternal onlyNot exposedNo mass-storage or file-transfer protocol on any interface
10Multicast/broadcast command handlingOnly time-syncConstrainBroadcast accepted solely for authenticated time-sync beacon; all other commands unicast + authenticated

2. Architectural consequences (why this is a pre-development artifact)

  • The commissioning-window design (item 1) requires a physical button in the enclosure → input to mechanical design now.
  • Debug lock at end-of-line (item 4) requires a fusing step in the production test plan → input to manufacturing planning now.
  • BLE removal (item 6) affects antenna/matching layout: no BLE antenna path is placed, making later "accidental enablement" physically ineffective.

3. Enforcement and verification

  1. This table is the normative source for the Attack Surface Document (ASD-S300), which ships with the technical documentation.
  2. CI gate surface-audit: production build is scanned for forbidden symbols/services (sniffer mode, shell, RTT, BLE stack) — build fails on hit.
  3. Release gate: SDL-CHK-030 section A verifies the as-shipped unit against this table (nmap/radio scan, fuse report).
  4. Any new interface during development requires a delta threat-model workshop (SEC-TM-S300 maintenance rule) before implementation.

4. Records

Decision table and CI audit configuration are quality records; deviations require PSL-approved risk acceptance and are listed in the release conformity dossier.