Visible to the public DeepXSS: Cross Site Scripting Detection Based on Deep Learning

TitleDeepXSS: Cross Site Scripting Detection Based on Deep Learning
Publication TypeConference Paper
Year of Publication2018
AuthorsFang, Yong, Li, Yang, Liu, Liang, Huang, Cheng
Conference NameProceedings of the 2018 International Conference on Computing and Artificial Intelligence
Date PublishedMarch 2018
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-6419-5
Keywordsartificial intelligence security, composability, Cross Site Scripting, Cross Site Scripting (XSS), Deep Learning, Human Behavior, LSTM, Metrics, pubcrawl, Resiliency, Scalability, web security, Word2Vec
Abstract

Nowadays, Cross Site Scripting (XSS) is one of the major threats to Web applications. Since it's known to the public, XSS vulnerability has been in the TOP 10 Web application vulnerabilities based on surveys published by the Open Web Applications Security Project (OWASP). How to effectively detect and defend XSS attacks are still one of the most important security issues. In this paper, we present a novel approach to detect XSS attacks based on deep learning (called DeepXSS). First of all, we used word2vec to extract the feature of XSS payloads which captures word order information and map each payload to a feature vector. And then, we trained and tested the detection model using Long Short Term Memory (LSTM) recurrent neural networks. Experimental results show that the proposed XSS detection model based on deep learning achieves a precision rate of 99.5% and a recall rate of 97.9% in real dataset, which means that the novel approach can effectively identify XSS attacks.

URLhttps://dl.acm.org/doi/10.1145/3194452.3194469
DOI10.1145/3194452.3194469
Citation Keyfang_deepxss:_2018