arXiv:2610.31000cs.CROct 2026

Manuscript Offprint

arXiv:2610.31000

SecLog-Bench: A Scalable Benchmark for Cybersecurity Log Reasoning with Scaffolded Evidence

Yifan Wang, Dongliang Xu, Xiaoyong Li, Jing Li, Peter S. Pan, Yue Yao

Yifan Wang ID^{ID}, Dongliang Xu ID^{ID}, Xiaoyong Li ID^{ID}, Jing Li ID^{ID}, Peter S. Pan ID^{ID}, and Yue Yao ID^{ID}

Abstract—Large language models (LLMs) have shown strong potential for cybersecurity, leading to growing interest in LLM-based automated cybersecurity log analysis. However, current datasets (1) are limited in scale; (2) rely mainly on single-source evidence; and (3) have only binary or multi-class attack labels, without dense annotations of the reasoning process. To address these limitations, SecLog-Bench has three key features. First, we build an extensible simulation platform that covers 29 attack scenarios, supports repeated execution and the integration of new scenarios, and enables scalable generation of cybersecurity logs with attack-stage labels. Second, we use multi-source logs, including audit logs, application logs, and network traffic, to jointly analyze cyber attacks. Third, we annotate each sample with the essential context for cybersecurity log reasoning and a structured step-by-step evidence chain. We evaluate eight mainstream LLMs on this benchmark for post-detection attack-progress reasoning. Results show that, when provided with scaffolded evidence, current LLMs exhibit modest capability in attack-progress reasoning, with the best model achieving only 44.44% accuracy and 45.07% Macro-F1. Their reasoning remains unreliable; i.e., the highest Stage Reasoning F1 (SRF1) score is only 54.87%. Moreover, even correct predictions may be accompanied by flawed reasoning, and reasoning quality is often misaligned with prediction accuracy.

Index Terms—multi-source logs, large language models, security log reasoning.

I. INTRODUCTION

CYBERSECURITY logs provide important evidence for threat analysis and incident response in security operations. These logs record host behavior, application semantics, and network interactions as an attack unfolds, thereby supporting security operations such as anomaly detection and attack confirmation [1], [2], [3]. For example, in post-detection threat analysis, such log evidence is needed to infer attack progress and support response decisions [4]. Specifically, logs help establish relationships among evidence items to support subsequent judgments [3], [5]. Thus, there is growing interest in using large language models (LLMs) to automate cybersecurity log analysis and infer attack progress.

However, current datasets and task definitions for cybersecurity log analysis have three limitations. First, many public datasets are released as fixed collections rather than reproducible data-generation environments [6], [7], [8], [9]. This fixed design limits controlled scenario variation, evidence regeneration, and expansion to emerging attack behaviors. Second, existing resources often provide either a single-source view or multiple source-specific views that remain fragmented. For example, system-log datasets [6] focus on system events, whereas network-intrusion datasets [7], [8], [9] center on network traffic. Because attack activity can leave complementary traces across system, application, and network sources, assessing attack progress requires organizing and correlating observations across these sources rather than treating suspicious events in isolation [10], [11], [12], [13]. Multi-source resources broaden the available evidence, but generally do not organize observations from different sources into aligned multi-source evidence that supports joint analysis of attack progress [13], [14], [15].

Third, current task definitions generally frame cybersecurity log analysis as binary anomaly detection or multi-class attack classification [6], [7], [8], [9]. Even multi-source resources with attack labels generally lack dense annotations explaining how visible evidence supports the final judgment [13], [15]. This limitation is especially consequential for LLMs: a model may reach the correct label through incomplete evidence use, unsupported assumptions, or logically flawed reasoning [16], [17]. Labels alone cannot establish reasoning reliability. Evaluating LLM-based cybersecurity log analysis therefore requires examining whether the model's reasoning is supported by the available log evidence rather than relying solely on final-label accuracy.

To address these limitations, we present SecLog-Bench, a benchmark for cybersecurity log reasoning that evaluates LLMs on attack-stage prediction and reasoning reliability over multi-source log evidence. First, an extensible simulation platform covers 29 reproducible attack scenarios and supports repeated execution and scenario extension, enabling controlled evidence regeneration and coverage expansion. Second, host audit logs, application logs, and network traffic are collected during each execution and aligned using lightweight auxiliary indices recorded by runtime-specific adapters. The aligned logs are organized into scaffolded multi-source evidence and compressed into evidence windows for model evaluation. Third, each window is paired with an attack-stage label and

This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.

This work was supported by the Key Research and Development Program of Shandong Province, China (2025CXGC010901), the Shandong Province Overseas Young Talents Program (2026HWYQ-009), and the Shandong Key Laboratory of Industrial Network Security (2025CXPT069).

Y. Wang, D. Xu, X. Li, and Y. Yao are with the School of Airspace Science and Engineering, Shandong University, Shandong 264209, China. (Corresponding author: Dongliang Xu. E-mail: xudongliang@sdu.edu.cn.)

J. Li is with the School of Computer Science, University of Technology Sydney, Ultimo, NSW 2007, Australia.

P. S. Pan is an independent researcher in Braddon, ACT 2612, Australia.

a structured step-by-step reference reasoning chain, which is withheld from the evaluated model and used only after inference by the reasoning-aware evaluation protocol to assess model-generated reasoning. We formulate the resulting task as window-level attack-stage reasoning: given an attack-related multi-source log evidence window, a model predicts PREPARATION, EXECUTION, or RESULT when the visible evidence sufficiently supports a concrete stage; otherwise, it outputs the evidence-insufficiency label STAGE_UNCLOSED. The model must also output its own evidence-referenced reasoning chain.

We apply the reasoning-aware evaluation protocol to eight representative LLMs on a label-balanced, human-reviewed evaluation set of 216 scaffolded multi-source evidence windows. Results show that, when provided with scaffolded evidence, current LLMs exhibit useful but still limited capability in attack-stage prediction: the best model reaches 44.44% accuracy and 45.07% Macro-F1. Their reasoning, however, remains unreliable: the highest Stage Reasoning F1 (SRF1) score is only 54.87%, correct predictions may still be accompanied by flawed reasoning, and reasoning quality is frequently misaligned with prediction accuracy. These findings show that final-label accuracy alone can overstate model capability, and that evaluating cybersecurity log reasoning requires reasoning-aware evaluation rather than detection-style scoring.

The main contributions of this paper are as follows:

• We introduce SecLog-Bench, which formulates post-detection attack-progress analysis as window-level attack-stage reasoning over multi-source log evidence, requiring stage prediction and evidence-referenced reasoning.

• We develop an extensible, simulation-driven construction pipeline covering 29 reproducible attack scenarios, collecting host audit logs, application logs, and network traffic while recording lightweight auxiliary indices for cross-source evidence alignment.

• We annotate compressed multi-source evidence windows with attack-stage labels and structured step-by-step reference reasoning chains, and evaluate eight representative LLMs on attack-stage prediction, reasoning quality, reasoning reliability, and prediction–reasoning consistency.

References (54)