Data and AI Platforms

IoT Device Manufacturing Needs Verifiable Assembly Records

By
IoT security failures often originate during manufacturing. This article examines how signed firmware metadata and append-only registries improve device provenance and auditability. Using the novatechflow cerbtk proof of concept, we connect established IoT manufacturing guidance with a concrete implementation that records verifiable assembly events and device identities.

I recently worked with an IoT project where we discussed device provenance during a security review. The question was simple: can you prove which firmware was installed on a specific device during manufacturing? The answer was no. Firmware builds existed in CI systems, device identities lived in spreadsheets, and assembly logs sat in a database that any admin could modify. The cryptographic chain that should connect these stages did not exist.

This is not unusual. Large scale IoT deployments depend on manufacturing processes that are rarely verifiable after devices leave the factory. Firmware provenance, key ownership, and assembly responsibility are documented in internal systems that cannot be independently audited. When incidents occur, operators lack cryptographic evidence that links a deployed device to its manufacturing history.

Industry guidance from cloud providers and standards bodies consistently identifies manufacturing time identity provisioning and firmware signing as the foundation of IoT security. What is missing in many implementations is an immutable, verifiable record that ties these steps together.

What Manufacturing Guidance Actually Requires

AWS and Microsoft both document that secure IoT manufacturing requires three concrete controls:

  • Unique device identity established at manufacturing time
  • Firmware integrity verification using cryptographic signatures
  • Controlled ownership of signing keys and certificate authorities

AWS explicitly states that device identity and key material should be provisioned before deployment and tracked throughout the device lifecycle. The whitepaper, published November 2022 and now marked as historical reference, remains the canonical guidance for X.509 certificate provisioning in manufacturing environments.

Source: AWS Device Manufacturing and Provisioning Whitepaper

Microsoft similarly requires X.509 based device identity and signed firmware for production grade IoT deployments. Their documentation emphasizes certificate chains and hardware security modules for protecting device private keys.

Source: Azure IoT Hub X.509 authentication documentation

NIST provides complementary guidance through SP 800-213 (IoT Device Cybersecurity Guidance) and SP 800-183 (Networks of Things), which address device pedigree as a core trustworthiness concern. SP 800-183 specifically identifies that sensors and aggregators from unknown pedigree with possible nefarious intent represent a fundamental risk category.

Source: NIST SP 800-213: IoT Device Cybersecurity Guidance

None of these documents claim that identity alone is sufficient. They assume the existence of manufacturing records that can be trusted later. In practice, those records are often mutable databases or spreadsheets.

The Gap Between Guidance and Reality

In real manufacturing environments, multiple parties are involved. Firmware is built by one system, devices are assembled by another, and provisioning may happen in a different environment entirely. Each step may be logged, but logs are rarely cryptographically linked.

This creates common failure modes:

  • Firmware hashes cannot be reliably traced back to a specific build
  • Assembly stations cannot prove which firmware they installed
  • Audits depend on trust rather than verification
71%
surge in manufacturing threat actor activity
Bitsight, Q1 2025
$4.97M
average manufacturing IIoT breach cost
DeviceAuthority, 2024
30%
of breaches involve third parties (2x YoY)
Verizon DBIR, 2025

These are not theoretical risks. The XZ Utils backdoor discovered in early 2024 showed how malicious code can be inserted into a widely used open source component. It was caught in test and rolling releases before it reached most stable Linux distributions, but it came very close. Manufacturing supply chains face the same attack surface: compromised build tools, tampered firmware images, and malicious code embedded before devices reach customers.

NIST's guidance on software supply chain security under Executive Order 14028 identifies these attack patterns explicitly. It asks software producers to verify the provenance of software components and maintain evidence of secure development practices.

Source: NIST Executive Order 14028: Improving the Nation's Cybersecurity

The cerbtk Proof of Concept

The novatechflow cerbtk repository implements a minimal device registry backed by an append only ledger. It is not a blockchain product and does not claim decentralization. Its purpose is to demonstrate how manufacturing events can be recorded in a verifiable way.

cerbtk: Verifiable Registration Flow
1
Build SystemSigns firmware hash
sha256 + Ed25519
↓
2
Assembly StationCreates signed payload
device_id + fw_hash
↓
3
RegistryVerifies and appends to ledger
POST /register
↓
4
AuditorValidates chain integrity
GET /validate

Source: novatechflow cerbtk GitHub repository

The registry accepts signed device registration payloads that include:

  • Device identifier
  • Firmware hash and build metadata
  • Public key material
  • Timestamp and signing algorithm

Each payload is verified before being appended to the ledger. The ledger exposes validation and head verification endpoints that allow auditors to detect tampering.

Without verifiable records
Firmware Build
CI logs only
✗
Assembly
Mutable DB
✗
Deploy
No provenance
Audits depend on trust, not verification
With verifiable registry
Firmware Build
Signed hash
→
Assembly
Append-only
→
Deploy
Verify registry
Cryptographic proof from build to deployment

How This Maps to Manufacturing Workflows

The cerbtk model aligns directly with documented manufacturing best practices:

  • Firmware signing keys remain centralized and controlled
  • Assembly stations act as signing clients, not authorities
  • Every device registration is cryptographically verifiable

This approach does not replace PKI or cloud provisioning services. It complements them by preserving manufacturing evidence in a form that can be independently validated.

A registry of this kind can be anchored to external systems, exported for audits, or integrated into downstream provisioning pipelines without relying on proprietary formats.

Why Append Only Matters

Append only logs are widely used in security critical systems because they allow detection of deletion and modification. Certificate transparency logs, which have recorded billions of certificates since 2013, use the same principle. Software supply chain tooling does too: Sigstore's Rekor keeps signatures and SLSA (Supply chain Levels for Software Artifacts) provenance attestations in an append only transparency log.

Source: Certificate Transparency documentation

Applying this model to IoT manufacturing creates a durable link between physical devices, firmware artifacts, and signing authorities. The operational benefit is not lower compute cost but faster audits, simpler partner integration, and immutable evidence when disputes arise.

Conclusion

Secure IoT manufacturing requires more than identity provisioning. It requires evidence that survives organizational boundaries and time. The cerbtk proof of concept demonstrates how signed manufacturing events and append only registries can close a documented gap between security guidance and operational reality.

This applies established cryptographic practices to a stage of the IoT lifecycle that remains underprotected. The same principles that secure certificate issuance and software builds can secure device manufacturing, if organizations choose to implement them.

Related: connect BACnet to the cloud with an MQTT gateway, BACnet to MQTT in production and fixing an embedded Linux device that will not reboot.

Need help with distributed systems, backend engineering or data platforms? See my consulting services.

Alexander Alten

Alexander Alten

Founder of Scalytics, co-creator and PMC member of Apache Wayang, and author of KafScale. I write about Kafka, streaming, data platforms, IoT and AI agent infrastructure in production.