ATBShellFinder: A Bytecode-Level Webshell Detector Based on Adversarial Training

Webshell is a malicious server-side script that attackers can upload to a server to execute commands, steal sensitive data, and maintain persistent access. With the rapid evolution of evasion techniques, existing detection methods fail to effectively capture the contextual semantics and abstract features of webshell variants. This allows some webshells to evade detection and cause significant damage to target systems. To address these challenges, this study proposesATBShellFinder, an enhanced detection framework based on adversarial training. ATBShellFinder applies adversarial training techniques from computer vision to the embedding layer of the Bidirectional Encoder Representations from Transformers (BERT) to generate adversarial word embeddings. These adversarial embeddings are then combined with normal embeddings for model training, significantly improving the robustness and generalization of the model even with limited webshell samples. Furthermore, the framework performs detection at the bytecode level, which can effectively mitigate the interference of encryption and obfuscation, and introduces a bidirectional long short-term memory network (BiLSTM) as the detector. To validate the generalizability of our method, experiments were conducted on two widely used web programming languages. Experimental results demonstrate that ATBShellFinder achieves detection accuracy of 99.07% for PHP-based Webshells and 98.97% for Java-based Webshells, outperforming existing detection models and tools.

Authors

Institutions

Publication Details

Journal
IEEE Access
Published
2025-01-01
DOI
https://doi.org/10.1109/access.2025.3575263
Primary Topic
Web Data Mining and Analysis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ATBShellFinder: A Bytecode-Level Webshell Detector Based on Adversarial Training

Daofeng Li, Yuan Zhang, Yuqin Xie, guojin xiong
IEEE Access
Web Data Mining and Analysis
article

ATBShellFinder: A Bytecode-Level Webshell Detector Based on Adversarial Training

Daofeng Li, Yuan Zhang, Yuqin Xie, guojin xiong
article en

Abstract

Webshell is a malicious server-side script that attackers can upload to a server to execute commands, steal sensitive data, and maintain persistent access. With the rapid evolution of evasion techniques, existing detection methods fail to effectively capture the contextual semantics and abstract features of webshell variants. This allows some webshells to evade detection and cause significant damage to target systems. To address these challenges, this study proposesATBShellFinder, an enhanced detection framework based on adversarial training. ATBShellFinder applies adversarial training techniques from computer vision to the embedding layer of the Bidirectional Encoder Representations from Transformers (BERT) to generate adversarial word embeddings. These adversarial embeddings are then combined with normal embeddings for model training, significantly improving the robustness and generalization of the model even with limited webshell samples. Furthermore, the framework performs detection at the bytecode level, which can effectively mitigate the interference of encryption and obfuscation, and introduces a bidirectional long short-term memory network (BiLSTM) as the detector. To validate the generalizability of our method, experiments were conducted on two widely used web programming languages. Experimental results demonstrate that ATBShellFinder achieves detection accuracy of 99.07% for PHP-based Webshells and 98.97% for Java-based Webshells, outperforming existing detection models and tools.

IEEE AccessVol. 13
Guangxi University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 83%
Web Data Mining and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

ATBShellFinder: A Bytecode-Level Webshell Detector Based on Adversarial Training — Daofeng Li, Yuan Zhang, et al. · IEEE Access (2025) | TGRS Research Map | TGRS