Resolving Cross-Site Scripting Attacks through Fusion Verification and Machine Learning

Author:

Lu Jiazhong,Wei ZhitanORCID,Qin Zhi,Chang Yan,Zhang ShibinORCID

Abstract

The frequent variations of XSS (cross-site scripting) payloads make static and dynamic analysis difficult to detect effectively. In this paper, we proposed a fusion verification method that combines traffic detection with XSS payload detection, using machine learning to detect XSS attacks. In addition, we also proposed seven new payload features to improve detection efficiency. In order to verify the effectiveness of our method, we simulated and tested 20 public CVE (Common Vulnerabilities and Exposures) XSS attacks. The experimental results show that our proposed method has better accuracy than the single traffic detection model. Among them, the recall rate increased by an average of 48%, the F1 score increased by an average of 27.94%, the accuracy rate increased by 9.29%, and the accuracy rate increased by 3.81%. Moreover, the seven new features proposed in this paper account for 34.12% of the total contribution rate of the classifier.

Funder

National Key R&D Program of China

National Natural Science Foundation of China

Publisher

MDPI AG

Subject

General Mathematics,Engineering (miscellaneous),Computer Science (miscellaneous)

Reference24 articles.

1. An ensemble learning approach for XSS attack detection with domain knowledge and threat intelligence

2. OWASP Top Ten https://owasp.org/www-project-top-ten/

3. Detecting and Removing Web Application Vulnerabilities with Static Analysis and Data Mining

4. HXD: Hybrid XSS detection by using a headless browser;Choi;Proceedings of the 2017 4th International Conference on Computer Applications and Information Processing Technology (CAIPT),2017

5. Automated detecting and repair of cross-site scripting vulnerabilities;Mohammadi;arXiv,2018

Cited by 8 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. A Proactive Approach for Detecting SQL and XSS Injection Attacks;2024 3rd International Conference on Applied Artificial Intelligence and Computing (ICAAIC);2024-06-05

2. An efficient artificial intelligence approach for early detection of cross-site scripting attacks;Decision Analytics Journal;2024-06

3. Safeguarding Web Environments Through Supervised Learning-Based Cross-Site Scripting Detection;2023 3rd International Conference on Smart Generation Computing, Communication and Networking (SMART GENCON);2023-12-29

4. Stochastic dynamics of a plankton model with zooplankton selectivity and nutritional value of phytoplankton;Journal of Applied Mathematics and Computing;2023-12-22

5. Machine and Deep Learning-based XSS Detection Approaches: A Systematic Literature Review;Journal of King Saud University - Computer and Information Sciences;2023-07

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3