EconPapers    
Economics at your fingertips  
 

RLXSS: Optimizing XSS Detection Model to Defend Against Adversarial Attacks Based on Reinforcement Learning

Yong Fang, Cheng Huang, Yijia Xu and Yang Li
Additional contact information
Yong Fang: College of Cybersecurity, Sichuan University, Chengdu 610065, Sichuan, China
Cheng Huang: College of Cybersecurity, Sichuan University, Chengdu 610065, Sichuan, China
Yijia Xu: College of Cybersecurity, Sichuan University, Chengdu 610065, Sichuan, China
Yang Li: College of Electronics and Information Engineering, Sichuan University, Chengdu 610065, Sichuan, China

Future Internet, 2019, vol. 11, issue 8, 1-13

Abstract: With the development of artificial intelligence, machine learning algorithms and deep learning algorithms are widely applied to attack detection models. Adversarial attacks against artificial intelligence models become inevitable problems when there is a lack of research on the cross-site scripting (XSS) attack detection model for defense against attacks. It is extremely important to design a method that can effectively improve the detection model against attack. In this paper, we present a method based on reinforcement learning (called RLXSS), which aims to optimize the XSS detection model to defend against adversarial attacks. First, the adversarial samples of the detection model are mined by the adversarial attack model based on reinforcement learning. Secondly, the detection model and the adversarial model are alternately trained. After each round, the newly-excavated adversarial samples are marked as a malicious sample and are used to retrain the detection model. Experimental results show that the proposed RLXSS model can successfully mine adversarial samples that escape black-box and white-box detection and retain aggressive features. What is more, by alternately training the detection model and the confrontation attack model, the escape rate of the detection model is continuously reduced, which indicates that the model can improve the ability of the detection model to defend against attacks.

Keywords: reinforcement learning; cross-site scripting; adversarial attacks; double deep Q network (search for similar items in EconPapers)
JEL-codes: O3 (search for similar items in EconPapers)
Date: 2019
References: View complete reference list from CitEc
Citations: View citations in EconPapers (2)

Downloads: (external link)
https://www.mdpi.com/1999-5903/11/8/177/pdf (application/pdf)
https://www.mdpi.com/1999-5903/11/8/177/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jftint:v:11:y:2019:i:8:p:177-:d:257579

Access Statistics for this article

Future Internet is currently edited by Ms. Grace You

More articles in Future Internet from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jftint:v:11:y:2019:i:8:p:177-:d:257579