Sensors (Sep 2023)

Blockchain-Based Smart Farm Security Framework for the Internet of Things

  • Ahmed Abubakar Aliyu,
  • Jinshuo Liu

DOI
https://doi.org/10.3390/s23187992
Journal volume & issue
Vol. 23, no. 18
p. 7992

Abstract

Read online

Smart farming, as a branch of the Internet of Things (IoT), combines the recognition of agricultural economic competencies and the progress of data and information collected from connected devices with statistical analysis to characterize the essentials of the assimilated information, allowing farmers to make intelligent conclusions that will maximize the harvest benefit. However, the integration of advanced technologies requires the adoption of high-tech security approaches. In this paper, we present a framework that promises to enhance the security and privacy of smart farms by leveraging the decentralized nature of blockchain technology. The framework stores and manages data acquired from IoT devices installed in smart farms using a distributed ledger architecture, which provides secure and tamper-proof data storage and ensures the integrity and validity of the data. The study uses the AWS cloud, ESP32, the smart farm security monitoring framework, and the Ethereum Rinkeby smart contract mechanism, which enables the automated execution of pre-defined rules and regulations. As a result of a proof-of-concept implementation, the system can detect and respond to security threats in real time, and the results illustrate its usefulness in improving the security of smart farms. The number of accepted blockchain transactions on smart farming requests fell from 189,000 to 109,450 after carrying out the first three tests while the next three testing phases showed a rise in the number of blockchain transactions accepted on smart farming requests from 176,000 to 290,786. We further observed that the lesser the time taken to induce the device alarm, the higher the number of blockchain transactions accepted on smart farming requests, which demonstrates the efficacy of blockchain-based poisoning attack mitigation in smart farming.

Keywords