Skip to content
InfoResearchPreprintLLM-specific

Defending FCG-Based Malware Detectors Against Metamorphic Android Variants via LLM-Powered Code Refactoring

Published
Record updated
View JSON

Summary

Researchers propose FCGA, a framework that uses LLMs to generate equivalent but distinct rewrites of Android function call graphs as training augmentations for malware classifiers. The authors report that graph-based classifiers can lose over 60% accuracy against LLM-rewritten malware, and that FCGA improves robustness by up to 10% over standard augmentation baselines on a real-world out-of-distribution benchmark and a direct LLM-rewrite stress test. The paper also identifies a fidelity-diversity tradeoff that affects which augmentation strategies work best during pretraining and adaptation.

Mitigation

The source proposes FCGA, a training-time augmentation framework that rewrites individual functions and refactors function clusters via summarization-guided prompting to harden FCG-based malware detectors. Source code is available at https://github.com/ngoctnq/fcga.