Abstract
Webshells, malicious scripts, or code snippets have seen a dramatic rise in incidents, posing significant threats to organizations across various sectors. Traditional security measures often fail to detect these threats, necessitating the use of advanced detection mechanisms. This article proposes a deep learning-based technique for webshell detection, which addresses the challenges of high computational costs and sensitivity to input length variations. The proposed method uses a flexible dataset reduction approach in conjunction with two feature extraction techniques, TF-IDF and Word2Vec, to mitigate computational complexity and standardize model input. To address input variability and high-dimensionality, we introduce two dataset reduction strategies: Flat-based and Depth-based reduction, both of which rely on a standard deviation-based representation to preserve essential statistical characteristics while reducing dataset size. This combination enhances the performance and scalability of deep learning models, making them more feasible for practical applications in webshell detection. The study systematically reviews existing techniques, highlights limitations, and presents an innovative solution to improve detection accuracy and efficiency. Experimental results demonstrate that our approach achieves high accuracy (up to 98.50% using CNN) while significantly reducing training time. The findings validate that flexible dataset reduction combined with dual feature extraction offers a scalable and effective solution for real-time webshell detection.
| Original language | English |
|---|---|
| Article number | 100770 |
| Journal | Egyptian Informatics Journal |
| Volume | 31 |
| DOIs | |
| State | Published - Sep 2025 |
Bibliographical note
Publisher Copyright:© 2025 The Authors
Keywords
- Cybersecurity
- Dataset reduction
- Deep learning
- Depth-based reduction
- Flat-based reduction
- Machine learning
- Standard deviation representation
- TF-IDF
- Webshell detection
- Word2Vec
ASJC Scopus subject areas
- Information Systems
- Computer Science Applications
- Management Science and Operations Research
Fingerprint
Dive into the research topics of 'Optimizing deep learning for webshell detection based on flexible dataset reduction'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver