Aggregating Threats

Aggregating Threats

The CRA as a Driver for Integrated Security Analysis

With the Cyber Resilience Act (CRA), the EU has created a binding foundation that obliges manufacturers of products with digital elements to carry out systematic risk analysis and threat modelling. What at first glance sounds like established security practice confronts many teams with a new challenge in practice: how do you deal with products in which software and hardware are inextricably interwoven?

The playing field of embedded devices: industrial controllers, medical devices, smart home hardware or networked vehicle components – all of them combine firmware-level software with specific hardware security mechanisms. The CRA demands not only a threat analysis at the time of market launch, but a continuous risk assessment across the entire lifecycle. Anyone who considers software and hardware separately runs the risk of creating blind spots that are problematic both from a regulatory and a security perspective.

The Peculiarity of Embedded Systems: Software Meets Hardware

Embedded systems are not classic IT systems. They run on dedicated hardware, often with limited resources, proprietary interfaces and long product lifecycles. Their software – typically firmware or a real-time operating system – is tightly coupled to the respective hardware platform.

This tight integration has direct consequences for the security architecture: security functions are not only implemented in software, but are frequently realised through dedicated hardware components such as a Trusted Platform Module (TPM), Secure Elements, Hardware Security Module (HSM) or proprietary Secure Enclaves. These components take on tasks such as secure key management, integrity checks during the boot process or protecting sensitive data from access by the application layer.

Classic threat models – such as a pure software-based STRIDE model – often ignore this hardware layer or treat it as a given. This works as long as the hardware platform remains constant. But as soon as variants come into play, this assumption collapses.

Mutual Compensation of Threats – and Their Blind Spots

A central principle of modern security architectures is defence in depth: multiple protective layers mutually compensate for each other’s weaknesses. In embedded devices, this compensation frequently takes place between the hardware and software layers.

Example 1 – Hardware protects software: A firmware update routine has a vulnerability that theoretically allows an attacker to install unsigned updates. In the product configuration with Secure Boot, this vulnerability is mitigated by the hardware: the boot ROM refuses to execute unsigned images. The software threat model can flag this vulnerability as “mitigated by hardware control” and classify the residual risk as acceptable.

Example 2 – Software protects hardware: A device has debug interfaces (JTAG, UART) that are hard-wired in the hardware. The risk of a physical attack via these interfaces is mitigated by software-side authentication enforcement and by disabling the interfaces in production operation. The hardware threat model refers to these software controls.

The problem: these dependencies are rarely explicitly documented. They exist as implicit knowledge within the team – and that is precisely what makes them vulnerable as soon as something changes.

The Variant Problem: When Hardware Controls Silently Disappear

The most serious practical problem arises in variant management. Product families in the embedded world rarely exist as a single model. Instead, there are different assembly variants of the same PCB, chip variants with and without an integrated security core, or derivatives for different markets with different certification requirements.

Concrete scenario: The flagship product uses a microcontroller with an integrated Hardware Security Module. The cheaper entry-level model runs on a stripped-down chip variant without this security core. The firmware is largely identical – for the entry-level model, software development has merely removed the initialisation code for the HSM.

What is overlooked here: the software threat model of the entry-level model was never adapted. It still contains entries such as “Threat X: risk mitigated by HSM-based key storage”. The hardware control no longer exists – but the threat model doesn’t know it.

This silent disappearance of security controls is not an isolated case. It happens with PCB revisions, with chip supply shortages followed by component replacement campaigns, with stripped-down OEM variants and with cost-saving measures across the product lifecycle. In none of these cases does the normal development process automatically trigger a review of the threat model – unless you have explicitly arranged for it.

Integrated Threat Modelling as a Solution Approach

The answer to this problem is a holistic, aggregated approach to threat modelling that systematically links the hardware and software layers.

Methodologically, several established approaches lend themselves to combination:

  • TARA (Threat Analysis and Risk Assessment) according to ISO/SAE 21434 was originally developed for the automotive sector, but is methodologically suitable for all embedded systems. TARA thinks in asset classes across layer boundaries and requires an explicit specification of mitigation measures including their dependencies.

  • STRIDE combined with Hardware Threat Modelling: STRIDE as a software-side method is supplemented by explicit hardware threat categories – such as physical access, side-channel attacks, fault injection or supply chain compromise. The linkage of both models occurs via shared assets and explicitly named dependencies between mitigations.

  • Mitigation matrix with layer attribute: Each mitigation in the threat model is provided with an attribute indicating the layer on which it is implemented (HW / SW / process). Mitigations with the “HW” attribute receive an explicit reference to the corresponding hardware component. For each product variant, it is checked whether this component is present.

On the tooling side, the threat model should be maintained in a system that supports variant management. Tools such as IriusRisk, ThreatModeler or also TrustSource with its integrated threat modelling agent, as well as the MITRE emb3d framework for hardware, which allows software risks and countermeasures to be referenced in the hardware using them, help to avert such risks.

Implementation: Anchoring Processes and Responsibilities in the Team

An integrated threat model is only as good as the process that keeps it up to date. The following organisational measures have proven their worth in practice:

Hardware-software security reviews as a mandatory event: Every change to the hardware configuration – whether assembly change, chip revision or new variant – automatically triggers a security review that explicitly examines which existing software mitigations depend on this change.

Common language and artefacts: Hardware development and software engineering should work on the basis of the same threat model – not on separate documents that are manually reconciled in the end. The security team assumes the role of the integrating authority.

Variant register with security profile: Each product variant receives an explicit security profile that documents which hardware controls are present and which software mitigations are affected by them. This profile is a mandatory part of the variant release process.

Continuous maintenance across the lifecycle: The CRA explicitly requires threat consideration over the entire product lifecycle. This means: the threat model is not a one-off document, but a living artefact that is updated with every significant product change or change in the threat landscape.

Conclusion: Aggregated Threat Models as a Must, Not a Nice-to-Have

The Cyber Resilience Act compels an engagement with product security that goes beyond classic software security thinking. For embedded devices, this means in concrete terms:

First: Isolated threat models for software and hardware fall short. The mutual dependency of security controls across layer boundaries must be explicitly represented.

Second: The variant problem is not a fringe phenomenon, but one of the most common sources of undetected security gaps in product families – and it can be systematically addressed through consistent mitigation tracking with a layer attribute.

Third: Integrated threat modelling is not an additional burden, but an investment in actual security. Teams that think software and hardware security together not only produce CRA-compliant documentation – they quite simply build better and more robust products.