TRIAGE-CPG: A Cross-Model Study of Budgeted Static Malware Triage with Large Language Models
Paul-Andrei Sava, Alexander Küchler, Daniel Kowatsch, Bernhard Grill, Jennifer Pullman, Yanick Fratantonio, Luca Invernizzi
Abstract
When triaging unknown binaries, security analysts must decide which samples to clear as benign, flag as malicious, or escalate for deeper analysis. Large Language Models (LLMs) could support these decisions by interpreting decompiled code, but a binary can contain hundreds or thousands of functions, making exhaustive LLM analysis impractical. We study how current LLMs behave when static triage is formulated as budgeted evidence acquisition: which functions they inspect and how they trade off benign clearance, malware detection, and escalation. To enable a controlled comparison, we implement TRIAGE-CPG, a fixed pipeline over a code property graph (CPG) of a decompiled binary. An LLM-free heuristic selects seed functions, an agent expands the resulting evidence dossier under a fixed budget, and a reporting stage produces a benign, suspicious, or malicious verdict together with a behavioral report. We evaluate eight closed-source and open-weight models on 1,000 Windows PE binaries, using a 600-sample test split and the same zero-shot protocol for every model. We assess the ternary verdicts under both a strict binary reading and triage balanced accuracy (tBA), which credits malware that is flagged or escalated and benign samples only when cleared. After analyzing about 40 of a mean 1,000 functions per binary, the highest-scoring model reaches a strict balanced accuracy of 0.805 and a tBA of 0.855, flagging 65% of malware, escalating another 12%, and clearing 94% of benign samples. The models implement different triage policies: high-specificity models produce small, malware-rich escalation queues, whereas recall-oriented models escalate or flag much more broadly. Both closed-source and open-weight models appear across this spectrum. Our results identify no universal deployment configuration: model choice itself determines the clear/flag/escalate trade-off under limited static evidence.
Create a lesson
Related papers
Drift-Aware Explainable Prioritization for Windows PE Malware Forensic Triage with Semantic Consistency Checks
Shared title terminology · Mohammed A. Alharbi, Toqeer Ali Syed
AudioTrace: File-Level Membership Detection for Audio Large Language Models
Shared title terminology · Guangzhi Sun, Xiao Zhan, Shuai Wang et al.
ElevatorII: High-Performance Fully-Static Cross-ISA Binary Translation
Shared title terminology · Hongyu Chen, James McGowan, Michael Franz
GeoCloak: Defending Against Geolocation Reasoning in Multimodal Language Models via Perceptual Image Editing
Shared title terminology · Haoyang Xu, Christian Iha, Colbren Fujimoto et al.
Privacy Protection in Self-Evolving Personal Agents: Persistent Memory and Cross-Carrier Transfer
Shared title terminology · Zibin Lin, Taotao Wang, Shengli Zhang
Extracting Next Generation Access Control Policies from Natural Language Using LLMs: An Intermediate-Representation Approach with Back-Translation Verification
Shared title terminology · Ayesha Habib, Huixiang Zhang, Waiz Haider