HSMLog, a two-stage framework for HSM log anomaly detection with retrieval-grounded behavioral analysis, is presented, demonstrating effective anomaly alerting and incident triage in the studied setting.
Abstract
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.
Security operation centers receive continuous log streams from firewalls, endpoint agents, authentication systems, cloud services, and intrusion prevention systems. Low-frequency anomalies are difficult to detect because they may appear as weak signals hidden among repeated benign events and gradually changing operatio...
Ka-Wai Chan, Mei-Ling Ho, Jonathan Tsz Kit Leung· The Journal of Applied Engi...· 0 citations
Large language model (LLM)-based agents increasingly connect model-generated decisions to security-sensitive software capabilities such as command execution, filesystem access, network communication, browser control, and external tools. Existing analyses often use predefined sensitive operations as anchors, but operati...
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 becau...
Christopher Henshaw, Gour C. Karmakar· 0 citations
While system logs can be used to alert cloud and high-performance computing operators to incidents, real-world log anomaly detectors are often unreliable when log streams vary across platforms, when anomalies are highly imbalanced, or when alert thresholds are chosen without proper operational risk control. In this wor...
M. M. N. Weerabangsa· 2026 4th International Confe...· 0 citations
LLMSec-AV introduces an AV-specific, machine-readable vulnerability taxonomy for weakness discovery and shows that LLMs can complement conventional analyzers by identifying and organizing safety-relevant findings in real AV software.
Security Information and Event Management (SIEM) platforms are central to modern Security Operations Centers, yet default rule sets often fail to capture the low-level behaviors of emerging Common Vulnerabilities and Exposures (CVEs). This paper presents WAGARD (Wazuh Generative AI Rule Detection), a framework that int...
Kasidat Boonchu, Parkait Kaitticharoon, Napat Cholkuljana et al.· 2026 4th International Confe...· 0 citations
Related blog posts
MIT News · Artificial Intelligence· news.mit.eduOct 15, 2026
A new computational approach reveals how cells communicate to assemble into tissues. This could accelerate stem cell engineering, improve disease models, and inform therapies.
Microsoft Research Blog· microsoft.comOct 15, 2026
Zero-knowledge proofs can verify computing results without rerunning workloads or exposing sensitive data. Magnetar helps bring them into the mainstream with support for standard programming languages, major speed gains, and quantum-resistant security. The post Proof-based general-purpose computing with Magnetar appeared first on Microsoft Research.
Learn how Google DeepMind and GovTech Singapore uses lightweight on-device Gemma models to intercept conversational scams in private chats with zero cloud data egress.
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.