Metraipolis › archive › dc_1630fde9467e
From Noise to Signal: Improving Security Log Anomaly Detection Using LLMs with Endpoint-Specific Logs — arXiv:2608.19938
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.19938
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T11:48:47.132Z
- SHA-256 of the archived text
53526e287036dd13a21cbb75baa3bd87b482d2dd4cd5b766e33a76158c595b0c- Stable URL of this page
https://metraipolis.com/documento/dc_1630fde9467e
How to cite
From Noise to Signal: Improving Security Log Anomaly Detection Using LLMs with Endpoint-Specific Logs — arXiv:2608.19938 — arXiv (en), https://arxiv.org/abs/2608.19938 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1630fde9467e (Metraipolis archive dc_1630fde9467e, sha256 53526e287036dd13a21cbb75baa3bd87b482d2dd4cd5b766e33a76158c595b0c)
BibTeX
@misc{dc1630fde9467e,
title = {From Noise to Signal: Improving Security Log Anomaly Detection Using LLMs with Endpoint-Specific Logs — arXiv:2608.19938},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.19938},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1630fde9467e; sha256 53526e287036dd13a21cbb75baa3bd87b482d2dd4cd5b766e33a76158c595b0c},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.19938. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Existing approaches to anomalous behaviour log detection, such as Wazuh rely primarily on predefined detection rules, while statistical anomaly detection approaches such as OpenSearch identify deviations from previously observed behavioural patterns. Recent research has investigated LLMs for log anomaly detection because of their ability to interpret semantic and contextual information. However, LLM-based approaches can be affected by prompt construction, noisy log data, and reliance on generic datasets that may lack endpoint-specific authentication behaviours. To address these limitations, this study develops a standardised instruction-based LLM classification framework for detecting anomalous authentication behaviours, including borderline cases. A controlled cybersecurity testbed was developed to generate endpoint-specific authentication data, producing a curated dataset comprising normal, borderline, and anomalous behavioural scenarios. Three instruction-tuned LLMs, Meta Llama 3.1 8B Instruct, Qwen 2.5 7B Instruct, and GPT-OSS 20B, were evaluated against Wazuh rule-based detection and OpenSearch Anomaly Detection using a common ground-truth severity framework. Meta Llama 3.1 8B Instruct achieved the strongest overall end-to-end detection performance, with an accuracy of 89.3%, recall of 88.2%, F1-score of 91.8%, and false negative rate of 11.8%. In comparison, Wazuh achieved an accuracy of 52.0% and false negative rate of 68.6%, while OpenSearch achieved an accuracy of 49.3% and false negative rate of 74.5%. Meta Llama also detected 80% of the borderline anomalous scenarios, compared with 20% for Wazuh and 15% for OpenSearch. Qwen achieved lower overall detection performance than Meta Llama but recorded the lowest average inference latency and 100% structured-response validity. GPT-OSS demonstrated strong classification performance when valid responses were produced. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-21 in cs.LG). Categorie arXiv: Cryptography and Security (cs.CR) ; Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2608.19938 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T11:47:43.382Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-08-21?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).