arrow
Return

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
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Malicious webshells
Abstract syntax tree
Explicit duration recurrent network
Opcode sequences
Recurrent neural network

Journal

C
Computers and Security
IF:
5.4
Papers:
4.6K
Citations:
1.4W

Organization

G
Guangzhou University
Scholars:
1.8W
Papers: 1.3W
Citations: 1.8W
G
Guangdong University of Foreign Studies
Scholars:
1.3K
Papers: 1.4K
Citations: 1.5K
Cited Papers

Cited Papers

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
errShare
errSave
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
errShare
errSave
errShare
errSave
Handling webshell attacks: A systematic mapping and survey
err2021-09-01
err13
PREAI
errHannousse, Abdelhakim; Yahiouche, Salima
errShare
errSave
errShare
errSave
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
errShare
errSave
errShare
errSave
<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
errShare
errSave
researcher View more