Next Article in Journal
A Pilot Study on Emotional Equivalence Between VR and Real Spaces Using EEG and Heart Rate Variability
Previous Article in Journal
Cross-Modal Data Fusion via Vision-Language Model for Crop Disease Recognition
Previous Article in Special Issue
From IOTA Tangle 2.0 to Rebased: A Comparative Analysis of Decentralization, Scalability, and Suitability for IoT Applications
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

Securing IoT Communications via Anomaly Traffic Detection: Synergy of Genetic Algorithm and Ensemble Method

Department of Science, Instituto de Telecomunicacoes, ISCTE-University Institute of Lisbon, 1649-026 Lisbon, Portugal
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(13), 4098; https://doi.org/10.3390/s25134098
Submission received: 24 March 2025 / Revised: 27 May 2025 / Accepted: 30 May 2025 / Published: 30 June 2025

Abstract

The rapid growth of the Internet of Things (IoT) has revolutionized various industries by enabling interconnected devices to exchange data seamlessly. However, IoT systems face significant security challenges due to decentralized architectures, resource-constrained devices, and dynamic network environments. These challenges include denial-of-service (DoS) attacks, anomalous network behaviors, and data manipulation, which threaten the security and reliability of IoT ecosystems. New methods based on machine learning have been reported in the literature, addressing topics such as intrusion detection and prevention. This paper proposes an advanced anomaly detection framework for IoT networks expressed in several phases. In the first phase, data preprocessing is conducted using techniques like the Median-KS Test to remove noise, handle missing values, and balance datasets, ensuring a clean and structured input for subsequent phases. The second phase focuses on optimal feature selection using a Genetic Algorithm enhanced with eagle-inspired search strategies. This approach identifies the most significant features, reduces dimensionality, and enhances computational efficiency without sacrificing accuracy. In the final phase, an ensemble classifier combines the strengths of the Decision Tree, Random Forest, and XGBoost algorithms to achieve the accurate and robust detection of anomalous behaviors. This multi-step methodology ensures adaptability and scalability in handling diverse IoT scenarios. The evaluation results demonstrate the superiority of the proposed framework over existing methods. It achieves a 12.5% improvement in accuracy (98%), a 14% increase in detection rate (95%), a 9.3% reduction in false positive rate (10%), and a 10.8% decrease in false negative rate (5%). These results underscore the framework’s effectiveness, reliability, and scalability for securing real-world IoT networks against evolving cyber threats.
Keywords: Internet of Things; genetic algorithm; XGBoost; anomaly detection; random forest Internet of Things; genetic algorithm; XGBoost; anomaly detection; random forest

Share and Cite

MDPI and ACS Style

Seyedi, B.; Postolache, O. Securing IoT Communications via Anomaly Traffic Detection: Synergy of Genetic Algorithm and Ensemble Method. Sensors 2025, 25, 4098. https://doi.org/10.3390/s25134098

AMA Style

Seyedi B, Postolache O. Securing IoT Communications via Anomaly Traffic Detection: Synergy of Genetic Algorithm and Ensemble Method. Sensors. 2025; 25(13):4098. https://doi.org/10.3390/s25134098

Chicago/Turabian Style

Seyedi, Behnam, and Octavian Postolache. 2025. "Securing IoT Communications via Anomaly Traffic Detection: Synergy of Genetic Algorithm and Ensemble Method" Sensors 25, no. 13: 4098. https://doi.org/10.3390/s25134098

APA Style

Seyedi, B., & Postolache, O. (2025). Securing IoT Communications via Anomaly Traffic Detection: Synergy of Genetic Algorithm and Ensemble Method. Sensors, 25(13), 4098. https://doi.org/10.3390/s25134098

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop