Metraipolis › archive › dc_5fc26a086bf4
HSMLog: Small Language Model-Assisted Hardware Security Module Log Anomaly Detection with Behavioral Analysis — arXiv:2608.29773
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.29773
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T08:25:42.465Z
- SHA-256 of the archived text
7a222a8b7c7fca16f44a15cadd2ef09130ebbae52170a36808f24cb68f02c23c- Stable URL of this page
https://metraipolis.com/documento/dc_5fc26a086bf4
How to cite
HSMLog: Small Language Model-Assisted Hardware Security Module Log Anomaly Detection with Behavioral Analysis — arXiv:2608.29773 — arXiv (en), https://arxiv.org/abs/2608.29773 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5fc26a086bf4 (Metraipolis archive dc_5fc26a086bf4, sha256 7a222a8b7c7fca16f44a15cadd2ef09130ebbae52170a36808f24cb68f02c23c)
BibTeX
@misc{dc5fc26a086bf4,
title = {HSMLog: Small Language Model-Assisted Hardware Security Module Log Anomaly Detection with Behavioral Analysis — arXiv:2608.29773},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.29773},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5fc26a086bf4; sha256 7a222a8b7c7fca16f44a15cadd2ef09130ebbae52170a36808f24cb68f02c23c},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.29773. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Hardware Security Module (HSM) logs capture security-critical behavior, but anomalies emerge from relationships across event sequences, keys, object states, sessions, and temporal patterns rather than isolated events. Existing methods separate detection from HSM-specific evidence validation and reporting. In this paper, we present HSMLog, a two-stage framework for HSM log anomaly detection with retrieval-grounded behavioral analysis. In Stage 1, a small language model (SLM) identifies candidate alerts from sliding windows of structured HSM events and performs policy-guided assessment using HSM-specific operational rules. In Stage 2, retrieved policies and historical suspicious-key records strictly predating the alert window, together with candidate-related log context, support conservative candidate review and incident analysis. Evaluated on real industrial HSM background logs augmented with anomaly scenarios co-defined with industrial partners, HSMLog achieves 98.97% precision, 96.00% recall, 98.66% anomalous-event coverage, and a 97.46% F1 score, demonstrating effective anomaly alerting and incident triage in the studied setting. Tema degli esploratori: fiducia digitale e crittografia (retro-catalogo arXiv: annunci del 2026-09-01 in cs.CR). Categorie arXiv: Cryptography and Security (cs.CR). Pagina del lavoro: https://arxiv.org/abs/2608.29773 — 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-17T08:10:59.874Z dalla pagina https://arxiv.org/catchup/cs.CR/2026-09-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).