mlsanityData to 7 Oct 2026

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

arXiv 2402.07408 ↗First posted 12 Feb 2024cs.CR cs.AIcited by 2

Not on the map. Why?

Abstract (arXiv)

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-reliance on manually defined rules for webshell escape sample generation have slowed down the progress of research related to webshell escape sample generation and artificial intelligence (AI)-based webshell detection. To address the drawbacks of weak webshell sample escape capabilities, the lack of webshell datasets with complex malicious features, and to promote the development of webshell detection, we propose the Hybrid Prompt algorithm for webshell escape sample generation with the help of large language models. As a prompt algorithm specifically developed for webshell sample generation, the Hybrid Prompt algorithm not only combines various prompt ideas including Chain of Thought, Tree of Thought, but also incorporates various components such as webshell hierarchical module and few-shot example to facilitate the LLM in learning and reasoning webshell escape strategies. Experimental results show that the Hybrid Prompt algorithm can work with multiple LLMs with excellent code reasoning ability to generate high-quality webshell samples with high Escape Rate (88.61% with GPT-4 model on VirusTotal detection engine) and (Survival Rate 54.98% with GPT-4 model).

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 27 of its 49 references that are in the map. First posted on arXiv 12 Feb 2024.

Builds on

27 of 49 references.

References · 27

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
  4. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  5. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  7. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  8. 2023A Survey of Large Language Modelscited by 2,537
  9. 2019Language Models as Knowledge Bases?cited by 1,922
  10. 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
  11. 2023A Survey on Evaluation of Large Language Modelscited by 1,227
  12. 2021GLM: General Language Model Pretraining with Autoregressive Blank Infillingcited by 1,026
15 more
  1. 2017Gate-Variants of Gated Recurrent Unit (GRU) Neural Networkscited by 239
  2. 2022Making Large Language Models Better Reasoners with Step-Aware Verifiercited by 231
  3. 2021Generated Knowledge Prompting for Commonsense Reasoningcited by 213
  4. 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
  5. 2021Examining Zero-Shot Vulnerability Repair with Large Language Modelscited by 105
  6. 2019Understanding LSTM -- a tutorial into Long Short-Term Memory Recurrent Neural Networkscited by 103
  7. 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 94
  8. 2023When Foundation Model Meets Federated Learning: Motivations, Challenges, and Future Directionscited by 83
  9. 2018Adversarial Malware Binaries: Evading Deep Learning for Malware Detection in Executablescited by 60
  10. 2020Functionality-preserving Black-box Optimization of Adversarial Windows Malwarecited by 58
  11. 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
  12. 2023Improving ChatGPT Prompt for Code Generationcited by 28
  13. 2023How Can ChatGPT Support Human Security Testers to Help Mitigate Supply Chain Attacks?cited by 20
  14. 2023Understanding Programs by Exploiting (Fuzzing) Test Casescited by 13
  15. 2023STEAM: Simulating the InTeractive BEhavior of ProgrAMmers for Automatic Bug Fixingcited by 9

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026WebSentinel: Detecting and Localizing Prompt Injection Attacks for Web Agents
  2. 2026MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLs
  3. 2025Exploiting Web Search Tools of AI Agents for Data Exfiltration
  4. 2026Sample-Efficient LLM-Based Detection of Malicious Web Server Logs with Forensically Explainable Reasoning
  5. 2026CyberLLM-FINDS 2025: Instruction-Tuned Fine-tuning of Domain-Specific LLMs with Retrieval-Augmented Generation and Graph Integration for MITRE Evaluation
  6. 2025System Prompt Poisoning: Persistent Attacks on Large Language Models Beyond User Injection
  7. 2026Evolving Jailbreaks: Automated Multi-Objective Long-Tail Attacks on Large Language Models
  8. 2026WebAgentGuard: A Reasoning-Driven Guard Model for Detecting Prompt Injection Attacks in Web Agents