Skip to Main Content

[標題]最新消息

ENISA Releases Technical Advisory on Secure Update Mechanisms

When you click "Check for updates," you are trying to close a security hole. But how does the software know that what it downloads hasn't been swapped out along the way? Notepad++ learned this the hard way. Its official installer was never the problem. What went wrong was the step where the updater asks the server where to fetch the file: attackers altered the download location in that reply, so some users who did everything right and updated through the built-in feature were still sent to download malicious files. Checking the official installer alone would never have revealed it.

The Technical Advisory on Secure Update Mechanisms, published by the European Union Agency for Cybersecurity (ENISA) on 4 November, treats incidents like this as cautionary tales. It is written for software vendors and makers of connected devices, especially small and medium-sized firms with limited staff. The advisory walks through the example of a home smart thermostat. When the manufacturer packages new firmware, it also attaches a manifest listing the version, the supported models and the file's hash, then signs that manifest with a dedicated key. After downloading, the thermostat first checks the signature, then calculates the hash itself; if the values don't match, the update is refused. All of this depends on keeping the keys under control. Who is allowed to sign, and how a leaked key gets revoked and replaced, must be settled in advance, or even the most careful verification counts for nothing.

Confirming that firmware comes from the manufacturer isn't the end of it; the version matters too. Without protection against downgrades, an attacker could simply reinstall an older official release with a known flaw, undoing earlier fixes. Yet closing off every way back is no answer either: if the power cuts out mid-update, or the new firmware won't boot, the device is bricked. The real question is who gets to decide on a rollback, and which version it can go back to. ENISA's advice is to leave this to a controlled recovery process that returns the device to a verified, working version when something goes wrong, and records the outcome so residents or administrators know whether the fix actually took.

The advisory is really aimed at the EU's Cyber Resilience Act, whose main product requirements take effect on 11 December 2027 and include timely vulnerability fixes and secure delivery of updates. Manufacturers selling into the EU can't wait until after shipping to catch up: how updates are delivered, and how to recover when they fail, have to be worked out at the design stage. For a resident, the whole process may amount to nothing more than an "Update complete" notice on their phone. For the manufacturer, every step behind that notice has to stand up to scrutiny.

Links:
ENISA, Technical Advisory on Secure Update Mechanisms (opens in a new window)
EU Cyber Resilience Act (Regulation (EU) 2024/2847) (opens in a new window)