{"id":5816,"date":"2025-07-06T14:35:51","date_gmt":"2025-07-06T14:35:51","guid":{"rendered":"https:\/\/www.detus.co\/?p=5816"},"modified":"2026-01-21T10:39:28","modified_gmt":"2026-01-21T10:39:28","slug":"device-for-secure-remote-updates","status":"publish","type":"post","link":"https:\/\/www.detus.co\/uk\/firmware-development\/device-for-secure-remote-updates\/","title":{"rendered":"How to prepare a device for secure remote updates"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"5816\" class=\"elementor elementor-5816\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c5005d4 elementor-section-full_width elementor-section-height-default elementor-section-height-default qodef-elementor-content-no\" data-id=\"c5005d4\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-a477b09\" data-id=\"a477b09\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f0c13ce elementor-widget elementor-widget-text-editor\" data-id=\"f0c13ce\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<div class=\"page-wrapper\" role=\"main\"><div id=\"sections-container\" class=\"sections-container\"><article id=\"post-156147\" class=\"page-body style-color-xsdn-bg post-156147 post type-post status-publish format-standard has-post-thumbnail hentry category-firmware category-hardware\"><div class=\"post-wrapper\"><div class=\"post-body\"><div class=\"post-content un-no-sidebar-layout\"><div class=\"row-container\"><div class=\"row row-parent style-light double-top-padding double-bottom-padding\"><div class=\"page-wrapper\" role=\"main\"><div id=\"sections-container\" class=\"sections-container\"><article id=\"post-156147\" class=\"page-body style-color-xsdn-bg post-156147 post type-post status-publish format-standard has-post-thumbnail hentry category-firmware category-hardware\"><div class=\"post-wrapper\"><div class=\"post-body\"><div class=\"post-content un-no-sidebar-layout\"><div class=\"row-container\"><div class=\"row row-parent style-light double-top-padding double-bottom-padding\"><p class=\"\" data-start=\"238\" data-end=\"578\">The ability to update firmware remotely is no longer a luxury. In many cases, it is a technical and operational requirement, especially in systems installed in hard-to-reach locations or in products with long life cycles. However, allowing a device to receive updates in the field involves much more than simply adding an \u201cupdate\u201d function.<\/p><p class=\"\" data-start=\"580\" data-end=\"829\">At Detus, we treat this topic with special care because we know that a poorly managed update can compromise the entire system. In this article, we outline the main principles we follow to ensure security, reliability and integrity in remote updates.<\/p><h2 class=\"\" data-start=\"831\" data-end=\"854\">Why this is critical<\/h2><p class=\"\" data-start=\"856\" data-end=\"918\">An error during an update can cause serious failures, such as:<\/p><ul><li data-start=\"922\" data-end=\"990\">Devices that stop booting entirely, commonly referred to as bricks<\/li><li data-start=\"993\" data-end=\"1025\">Memory corruption or data loss<\/li><li data-start=\"1028\" data-end=\"1083\">Systems left vulnerable to unauthorised modifications<\/li><li data-start=\"1086\" data-end=\"1146\">The need for physical intervention to reprogram the device<\/li><\/ul><p class=\"\" data-start=\"1148\" data-end=\"1298\">This is why it is essential to design, from the beginning, a system that supports fail-safe updates, rigorous validation and safe rollback capability.<\/p><h2 class=\"\" data-start=\"1300\" data-end=\"1341\">Key elements of a secure remote update<\/h2><h3 class=\"\" data-start=\"1343\" data-end=\"1377\">Robust and isolated bootloader<\/h3><p class=\"\" data-start=\"1379\" data-end=\"1658\">The bootloader is the code that manages both system startup and the update process. It must be logically separated from the main firmware and protected from being overwritten. That way, even if an update fails, the bootloader can still restore a functional version of the system.<\/p><h3 class=\"\" data-start=\"1660\" data-end=\"1686\">Integrity verification<\/h3><p class=\"\" data-start=\"1688\" data-end=\"1873\">The firmware must be validated before being applied. This can include the use of cryptographic signatures, hash verification, or integrity checks based on cyclic redundancy codes (CRC).<\/p><h3 class=\"\" data-start=\"1875\" data-end=\"1903\">Power failure protection<\/h3><p class=\"\" data-start=\"1905\" data-end=\"2140\">The system must be able to handle power interruptions during the update process. For this, the new version should only be written after full validation and must never overwrite the current version until it has been completely verified.<\/p><h3 class=\"\" data-start=\"2142\" data-end=\"2161\">Rollback system<\/h3><p class=\"\" data-start=\"2163\" data-end=\"2373\">If the new version fails during boot or within the first few minutes of operation, the system must be able to detect the anomaly and automatically revert to the previous version, ensuring continuity of service.<\/p><h3 class=\"\" data-start=\"2375\" data-end=\"2402\">Logging and diagnostics<\/h3><p class=\"\" data-start=\"2404\" data-end=\"2584\">All update operations should be logged for technical audit purposes. These logs are essential for continuous improvement of the update process and for identifying failure patterns.<\/p><h3 class=\"\" data-start=\"2586\" data-end=\"2610\">Secure communication<\/h3><p class=\"\" data-start=\"2612\" data-end=\"2755\">Beyond the firmware itself, it is crucial to ensure that the communication between the device and the server is fully protected. This includes:<\/p><ul><li data-start=\"2759\" data-end=\"2790\">Encryption of data in transit<\/li><li data-start=\"2793\" data-end=\"2842\">Mutual authentication between client and server<\/li><li data-start=\"2845\" data-end=\"2880\">Prevention against replay attacks<\/li><\/ul><h2 class=\"\" data-start=\"2882\" data-end=\"2895\">Conclusion<\/h2><p class=\"\" data-start=\"2897\" data-end=\"3215\">Secure remote firmware updates are a strategic capability for any technology product aiming for longevity and scalability. However, this capability requires technical planning from the very start. It is not enough that it works. It must be guaranteed that, even in the event of failure, the system remains operational.<\/p><p class=\"\" data-start=\"3217\" data-end=\"3385\">At Detus, we design firmware with remote update support from the earliest stages of the project, applying strict best practices in security, validation and reliability.<\/p><\/div><\/div><\/div><\/div><\/div><\/article><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/article><\/div><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>The ability to update firmware remotely is no longer a luxury. In many cases, it is a technical and operational requirement, especially in systems installed in hard-to-reach locations or in products with long life cycles. However, allowing a device to receive updates in the field involves much more than simply adding an \u201cupdate\u201d function. At [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":5817,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"content-type":"","footnotes":""},"categories":[4],"tags":[],"class_list":["post-5816","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-firmware-development"],"_links":{"self":[{"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/posts\/5816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/comments?post=5816"}],"version-history":[{"count":1,"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/posts\/5816\/revisions"}],"predecessor-version":[{"id":6726,"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/posts\/5816\/revisions\/6726"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/media\/5817"}],"wp:attachment":[{"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/media?parent=5816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/categories?post=5816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.detus.co\/uk\/wp-json\/wp\/v2\/tags?post=5816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}