Designing secure IoT products in practice
IoT security is no longer optional. As connected devices move deeper into critical products and infrastructure, security must be built into every layer, from firmware to backend systems and development processes.
Protecting sensitive data and preventing attackers from controlling systems must be a fundamental pillar of the development of your product. The engineering community and society has become more aware of the risks and legislation is catching up to formalize the expectation.
Let’s explore how this plays out while developing a connected e-bike. These bikes typically share their location with users, include an alarm function to prevent theft, and support remote firmware updates to improve functionality and security over the air. When implemented correctly, these features enhance both security and usability. When implemented insecurely, however, they can have the exact opposite effect.
This article shows how a secure-by-design approach spanning architecture, communication layers, firmware delivery, and device management enables robust, scalable, and future-proof IoT solutions in practice.
Architecture Designed for Threat Models
Security starts with a fit for purpose architecture, depending on the product.
Regulatory requirements such as the Radio Equipment Directive (RED) article 3.3 and the Cyber Resilience Act (CRA), provide a legal baseline, but it is also important to understand the product under development and the environment in which it functions. We always focus on secure interfaces, attack surface reduction, and long-term maintainability.
Based on these requirements, it is needed to design secure interfaces and system architectures that minimize attack surfaces and isolate critical components. The result is a system that remains resilient even when parts of it are compromised.
Securing Embedded Communication Layers
A secure architecture only becomes effective when the underlying communication layers are properly protected. Connected devices rely on a combination of embedded and wireless protocols, each introducing its own attack surface that must be carefully managed.
Typical attaching points include:
- UDS / CAN: protecting diagnostic access and preventing unauthorized firmware manipulation
- BLE: implementing secure pairing, authentication, and encrypted communication
- LwM2M over DTLS: enabling scalable, secure device management and communication
- Secure Boot: cryptographic verification of firmware authenticity and integrity from reset, ensuring that only trusted software can execute on the device
Our focus is always on practical security: mechanisms that work reliably on constrained devices and remain maintainable over the product lifecycle.
For a connected e-bike, weaknesses at this layer could expose rider location data, disable theft protection, or allow unauthorized firmware changes. Securing communication is therefore essential to preserving trust in everyday operation.
Secure Firmware Delivery and CI/CD Pipelines
At Mach technology we think the key to succes is to integrate security directly into the development and release process:
- Firmware that is encrypted and cryptographically signed before distribution
- Secure build pipelines for firmware compilation
- Safe handling and storage of sensitive data within protected server environments
This ensures that only authentic, untampered firmware can be deployed both in production and in the field.
In practice, this is especially critical for connected mobility products such as e-bikes, where secure over-the-air updates are required to deliver safety improvements and new functionality throughout the product’s lifetime without introducing new risks.
Device-Centric Security at Scale
As connected products scale in volume and operational lifetime, security must remain manageable at the level of individual devices. At Mach we create a device management platform which is built around individual device identities.
- Each device is provisioned with unique cryptographic keys
- Compromise of one device does not affect others
- Secure provisioning is fully integrated into the production process
Devices can be securely updated over the air, ensuring long-term maintainability without sacrificing security.
Bringing is all together
Many IoT security failures don’t come from missing features, but from weak integration between devices, backend systems, and operational processes.
At Mach technology we manage this by focuses on:
- Defense in depth
- Scalable key and identity management
- Secure-by-design firmware and backend systems
- Compliance-ready architectures without unnecessary complexity
In connected products such as e-bikes, this integrated approach safeguards rider data, prevents unauthorized control, and enables safe long-term updates, delivering robust, scalable, and future-proof operation.
If you are developing a connected product or evaluating the security of an existing one, this is the moment to take a closer look. Involving security expertise early in development, or performing a structured security review on deployed products, helps to reduce risk, improve maintainability and prepare for current and upcoming regulatory requirements. Our development team is happy to support with hands-on engineering or a focused security assessment, tailored to your product and its lifecycle.
Get in contact with Martijn Maarse, our CloT Business Manager