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
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篇论文的施引文献,订阅后可以查看论文全部施引文献