Open Access iconOpen Access


Internet of Things (IoT) Security Enhancement Using XGboost Machine Learning Techniques

Dana F. Doghramachi1,*, Siddeeq Y. Ameen2

1 Department of Information Systems Engineering Techniques, Erbil Technical Engineering College, Erbil Polytechnic University, Erbil, 44001, Iraq
2 Department of Energy Engineering, Technical College of Engineering, Duhok Polytechnic University, Duhok, 42001, Iraq

* Corresponding Author: Dana F. Doghramachi. Email: email

Computers, Materials & Continua 2023, 77(1), 717-732.


The rapid adoption of the Internet of Things (IoT) across industries has revolutionized daily life by providing essential services and leisure activities. However, the inadequate software protection in IoT devices exposes them to cyberattacks with severe consequences. Intrusion Detection Systems (IDS) are vital in mitigating these risks by detecting abnormal network behavior and monitoring safe network traffic. The security research community has shown particular interest in leveraging Machine Learning (ML) approaches to develop practical IDS applications for general cyber networks and IoT environments. However, most available datasets related to Industrial IoT suffer from imbalanced class distributions. This study proposes a methodology that involves dataset preprocessing, including data cleaning, encoding, and normalization. The class imbalance is addressed by employing the Synthetic Minority Oversampling Technique (SMOTE) and performing feature reduction using correlation analysis. Multiple ML classifiers, including Logistic Regression, multi-layer perceptron, Decision Trees, Random Forest, and XGBoost, are employed to model IoT attacks. The effectiveness and robustness of the proposed method evaluate using the IoTID20 dataset, which represents current imbalanced IoT scenarios. The results highlight that the XGBoost model, integrated with SMOTE, achieves outstanding attack detection accuracy of 0.99 in binary classification, 0.99 in multi-class classification, and 0.81 in multiple sub-classifications. These findings demonstrate our approach’s significant improvements to attack detection in imbalanced IoT datasets, establishing its superiority over existing IDS frameworks.


Cite This Article

APA Style
Doghramachi, D.F., Ameen, S.Y. (2023). Internet of things (iot) security enhancement using xgboost machine learning techniques. Computers, Materials & Continua, 77(1), 717-732.
Vancouver Style
Doghramachi DF, Ameen SY. Internet of things (iot) security enhancement using xgboost machine learning techniques. Comput Mater Contin. 2023;77(1):717-732
IEEE Style
D.F. Doghramachi and S.Y. Ameen, "Internet of Things (IoT) Security Enhancement Using XGboost Machine Learning Techniques," Comput. Mater. Contin., vol. 77, no. 1, pp. 717-732. 2023.

cc This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 395


  • 188


  • 0


Share Link