IEEE Access (Jan 2019)

Webshell Detection Based on the Word Attention Mechanism

  • Tingting Li,
  • Chunhui Ren,
  • Yusheng Fu,
  • Jie Xu,
  • Jinhong Guo,
  • Xinyu Chen

DOI
https://doi.org/10.1109/ACCESS.2019.2959950
Journal volume & issue
Vol. 7
pp. 185140 – 185147

Abstract

Read online

Webshell is a backdoor web page-based program. Malicious attackers obtain some privileges through the Webshell so as to realize the operation and control of the website. However, due to confusion coding technology, Webshell detection becomes difficult. This paper presents a Webshell detection model based on the word attention mechanism. In the model, we mainly focus on intra-line word association. After using Word2vec to vectorize the words, we use GRU (Gated Recursive Unit) and the attention mechanism to train and detect the samples. The experimental results show that the model has a high detection rate and low loss function.

Keywords