Manuscript Offprint

arXiv:2611.07486

MEvince: Knowledge-Constrained LLM Reasoning for Technique Identification from Malware Reports

Hongyu She, Yiling He, Mengda Xie, Yiping Liu, Xingzhi Qian, Zhan Qin, Lorenzo Cavallaro

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Hongyu She

Zhejiang University

Hangzhou, China

hongyushe@zju.edu.cn

Yiping Liu

Alibaba Group

Beijing, China

ypinglinkle@gmail.com

Yiling He ∗^{*}

University College London

London, United Kingdom

heyilinge0@gmail.com

Xingzhi Qian

University College London

London, United Kingdom

xingzhi.qian.23@ucl.ac.uk

Mengda Xie

Jiangsu Police Institute

Nanjing, China

985982441@qq.com

Lorenzo Cavallaro

University College London

London, United Kingdom

l.cavallaro@ucl.ac.uk

Zhan Qin

Zhejiang University

Hangzhou, China

qinzhan@zju.edu.cn

Abstract

Mapping behavioral intelligence in malware analysis reports to ATT&CK techniques supports threat analysis and defense, but reliable identification remains challenging. Supporting evidence is often scattered across long, heterogeneous reports, while closely related techniques share behavioral cues and differ only in subtle but decisive details. While large language models (LLMs) can use external knowledge to interpret reports, they may assign techniques based on plausible associations rather than sufficient evidence.

We present MEVINCE, a knowledge-constrained LLM reasoning framework for report-level malware technique identification. Its core is a shared behavioral representation connecting report observations to technique definitions, specifying what evidence to extract and how it supports technique mapping. This representation is built through agentic mining of technique documentation and supports two online stages: 1) primitive-guided extraction uses behavioral primitives to structure LLM-extracted observations, link them to source passages, and group dispersed evidence; 2) evidence-aligned retrieval matches this evidence to technique profiles through the same concepts, retaining likely candidates and confusable alternatives for LLM comparison of distinguishing behaviors. Controls at both stages validate evidence references and check technique-specific requirements. The representation also supports adaptation without parameter updates, where offline agentic audits diagnose concept weaknesses and refine extraction or retrieval policies.

CCS Concepts

• Security and privacy → Software and application security.

References (14)