paper-with-me

홈 › Papers

Poster: Long PHP webshell files detection based on sliding window attention

2025-02-26 · Zhiqiang Wang, Haoyu Wang, Lu Hao

Webshell is a type of backdoor, and web applications are widely exposed to webshell injection attacks. Therefore, it is important to study webshell detection techniques. In this study, we propose a webshell detection method. We first convert PHP source code to opcodes and then extract Opcode Double-Tuples (ODTs). Next, we combine CodeBert and FastText models for feature representation and classification. To address the challenge that deep learning methods have difficulty detecting long webshell files, we introduce a sliding window attention mechanism. This approach effectively captures malicious behavior within long files. Experimental results show that our method reaches high accuracy in webshell detection, solving the problem of traditional methods that struggle to address new webshell variants and anti-detection techniques.

📄 PDF Abstract BibTeX arXiv:2502.19257

Code (1)

w-32768/PHP-Webshell-Detection-via-Opcode-Analysis 공식 구현

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
fastText fastText embeddings exploit subword information to construct word embeddings. Representations are learnt of character $n$-grams, and words represented as the sum of the…
CodeBERT 설명 없음

Similar Papers 제목 키워드 기반

Large Language Models are Few-shot Generators: Proposing Hybrid Prompt Algorithm To Generate Webshell Escape Samples

2024-02-12 · Mingrui Ma, Lansheng Han, Chunjie Zhou

The frequent occurrence of cyber-attacks has made webshell attacks and defense gradually become a research hotspot in the field of network security. However, the lack of publicly available benchmark datasets and the over…

Can LLMs handle WebShell detection? Overcoming Detection Challenges with Behavioral Function-Aware Framework

2025-04-14 · Feijiang Han, Jiaming Zhang, Chuyi Deng, Jianheng Tang 외

WebShell attacks, in which malicious scripts are injected into web servers, are a major cybersecurity threat. Traditional machine learning and deep learning methods are hampered by issues such as the need for extensive t…

In-Context Learning

Research and application of artificial intelligence based webshell detection model: A literature review

2024-04-28 · Mingrui Ma, Lansheng Han, Chunjie Zhou

Webshell, as the "culprit" behind numerous network attacks, is one of the research hotspots in the field of cybersecurity. However, the complexity, stealthiness, and confusing nature of webshells pose significant challen…

ShellForge: Adversarial Co-Evolution of Webshell Generation and Multi-View Detection for Robust Webshell Defense

2026-01-28 · Yizhong Ding arxiv

Webshells remain a primary foothold for attackers to compromise servers, particularly within PHP ecosystems. However, existing detection mechanisms often struggle to keep pace with rapid variant evolution and sophisticat…

Reinforcement Learning

Beyond Detection: A Comprehensive Benchmark and Study on Representation Learning for Fine-Grained Webshell Family Classification

2025-12-04 · Feijiang Han arxiv

Malicious WebShells pose a significant and evolving threat by compromising critical digital infrastructures and endangering public services in sectors such as healthcare and finance. While the research community has made…

Representation Learning