Toward a Deep Learning Approach for Detecting PHP Webshell

被引:14
|
作者
Ngoc-Hoa Nguyen [1 ]
Viet-Ha Le [2 ]
Van-On Phung [2 ]
Phuong-Hanh Du [1 ]
机构
[1] VNU Univ Engn & Technol, Hanoi, Vietnam
[2] Off Govt, Hanoi, Vietnam
关键词
pattern matching; yara rules; deep learning; CNN; opcode sequence; web shell detection;
D O I
10.1145/3368926.3369733
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The most efficient way of securing Web applications is searching and eliminating threats therein (from both malwares and vulnerabilities). In case of having Web application source codes, Web security can be improved by performing the task to detecting malicious codes, such as Web shells. In this paper, we proposed a model using a deep learning approach to detect and identify the malicious codes inside PHP source files. Our method relies on (i) pattern matching techniques by applying Yara rules to build a malicious and benign datasets, (ii) converting the PHP source codes to a numerical sequence of PHP opcodes and (iii) applying the Convolutional Neural Network model to predict a PHP file whether embedding a malicious code such as a webshell. Thus, we validate our approach with different webshell collections from reliable source published in Github. The experiment results show that the proposed method achieved the accuracy of 99.02% with 0.85% false positive rate.
引用
收藏
页码:514 / 521
页数:8
相关论文
共 50 条
  • [1] MSDetector: A Static PHP Webshell Detection System Based on Deep-Learning
    Cheng, Baijun
    Guo, Yanhui
    Ren, Yan
    Yang, Gang
    Xu, Guosheng
    THEORETICAL ASPECTS OF SOFTWARE ENGINEERING, TASE 2022, 2022, 13299 : 155 - 172
  • [2] WSLD: Detecting Unknown Webshell Using Fuzzy Matching and Deep Learning
    Zhao, Zihao
    Liu, Qixu
    Song, Tiantian
    Wang, Zhi
    Wu, Xianda
    INFORMATION AND COMMUNICATIONS SECURITY (ICICS 2019), 2020, 11999 : 725 - 745
  • [3] PHP webshell实时动态检测
    杜海章
    方勇
    网络安全技术与应用, 2014, (12) : 120 - 121+125
  • [4] Obfuscated PHP Webshell Detection Using the Webshell Tailored TextRank Algorithm
    Lee, Hye Ju
    Hwang, Seon-Jin
    Pratiwi, Millati
    Choi, Yoon-Ho
    39TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2024, 2024, : 1358 - 1365
  • [5] WebShell Detection Based on CodeBERT and Deep Learning Model
    Wang, Guan-Yu
    Ko, Hung-Jui
    Chiang, Chang-Po
    Wang, Wei-Jen
    2024 5TH INTERNATIONAL CONFERENCE ON COMPUTING, NETWORKS AND INTERNET OF THINGS, CNIOT 2024, 2024, : 484 - 489
  • [6] 一种PHP WebShell检测技术
    张章
    吴震东
    科技展望, 2017, (16) : 122+246 - 122+246
  • [7] WTA: A Static Taint Analysis Framework for PHP Webshell
    Zhao, Jiazhen
    Lu, Yuliang
    Wang, Xin
    Zhu, Kailong
    Yu, Lu
    APPLIED SCIENCES-BASEL, 2021, 11 (16):
  • [8] 基于PHP扩展的webshell检测研究
    康志辉
    科技传播, 2015, 7 (19) : 123 - 124
  • [9] GlareShell: Graph learning-based PHP webshell detection for web server of industrial internet
    Feng, Pengbin
    Wei, Dawei
    Li, Qiaoyang
    Wang, Qin
    Hu, Youbing
    Xi, Ning
    Ma, Jianfeng
    COMPUTER NETWORKS, 2024, 245
  • [10] An End-to-End Detection Method for WebShell with Deep Learning
    Qi, Longchen
    Kong, Rui
    Lu, Yang
    Zhuang, Honglin
    2018 EIGHTH INTERNATIONAL CONFERENCE ON INSTRUMENTATION AND MEASUREMENT, COMPUTER, COMMUNICATION AND CONTROL (IMCCC 2018), 2018, : 660 - 665