arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.10286cs.CRcs.LG
收藏

基于网格搜索方法优化的Hist Gradient Boosting Classifier的恶意URL检测

Malicious URL Detection using optimized Hist Gradient Boosting Classifier based on grid search method

Universiti Kebangsaan Malaysia(马来西亚国立大学);University of Birjand(比尔詹德大学);Technical and Vocational University(技术职业大学)

Mohammad Maftoun, Nima Shadkam, Seyedeh Somayeh Salehi Komamardakhi, Zulkefli Mansor, Javad Hassannataj Joloudari

AI总结:

本文针对恶意URL检测问题,提出基于网格搜索优化的多种机器学习方法,并在1781条网站数据上验证HGBC分类器在准确率、F1分数和AUC等指标上表现最优。

摘要:

由于恶意网站可能出于非法目的收集信息,信任在线平台输入数据的准确性变得困难。面对此类恶意站点的存在,逐一分析每个网站变得具有挑战性,使得高效地将所有统一资源定位符(URL)列入黑名单难以实现。这一持续存在的挑战凸显了采取强有力安全措施以防范潜在威胁和未授权数据收集的迫切需求。为了检测恶意网站带来的风险,提出使用基于机器学习(ML)的技术。为此,我们使用了多种ML技术,如Hist Gradient Boosting Classifier(HGBC)、K-Nearest Neighbor(KNN)、Logistic Regression(LR)、Decision Tree(DT)、Random Forest(RF)、Multi-Layer Perceptron(MLP)、Light Gradient Boosting Machine(LGBM)和Support Vector Machine(SVM),用于对良性和恶意网站数据集进行检测。所使用的数据集包含1781条恶意和良性网站数据记录,具有13个特征。首先,我们研究了数据集上的缺失值填补。然后,通过缩放到0到1的范围对该数据进行归一化。接下来,由于数据集不平衡,我们利用Synthetic Minority Oversampling Technique(SMOTE)来平衡训练数据。之后,我们将ML算法应用于平衡后的训练集。同时,所有算法均基于网格搜索进行优化。最后,基于准确率、精确率、召回率、F1分数和Area Under the Curve(AUC)指标对模型进行评估。结果表明,与其他分类器相比,HGBC分类器在上述指标方面具有最佳性能。

英文摘要:

Trusting the accuracy of data inputted on online platforms can be difficult due to the possibility of malicious websites gathering information for unlawful reasons. Analyzing each website individually becomes challenging with the presence of such malicious sites, making it hard to efficiently list all Uniform Resource Locators (URLs) on a blacklist. This ongoing challenge emphasizes the crucial need for strong security measures to safeguard against potential threats and unauthorized data collection. To detect the risk posed by malicious websites, it is proposed to utilize Machine Learning (ML)-based techniques. To this, we used several ML techniques such as Hist Gradient Boosting Classifier (HGBC), K-Nearest Neighbor (KNN), Logistic Regression (LR), Decision Tree (DT), Random Forest (RF), Multi-Layer Perceptron (MLP), Light Gradient Boosting Machine (LGBM), and Support Vector Machine (SVM) for detection of the benign and malicious website dataset. The dataset used contains 1781 records of malicious and benign website data with 13 features. First, we investigated missing value imputation on the dataset. Then, we normalized this data by scaling to a range of zero and one. Next, we utilized the Synthetic Minority Oversampling Technique (SMOTE) to balance the training data since the data set was unbalanced. After that, we applied ML algorithms to the balanced training set. Meanwhile, all algorithms were optimized based on grid search. Finally, the models were evaluated based on accuracy, precision, recall, F1 score, and the Area Under the Curve (AUC) metrics. The results demonstrated that the HGBC classifier has the best performance in terms of the mentioned metrics compared to the other classifiers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑