NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Game-Theoretical Approach for Finding Optimal Strategies in an Intruder Classification Game

Lemonia Dritsoula, Patrick Loiseau, John Musacchio

Abstract

We consider a game in which a strategic defender classifies an intruder as spy or spammer. The classification is based on the number of file server and mail server attacks observed during a fixed window. The spammer naively attacks (with a known distribution) his main target: the mail server. The spy strategically selects the number of attacks on his main target: the file server. The defender strategically selects his classification policy: a threshold on the number of file server attacks. We model the interaction of the two players (spy and defender) as a nonzero-sum game: The defender needs to balance missed detections and false alarms in his objective function, while the spy has a tradeoff between attacking the file server more aggressively and increasing the chances of getting caught. We give a characterization of the Nash equilibria in mixed strategies, and demonstrate how the Nash equilibria can be computed in polynomial time. Our characterization gives interesting and non-intuitive insights on the players' strategies at equilibrium: The defender uniformly randomizes between a set of thresholds that includes very large values. The strategy of the spy is a truncated version of the spammer's distribution. We present numerical simulations that validate and illustrate our theoretical results.

Introduction

Network administrators have limited resources and must constantly triage threats. An attack on a Mail Server by a spammer might just cause network congestion, but an attack on a File Server by a spy could result in severe data theft. Therefore, defenders need to classify intruders accurately based on their behavior.

The challenge is that spies are strategic. If a spy knows the defender is looking for a specific pattern of File Server attacks, they will alter their behavior to evade detection, often trying to blend in with the background noise of non-strategic spammers. Existing intrusion detection research often struggles to model this dynamic mathematically without the complexity blowing up. This research addresses the optimal threshold of attacks for a defender to trigger an alarm and the optimal attack rate for a spy trying to slip under that radar.

Methodology

The authors model the scenario as a two-player, nonzero-sum game between the Defender and the Spy. The game takes place over a fixed window of $N$ time slots. The defender chooses a classification threshold $T$ (number of File Server hits), while the spy chooses $H$ (number of File Server hits to execute).

Table 1: Summary of notation used in the game-theoretical model.

The game is uniquely structured as an "almost zero-sum" game. The defender's payoff is the exact inverse of the spy's cost, minus a false alarm penalty ($c_{fa}$) that depends only on the defender's strategy (triggering on a spammer). To find the solution, the authors look for a mixed-strategy Nash Equilibrium (NE), where both players randomize their actions to remain unpredictable.

Finding an NE in nonzero-sum games is notoriously difficult. However, by defining a metric called "defendability" ($\theta(\beta)$, the defender's payoff when the attacker plays a best response), the authors formulate the defender's problem as a Linear Program (LP). By analyzing the extreme points of the resulting polyhedron, they mathematically restrict the possible optimal strategies, allowing the NE to be computed in polynomial time.

Key Insights and Results

The "Almost Zero-Sum" Exploit

Because the game's non-zero-sum component (the false alarm penalty) relies entirely on the defender's threshold choice, the game is mathematically much friendlier than standard nonzero-sum games. This structure is what allows the reduction to a solvable Linear Program and the subsequent polynomial-time computation of $O(N^2 \log N)$. This is a massive speedup, achieved by proving that the defender's optimal strategy always forms a contiguous set of positive probabilities.

Counter-intuitive Defender Randomization

One might expect the defender to pick a threshold tightly clustered around the spammer's expected attack rate. Instead, the Nash Equilibrium shows the defender uniformly randomizes across a contiguous block of thresholds, including surprisingly high values. This wide net is necessary to keep the spy's expected payoff flat across different attack volumes.

The Spy Becomes the Spammer

To optimally evade this randomized defense, the spy's best strategy is to perfectly mirror a truncated version of the spammer's natural probability distribution. To blend in, the spy literally scales their behavior to match the statistical shape of the background noise, cutting off only at the higher attack volumes.

Simulation Validation

In numerical experiments (e.g., $N=7$ and $N=50$ time slots), the authors confirmed that when the detection cost is balanced ($c_d \leq N \cdot c_a$), the defender's strategy becomes perfectly uniform across the chosen threshold range, never relying on deterministic "always classify as spy" or "always classify as spammer" extremes.

Limitations and Future Work

  • Static Time Window: The model assumes a fixed classification window ($N$ time slots) and a single-stage game. Real-world network defense is continuous, and defenders update their beliefs dynamically over time.
  • Perfect Information on Spammers: The model assumes the spammer's attack distribution is perfectly known and fixed. In reality, background noise fluctuates and must be estimated.
  • Future Directions: Extending this polynomial-time solvable framework to multi-stage games—where players update their strategies using Bayes' rule as new packets arrive—would be a highly valuable next step.

Summary updated

BibTeX
@inproceedings{dritsoula2012game,
  author = {Lemonia Dritsoula and Patrick Loiseau and John Musacchio},
  title = {{A Game-Theoretical Approach for Finding Optimal Strategies in an Intruder Classification Game}},
  booktitle = {CDC},
  year = {2012},
  url = {https://openreview.net/forum?id=CRfhY4Anlel},
}
Figure