Traditional intrusion detection systems often treat security alerts as isolated, one-shot events. This approach creates a severe "needle in a haystack" problem: a relentless flood of false-positive alerts allows strategic attackers to blend into background noise. As Yan et al. observe, treating security violations as instantaneous events ignores the temporal reality of sophisticated exploits.
Modern cyber threats—such as Advanced Persistent Threats (APTs) or banking Trojans—unfold over long lifecycles composed of multiple distinct phases (Sohrabi et al.; Kiwia et al.). While an individual step in an attack might appear entirely harmless or indistinguishable from routine system noise when viewed in isolation, its malicious intent becomes clear when linked into a chronological sequence.
By shifting from reactive anomaly detection to proactive state estimation, defenders can reconstruct an adversary's progression through a structured attack lifecycle, even when the underlying log data is noisy or incomplete (Gaudenzi et al.).
Reconstructing the Attack Timeline
The first challenge in sequence-based threat analysis is transforming unstructured or low-level system events into a coherent, ordered timeline. Cyberattacks typically follow logical dependencies; for example, a phishing campaign often serves as the initial compromise that leads to malware deployment, which subsequently facilitates financial fraud (Lallie et al.). Similarly, initial credential leaks on social media or public forums can systematically trigger secondary infrastructure attacks (Khandpur et al.).
To capture these dependencies, researchers structure raw data into formal sequence representations:
- Graph-Based Ordering: Systems like THREATRAPTOR, developed by Gao et al., map unstructured threat intelligence reports into directed graphs. Nodes represent system entities and edges represent actions, explicitly annotated with sequence numbers to preserve the exact order of operations.
- Domain-Specific Languages (DSLs): In blockchain environments, Torres et al. utilize a custom DSL to define smart contract exploits as sequences of events characterized by control flow dependencies and chronological execution traces.
- Temporal Clustering and Time-Series Analysis: To extract sequences from continuous network traffic, Cohen et al. apply natural language processing models (Word2Vec) to sequences of network port accesses, capturing the underlying "intent" behind vulnerability probing. In industrial power networks, Miao et al. identify local maxima in attack intensity time series to isolate distinct activities, ordering them chronologically using suffix trees to map the attacker's progression.
Probabilistic and Symbolic State Estimation
Once a sequence of events is established, the core challenge is state inference: determining where the attacker stands in their lifecycle based on observable, noisy triggers. This requires modeling the relationship between observable alerts and hidden adversarial states.
[ Observable Alerts ] --> ( Noisy System Logs / Port Scans / Phishing Emails )
|
v [ Inference Engine: HMMs, Factor Graphs, Reward Machines ]
|
[ Hidden Attack State ] --> ( Reconnaissance -> Foothold -> Escalation -> Exfiltration )
Cao et al. demonstrate that factor graphs can successfully model these relationships. By analyzing sequences of events rather than isolated triggers, their system probabilistically infers hidden attack states, allowing security teams to preempt a ransomware attack up to 12 days before production infrastructure is compromised.
Hidden Markov Models (HMMs) are widely deployed to bridge this gap between low-level data and high-level intent. For instance, AbuOdeh et al. combine HMMs with Long Short-Term Memory (LSTM) networks to translate massive system call logs into high-level "storylines," accurately labeling phases such as reconnaissance or exfiltration. In honeypot environments, Wang et al. use HMMs mapped to the standardized ATT&CK framework to track multi-step attack chains and dynamically adjust deception strategies.
Beyond purely statistical models, neuro-symbolic frameworks introduce formal structural constraints to state estimation. Gaudenzi et al. utilize "Reward Machines" to model an attack as a sequence of formal states. This approach allows recurrent neural networks to predict an attacker's current stage with near-perfect accuracy, because the model is bound by logical transition rules (e.g., an attacker cannot exfiltrate data before gaining access).
Alternatively, Sohrabi et al. treat state inference as an AI planning problem. By repurposing path-finding algorithms traditionally used in robotics, they determine whether a sequence of noisy network observations forms a coherent plan toward a malicious goal.
Strategic Defense via Sequential Games
Modeling attacks as sequential state transitions fundamentally changes how defenders deploy countermeasures. Rather than treating security as a static perimeter defense, interactions can be modeled as dynamic, multi-stage games where the defender's actions depend on the inferred state of the attacker.
Chowdhary et al. formalize this interaction as a two-player, zero-sum Markov Game played on an attack graph. By modeling the multi-stage nature of network intrusions, a network administrator can strategically deploy Moving Target Defense (MTD) countermeasures. This forces attackers into high-cost, low-reward paths by dynamically altering network configurations as the adversary attempts to escalate privileges.
Furthermore, sequential game theory allows defenders to optimize limited human and physical resources across an exploit's lifecycle:
- Database Auditing: Yan et al. formulate database auditing as a Stackelberg game. Recognizing that detection can occur at various points throughout an exploit's lifecycle, their framework optimizes how human auditors prioritize alerts, maximizing deterrence without requiring the inspection of every individual event.
- Physical Infrastructure Defense: This sequential framing extends to physical security threats as well. Pugliese et al. introduce a sequential Stackelberg game to defend urban environments against multi-drone strikes. Their model accounts for attackers that strike multiple targets sequentially based on remaining battery or payload, allowing defensive assets to be deployed strategically to prevent a cascade of infrastructure damage.
Key Foundational Work
Computational Vulnerability Analysis for Information Survivability (2002) — contributed 2 concept elements to this direction.
Hypothesis Exploration for Malware Detection Using Planning (2013) — contributed 1 concept elements to this direction.
STATL: An Attack Language for State-Based Intrusion Detection (2002) — contributed 1 concept elements to this direction.