arrow
返回

PHP-based malicious webshell detection based on abstract syntax tree simplification and explicit duration recurrent networks

delete2024-11-01
delete0
PRE
AI
B
Bailin Xie *
Q
Qi Li
Y
Yu Wang
DOI:10.1016/j.cose.2024.104049delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Malicious webshells are the most common attack scripts used by attackers in web penetration. Attackers typically obfuscate strings of PHP-based malicious webshells and encrypt communication traffic to bypass security devices. In this case, the opcode sequences of the PHP-based malicious webshells become excessively long and contain many irrelevant features, which affect the efficacy of the detection method. This study proposes a new PHP-based malicious webshell detection method. The proposed method introduces three simplification strategies for the three main types of nodes in the abstract syntax trees of PHP scripts to reduce the length and noise of opcode sequences of PHP-based malicious webshells. An explicit duration recurrent network (EDRN), a recurrent neural network based on an extended hidden semi-Markov model, is used to detect malicious webshells. Word2vec is adopted to convert the opcode sequences of the PHP scripts into vectors that serve as the input for the EDRN. Experiments were conducted using public datasets collected from GitHub. The experimental results indicated that EDRN outperformed popular recurrent neural networks. The proposed method demonstrated superior performance compared with several state-of-the-art approaches and mainstream tools, achieving an accuracy of 0.993, an F1 score of 0.990, and a recall rate of 0.991. When only 20% of the datasets were used for training, the proposed method achieved accuracy, recall, and F1 scores of 0.985, 0.983, and 0.980, respectively, significantly outperforming existing approaches.
Keyword:
Malicious webshells
Abstract syntax tree
Explicit duration recurrent network
Opcode sequences
Recurrent neural network

期刊

C
Computers and Security
IF:
5.4
论文数:
4.6K
被引数:
1.4W

机构

G
Guangzhou University
学者数:
1.8W
论文数: 1.3W
被引数: 1.8W
G
Guangdong University of Foreign Studies
学者数:
1.3K
论文数: 1.4K
被引数: 1.5K
引用论文

引用论文

Metal and Metalloid‐Induced Oxidative Damage: Biological Importance of Potential Antioxidants
err2018-07-25
err0
errOAAI
errMaria Fernanda Hornos Carneiro; Gustavo Rafael Mazzaron Barcelos; Fernando Barbosa; Joseph Adeyemi; Glenda Gobe
err分享
err收藏
ShellBreaker: Automatically detecting PHP-based malicious web shells
err2019-11-01
err16
errOAAI
errLi, Yu; Huang, Jin; Ikusan, Ademola; Mitchell, Milliken; Zhang, Junjie; Dai, Rui
err分享
err收藏
err分享
err收藏
Handling webshell attacks: A systematic mapping and survey
err2021-09-01
err13
PREAI
errHannousse, Abdelhakim; Yahiouche, Salima
err分享
err收藏
err分享
err收藏
Webshell Traffic Detection With Character-Level Features Based on Deep Learning
err2018-01-01
err30
errOAAI
errZhang, Hua; Guan, Hongchao; Yan, Hanbing; Li, Wenmin; Yu, Yuqi; Zhou, Hao; Zeng, Xingyu
err分享
err收藏
err分享
err收藏
<p>Genetic Polymorphisms of Cytokines Might Affect Postoperative Sufentanil Dosage for Analgesia in Patients</p>
err2020-06-01
err0
errOAAI
errJian Guo; Fei Yuan; Yixin Yang; Yunze Li; Fangping Bao; Xuejiao Guo; Zhiying Feng
err分享
err收藏
学者 查看更多内容