Evaluating a Local Language Model for SOC Security Log Triage: Classification Performance and Adversarial Log Injection
Security teams often need to review large numbers of alerts, so language models may offer a way to help analysts make sense of security logs. This study tested how a locally run model, Qwen3:4b, classified benign and malicious log samples and whether misleading text inside a log could affect its decisions. The experiment used 110 synthetic, labeled samples: 52 benign and 58 malicious. I compared a basic prompt with a prompt that included security operations guidance. The basic prompt achieved 86.36% accuracy, while the SOC-aware prompt achieved 85.45%. Both had 100% precision on this dataset, but they missed 15 and 16 malicious samples, respectively. I then added misleading text to 30 malicious samples. The model classified all 30 as benign under both the basic and defensive prompts. Of those, 24 had been correctly identified as malicious before the text was added. These results point to a possible risk when models analyze attacker-influenced log text. However, the study used one model, a small synthetic dataset, and no length-matched neutral-text control. The findings therefore apply only to this tested setup. They support keeping human analysts involved and treating model output as assistance, not as the sole basis for dismissing an alert.
Authors
- Jevon Johnson
Institutions
- Norfolk State University (US)
Publication Details
- Journal
- Old Dominion University
- Published
- 2026-12-02
- DOI
- https://doi.org/10.25776/fs9x-kd65
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00