mlsanityData to 7 Oct 2026

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

arXiv 2601.22182 ↗First posted 28 Jan 2026cs.CR cs.AIcited by 0

Not on the map. Why?

Abstract (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 sophisticated obfuscation techniques that camouflage malicious intent. Furthermore, many current defenses suffer from high false-alarm rates when encountering benign administrative scripts that employ heavy obfuscation for intellectual property protection. To address these challenges, we present ShellForge, an adversarial co-evolution framework that couples automated webshell generation with multi-view detection to continuously harden defensive boundaries. The framework operates through an iterative co-training loop where a generator and a detector mutually reinforce each other via the exchange of hard samples. The generator is optimized through supervised fine-tuning and preference-based reinforcement learning to synthesize functional, highly evasive variants. Simultaneously, we develop a multi-view fusion detector that integrates semantic features from long-string compression, structural features from pruned abstract syntax trees, and global statistical indicators such as Shannon entropy. To minimize false positives, ShellForge utilizes a LLM-based transformation to create de-malicious samples--scripts that retain complex obfuscation patterns but lack harmful payloads--serving as high-quality hard negatives during training. Evaluations on the public FWOID benchmark demonstrate that ShellForge significantly enhances defensive robustness. Upon convergence, the detector maintains a 0.981 F1-score while the generator achieves a 0.939 evasion rate against commercial engines on VirusTotal.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 51 references that are in the map. First posted on arXiv 28 Jan 2026.

Builds on

20 of 51 references.

References · 20

  1. 2017Proximal Policy Optimization Algorithmscited by 14,441
  2. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  3. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  4. 2024Qwen2.5-Coder Technical Reportcited by 1,151
  5. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
  6. 2019Explaining Vulnerabilities of Deep Learning to Adversarial Malware Binariescited by 30
  7. 2024Diverse and Effective Red Teaming with Auto-generated Rewards and Multi-step Reinforcement Learningcited by 23
  8. 2024Reinforcement Learning from Multi-role Debates as Feedback for Bias Mitigation in LLMscited by 22
  9. 2025Inverse Reinforcement Learning with Dynamic Reward Scaling for LLM Alignmentcited by 20
  10. 2025Oyster-I: Beyond Refusal -- Constructive Safety Alignment for Responsible Language Modelscited by 19
  11. 2024PBI-Attack: Prior-Guided Bimodal Interactive Black-Box Jailbreak Attack for Toxicity Maximizationcited by 17
  12. 2024AGR: Age Group fairness Reward for Bias Mitigation in LLMscited by 12
8 more
  1. 2025Strata-Sword: A Hierarchical Safety Evaluation towards LLMs based on Reasoning Complexity of Jailbreak Instructionscited by 11
  2. 2024Gibberish is All You Need for Membership Inference Detection in Contrastive Language-Audio Pretrainingcited by 10
  3. 2024SelfPrompt: Autonomously Evaluating LLM Robustness via Domain-Constrained Knowledge Guidelines and Refined Adversarial Promptscited by 10
  4. 2024TUNI: A Textual Unimodal Detector for Identity Inference in CLIP Modelscited by 8
  5. 2025Can LLMs Handle WebShell Detection? Overcoming Detection Challenges with Behavioral Function-Aware Frameworkcited by 5
  6. 2025EcoAlign: An Economically Rational Framework for Efficient LVLM Alignmentcited by 5
  7. 2024Research and application of artificial intelligence based webshell detection model: A literature reviewcited by 4
  8. 2025A Reward-driven Automated Webshell Malicious-code Generator for Red-teamingcited by 1

Built on by

Not cited yet.