Search papers, labs, and topics across Lattice.
This paper investigates the efficacy of using multiple decompiler views in conjunction with large language models (LLMs) for malware classification. By curating a benchmark of benign and malicious binaries and analyzing outputs from both Ghidra and RetDec, the authors demonstrate that integrating these different decompiler perspectives significantly enhances the F1 score for malicious classifications, primarily by boosting recall. The findings highlight that decompiler outputs provide complementary insights, suggesting that multi-decompiler prompting can effectively improve malware triage without the need for additional training.
Leveraging multiple decompiler views can boost LLM-based malware detection accuracy by enhancing recall on malicious samples.
Malware analysts often inspect compiled binaries through decompiled pseudo-C, when source code is unavailable. Recent work suggests that large language models (LLMs) can assist this process by classifying decompiled code as benign or malicious, but existing pipelines typically rely on a single decompiler view. We argue that this assumption is fragile: decompilers are lossy heuristic tools, and different decompilers can expose different artefacts of the same binary. We curate a benchmark of benign utilities and malicious programs spanning a range of threat behaviors. Each sample is compiled and decompiled with both Ghidra and RetDec, yielding matched pseudo-C views. Across a range of LLMs from major model families, we find that providing both decompiler views improves malicious-class F1, mainly by increasing recall on malicious samples. Agreement analyses further show that Ghidra and RetDec make partially different errors, supporting the view that decompiler outputs provide complementary evidence. Our results suggest that multi-decompiler prompting is a simple, training-free way to improve LLM-based malware triage in practical settings.