The Internet of Vehicles (IoV) technology is one of the advancements derived from the Internet of Things (IoT) in the transportation sector, benefiting its users. However, the development of this technology cannot be separated from various security threats, particularly Denial of Service (DoS) and spoofing attacks. Given these threats, it is crucial to continuously develop methods used for detecting attacks on IoV systems. Several researchers have conducted research related to attacks and threats on IoV systems, and one such study resulted in a dataset called CICIoV2024. This dataset has an imbalanced class distribution. This study aims to examine the implementation of Random Under-Sampling to improve the performance of classification algorithms in detecting attacks on IoV systems. The algorithms used in this study include Decision Tree, K-Nearest Neighbors (KNN), and Random Forest. The test results show that the Random Forest algorithm achieved the best results with an accuracy of 98.5% and an F1-Score of 98.5%.
                        
                        
                        
                        
                            
                                Copyrights © 2025