arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.20699cs.CRcs.AIcs.LG
收藏

恶意软件检测的系统1决策模型初探

A First Look at System One Decision Models for Malware Detection

Pier Mattia Basciano, Giovanni Farina, Salvatore Monteleone

AI总结:

本研究首次评估系统1决策模型用于Windows PE恶意软件检测,提出S1Mal集成模型,在BODMAS等数据集上实现高AUROC,为分析师提供带原子答案的校准决策。

摘要:

恶意软件检测需要在固定误报率(FPR)下校准的分数以及分析师可解读的决策:基于特征的检测器提供前者,针对反编译代码的大语言模型(LLM)通过生成未校准置信度的文本提供后者。系统1决策模型通过一次前向传播回答关于文本的类型化问题,并输出其声明答案的概率。我们首次评估这类模型在Windows可移植执行体(PE)恶意软件检测中的应用,分析其决策方式,并提出S1Mal——一种基于类型化答案和CLM-8B嵌入的集成模型。在隔离虚拟机中,Ghidra和capa对每个二进制文件进行反编译,主机将记录渲染为规范文本状态,即头部、导入项、MITRE ATT&CK能力及字符串的摘要,可选包含反编译函数,无类别捷径。三种读数对模型状态进行评分:A0为一个裁决问题的概率;A1为梯度提升树加权的32个原子行为问题;A2为模型状态嵌入的头部。S1Mal将原子答案和CLM-8B的A2分数输入梯度提升树。我们在BODMAS时间拆分、SOREL-20M分布外恶意软件及14534个匹配良性文件上评估CLM-8B、10个开放决策模型和2个通过logits读数的LLM。在BODMAS上,A0浪费静态证据:13个模型的受试者工作特征曲线下面积(AUROC)为0.4025-0.8590;A1恢复该证据,使所有模型的AUROC平均提升54.61%;A2将CLM-8B提升0.2749至0.9943,高于基于摘要事实的组合器(0.9901),9个开放模型的A2为0.9853-0.9948。S1Mal的AUROC达0.9946,在测试ROC曲线上,实现1.45% FPR时检测93.47%的恶意软件,0.1% FPR时检测59.15%,而A2仅为46.59%。S1Mal为分析师提供校准后的决策,每个决策附带背后的原子答案。

英文摘要:

Malware detection needs scores calibrated at a fixed false positive rate (FPR) and decisions an analyst can read: feature-based detectors give the first, large language models (LLMs) on decompiled code the second, through generated text of uncalibrated confidence. System One decision models answer a typed question about a text with a probability over its declared answers in one forward pass. We present the first evaluation of these models for Windows Portable Executable malware detection, analyze how they decide, and propose S1Mal, an ensemble on the typed answers and the embedding of CLM-8B. In an isolated virtual machine, Ghidra and capa decompose each binary, and the host renders the records into a canonical textual state, a digest of headers, imports, MITRE ATT&CK capabilities and strings, optionally with decompiled functions, without class shortcuts. Three readouts score each model on the state: A0, the probability of one verdict question; A1, 32 atomic behavioral questions weighed by gradient-boosted trees; A2, heads on the model's state embedding. S1Mal feeds gradient-boosted trees with the atomic answers and the A2 score of CLM-8B. We evaluate CLM-8B, ten open decision models and two LLMs read through logits on BODMAS temporal splits, SOREL-20M out-of-distribution malware and 14,534 matched benign files. On BODMAS, A0 wastes the static evidence: its area under the receiver operating characteristic curve (AUROC) spans 0.4025-0.8590 across 13 models. A1 recovers it, raising every model's AUROC by +54.61% on average; A2 lifts CLM-8B by +0.2749 to 0.9943, above a combiner on digest facts (0.9901), and reaches 0.9853-0.9948 on nine open models. S1Mal reaches 0.9946 and detects 93.47% of the malware at a realized FPR of 1.45%, and 59.15% at 0.1% FPR on the test ROC curve, against 46.59% with A2. S1Mal gives analysts calibrated decisions, each with the atomic answers behind it.

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

↑