Skip to content

MGC: A compiler framework for malware generation that exploits the compositional blind spots of aligned large language modelsMGC: A Compiler Framework Exploiting Compositional Blindness in Aligned LLMs for Malware Generation

arXiv· arXiv:2507.02057· Lu Yan, Zhuo Zhang, Xiangzhe Xu, Shengwei An, Guangyu Shen, Zhou Xuan, Xuan Chen, Xiangyu Zhang·Indexed by this site · 22 days ago· Originally publishedAttacks
AI summary

The researchers propose MGC, a malware generation framework that bypasses the defenses of aligned large language models by modularly decomposing malicious operations into seemingly harmless subtasks. It uses a dedicated malware description intermediate representation, MDIR, to connect high-level malicious intent with seemingly harmless code snippets. The authors claim that the framework can generate runnable malware under a variety of task specifications and categories, and on three benchmark datasets improves accuracy by 365.79% compared with jailbreak methods and by 78.07% compared with underground services. A case study shows that MGC can reproduce and enhance 16 real malware samples.

Read originalarxiv.org