mlsanityData to 14 Oct 2026

Rethinking and Exploring String-Based Malware Family Classification in the Era of LLMs and RAG

arXiv 2507.04055 ↗First posted 5 Jul 2025cs.CR cs.AI cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Malware family classification aims to identify the specific family (e.g., GuLoader or BitRAT) a malware sample may belong to, in contrast to malware detection or sample classification, which only predicts a Yes/No outcome. Accurate family identification can greatly facilitate automated sample labeling and understanding on crowdsourced malware analysis platforms such as VirusTotal and MalwareBazaar, which generate vast amounts of data daily. In this paper, we explore and assess the feasibility of using traditional binary string features for family classification in the new era of large language models (LLMs) and Retrieval-Augmented Generation (RAG). Specifically, we investigate howFamily-Specific String (FSS) features can be utilized in a manner similar to RAG to facilitate family classification. To this end, we develop a curated evaluation framework covering 4,347 samples from 67 malware families, extract and analyze over 25 million strings, and conduct detailed ablation studies to assess the impact of different design choices in four major modules, with each providing a relative improvement ranging from 8.1% to 120%.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 22 of its 56 references that are in the map. First posted on arXiv 5 Jul 2025.

Builds on

22 of 56 references.

References · 22

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  5. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  6. 2022Large Language Models are Zero-Shot Fuzzers: Fuzzing Deep-Learning Libraries via Large Language Modelscited by 103
  7. 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 97
  8. 2023Fuzz4All: Universal Fuzzing with Large Language Modelscited by 88
  9. 2023GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysiscited by 65
  10. 2023RepairLLaMA: Efficient Representations and Fine-Tuned Adapters for Program Repaircited by 50
  11. 2015Deep Neural Network Based Malware Detection Using Two Dimensional Binary Program Featurescited by 48
  12. 2024Combining Fine-Tuning and LLM-based Agents for Intuitive Smart Contract Auditing with Justificationscited by 41
10 more
  1. 2024PropertyGPT: LLM-driven Formal Verification of Smart Contracts through Retrieval-Augmented Property Generationcited by 37
  2. 2023Exploring Parameter-Efficient Fine-Tuning Techniques for Code Generation with Large Language Modelscited by 28
  3. 2015Novel Feature Extraction, Selection and Fusion for Effective Malware Family Classificationcited by 21
  4. 2023On Extracting Specialized Code Abilities from Large Language Models: A Feasibility Studycited by 15
  5. 2024ACFIX: Guiding LLMs with Mined Common RBAC Practices for Context-Aware Repair of Access Control Vulnerabilities in Smart Contractscited by 15
  6. 2025Measuring and Augmenting Large Language Models for Solving Capture-the-Flag Challengescited by 15
  7. 2023Decoding the Secrets of Machine Learning in Malware Classification: A Deep Dive into Datasets, Feature Extraction, and Model Performancecited by 13
  8. 2025Low-Cost and Comprehensive Non-textual Input Fuzzing with LLM-Synthesized Input Generatorscited by 10
  9. 2025Detecting Various DeFi Price Manipulations with LLM Reasoningcited by 4
  10. 2020When Program Analysis Meets Bytecode Search: Targeted and Efficient Inter-procedural Analysis of Modern Android Apps in BackDroidcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Automated Malware Family Classification using Weighted Hierarchical Ensembles of Large Language Models
  2. 2024MalMixer: Few-Shot Malware Classification with Retrieval-Augmented Semi-Supervised Learning
  3. 2026Trident: Improving Malware Detection with LLMs and Behavioral Features
  4. 2026A Multi-task Mixture of Experts Framework for Malware Classification, Packing Detection, and Family Attribution
  5. 2025MalCVE: Malware Detection and CVE Association Using Large Language Models
  6. 2026AsmRAG: LLM-Driven Malware Detection by Retrieving Functionally Similar Assembly Code
  7. 2026Evaluating Retrieval-Augmented Generation for Explainable Malware Analysis
  8. 2025XGen-Q: An Explainable Domain-Adaptive LLM Framework with Retrieval-Augmented Generation for Software Security