Abstract
Smart agriculture is a popular domain due to its intensified growth in recent times. This domain aggregates the advantages of several computing technologies, where the IoT is the most popular and beneficial. In this work, a novel and effective deep learning-based framework is developed to detect intrusions in smart farming systems. The architecture is three-tier, with the first tier being the sensor layer, which involves the placement of sensors in agricultural areas. The second tier is the Fog Computing Layer (FCL), which consists of Fog nodes, and the proposed IDS is implemented in each Fog node. The gathered information is transferred to this fog layer for further data analysis. The third tier is the cloud computing layer, which provides data storage and end-to-end services. The proposed model includes a fused CNN model with the bidirectional gated recurrent unit (Bi-GRU) model to detect and classify intruders. An attention mechanism is included within the BiGRU model to find the key features responsible for identifying the DDoS attack. In addition, the accuracy of the classification model is improved by using a nature-inspired meta-heuristic optimization algorithm called the Wild Horse Optimization (WHO) algorithm. The last layer is the cloud layer, which collects data from fog nodes and offers storage services. The proposed system will be implemented in the Python platform, using ToN-IoT and APA-DDoS attack datasets for assessment. The proposed system outperforms the existing methods in accuracy (99.35%), detection rate (98.99%), precision (99.9%) and F-Score (99.08%) for the APA DDoS attack dataset and the achieved accuracy of the ToN-IoT dataset (99.71%), detection rate (99.02%), precision (99.89%) and F-score (99.05%).
Similar content being viewed by others
Data availability
The entire implementation of the work will be carried out in the Python platform. The major performance metrics such as accuracy, precision, recall, f-measure and ROC will be computed and compared with the recent techniques relevant to intrusion detection in IoT-enabled smart farming. The data that support this finding of this study are openly available at the following URL/https://www.unb.ca/cic/datasets/ddos-2019.html , https://cloudstor.aarnet.edu.au/plus/s/ds5zW91vdgjEj9i.
Code availability
The code that supports this finding of this study is openly available at the following URL/https://github.com/keerthikethineni/IDin-IOT-based-Smart-Farming-using-HDLF.git
References
Yang, X., Shu, L., Chen, J., Ferrag, M.A., Wu, J., Nurellari, E., Huang, K.: A survey on smart agriculture: development modes, technologies, and security and privacy challenges. IEEE/CAA J. Automatica Sinica. 8(2), 273–302 (2021)
de Araujo Zanella, A.R., da Silva, E., Albini, L.C.P.: Security challenges to smart agriculture: current state, key issues, and future directions. Array 8, 100048 (2020)
Kumar, P., Gupta, G.P., Tripathi, R.: PEFL: deep privacy-encoding-based federated learning framework for smart agriculture. IEEE Micro 42(1), 33–40 (2021)
Suhaimi, A.F., Yaakob, N., Saad, S.A., Sidek, K.A., Elshaikh, M.E., Dafhalla, A.K., Lynn, O.B., Almashor, M.: IoT based smart agriculture monitoring, automation and intrusion detection system. J. Phys.: Conf. Series, IOP Publish. 1962(1), 012016 (2021)
Fróna, D., Szenderák, J., Harangi-Rákos, M.: The challenge of feeding the world. Sustainability. 11(20), 5816 (2019)
Alsoufi, M.A., Razak, S., Siraj, M.M., Nafea, I., Ghaleb, F.A., Saeed, F., Nasser, M.: Anomaly-based intrusion detection systems in iot using deep learning: a systematic literature review. Appl. Sci. 11(18), 8383 (2021)
Cicioğlu, M., Çalhan, A.: Smart agriculture with Internet of things in cornfields. Comput. Electr. Eng. 90, 106982 (2021)
Ferrag, M.A., Shu, L., Friha, O., Yang, X.: Cyber security intrusion detection for agriculture 4.0: machine learning-based solutions, datasets, and future directions. IEEE/CAA J. Automatica Sinica. 9(3), 407–436 (2021)
Kumar, R., Mishra, R., Gupta, H.P., Dutta, T.: Smart sensing for agriculture: applications, advancements, and challenges. IEEE Consum. Electron. Magazine 10(4), 51–56 (2021)
Kumar, M., Vikas Reddy, S.: Intrusion detection and prevention system for Iot. Eur. J. Mol. Clin. Med. 7(8), 2983–2991 (2020)
Bhatt, H., Bhushan, B., Kumar, N.: IOT: The current scenario and role of sensors involved in smart agriculture. Int. J. Recent Technol. Eng. 8(4), 12011–12023 (2019)
Riaz, A.R., Gilani, S.M.M., Naseer, S., Alshmrany, S., Shafiq, M., Choi, J.G.: Applying adaptive security techniques for risk analysis of internet of things (IoT)-based smart agriculture. Sustainability 14(17), 10964 (2022)
Bhatnagar, V., Singh, G., Kumar, G., Gupta, R.: Internet of thingsin smart agriculture: applications and open challenges. Int. J. Stud. Res. Technol. Manage. 8(1), 11–17 (2020)
Yadahalli, S., Parmar, A. and Deshpande, A.: Smart intrusion detection system for crop protection by using Arduino. In 2020 Second International Conference on Inventive Research in Computing Applications (ICIRCA), IEEE. 405–408 (2020).
Murugesan, M.: Smart agriculture monitoring system. Turkish J. Comput. Math. Educ. 10(3), 1001–1005 (2019)
Tao, W., Zhao, L., Wang, G., Liang, R.: Review of the Internet of things communication technologies in smart agriculture and challenges. Comput. Electron. Agric. 189, 106352 (2021)
Shafiq, M., Tian, Z., Bashir, A.K., Jolfaei, A., Yu, X.: Data mining and machine learning methods for sustainable smart cities traffic classification: a survey. Sustain. Cities Soc. 60, 102177 (2020)
Shafiq, M., Tian, Z., Bashir, A.K., Du, X., Guizani, M.: CorrAUC: a malicious bot-IoT traffic detection method in IoT network using machine-learning techniques. IEEE Internet Things J. 8(5), 3242–3254 (2020)
Shafiq, M., Tian, Z., Bashir, A.K., Du, X., Guizani, M.: IoT malicious traffic identification using wrapper-based feature selection mechanisms. Comput. Secur. 94, 101863 (2020)
Kumar, K.N., Pillai, A.V. and Narayanan, M.B.: Smart agriculture using IoT. Materials Today: Proceedings. (2021).
Eskandari, M., Janjua, Z.H., Vecchio, M., Antonelli, F.: Passban IDS: An intelligent anomaly-based intrusion detection system for IoT edge devices. IEEE Int. Things J. 7(8), 6882–6897 (2020)
Salim, C. and Mitton, N. 2021 Image similarity based data reduction technique in wireless video sensor networks for smart agriculture. In International Conference on Advanced Information Networking and Applications, Springer, Cham.
Abraham, G., Raksha, R. and Nithya, M.: Smart Agriculture Based on IoT and Machine Learning. In 2021 5th International Conference on Computing Methodologies and Communication (ICCMC), IEEE. 414–419 (2021).
Ferrag, M.A., Shu, L., Djallel, H., Choo, K.K.R.: Deep learning-based intrusion detection for distributed denial of service attack in agriculture 4.0. Electronics 10(11), 1257 (2021)
Raghuvanshi, A., Singh, U.K., Sajja, G.S., Pallathadka, H., Asenso, E., Kamal, M., Singh, A., Phasinam, K.: Intrusion detection using machine learning for risk mitigation in IoT-enabled smart irrigation in smart farming. J. Food Quality. 2022, 1–8 (2022)
Moso, J.C., Cormier, S., de Runz, C., Fouchal, H., Wandeto, J.M.: Anomaly detection on data streams for smart agriculture. Agriculture 11(11), 1083 (2021)
Park, H., Park, V., Kim, S.: Anomaly detection of operating equipment in livestock farms using deep learning techniques. Electronics 10(16), 1958 (2021)
Thakur, D., Kumar, Y., Vijendra, S.: Smart irrigation and intrusions detection in agricultural fields using IoT. Procedia Computer Science. 167, 154–162 (2020)
https://www.kaggle.com/datasets/yashwanthkumbam/apaddos-dataset
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. 187, 107819 (2021)
Le, T.T.H., Oktian, Y.E., Kim, H.: XGBoost for imbalanced multiclass classification-based industrial Internet of things intrusion detection systems. Sustainability 14(14), 8707 (2022)
El-Ghamry, A., Darwish, A., Hassanien, A.E.: An optimized CNN-based Intrusion Detection system for reducing risks in smart farming. Int Things 22, 100709 (2023)
Zhao, Guosheng, Yang Wang, and Jian Wang. 2023 “Lightweight Intrusion Detection Model of the Internet of Things with Hybid Cloud-Fog Computing.” Security and Communication Networks 2023: 1–16.
Acknowledgements
We declare that this manuscript is original, has not been published before and is not currently being considered for publication elsewhere.
Funding
The authors have not disclosed any funding.
Author information
Authors and Affiliations
Contributions
K: conceptualization, Data Curation, Formal Analysis, Investigation, Resources, Software, Writing an original draft. P: Methodology, Project administration, Supervision, Validation, Visualization, Writing-Review & editing, Funding acquisition.
Corresponding author
Ethics declarations
Conflict of interest
There is no conflict of interest in the present research work.
Informed consent
Author and Co-author are well aware of the publication.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Kethineni, K., Pradeepini, G. Intrusion detection in internet of things-based smart farming using hybrid deep learning framework. Cluster Comput 27, 1719–1732 (2024). https://doi.org/10.1007/s10586-023-04052-4
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10586-023-04052-4