SymSan: Mitigating Malware Embedding in Large Language Models via Parameter Space Symmetry

Despite the considerable advantages of open-source large language models (LLMs) in terms of interpretability and customizability, the full-access sharing paradigm inevitably exposes them to a severe security threat, i.e., malware embedding attacks (MEAs), where adversaries embed malware binaries (i.e., payloads) into model parameters for subsequent execution. While existing sanitization defenses have been explored to eliminate payloads within parameters, they exhibit limited generalization against emerging MEAs and lack theoretical guarantees for model utility preservation. In this paper, we propose SymSan, an effective LLM sanitization method grounded in parameter space symmetry theory. SymSan leverages rigorously designed permutation and scaling symmetries, systematically transforming parameter matrices across complementary component pairs, thereby eliminating embedded payloads while ensuring mathematical functional equivalence. Experiments across diverse LLMs against a wide spectrum of MEAs demonstrate that SymSan achieves at least 0.47 BER against all evaluated existing MEAs while maintaining equivalent model performance on both foundational and downstream tasks, significantly outperforming all baselines.

Link
https://doi.org/10.1145/3830454.3846529
Found by
Crossref
Authors
Ming Tan, Wei Li, Tao Hu, Qian Chen, Aodi Liu, Hailong Ma, Ao-Di Liu, Hai-Long Ma
Organizations
Information Engineering University, Zhengzhou, China, He'nan Province Key Laboratory of Cyberspace Endogenous Security & Safety, Zhengzhou, China, and Key Laboratory of Cyberspace Security Ministry of Education of China, Zhengzhou, China, State Key Laboratory of Integrated Service Networks, Xi'an, China and School of Cyber Engineering, Xidian University, Xi'an, China, State Key Laboratory of Integrated Service Networks, Xi'an, China and Institute of Mathematics and Interdisciplinary Sciences, Xidian University, Xi'an, China, Information Engineering University, Zhengzhou, China, He'nan Province Key Laboratory of Information Security, Zhengzhou, China, and Northern Institute of Information Technology, Beijing, China
Categories
evaluation
Published
2026-11-14
Last seen by the radar
2026-11-15
Citations
0
Influential citations
0
Radar score
31.60 / 100 (how it is scored)
Why it scored so
Also found via Semantic Scholar; Matched: evaluat; Primary record: Crossref
Related links
https://www.semanticscholar.org/paper/f3df003073753c8b5319e742648a7da00b5d379f
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Crossref