CRLGApr 1, 2025

On Benchmarking Code LLMs for Android Malware Analysis

arXiv:2504.00694v218 citationsh-index: 6Has CodeISSTA Companion
Originality Incremental advance
AI Analysis

This work addresses the underexplored application of Code LLMs to Android malware analysis, providing a systematic evaluation framework for researchers and practitioners in cybersecurity.

The paper tackles the problem of evaluating Code LLMs for Android malware analysis by introducing CAMA, a benchmarking framework that assesses models on tasks like malicious function identification and malware purpose summarization using a dataset of 118 malware samples with over 7.5 million functions, revealing both potential and limitations of current models.

Large Language Models (LLMs) have demonstrated strong capabilities in various code intelligence tasks. However, their effectiveness for Android malware analysis remains underexplored. Decompiled Android malware code presents unique challenges for analysis, due to the malicious logic being buried within a large number of functions and the frequent lack of meaningful function names. This paper presents CAMA, a benchmarking framework designed to systematically evaluate the effectiveness of Code LLMs in Android malware analysis. CAMA specifies structured model outputs to support key malware analysis tasks, including malicious function identification and malware purpose summarization. Built on these, it integrates three domain-specific evaluation metrics (consistency, fidelity, and semantic relevance), enabling rigorous stability and effectiveness assessment and cross-model comparison. We construct a benchmark dataset of 118 Android malware samples from 13 families collected in recent years, encompassing over 7.5 million distinct functions, and use CAMA to evaluate four popular open-source Code LLMs. Our experiments provide insights into how Code LLMs interpret decompiled code and quantify the sensitivity to function renaming, highlighting both their potential and current limitations in malware analysis.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes