arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.05807cs.CRcs.AI
收藏

LCC-LLM:利用代码导向的大语言模型进行恶意软件归因

LCC-LLM: Leveraging Code-Centric Large Language Models for Malware Attribution

CyberSaR, King Abdullah University of Science and Technology(CyberSaR,国王阿卜杜勒·阿齐兹大学科学与技术学院)

Christopher G. Pedraza Pohlenz, Hassan Jalil Hadi, Ali Hassan, Ali Shoker

AI总结:

本文提出LCC-LLM,一种代码导向的恶意软件归因和多任务静态恶意软件分析框架,通过构建包含34000个PE样本的LCCD数据集,结合静态分析与多源安全知识,提升恶意软件归因的可靠性与实用性。

摘要:

LLMs正被越来越多地用于恶意软件分析;然而,当前基于LLM的恶意软件归因仍受限于不支持的指标和不足的代码层面基础,难以识别恶意和易受攻击的代码段。为解决这些限制,本研究引入LCC-LLM,一种以代码为中心的基准数据集和证据导向的框架,用于恶意软件归因和多任务静态恶意软件分析。所提出的LCCD数据集包含约34000个PE样本,通过大规模反汇编流水线处理,并使用反汇编C代码、汇编代码、CFG/FCG制品、十六进制数据、PE元数据、可疑API证据和结构特征进行表示。除了数据集构建外,LCC-LLM整合LangGraph主导的静态分析与多源网络安全知识,以支持证据导向的恶意软件推理。该框架采用七层检索增强生成管道,CoVe用于IoC验证,并采用多维质量门以提高事实可靠性及分析师导向的决策支持。课程有序的指令数据用于使用QLoRA微调DeepSeek-R1-Distill-Qwen-14B和Qwen3-Coder-30B-A3B。在43种恶意软件分析任务类型上的评估实现了平均语义相似度为0.634,其中在结构化报告生成、IoC提取、漏洞评估、恶意软件配置提取和恶意软件类别检测等任务层面表现最佳。在使用MalwareBazaar样本的现实案例研究中,该基础管道实现了10/10的结构化分析通过率,生成CFG/FCG证据、MITRE ATT&CK映射、检测指导和分析师准备的报告。这些结果表明,以代码为中心的表示、检索基础和验证引导的推理提高了LLM辅助恶意软件归因的可靠性和操作实用性。

英文摘要:

LLMs are increasingly explored for malware analysis; however, current LLM-based malware attribution remains limited by unsupported indicators and insufficient code-level grounding for identifying malicious and vulnerable code segments. To address these limitations, this research introduces LCC-LLM, a code-centric benchmark dataset and evidence-grounded framework for malware attribution and multi-task static malware analysis. The proposed LCCD dataset contains approximately 34K PE samples processed through a large-scale reverse-engineering pipeline and represented using decompiled C code, assembly code, CFG/FCG artifacts, hexadecimal data, PE metadata, suspicious API evidence, and structural features. Beyond dataset construction, LCC-LLM integrates LangGraph-orchestrated static analysis with multi-source cybersecurity knowledge to support evidence-grounded malware reasoning. The framework employs a seven-layer retrieval-augmented generation pipeline, CoVe for IoC validation, and a multi-dimensional quality gate to improve factual reliability and analyst-oriented decision support. Curriculum-ordered instruction data is used to fine-tune DeepSeek-R1-Distill-Qwen-14B and Qwen3-Coder-30B-A3B using QLoRA. Evaluation across 43 malware-analysis task types achieves an average semantic similarity of 0.634, with the highest task-level performance in structured report generation, IoC extraction, vulnerability assessment, malware configuration extraction, and malware class detection. In a real-world case study using MalwareBazaar samples, the grounded pipeline achieves a 10/10 structured analysis pass rate, producing CFG/FCG evidence, MITRE ATT&CK mappings, detection guidance, and analyst-ready reports. These results show that code-centric representations, retrieval grounding, and verification-guided reasoning improve the reliability and operational usefulness of LLM-assisted malware attribution.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑