张慧 钱丽萍 汪立东 袁辰 张婷



摘 要: 针对恶意网址检测系统的特征选择和降维问题,基于特征选择方法的优化结果提出多种特征子集。利用基于分类器的准确率和召回率等性能评价指标,采用随机森林、贝叶斯网络、J48、随机树机器学习方法,对信息增益、卡方校验、信息增益率、基于Relief值、基于OneR分类器、基于关联性规则、基于相关性等多种特征选择算法所确定的特征子集进行检测。结果表明,除基于相关性特征选择算法确定的特征子集外,其他方法确定的特征子集均具有良好的分类性能,其中基于关联性规则选择的特征子集的维度仅为5,但各分类器基于此特征子集的分类准确率均高达99%以上。
关键词: 网络安全; 恶意网址检测; 特征提取; 特征选择; 特征子集; 信息安全
中图分类号: TN915.08?34; TP391 文献标识码: A 文章编号: 1004?373X(2019)09?0060?05
Broad?spectrum feature selection and evaluation for malicious URLs detection
ZHANG Hui, QIAN Liping, WANG Lidong, YUAN Chen, ZHANG Ting
(College of Electrical and Information Engineering, Beijing University of Civil Engineering and Architecture, Beijing 100044, China)
Abstract: The multiple feature subsets are proposed based on the optimization results of feature selection method to solve the problems of feature selection and dimension reduction for malicious URLs detection system. The classifier?based performance evaluation indicators such as accuracy rate and recall rate, and machine learning method using random forest, Bayesian network, J48, random tree are used to detect the feature subsets determined by information gain, Chi?square verification, information gain radio, and multi?feature selection algorithms based on Relief value, OneR classifier, correction rule and correction attribute evaluation. The results show that, except the feature subset determined by the algorithm based on correction attribute evaluation, the feature subsets determined by other feature selection algorithms have high classification performance, in which the dimensionality of feature subset determined by the algorithm based on correlation rule is only 5, but the classification accuracy rate of all the classifiers based on this feature subset can reach up to 99%.
Keywords: network security; malicious URL detection; feature extraction; feature selection; feature subset; information security
0 引 言
互联网及其应用快速发展,有力地支撑了社会经济民生的运转。人们在享受互联网便利的同时,也深受网页篡改、网页后门、网页仿冒、驱动开发、网络钓鱼、点击欺诈、僵尸网络(Botnet)、分布式拒绝服务(DDoS)[1]等安全威胁,它们通过欺骗用户访问恶意网址(Uniform Resource Locators,URLs),获取用户的银行账号、密码、身份证号等敏感信息,严重危害到用户的信息财产安全。CNCERT/CC2016年度安全报告显示,360公司攔截钓鱼攻击279.5亿次,被篡改网站8.3万个。2017年上半年,国际反钓鱼工作组(APWG)报告已检测到钓鱼网站共29万余个,瑞星在全球范围内截获5 020万个恶意URLs。
为了保护用户的上网安全,Google Chrome和Windows IE等主流浏览器会采用URL黑名单机制比对用户访问网页URLs,当用户访问黑名单中的URL时会立即停止访问并向用户发出警告。……