On Benchmarking Code LLMs for Android Malware Analysis
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 26 of its 54 references that are in the map. First posted on arXiv 1 Apr 2025.
Builds on
26 of 54 references.
References · 26
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 744
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
- 2021Unified Pre-training for Program Understanding and Generationcited by 366
- 2022The Stack: 3 TB of permissively licensed source codecited by 359
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 300
- 2020Tangled up in BLEU: Reevaluating the Evaluation of Automatic Machine Translation Evaluation Metricscited by 158
14 more
- 2023CodePlan: Repository-level Coding using LLMs and Planningcited by 140
- 2018TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Timecited by 108
- 2022ReCode: Robustness Evaluation of Code Generation Modelscited by 103
- 2023Large Language Models for Code Analysis: Do LLMs Really Do Their Job?cited by 45
- 2024Explanation as a Watermark: Towards Harmless and Multi-bit Model Ownership Verification via Watermarking Feature Attributioncited by 40
- 2022CCTEST: Testing and Repairing Code Completion Systemscited by 35
- 2016MaMaDroid: Detecting Android Malware by Building Markov Chains of Behavioral Modelscited by 30
- 2019Evaluating Explanation Without Ground Truth in Interpretable Machine Learningcited by 29
- 2024AppPoet: Large Language Model based Android malware detection via multi-view prompt engineeringcited by 16
- 2023FINER: Enhancing State-of-the-art Classifiers with Feature Attribution to Facilitate Security Analysiscited by 12
- 2023Pitfalls in Language Models for Code Intelligence: A Taxonomy and Surveycited by 9
- 2021Automatic Detection of Five API Documentation Smells: Practitioners' Perspectivescited by 6
- 2024Enhancing Android Malware Detection: The Influence of ChatGPT on Decision-centric Taskcited by 4
- 2020Towards Accurate Labeling of Android Apps for Reliable Malware Detectioncited by 3
Built on by
Citing papers per year: 2025: 7; 2026: 6.
13 papers.
Sort:
By area:
- 2025Shadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inferencecited by 21
- 2025Rethinking Data Protection in the (Generative) Artificial Intelligence Eracited by 18
- 2025SoK: Large Language Model Copyright Auditing via Fingerprintingcited by 15
- 2025PromptCOS: Towards Content-only System Prompt Copyright Auditing for LLMscited by 3
- 2025Is "Knowing It's Malicious Enough?" Evaluating LLMs for Fine-Grained Malware Behavior Auditingcited by 3
- 2026Identifying Adversary Tactics and Techniques in Malware Binaries with an LLM Agentcited by 2
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Researchcited by 1
- 2026Automated Malware Family Classification using Weighted Hierarchical Ensembles of Large Language Modelscited by 1
- 2025Retrofit: Continual Learning with Controlled Forgetting for Binary Security Detection and Analysiscited by 0
- 2026CHASE: LLM Agents for Dissecting Malicious PyPI Packagescited by 0
- 2026Moirae: A Multimodal Agent Collaborative Framework for Dynamic Android Malware Detectioncited by 0
- 2026SCRIPTIOC-BENCH: A Benchmark for Recognizing Actionable Threat Intelligence from Script-Based Malware using LLMscited by 0
- 2026ALIBI: Adversarial Legitimacy Injection in Binary Input against LLM Malware Analyzers17 Sep 2026
- 2026SCRIPTIOC-BENCH: A Benchmark for Recognizing Actionable Threat Intelligence from Script-Based Malware using LLMs5 Sep 2026
- 2026Moirae: A Multimodal Agent Collaborative Framework for Dynamic Android Malware Detection28 Aug 2026
- 2026Automated Malware Family Classification using Weighted Hierarchical Ensembles of Large Language Models2 Apr 2026
- 2026Identifying Adversary Tactics and Techniques in Malware Binaries with an LLM Agent6 Feb 2026
- 2026CHASE: LLM Agents for Dissecting Malicious PyPI Packages11 Jan 2026
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Research17 Nov 2025
- 2025Retrofit: Continual Learning with Controlled Forgetting for Binary Security Detection and Analysis14 Nov 2025
- 2025Is "Knowing It's Malicious Enough?" Evaluating LLMs for Fine-Grained Malware Behavior Auditing17 Sep 2025
- 2025PromptCOS: Towards Content-only System Prompt Copyright Auditing for LLMs3 Sep 2025
- 2025SoK: Large Language Model Copyright Auditing via Fingerprinting27 Aug 2025
- 2025Shadow in the Cache: Unveiling and Mitigating Privacy Risks of KV-cache in LLM Inference13 Aug 2025
1 more
- 2025Rethinking Data Protection in the (Generative) Artificial Intelligence Eracited by 18
- 2025SoK: Large Language Model Copyright Auditing via Fingerprintingcited by 15
- 2025Is "Knowing It's Malicious Enough?" Evaluating LLMs for Fine-Grained Malware Behavior Auditingcited by 3
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Researchcited by 1
- 2026Automated Malware Family Classification using Weighted Hierarchical Ensembles of Large Language Modelscited by 1
- 2025Retrofit: Continual Learning with Controlled Forgetting for Binary Security Detection and Analysiscited by 0
- 2026SCRIPTIOC-BENCH: A Benchmark for Recognizing Actionable Threat Intelligence from Script-Based Malware using LLMscited by 0
- 2026ALIBI: Adversarial Legitimacy Injection in Binary Input against LLM Malware Analyzerscited by 0
- 2026ALIBI: Adversarial Legitimacy Injection in Binary Input against LLM Malware Analyzers17 Sep 2026
- 2026SCRIPTIOC-BENCH: A Benchmark for Recognizing Actionable Threat Intelligence from Script-Based Malware using LLMs5 Sep 2026
- 2026Automated Malware Family Classification using Weighted Hierarchical Ensembles of Large Language Models2 Apr 2026
- 2025AutoMalDesc: Large-Scale Script Analysis for Cyber Threat Research17 Nov 2025
- 2025Retrofit: Continual Learning with Controlled Forgetting for Binary Security Detection and Analysis14 Nov 2025
- 2025Is "Knowing It's Malicious Enough?" Evaluating LLMs for Fine-Grained Malware Behavior Auditing17 Sep 2025
- 2025SoK: Large Language Model Copyright Auditing via Fingerprinting27 Aug 2025
- 2025Rethinking Data Protection in the (Generative) Artificial Intelligence Era3 Jul 2025