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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Evaluating a Local Language Model for SOC Security Log Triage: Classification Performance and Adversarial Log Injection

Jevon Johnson
Old Dominion University
Network Security and Intrusion Detection
article

Evaluating a Local Language Model for SOC Security Log Triage: Classification Performance and Adversarial Log Injection

Jevon Johnson
article en

Abstract

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.

Old Dominion University
Norfolk State University (US)
Network Security and Intrusion Detection
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