arXiv:2610.18721cs.ITOct 2026

Manuscript Offprint

arXiv:2610.18721

Dynamic Attack Surfaces: A Queue of Branching Processes

Ismail Cosandal, Abdullah Y. Etcibasi, C. Emre Koksal, Sennur Ulukus

Ismail Cosandal 1^{1}, Abdullah Y. Etcibasi 2^{2}, C. Emre Koksal 2^{2}, and Sennur Ulukus 1^{1}

1^{1}University of Maryland, College Park, MD, USA

2^{2}The Ohio State University, Columbus, OH, USA

Abstract—Modern attack surfaces are inherently dynamic. Vulnerabilities emerge over time and they remain exposed to exploit until defenders discover and patch them. Artificial intelligence (AI) amplifies these dynamics by accelerating both offensive and defensive processes, making modern cybersecurity increasingly a competition among interacting time scales and resources. We capture this competition using a queue of branching processes that couples vulnerability discovery and resource-constrained patching with the evolving attacker population targeting each vulnerability. Our primary risk metric is the cumulative number of exploits a vulnerability experiences before it is patched. We derive the expected cumulative number of exploits under birth-death-immigration (BDI) and rise-decay (RD) models of attacker activity. Under a BDI model of attacker activity, we identify a phase transition: the expected cumulative number of exploits is finite only when attacker growth remains below both the vulnerability discovery rate and the effective patching rate. Across both attacker models, increasing the exploit rate does not necessarily increase the expected number of exploits because faster attacker departure can sufficiently limit the active attacker population. Finally, we show that equal proportional AI amplification of offensive and defensive capabilities need not preserve security: accelerating both sides can shift the defensive bottleneck and move the system into an unbounded-risk regime.

I. INTRODUCTION

The growing use of artificial intelligence (AI) by both attackers and defenders underscores the need for a dynamic model of the attack surface. AI agents can continually probe systems, discover and exploit weaknesses, and amplify attacker activity. At the same time, defenders can use AI to accelerate vulnerability discovery, prioritization, and patch generation. The resulting attack surface is therefore not a fixed inventory of flaws, but an evolving system governed by competing offensive and defensive processes [1], [2]. This acceleration is already observed in practice. In a reported 2026 campaign against recently disclosed PaperCut vulnerabilities, a threat actor used hundreds of AI agents to develop, test, and execute exploits, reaching the first real-world remote code execution in under four hours and compromising at least 440 exposed instances across 48 countries [3]. Static quantities such as vulnerability counts, severity scores, or average patch times cannot capture this temporal dynamics [4].

To that end, we model the attack surface as a dynamic set of active vulnerabilities that attract evolving attacker populations until patched. Since vulnerabilities arrive over time, compete for limited defensive resources, and depart after patching, queueing theory naturally captures their lifetimes and the competition between attack and defense. Recent work modeled the attack surface as a vulnerability queue and showed that underlying defensive resources, including effective workforce size and aggregate patching capacity, can be reconstructed from vulnerability discovery and patching timestamps [1]. Here, we further establish that cyber risk is shaped not only by the rate at which vulnerabilities emerge, but also by congestion and resource limitations within the defensive workflow. Our novel model captures the potentially growing population of attackers targeting each vulnerability over its unpatched lifetime.

Specifically, motivated by the rate competition between the attack and the defense, we introduce a queue of branching processes. While a vulnerability remains unpatched, the population of attackers targeting it evolves as a branching process. We consider both a birth-death-immigration (BDI) model, which captures persistent arrival and attacker-to-attacker amplification, and a rise-decay (RD) model, which captures an initial period of rapid attention followed by diminishing interest. The resulting framework couples two time scales that are commonly analyzed separately: the random lifetime of a vulnerability under resource-constrained patching and the growth of its associated attacker population.

Under the BDI model of attacker activity, the central result reveals a phase transition in the expected cumulative number of exploits: the expected number of exploits remains finite only when attacker activity grows more slowly than both vulnerability discovery and the effective patching process. If attacker activity surpasses either defensive mechanism, the expected cumulative number of exploits becomes unbounded. This does not imply that every vulnerability generates infinitely many exploits. Instead, vulnerabilities that experience unusually long discovery or patching delays may attract exceptionally high exploit activity, causing the average number of exploits across all vulnerabilities to diverge. For both models, vulnerabilities attract new attackers at a rate that depends on the number of active attackers, while each active attacker exploits the vulnerability at a constant rate.

An important observation is that the expected number of exploits is not necessarily monotone with the exploit rate. In particular, increasing the exploit rate may reduce the active attacker population sufficiently to offset the direct increase in exploit activity, resulting in a non-monotone relationship. The result therefore identifies vulnerability discovery and patching capacity as two distinct defensive bottlenecks. Strengthening only one is insufficient when the other remains unable to keep pace with attacker growth.

To illustrate the transition in the context of AI-amplified attack and defense, we provide an insightful numerical example (see details in Section IV) in which we scale the AI capabilities for both offensive and defensive operations by the same factor. We observe that these proportional improvements in attack and defense capabilities do not necessarily preserve security. In this scenario, although patching capacity improves sufficiently, vulnerability discovery becomes the limiting defensive mechanism and is overtaken by attacker growth. Therefore, defensive AI must strengthen both discovery and patching sufficiently to remain ahead of the growth in AI-enabled attacker activity.

The main contributions of this paper are as follows:

  • To model the dynamics of an attack surface, we introduce a branching processes framework that couples vulnerability discovery and resource-constrained patching with the stochastic evolution of the attacker population targeting each vulnerability.

• We derive vulnerability lifetime distribution and closed-form expressions for the expected cumulative number of exploits under a BDI attack model.

• We establish a stability condition and show that violating this condition yields infinite expected number of exploits.

• We study the allocation of defensive resources between vulnerability discovery and patching and extend it to an RD model in which attacker interest eventually vanishes.