An Optimized Machine Learning Framework for Multiclass IoT Attack Detection with Emphasis on Spoofing Attacks

  • Unique Paper ID: 208503
  • Volume: 13
  • Issue: 4
  • PageNo: 2232-2239
  • Abstract:
  • The rapid growth of Internet of Things (IoT) networks has increased their exposure to cyberattacks, particularly spoofing attacks that exploit device and communication identities. Machine-learning-based intrusion detection can identify malicious traffic. however, class imbalance and high-dimensional features can limit minority-class detection. This paper proposes a class-aware machine-learning framework for multiclass IoT attack detection using the CIC IoT 2023 dataset. The framework performs preprocessing, label encoding, stratified train-test partitioning, and feature selection using Random Forest feature importance and Mutual Information. Complete and selected feature sets are evaluated using Random Forest, XGBoost, LightGBM, and CatBoost, with XGBoost selected for further analysis. A class-aware training strategy limits highly represented classes while retaining available minority-class samples. The final model is evaluated using classification metrics, confusion-matrix and per-class analysis, with specific evaluation of DNS Spoofing and MITM-ArpSpoofing. The results show that the class-aware strategy improves minority-class detection while maintaining strong overall multiclass performance.

Copyright & License

Copyright © 2026 Authors retain the copyright of this article. This article is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

BibTeX

@article{208503,
        author = {Kukkala Durga Prameela and Y. Sudheer Kumar},
        title = {An Optimized Machine Learning Framework for Multiclass IoT Attack Detection with Emphasis on Spoofing Attacks},
        journal = {International Journal of Innovative Research in Technology},
        year = {2026},
        volume = {13},
        number = {4},
        pages = {2232-2239},
        issn = {2349-6002},
        url = {https://ijirt.org/article?manuscript=208503},
        abstract = {The rapid growth of Internet of Things (IoT) networks has increased their exposure to cyberattacks, particularly spoofing attacks that exploit device and communication identities. Machine-learning-based intrusion detection can identify malicious traffic. however, class imbalance and high-dimensional features can limit minority-class detection. This paper proposes a class-aware machine-learning framework for multiclass IoT attack detection using the CIC IoT 2023 dataset. The framework performs preprocessing, label encoding, stratified train-test partitioning, and feature selection using Random Forest feature importance and Mutual Information. Complete and selected feature sets are evaluated using Random Forest, XGBoost, LightGBM, and CatBoost, with XGBoost selected for further analysis. A class-aware training strategy limits highly represented classes while retaining available minority-class samples. The final model is evaluated using classification metrics, confusion-matrix and per-class analysis, with specific evaluation of DNS Spoofing and MITM-ArpSpoofing. The results show that the class-aware strategy improves minority-class detection while maintaining strong overall multiclass performance.},
        keywords = {Internet of Things (IoT), Intrusion Detection System (IDS), Spoofing Attack Detection, CIC IoT 2023, Machine Learning, XGBoost, Feature Selection, Class Imbalance.},
        month = {September},
        }

Cite This Article

Prameela, K. D., & Kumar, Y. S. (2026). An Optimized Machine Learning Framework for Multiclass IoT Attack Detection with Emphasis on Spoofing Attacks. International Journal of Innovative Research in Technology (IJIRT), 13(4), 2232–2239.

Related Articles