Blockchain-Based Smart Farm Security Framework for the Internet of Things
Abstract
:1. Introduction
- Ethereum: Ethereum is one of the most popular blockchain platforms for decentralized applications (dApps) and smart contracts [18] as it provides a stable and adaptable environment for creating agricultural blockchain solutions. Ethereum’s default cryptocurrency, Ether (ETH), enables secure and open transactions across the entire ecosystem. In addition, the scalability issues it faces, particularly high transaction costs and slow processing times, could limit the use of smart agriculture in high-volume environments [19].
- Hyperledger Fabric: Hyperledger Fabric is an open source, enterprise-grade blockchain platform with a modular design that gives designers and developers more freedom to create and implement smart farming solutions [20]. Fabric uses a permissioned network, giving users and collaborating companies limited access and privacy. It also includes pluggable consensus processes that allow for modification based on specific use cases and is focused on enterprise solutions, making it suitable for widespread smart agriculture installations.
- Corda: Corda is a distributed ledger platform that emphasizes privacy and security by limiting data access to only participating parties. Corda is designed for commercial applications using “CorDapps”, smart contracts that enable secure and direct transactions throughout the agricultural supply chain [21]. Without exposing transaction information to the whole network, its original “notary” approach ensures consensus. Corda’s emphasis on privacy and facilitating direct interaction makes it suitable for sensitive and challenging smart farming environments.
- IBM Food Trust: IBM Food Trust is a blockchain-based platform designed specifically for the food sector, including agriculture. It enables end-to-end traceability of food, providing accountability and transparency. It also combines the benefits of enterprise-grade functionality and permissioned networks, using Hyperledger Fabric as the underlying blockchain technology. As a result, farmers, distributors, retailers, and consumers can use the platform to access reliable information about the origin and movement of their food. The quality and reliability of the information shared is enhanced by IBM Food Trust’s integration with multiple data sources, such as IoT devices and sensors [22].
- VeChain: VeChain is a blockchain platform focused on product authenticity and supply chain management. It uses a two-token structure, with VET as the native coin and VTHO as the fee and smart contract execution token. Throughout the supply chain, VeChain provides features such as Near Field Communication (NFC) chips and QR codes to track and validate agricultural products. In addition, its ecology and adoption potential are strengthened by its links with multiple businesses and government organizations. VeChain’s focus on product authenticity and supply chain management makes it ideal for ensuring food safety and quality in smart agriculture [23].
2. Literature Review
3. Methodology
Components Used in Our Approach
- Ethereum: Form works on the POS agreement component to favor and incorporate ex-variations to the Ethereum blockchain. When a safety event is detected, a Web3 frontend request is conducted to survey and warn the farmers.
- Infura API: This is a feature of Ethereum API that allows smart contracts to be performed in Ethereum hubs and performs Ethereum-based ex-variations. Once we have collected and prepared the farming device data, we use the Infura API calls to connect with Ethereum hubs.
- AWS IoT core: Several IoT devices’ sensors are available in the smart agricultural environment. To gather messages from diverse IoT devices, a message-processing framework is necessary to supplement IoT message protocols such as the MQTT and suit the organized transfer speed. Furthermore, to benefit from the smart agricultural IoT data preparation, we chose the AWS IoT core. The AWS IoT core enables minimal inactivity and maximum throughput execution, which aids in the development of real-time production-level IoT monitoring frameworks.
- AWS Lambda: The IoT data should be collected, prepared, and sent into the system as input data. As a result, AWS Lambda performs the cryptography in the background and saves the smart farming data to the blockchain. AWS Lambda is a serverless computing service from Amazon Web Services (AWS) that lets you run code without deploying or managing servers. With AWS Lambda, we can write and upload our code in the form of functions, while it takes care of the underlying infrastructure required to run those functions. Some of the key features of AWS Lambda include: serverless architecture, event-driven execution, broad language support, automatic scaling, integration with AWS services, easy deployment and management, and pay-per-use pricing. AWS Lambda provides a flexible and scalable way to execute code without worrying about infrastructure management as it is widely used for building serverless applications, event-driven architectures, and implementing various backend tasks in the AWS ecosystem [35]. Figure 4 shows the security framework activity diagram.
4. Implementation and Results Discussion
4.1. Test Results Presentation
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Shen, Z.; Baležentis, T.; Ferrier, G.D. Agricultural productivity evolution in China: A generalized decomposition of the Luenberger-Hicks-Moorsteen productivity indicator. China Econ. Rev. 2019, 57, 101315. [Google Scholar] [CrossRef]
- Xu, X.; Zhou, K.; Ma, H. The Impact of Agricultural Mechanization on Industry-Agriculture Coordinated Development in China. SSRN, 2023; preprint. [Google Scholar] [CrossRef]
- Zhang, Y.; Diao, X. The changing role of agriculture with economic structural change—The case of China. China Econ. Rev. 2020, 62, 101504. [Google Scholar] [CrossRef]
- Steve, C. Cyber Threats Are A Real Threat To Modern Agriculture’s Expanding Digital Infrastructure. AgWeb, 11 January 2022. Available online: https://www.agweb.com/news/business/technology/cyber-threats-are-real-threat-modern-agricultures-expanding-digital (accessed on 26 June 2023).
- Hayes, K. Ransomware: A growing geopolitical threat. Netw. Secur. 2021, 2021, 11–13. [Google Scholar] [CrossRef]
- Gayathri, R.; Usharani, S.; Mahdal, M.; Vezhavendhan, R.; Vincent, R.; Rajesh, M.; Elangovan, M. Detection and Mitigation of IoT-Based Attacks Using SNMP and Moving Target Defense Techniques. Sensors 2023, 23, 1708. [Google Scholar] [CrossRef]
- Alahmadi, A.A.; Aljabri, M.; Alhaidari, F.; Alharthi, D.J.; Rayani, G.E.; Marghalani, L.A.; Alotaibi, O.B.; Bajandouh, S.A. DDoS Attack Detection in IoT-Based Networks Using Machine Learning Models: A Survey and Research Directions. Electronics 2023, 12, 3103. [Google Scholar] [CrossRef]
- Mondal, S.; Wijewardena, K.P.; Karuppuswami, S.; Kriti, N.; Kumar, D.; Chahal, P. Blockchain Inspired RFID-Based Information Architecture for Food Supply Chain. IEEE Internet Things J. 2019, 6, 5803–5813. [Google Scholar] [CrossRef]
- Jana, Z.; Reiner, B.; Sebastian, R.; Roland, W.S. Perceived risks and vulnerabilities of employing digitalization and digital data in agriculture—Socially robust orientations from a transdisciplinary process. J. Clean. Prod. 2022, 358, 132034. [Google Scholar] [CrossRef]
- Chaganti, R.; Varadarajan, V.; Gorantla, V.S.; Gadekallu, T.R.; Ravi, V. Blockchain-Based Cloud-Enabled Security Monitoring Using Internet of Things in Smart Agriculture. Future Internet 2022, 14, 250. [Google Scholar] [CrossRef]
- Aliyu, A.A.; Liu, J.; Gilliard, E. Blockchain-based poisoning attack prevention in smart farming. Sci. Pract. Cyber Secur. J. 2023. Available online: https://journal.scsa.ge/papers/blockchain-based-poisoning-attack-prevention-in-smart-farming/ (accessed on 18 April 2023).
- Chaganti, R.; Bhushan, B.; Ravi, V. The role of Blockchain in DDoS attacks mitigation: Techniques, open challenges and future directions. arXiv 2022, arXiv:2202.03617. [Google Scholar]
- Aliyu, A.; Liu, J.; Gilliard, E. Increased Accuracy in Blockchain-Based Intrusion Detection and Prevention System. Authorea, 2023; Preprints. [Google Scholar] [CrossRef]
- Mekala, M.S.; Viswanathan, P. A Survey: Smart agriculture IoT with cloud computing. In Proceedings of the 2017 International conference on Microelectronic Devices, Circuits and Systems (ICMDCS), Vellore, India, 10–12 August 2017; pp. 1–7. [Google Scholar] [CrossRef]
- Alshammari, T.; Ramadan, R.A.; Ahmad, A. Temporal Variations Dataset for Indoor Environmental Parameters in Northern Saudi Arabia. Appl. Sci. 2023, 13, 7326. [Google Scholar] [CrossRef]
- Alobid, M.; Abujudeh, S.; Szűcs, I. The Role of Blockchain in Revolutionizing the Agricultural Sector. Sustainability 2022, 14, 4313. [Google Scholar] [CrossRef]
- Ellahi, R.M.; Wood, L.C.; Bekhit, A.E.-D.A. Blockchain-Based Frameworks for Food Traceability: A Systematic Review. Foods 2023, 12, 3026. [Google Scholar] [CrossRef]
- Naqvi, F.H.; Ali, S.; Haseeb, B.; Khan, N.; Qureshi, S.; Sajid, T.; Aslam, M.I. Design and Implementation of Smart Contract in Supply Chain Management Using Blockchain and Internet of Things. Eng. Proc. 2023, 32, 15. [Google Scholar] [CrossRef]
- Kechagias, E.P.; Gayialis, S.P.; Papadopoulos, G.A.; Papoutsis, G. An Ethereum-Based Distributed Application for Enhancing Food Supply Chain Traceability. Foods 2023, 12, 1220. [Google Scholar] [CrossRef]
- Pancari, S.; Rashid, A.; Zheng, J.; Patel, S.; Wang, Y.; Fu, J. A Systematic Comparison between the Ethereum and Hyperledger Fabric Blockchain Platforms for Attribute-Based Access Control in Smart Home IoT Environments. Sensors 2023, 23, 7046. [Google Scholar] [CrossRef]
- Vangipuram, S.L.T.; Mohanty, S.P.; Kougianos, E.; Ray, C. agroString: Visibility and Provenance through a Private Blockchain Platform for Agricultural Dispense towards Consumers. Sensors 2022, 22, 8227. [Google Scholar] [CrossRef]
- Damoska Sekuloska, J.; Erceg, A. Blockchain Technology toward Creating a Smart Local Food Supply Chain. Computers 2022, 11, 95. [Google Scholar] [CrossRef]
- Karunathilake, E.M.B.M.; Le, A.T.; Heo, S.; Chung, Y.S.; Mansoor, S. The Path to Smart Farming: Innovations and Opportunities in Precision Agriculture. Agriculture 2023, 13, 1593. [Google Scholar] [CrossRef]
- Ferrag, M.A.; Shu, L.; Yang, X.; Derhab, A.; Maglaras, L. Security and Privacy for Green IoT-Based Agriculture: Review, Blockchain Solutions, and Challenges. IEEE Access 2020, 8, 32031–32053. [Google Scholar] [CrossRef]
- Friha, O.; Ferrag, M.A.; Shu, L.; Maglaras, L.; Wang, X. Internet of Things for the Future of Smart Agriculture: A Comprehensive Survey of Emerging Technologies. IEEE/CAA J. Autom. Sin. 2021, 8, 718–752. [Google Scholar] [CrossRef]
- Li, C.; Niu, B. Design of smart agriculture based on big data and Internet of things. Int. J. Distrib. Sens. Netw. 2020, 16, 1550147720917065. [Google Scholar] [CrossRef]
- Song, T.; Li, R.; Mei, B.; Yu, J.; Xing, X.; Cheng, X. A Privacy Preserving Communication Protocol for IoT Applications in Smart Homes. In Proceedings of the 2016 International Conference on Identification, Information and Knowledge in the Internet of Things (IIKI), Beijing, China, 20–21 October 2016; pp. 519–524. [Google Scholar] [CrossRef]
- Ahmed, N.; De, D.; Hussain, I. Internet of Things (IoT) for Smart Precision Agriculture and Farming in Rural Areas. IEEE Internet Things J. 2018, 5, 4890–4899. [Google Scholar] [CrossRef]
- Gong, S.; Tcydenova, E.; Jo, J.; Lee, Y.; Park, J.H. Blockchain-Based Secure Device Management Framework for an Internet of Things Network in a Smart City. Sustainability 2019, 11, 3889. [Google Scholar] [CrossRef]
- Alyahya, S.; Khan, W.U.; Ahmed, S.; Marwat, S.N.K.; Habib, S. Cyber Secure Framework for Smart Agriculture: Robust and Tamper-Resistant Authentication Scheme for IoT Devices. Electronics 2022, 11, 963. [Google Scholar] [CrossRef]
- Albulayhi, A.S.; Alsukayti, I.S. A Blockchain-Centric IoT Architecture for Effective Smart Contract-Based Management of IoT Data Communications. Electronics 2023, 12, 2564. [Google Scholar] [CrossRef]
- Kumar, R.; Kumar, P.; Tripathi, R.; Gupta, G.P.; Gadekallu, T.R.; Srivastava, G. SP2F: A secured privacy-preserving framework for smart agricultural Unmanned Aerial Vehicles. Comput. Netw. 2021, 187, 107819. [Google Scholar] [CrossRef]
- Torky, M.; Hassanein, A.E. Integrating blockchain and the internet of things in precision agriculture: Analysis, opportunities, and challenges. Comput. Electron. Agric. 2020, 178, 105476. [Google Scholar] [CrossRef]
- Vangala, A.; Das, A.K.; Kumar, N.; Alazab, M. Smart Secure Sensing for IoT-Based Agriculture: Blockchain Perspective. IEEE Sens. J. 2021, 21, 17591–17607. [Google Scholar] [CrossRef]
- Dineva, K.; Atanasova, T. Design of Scalable IoT Architecture Based on AWS for Smart Livestock. Animals 2021, 11, 2697. [Google Scholar] [CrossRef]
Year | Authors | Main Focus/Contribution | Real-Time Response | Blockchain-Based | Review/Method |
---|---|---|---|---|---|
2022 | [10] | A security-monitoring framework prototype for smart farms | Yes | Yes | Method |
2020 | [24] | Challenges of security and privacy issues in green IoT-based agriculture | No | Yes | Review |
2021 | [25] | A comprehensive review of emerging technologies for IoT-based smart agriculture | No | No | Review |
2020 | [26] | Optimization of data storage, processing, and mining of large amounts of data generated in the agricultural production process | Yes | No | Method |
2016 | [27] | Solutions for privacy during communication between end sensors and devices and the controller | No | No | Method |
2018 | [28] | A scalable network architecture for monitoring and controlling agriculture and rural areas | No | No | Method |
2019 | [29] | A framework for device management and resilience to attacks on the smart city network | No | Yes | Method |
2022 | [30] | A tamper-resistant authentication scheme for IoT devices using Constrained Application Protocol (CoAP) | No | No | Method |
2023 | [31] | A novel blockchain-centric IoT architecture to enable effective management of IoT data communications. | No | Yes | Method |
2021 | [32] | A framework for poisoning attack prevention | No | Yes | Method |
2020 | [33] | Novel blockchain models as solutions to major challenges in IoT-based precision agricultural systems | No | Yes | Review |
2021 | [34] | Examining the most recent systems that use blockchain technology to provide information security | No | Yes | Review |
2023 | Our Work | A framework for poisoning attack detection | Yes | Yes | Method |
Time Taken to Induce Device Alarm (In Seconds) | Number of Accepted Blockchain Transactions on Smart Farming Requests | Testing Phases |
---|---|---|
4.78 | 189,000 | 1 |
6.79 | 114,900 | 2 |
6.12 | 109,450 | 3 |
4.89 | 176,000 | 4 |
3.33 | 194,670 | 5 |
1.02 | 290,786 | 6 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Aliyu, A.A.; Liu, J. Blockchain-Based Smart Farm Security Framework for the Internet of Things. Sensors 2023, 23, 7992. https://doi.org/10.3390/s23187992
Aliyu AA, Liu J. Blockchain-Based Smart Farm Security Framework for the Internet of Things. Sensors. 2023; 23(18):7992. https://doi.org/10.3390/s23187992
Chicago/Turabian StyleAliyu, Ahmed Abubakar, and Jinshuo Liu. 2023. "Blockchain-Based Smart Farm Security Framework for the Internet of Things" Sensors 23, no. 18: 7992. https://doi.org/10.3390/s23187992
APA StyleAliyu, A. A., & Liu, J. (2023). Blockchain-Based Smart Farm Security Framework for the Internet of Things. Sensors, 23(18), 7992. https://doi.org/10.3390/s23187992