Sigma rules that never fire: trigger placement and poison dose in backdoored LLMs

Abstract Locally hosted language models can help security operations centres generate Sigma detection rules, but using third-party adapters introduces a risk of tampering. We research how trigger placement and poison dose affect this risk by constructing poisoned adapters that cause requests about a chosen indicator to elicit schema-valid rules that never fire. The study covers Qwen2.5-Coder-Instruct (1.5B and 7B), Qwen3-8B and Gemma-3-12B, fine-tuned using quantised low-rank adaptation (QLoRA) on examples derived from SigmaHQ rules. On the two Coder-Instruct models, triggers confined to request framing did not produce consistent targeting, whereas placing the trigger in both the request and the generated rule induced targeted sabotage that weakened when indicator tokens were excluded from the training loss. The poison-dose sweep used 2,150 training examples and three training seeds per model and dose, with the pooled analysis showing targeted sabotage in all four models at 150 poisoned examples after three epochs. At 75 examples, weaker effects were detected in Gemma and in Qwen3. The installed backdoor also generalised to related indicators, and in both Coder-Instruct models targeted sabotage persisted when an explicit sabotage marker in the poisoned training examples was replaced with a plausible contradictory value. These results show that poisoned adapters can retain useful rule-generation behaviour while introducing conditional detection failures that schema validation alone does not expose.

Authors

Publication Details

Journal
Research Square
Published
2026-11-06
DOI
https://doi.org/10.21203/rs.3.rs-11448394/v1
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Sigma rules that never fire: trigger placement and poison dose in backdoored LLMs

Nuno Cruz, Hélder Bastos
2 links
Research Square
Adversarial Robustness in Machine Learning
preprint

Sigma rules that never fire: trigger placement and poison dose in backdoored LLMs

Nuno Cruz, Hélder Bastos
preprint en

Abstract

Abstract Locally hosted language models can help security operations centres generate Sigma detection rules, but using third-party adapters introduces a risk of tampering. We research how trigger placement and poison dose affect this risk by constructing poisoned adapters that cause requests about a chosen indicator to elicit schema-valid rules that never fire. The study covers Qwen2.5-Coder-Instruct (1.5B and 7B), Qwen3-8B and Gemma-3-12B, fine-tuned using quantised low-rank adaptation (QLoRA) on examples derived from SigmaHQ rules. On the two Coder-Instruct models, triggers confined to request framing did not produce consistent targeting, whereas placing the trigger in both the request and the generated rule induced targeted sabotage that weakened when indicator tokens were excluded from the training loss. The poison-dose sweep used 2,150 training examples and three training seeds per model and dose, with the pooled analysis showing targeted sabotage in all four models at 150 poisoned examples after three epochs. At 75 examples, weaker effects were detected in Gemma and in Qwen3. The installed backdoor also generalised to related indicators, and in both Coder-Instruct models targeted sabotage persisted when an explicit sabotage marker in the poisoned training examples was replaced with a plausible contradictory value. These results show that poisoned adapters can retain useful rule-generation behaviour while introducing conditional detection failures that schema validation alone does not expose.

Research Square
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon