A Bayesian-network-based cybersecurity adversarial risk analysis framework with numerical examples

Wang Jiali, Jiali Wang, Martin NeilarXiv 2021

Introduction

Cybersecurity is fundamentally a strategic game of "second-guessing." Defenders must select security measures while anticipating an attacker’s potential moves, while attackers simultaneously attempt to circumvent those defenses. Traditionally, researchers have employed Game Theory—specifically Nash Equilibrium—to model these interactions. However, classical game theory often relies on the assumption of "shared knowledge," where both players are fully aware of each other's payoffs and preferences. In the secretive and asymmetric world of cyber warfare, this assumption rarely holds true.

To address these limitations, Adversarial Risk Analysis (ARA) was developed. ARA models the defender's subjective beliefs about the attacker rather than assuming perfect knowledge. While more realistic, traditional ARA implementations often rely on computationally expensive Monte Carlo (MC) simulations that are difficult to scale and cannot easily incorporate real-time observations. This paper proposes a novel framework that replaces MC simulations with Hybrid Bayesian Network (HBN) inference, offering a more flexible and automated approach to cybersecurity risk management.

Methodology: Influence Diagrams and HBNs

The proposed framework utilizes Influence Diagrams (IDs)—graphical models that map out decisions (rectangles), uncertainties (ovals), and utilities or payoffs (diamonds). By representing the cybersecurity landscape as an ID, the relationship between a defender's choices and an attacker's likely responses becomes clear.

Basic Influence Diagram for a Defend-Attack (D-A) game showing the interaction between defender (D) and attacker (A) decisions.

The core innovation lies in the use of Hybrid Bayesian Networks. Unlike standard BNs, HBNs can handle a mix of discrete variables (e.g., "Did the attack succeed?") and continuous variables (e.g., "The duration of a DDoS attack"). The framework employs the Junction Tree Algorithm with Dynamic Discretization to solve these networks, providing an automated way to calculate optimal decisions without the need for custom-coded simulations for every new scenario.

Adversarial Risk Analysis (ARA) Implementation

In the ARA approach, the defender does not treat the attacker as a rational player with known utilities. Instead, the defender models their own uncertainty regarding the attacker's behavior. This effectively transforms a two-player game into a single-player decision problem where the attacker's move is treated as a random variable informed by the defender's beliefs.

The defender's decision model in the ARA framework, where the attacker's move (A) is treated as an uncertainty (circle) based on the defender's beliefs.

This decomposition allows for Dynamic Decision Analysis (DDA). If a defender observes an attack on a specific day, they can plug that data into the HBN to immediately update their beliefs and recalculate the optimal defense for the following day. This "mid-game pivoting" is a significant advantage over static models.

Numerical Examples and Results

The authors validated the framework using several numerical case studies, including a practical DDoS protection scenario and a multi-period "Monday-to-Friday" game.

Key findings include:

  • Optimal Strategy Identification: In a DDoS case study involving cloud-based protection, the framework identified a defense level of 5 Gbps as the "sweet spot," yielding the highest expected utility compared to higher or lower defense levels.
  • Dynamic Updating: The DDA algorithm successfully demonstrated that when an attacker deviates from predicted optimal moves (e.g., attacking for a longer duration than expected), the model shifts the defender's next move to mitigate the new risk level.
  • Handling Complexity: The HBN approach successfully managed "level-k thinking"—the recursive logic of "I think that he thinks that I think..."—without the computational collapse often seen in complex game-theoretic models.

Conclusion and Future Work

By moving from Monte Carlo simulations to HBN inference, the authors provide a "plug-and-play" logic for cybersecurity risk analysis. This approach allows Chief Information Security Officers (CISOs) to update their defensive playbooks in real-time based on emerging evidence.

Future research will focus on addressing the "state-space explosion" that occurs in very long decision sequences and extending the model from bi-agent interactions to scenarios involving multiple attackers or defender coalitions.

Summary updated

BibTeX
@misc{jiali2021bayesian,
  author = {Wang Jiali and Jiali Wang and Martin Neil},
  title = {{A Bayesian-network-based cybersecurity adversarial risk analysis framework with numerical examples}},
  year = {2021},
  eprint = {2106.00471},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.00471},
}
Figure