Permutation-Based Stegomalware in Large Language Models: Threats and Countermeasures
Danny Wood, James Stringer
Key points
From the paper's conclusion- We therefore quantify the loss in model performance associated with applying these methods, for both attack and defense, showing it to be minimal.
Abstract
The difficulty of training large language models (LLMs), together with their ubiquity, raises the threat of stegomalware, where malicious payloads are embedded into model weights. Recent work has demonstrated the use of permutation symmetry in model weights to mitigate these threats, but failed to show neutralization of stegomalware across all weights for LLMs. In this paper, we demonstrate the full potential of behavior-preserving symmetries as a defense against stegomalware, as well as the risks these symmetries pose when exploited by attackers. For stegomalware neutralization, we improve upon previous work, demonstrating that it is possible to select permutations which displace all model parameters. This contrasts with previous methods which left a significant percentage of weights unaltered in LLMs. When used in an attack, we show that permutation symmetries can encode malware into the weights of a model in a way that is theoretically lossless, requires no retraining after encoding, and needs no payload-specific information in the extraction script---a combination of characteristics not previously seen in any single method. While theoretically lossless, permutation can in practice alter model behavior due to the accumulation of numerical error. We therefore quantify the loss in model performance associated with applying these methods, for both attack and defense, showing it to be minimal.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- All-in-One: A Composable Attack on LLM TransformationsarXiv · 2026
- STEGOGUARD-LM: Evaluating End-to-End Protection Against LLM Covert ChannelsarXiv · 2026
- The Price of Safety: Benign-Case Utility and Token Overhead of Memory-Poisoning Defenses in LLM AgentsarXiv · 2026
- Synthesis Smuggling: Maliciously Hiding Inferred Personal Attributes in LLM OutputsarXiv · 2026
- RegionAlign: Manipulating Parameter Layouts for Localized Fault Injection on LLMs and VLMsarXiv · 2026
- Beyond End-to-End Recovery: Towards a Better Understanding of LLM Steganography via Rolewise DecompositionarXiv · 2026