← Lab /AI/ML

Code-centric LLM framework achieves reliable malware attribution with 10/10 case study pass

LCC-LLM improves the factual reliability and operational usefulness of LLM-assisted malware attribution

AI/ML arXiv 7 May 2026 Method Prototype evidence

Published as “LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution”

Why it matters

The system can aid analysts with contextual reasoning but cannot be relied upon for precise indicator extraction or family labeling without further refinement.

Summary

LCC-LLM can generate well-structured malware analysis reports and achieves high semantic similarity (up to 0.761) to reference answers, but it fails to correctly output exact identifiers, achieving 0% exact accuracy on family classification and 0% F1 on CWE detection. The evidence comes from a 34K-sample dataset and quantitative evaluation on 43 tasks, showing strong language modeling but weak factual extraction.

Caveats 3

  • The model’s exact-match performance is poor: 0% accuracy on family classification and 0% F1 on CWE detection despite high semantic similarity scores.
  • While our fine-tuned model underperformed in tasks that required specific label identification or string extraction, it was able to produce accurate and well-structured reports that provide relevant insights for cybersecurity analysts.
  • the verbosity inherent to CoT and CoVe processing frequently caused the model to reach the token limit during inference, resulting in truncated final outputs.

What’s new here 3

  • Introduces LCCD, a code-centric dataset unifying decompiled code, assembly, CFG/FCG, and metadata for ~34K PE samples.
  • Combines LangGraph-orchestrated static analysis, multi-source RAG, Chain-of-Thought and Chain-of-Verification in a unified inference pipeline.
  • Applies QLoRA fine-tuning with curriculum-ordered instruction data to adapt a 14B-parameter LLM for multiple malware-analysis tasks.