Where Identity and a Key Belong on an IoT Device

Devices that share one password open with one key. ETSI EN 303 645 forbids a universal default password. The key is generated for that device.

Where Identity and a Key Belong on an IoT Device

A single password embedded in a firmware image is the password of every device that runs that image. Take one device apart and the rest open. Identity is what separates a device from the others. The key is the proof of that identity. Neither belongs in the common part of the image.

NIST IR 8259 lists foundational activities for an IoT manufacturer. Identifying the device, and being able to change the credential, are on that list. The document does not pick a chip or a cloud brand. Uniqueness of the identity, and the ability to change it at installation, are asked for apart from the brand.

ETSI EN 303 645 V2.1.1 carries the provision that forbids a universal default password on a consumer IoT device. The password is generated per device, or the user sets it at first installation. Leaving "admin / admin" does not meet that provision. Compliance with the whole standard is not created by writing one provision down. The provision decides where the key goes.

The key arrives by one of two paths. The device generates it on first boot and registers the public key with the server. Or the key is written in a controlled step on the production line, and the line record is matched to the device's serial number. Embedding a shared key in the image is neither path. The record shows which device carries which public key. The private key is not written to the line log.

On a FenergyTech field device the identity is the serial number and the key is material that is unique per device. The image does not contain the key.

The cost of a shared password is one device. The string "admin" inside the image is the password of every board that runs that image. Take one apart and the rest open. ETSI EN 303 645 V2.1.1 carries the provision that forbids a universal default password on a consumer device. The password is generated per device, or the user sets it at first installation. NIST IR 8259 counts a unique identity, and the ability to change it at installation, as the manufacturer's job. Writing the provision down is not compliance with the whole standard. The provision says where the key goes.

The key arrives by one of two paths. The device generates it on first boot, registers the public key with the server, and the private key stays on the chip. Or the key is written on the line, in a step matched to the serial number. The line log does not carry the private key. If it does, whoever has the log opens the device. A shared key embedded in the image is neither path.

The server keeps the serial number together with the public key. If the number changes and the key stays, the old board comes in under the new number. The two rotate together.

Sources: NIST IR 8259, Foundational Cybersecurity Activities for IoT Device Manufacturers, 2020. ETSI EN 303 645 V2.1.1, Cyber Security for Consumer Internet of Things: Baseline Requirements, 2020.

Share:

Planning a similar project?

We can talk through how the topic in this article applies to your product.

More articles

Browse our other technical articles