Optimizing deep learning for webshell detection based on flexible dataset reduction

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.

Authors

Institutions

Publication Details

Journal
Egyptian Informatics Journal
Published
2025-08-31
DOI
https://doi.org/10.1016/j.eij.2025.100770
Citations
1
Primary Topic
COVID-19 diagnosis using AI
Type
article
Field-Weighted Citation Impact
1.36

Funders

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

Optimizing deep learning for webshell detection based on flexible dataset reduction

Abdelkader Laouid, Ammar Muthanna, Mostefa Kara, Ahcène Bounceur et al.
1 citations
Egyptian Informatics Journal
COVID-19 diagnosis using AI
1.36
article

Optimizing deep learning for webshell detection based on flexible dataset reduction

Abdelkader Laouid, Ammar Muthanna, Mostefa Kara, Ahcène Bounceur, Saci Medileh, Mohammad Hammoudeh, Brahim Ferik
article en
1 citations

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.

Egyptian Informatics JournalVol. 31
Peoples' Friendship University of Russia (RU), King Fahd University of Petroleum and Minerals (SA), University of Sharjah (AE), Russian New University (RU), Université Larbi Tébessi (DZ), Centre Hospitalo-Universitaire Bab El Oued (DZ)
King Fahd University of Petroleum and Minerals
Openalex Percentile: Top 16%
COVID-19 diagnosis using AI
1.36
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.