Detection of false position attacks in VANETs through bagging ensemble learning
Open Access
- 1 August 2025
- journal article
- research article
- Published by Public Library of Science (PLoS) in PLOS ONE
- Vol. 20 (8) , e0328829
Abstract
Vehicular Ad-hoc Networks (VANETs) are critical to Intelligent Transportation Systems (ITS), enabling vehicle-to-vehicle (V2V) and vehicle-to-infrastructure (V2I) communication to improve road safety and traffic flow. However, VANETs face significant security threats, particularly position falsification attacks, where malicious nodes disseminate false Basic Safety Messages (BSMs). This study proposes an ensemble learning framework to detect such attacks, leveraging Decision Tree (CART), Random Forest, K-Nearest Neighbors (KNN), and Multilayer Perceptron (MLP) classifiers enhanced with bagging. Using the VeReMi dataset, our RSU-level detection system analyzes sequential BSMs to detect malicious behavior. Results demonstrate that KNN with bagging achieves perfect precision, recall, accuracy, and F1 score (100%) for Attack 1, while maintaining near-perfect performance for complex attacks like Attack 2 (99.87% accuracy) and Attack 16 (97.85% accuracy). Decision Tree with bagging also performs well for simpler attacks but experiences a slight decline for highly complex scenarios. Random Forest with bagging excels in simpler attacks but struggles with complex patterns. MLP with bagging shows strong results for simpler attacks but underperforms in complex scenarios. The proposed framework highlights the effectiveness of ensemble techniques, particularly KNN with bagging, in safeguarding VANET communication systems, offering a scalable, efficient, and robust solution for VANET security.Keywords
This publication has 29 references indexed in Scilit:
- Artificial Intelligence, Internet of things and 6G methodologies in the context of Vehicular Ad-hoc Networks (VANETs): SurveyICT Express, 2024
- Cluster-based multicast optimized routing in VANETs using elite knowledge-based genetic algorithmKnowledge-Based Systems, 2024
- Comparative performance analysis of K-nearest neighbour (KNN) algorithm and its different variants for disease predictionScientific Reports, 2022
- A survey of privacy-preserving mechanisms for heterogeneous data typesComputer Science Review, 2021
- The research of traffic density extraction method under vehicular ad hoc network environmentJournal of Intelligent and Connected Vehicles, 2019
- A comparative study on routing protocols for VANETsHeliyon, 2019
- Machine Learning Based Approach to Detect Position Falsification Attack in VANETs2019
- Biofabrication of Vascular Networks2015
- Cryptography2003
- Random ForestsMachine Learning, 2001