Application Research of BiLSTM in Cross-Site Scripting Detection
At present, machine learning methods are used in the most traditional cross-site scripting (XSS) detection technologies, which have some defects, such as bad readability because of maliciously confused code, insufficient feature extraction and low efficiency, resulting in poor performance. According...
Main Author: | |
---|---|
Format: | Article |
Language: | zho |
Published: |
Journal of Computer Engineering and Applications Beijing Co., Ltd., Science Press
2020-08-01
|
Series: | Jisuanji kexue yu tansuo |
Subjects: | |
Online Access: | http://fcst.ceaj.org/CN/abstract/abstract2329.shtml |
_version_ | 1819112385366982656 |
---|---|
author | CHENG Qiqin, WAN Liang |
author_facet | CHENG Qiqin, WAN Liang |
author_sort | CHENG Qiqin, WAN Liang |
collection | DOAJ |
description | At present, machine learning methods are used in the most traditional cross-site scripting (XSS) detection technologies, which have some defects, such as bad readability because of maliciously confused code, insufficient feature extraction and low efficiency, resulting in poor performance. According to these problems, a way used bidirectional long-short term memory (BiLSTM) network is proposed to detect the XSS attack. First, the data need to be preprocessed, the decoding technology is used to restore the XSS codes to the state before encoding to improve the readability, and the deep learning tool word2vec is used to convert the decoded codes into vectors as the input of the neural network. Then, BiLSTM network is used to bilaterally learn the abstract features of the attack. Finally, the softmax classifier is used to classify the learned abstract features and the dropout algorithm is used to avoid over fitting. The experimental results based on the collected datasets show that compared with several traditional machine learning methods and deep learning methods, this method has better detection performance. |
first_indexed | 2024-12-22T04:12:40Z |
format | Article |
id | doaj.art-6f044e79371e49aeacd85fe6d1c361c4 |
institution | Directory Open Access Journal |
issn | 1673-9418 |
language | zho |
last_indexed | 2024-12-22T04:12:40Z |
publishDate | 2020-08-01 |
publisher | Journal of Computer Engineering and Applications Beijing Co., Ltd., Science Press |
record_format | Article |
series | Jisuanji kexue yu tansuo |
spelling | doaj.art-6f044e79371e49aeacd85fe6d1c361c42022-12-21T18:39:29ZzhoJournal of Computer Engineering and Applications Beijing Co., Ltd., Science PressJisuanji kexue yu tansuo1673-94182020-08-011481338134710.3778/j.issn.1673-9418.1909035Application Research of BiLSTM in Cross-Site Scripting DetectionCHENG Qiqin, WAN Liang01. College of Computer Science and Technology, Guizhou University, Guiyang 550025, China 2. Institute of Computer Software and Theory, Guizhou University, Guiyang 550025, ChinaAt present, machine learning methods are used in the most traditional cross-site scripting (XSS) detection technologies, which have some defects, such as bad readability because of maliciously confused code, insufficient feature extraction and low efficiency, resulting in poor performance. According to these problems, a way used bidirectional long-short term memory (BiLSTM) network is proposed to detect the XSS attack. First, the data need to be preprocessed, the decoding technology is used to restore the XSS codes to the state before encoding to improve the readability, and the deep learning tool word2vec is used to convert the decoded codes into vectors as the input of the neural network. Then, BiLSTM network is used to bilaterally learn the abstract features of the attack. Finally, the softmax classifier is used to classify the learned abstract features and the dropout algorithm is used to avoid over fitting. The experimental results based on the collected datasets show that compared with several traditional machine learning methods and deep learning methods, this method has better detection performance.http://fcst.ceaj.org/CN/abstract/abstract2329.shtmlcross-site scripting (xss)decoding techniquesword2vecbidirectional long-short term memory network (bilstm) |
spellingShingle | CHENG Qiqin, WAN Liang Application Research of BiLSTM in Cross-Site Scripting Detection Jisuanji kexue yu tansuo cross-site scripting (xss) decoding techniques word2vec bidirectional long-short term memory network (bilstm) |
title | Application Research of BiLSTM in Cross-Site Scripting Detection |
title_full | Application Research of BiLSTM in Cross-Site Scripting Detection |
title_fullStr | Application Research of BiLSTM in Cross-Site Scripting Detection |
title_full_unstemmed | Application Research of BiLSTM in Cross-Site Scripting Detection |
title_short | Application Research of BiLSTM in Cross-Site Scripting Detection |
title_sort | application research of bilstm in cross site scripting detection |
topic | cross-site scripting (xss) decoding techniques word2vec bidirectional long-short term memory network (bilstm) |
url | http://fcst.ceaj.org/CN/abstract/abstract2329.shtml |
work_keys_str_mv | AT chengqiqinwanliang applicationresearchofbilstmincrosssitescriptingdetection |