ETSI EN 303 645: Cybersecurity for Consumer IoT Baseline
ETSI EN 303 645 explained for embedded engineers: mandatory baselines, authentication, OTA updates, device classes, and compliance testing.

Contents & prerequisites
Why EN 303 645 Matters for Consumer IoT
ETSI EN 303 645 is the European baseline standard for cybersecurity in consumer IoT products — smart speakers, connected cameras, wearables, home hubs, toys, appliances. It was published in 2020 and has since become the reference point for regulation across the EU and UK, shaping everything from the UK's Product Security and Telecommunications Infrastructure (PSTI) Act to elements of the EU Radio Equipment Directive (RED) delegated acts and the emerging Cyber Resilience Act (CRA). For an engineer shipping a product, this is no longer optional reading — it is the checklist regulators, retailers, and increasingly insurers will ask about before a device reaches a shelf.
Regulatory landscape and EU compliance drivers
The standard itself is voluntary, but it has been adopted as the technical backbone of binding law in multiple jurisdictions. The UK's PSTI Act made three of its provisions — no universal default passwords, a vulnerability disclosure policy, and minimum security update transparency — legally mandatory for any consumer connected product sold in the UK. The EU's RED Article 3(3)(d)-(f) cybersecurity requirements, enforceable from August 2025, reference EN 303 645 as the harmonized standard presumed to demonstrate conformity. The CRA extends this further, covering the full product lifecycle including post-market vulnerability handling. In practice, if you design a device for EU or UK retail, EN 303 645 is the de facto specification even where it isn't cited by name.
Risk profile of consumer-grade IoT deployments
Consumer IoT sits in a different risk category than industrial or medical deployments. Devices are mass-produced, cost-sensitive, operated by non-technical users, rarely monitored by IT staff, and frequently left running default configurations for years. The attack surface is large and homogeneous: a single firmware vulnerability can be replayed across millions of identical units, as seen in botnets like Mirai, which specifically exploited hardcoded and default credentials on home routers and cameras. EN 303 645 was written directly in response to that class of mass-exploitation risk rather than targeted, high-value industrial intrusion.
Impact on device manufacturers and integrators
For manufacturers, compliance reshapes decisions made early in the product lifecycle — credential provisioning, update infrastructure, choice of radio and crypto stack — not just late-stage testing. Integrators building products on third-party modules or SoCs inherit obligations too: EN 303 645 explicitly expects the party placing the product on the market to be accountable for the full software bill of materials, including vendored libraries and radio firmware they did not write.
Core Security Baselines Defined by EN 303 645
The standard organizes requirements into provisions numbered 5.1 through 5.13, but the ones that drive actual engineering work cluster around five themes.
Device identification and authentication mechanisms
Every device must be uniquely identifiable, and any authentication mechanism must be appropriate to the risk of the use case. Shared secrets that are the same across a product line are explicitly discouraged unless layered with per-device entropy.
Default credential and password management
This is the headline provision (5.1): no universal default passwords. Each device must ship with a unique password per unit, or require the user to set a strong credential during initial setup, with brute-force protection on the authentication interface itself.
Secure software update and patch delivery
Provision 5.3 requires update mechanisms to be secure, timely, and verifiable — signed images, rollback protection where feasible, and a published, user-accessible minimum support period during which updates will continue.
Data protection in transit and at rest
Provision 5.8 requires sensitive security parameters — credentials, keys, personal data — to be protected both at rest (e.g., not stored in plaintext in flash) and in transit (encrypted channels with current, non-deprecated algorithms).
Vulnerability disclosure and incident handling
Provision 5.2 mandates a public vulnerability disclosure policy with a contact point and defined acknowledgment timelines, so independent researchers have a legitimate channel instead of silence or legal threats.
Implementation Across IoT Architecture Layers
EN 303 645's requirements map cleanly onto the standard perception, network, and application layers model, and thinking in those terms helps allocate requirements to the right subsystem during design review.
Perception layer: sensor security and edge device hardening
At the perception layer — sensors, actuators, the MCU running them — the relevant controls are physical and firmware hardening: disabling unused debug interfaces (JTAG/SWD lockout fuses), storing keys in a secure element or MCU-internal OTP rather than external flash, and ensuring boot firmware is measured or signed before execution.
Network layer: encrypted communication protocols and TLS/DTLS requirements
For networked communication, EN 303 645 expects best-practice cryptography: TLS 1.2 or higher for TCP-based links, DTLS 1.2+ for UDP/CoAP-based constrained links, with no fallback to deprecated cipher suites (RC4, SSLv3, export-grade ciphers). Certificate validation must be enforced — not silently bypassed to work around expired or self-signed certs, a common shortcut in early prototypes that too often survives into production.
Application layer: API security and cloud-side validation
The cloud backend must authenticate every device-originated request, rate-limit control-plane APIs, and validate that commands sent to actuators come from authorized, authenticated sessions. A device identity compromised at the edge should not translate into unrestricted API access upstream — segment device credentials from administrative credentials.
Gateway and constrained device considerations
Devices behind a gateway — Zigbee or Thread end nodes behind a hub, for instance — inherit security posture partly from the gateway. EN 303 645 permits the gateway to perform TLS termination and credential management on behalf of constrained nodes, provided the local link (e.g., Zigbee's network key) is itself adequately protected and rotated.
Device Classification and EN 303 645 Applicability
Scope: which device classes must comply
The standard's scope is broad: any consumer-facing product that connects to the internet or a home network, directly or via a gateway — smart cameras, locks, thermostats, wearables, voice assistants, connected toys. It explicitly excludes devices sold exclusively for professional or industrial use, though many hybrid products blur that line.
Constraints on battery-powered and memory-limited devices
Many consumer devices are built on constrained silicon — a few hundred KB of RAM, running for years on a coin cell. EN 303 645 acknowledges this: see the breakdown of constrained device classes under RFC 7228 for the RAM/ROM thresholds that determine what cryptographic stack is even feasible on a given part.
Graduated requirements for Class 0, 1, and 2 devices
A Class 0 device (think: a battery sensor with under 10 KB RAM) cannot run a full TLS stack, so the standard permits delegating update verification and secure transport to a gateway. Class 1 and 2 devices, with more headroom, are expected to terminate DTLS or TLS themselves and manage their own key material. This graduated model echoes the broader constrained, gateway, and cloud device classification used across IoT architecture generally.
Exemptions and risk-based deviations
Where a provision is genuinely infeasible — for example, a device with no user interface cannot support in-band password change — EN 303 645 allows documented, risk-assessed deviations, provided the compensating control (unique per-device factory credential, QR-code-based pairing secret) is described in the implementation conformance statement.
Authentication and Identity Management
Pre-shared key (PSK) provisioning strategies
For constrained devices, a PSK burned into flash at manufacture — unique per unit, derived from a hardware unique ID plus a manufacturer secret via HKDF — is the common compliant pattern. Avoid a single PSK shared across a product SKU; that single value becomes a mass-compromise vector the moment one unit is reverse-engineered.
Certificate-based identity for larger deployments
Devices with more compute headroom should use per-device X.509 certificates issued at manufacture, validated against a manufacturer CA during TLS/DTLS handshake. This scales better for fleets needing revocation (via CRL or OCSP stapling) and plays well with cloud IoT device-identity services.
Secure onboarding and pairing workflows
Initial pairing should transfer a secret out-of-band — QR code, NFC tap, or Bluetooth LE Secure Connections numeric comparison — rather than over an unauthenticated Wi-Fi access point broadcasting in the clear, which was a common pattern in first-generation smart-home devices.
Device attestation and root-of-trust validation
Where silicon supports it, a hardware root of trust (secure boot plus a measured boot chain) lets the device attest its firmware state to the cloud before being granted full API access — catching tampered or downgraded firmware before it can act maliciously on the network.
Practical Security Controls and Testing
Security update mechanisms over-the-air (OTA)
OTA updates must be signed with a key held offline from production systems, delivered over an authenticated channel, and applied atomically with a fallback image so a failed update doesn't brick the device. A/B partitioning is the common embedded pattern: write the new image to the inactive partition, verify the signature, then flip the boot pointer.
1. Device requests manifest from update server (authenticated session)
2. Server returns signed manifest: {version, image_hash, sig}
3. Device verifies sig against embedded manufacturer public key
4. Device downloads image to inactive partition, verifies image_hash
5. Bootloader flips active partition pointer, reboots
6. On boot failure or health-check failure, bootloader reverts pointer
Logging, monitoring, and anomaly detection requirements
EN 303 645 doesn't mandate a specific SIEM-grade telemetry pipeline, but it expects enough local logging (failed auth attempts, firmware update events) that incident investigation is possible, and encourages anomaly detection on the backend — unusual command volume from a single device ID, for instance.
Testing and compliance verification processes
Conformance is typically verified against ETSI's companion test specification, TS 103 701, which breaks each provision into testable assertions. Manufacturers self-declare conformance, but the test spec gives a structured basis for third-party labs or internal QA to produce evidence.
Documentation and security declarations
The standard requires published, user-facing documentation: minimum support period, how to report vulnerabilities, and what data the device collects. This isn't just a legal checkbox — it's the artifact auditors and procurement teams will request first.
EN 303 645 vs. Industrial IoT Standards
Consumer IoT threat model differences
Consumer IoT assumes an unsophisticated attacker exploiting scale (credential stuffing, botnet recruitment) against an unsophisticated defender (the end user). Industrial IoT assumes a more resourced attacker targeting availability and safety in a single high-value installation.
Why consumer devices need lighter-weight controls
Because consumer devices are cost- and power-constrained and operated without IT staff, EN 303 645 favors controls that work with zero user intervention — unique factory credentials, automatic signed updates — over controls requiring active administration, which dominate industrial frameworks like IEC 62443.
Bridging to Industrial IoT (IIoT) security where needed
Products that straddle both worlds — a consumer-grade sensor repurposed in a light industrial setting — need to layer IEC 62443 zone-and-conduit segmentation on top of an EN 303 645 baseline. The practical distinctions are laid out in more depth in Industrial IoT vs. Consumer IoT differences, which is worth reviewing before assuming a consumer-certified device is adequate for an industrial deployment.
Learning
Sign in to track your progress.
Evidence
Public projects engineers linked to ETSI EN 303 645: Cybersecurity for Consumer IoT Baseline.
No engineer has linked a project to this topic yet. Built something that proves it? Add the project and tag it with iot-connectivity-etsi-en-303-645-cybersecurity-for-consumer-iot-bas — it then shows here and on your public profile.
