Abstract

As the usage growth rate of Internet of Things (IoT) devices is increasing, various issues related to these devices need attention. One of them is the distribution of the IoT firmware update. The IoT devices’ software development does not end when the manufacturer sells the devices to the market. It still needs to be kept updated to prevent cyber-attacks. The commonly used firmware update process, over-the-air (OTA), mostly happens in a centralized way, in which the IoT devices directly download the firmware update from the manufacturer’s server. This central architecture makes the manufacturer’s server vulnerable to single-point-of-failure and latency issues that can delay critical patches from being applied to vulnerable devices. The Open Connectivity Foundation (OCF) is one organization contributing to providing interoperability services for IoT devices. In one of their subject areas, they provide a firmware update protocol for IoT devices. However, their firmware update process does not ensure the integrity and security of the patches. In this paper, we propose a blockchain-based OCF firmware update for IoT devices. Specifically, we introduce two types of firmware update protocol, direct and peer-to-peer updates, integrated into OCF firmware update specifications. In the direct scenario, the device, through the IoT gateway, can download the new firmware update from the manufacturer’s server. Meanwhile, in the peer-to-peer scheme, the device can query the update from the nearby gateways. We implemented our protocol using Raspberry Pi hardware and Ethereum-based blockchain with the smart contracts to record metadata of the manufacturer’s firmware updates. We evaluated the proposed system’s performance by measuring the average throughput, the latency, and the firmware update distribution’s duration. The analysis results indicate that our proposal can deliver firmware updates in a reasonable duration, with the peer-to-peer version having a faster completion time than the direct one.

Highlights

  • The center of a notable technology shift in our world is the Internet of Things (IoT)

  • We propose a blockchain-based Open Connectivity Foundation (OCF) firmware update for IoT devices

  • Since the IoT gateway is a blockchain node, it will receive a notification when the manufacturer stores the metadata to the smart contract

Read more

Summary

A Blockchain-Based OCF Firmware Update for

This work is an extended and revised version of our conference paper that was presented in ICTC2019: Witanto, E.N.; Oktian, Y.E.; Kumi, S.; Lee, S.G.

Introduction
Blockchain
Ethereum and Smart Contracts
OCF Firmware Update Protocol
Related Work
The Proposed Protocol
The Architecture
The Protocol Design
Creation of the Smart Contract
Direct Firmware Update Distribution
Peer-To-Peer Firmware Update Distribution
Development Environment
Implementation Design
Evaluation
Findings
Discussion
Conclusions
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call