MEASER: a malware embedding attack against open-source large language modelsMEASER: Malware embedding attacks on open-source LLMs
Researchers propose MEASER, a malware embedding attack against open-source large language models, which the authors call the first attack of its kind, carried out by injecting malicious payloads and triggers into model parameters. The paper systematically formalizes the threat model for this class of attack, noting that an attacker with internal knowledge who injects payloads during the model-sharing stage poses the most realistic threat. MEASER sequentially locates target parameters, embeds the payload, injects the trigger and executes the payload, uses a MAR-QIM mechanism combining LDPC codes and spread-spectrum modulation to enhance robustness to quantization and parameter-efficient fine-tuning (PEFT), and uses a performance-aware importance metric to select parameters with minimal impact on model performance for stealth. Experiments on four popular open-source large language models show that MEASER's stealth rate is significantly better than existing MEAs targeting general DNNs, with a bit error rate (BER) of 0 in all settings, and it maintains stealth on quantized models as well. The authors call for research on countermeasures against MEASER.