arXiv:2610.09138cs.CROct 2026

Manuscript Offprint

arXiv:2610.09138

SwarmReconGuard: Black-Box Detection of Distributed Collective Reconnaissance by Individually Benign-Looking Agent Populations

Vahid Tavakkoli, Kabeh Mohsenzadegan, Kyandoghere Kyamakya

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Autonomous and agentic clients can distribute reconnaissance across many identities so that each request remains valid, low-rate, and benign-looking while the population collectively acquires broad system knowledge. We formalize this threat as Distributed Collective Reconnaissance (DCR) and present SwarmReconGuard, a reproducible black-box benchmark in which the defender observes only service-boundary telemetry. The Docker-isolated study evaluates 11 benign and attack behaviors across 10–10,000 virtual identities, comprising 440 test runs and 3,666,300 requests, with complete telemetry integrity. We compare semantic, Gaussian, conditional, graph, kernel, hybrid, and CUSUM-based detectors. Gaussian likelihood-ratio detection achieves 100% detection with 0% observed false positives on known attacks but only 3% on unseen policies. CUSUM yields 36.1% overall detection at 1.25% false positives, while hybrid CUSUM reaches 85.7% detection with 0% observed false positives at 10,000 identities. Results expose a major policy-generalization gap and motivate exposure-aware, scale-aware defenses.

Keywords: agentic AI security; anomaly detection; collective behavior; CUSUM; distributed reconnaissance; intrusion detection; multi-agent systems; semantic exposure; swarm security.

1 Introduction

Modern public services increasingly expose structured application programming interfaces (APIs) to browsers, mobile applications, automation, and software agents. Conventional defenses are effective when harmful behavior is locally conspicuous: a client exceeds a request-rate limit, an exploit signature appears in payloads, authentication fails repeatedly, or resource consumption resembles denial of service. A more difficult regime arises when a large population performs individually acceptable actions that compose into harmful collective knowledge acquisition. A single request may disclose almost nothing; thousands of strategically distributed requests may reconstruct endpoint behavior, identifier structure, diagnostic metadata, or authorization boundaries.

The emergence of agentic artificial intelligence increases the practical relevance of this problem. Recent work documents the rapid development of autonomous and multi-agent systems, their use in cyber threat intelligence, automated vulnerability analysis, incident response, and security operations, and the accompanying security risks [1–7][1–7]. At the same time, intrusion-detection research remains dominated by flow-, host-, or identity-level classification, DDoS detection, botnet signatures, learned traffic models, and federated variants [8–13][8–13]. These approaches are valuable but do not directly answer the following question:

Can a high-availability service detect coordinated information acquisition when every individual identity remains within ordinary request budgets and the defender cannot observe the agents' internal coordination?

We call this threat class Distributed Collective Reconnaissance (DCR). DCR differs from classical DDoS in objective and observability. The goal is not necessarily to reduce service availability but to maximize cumulative information acquired about the service while keeping marginal behavior plausible. It also differs from a traditional scan performed by one source because attribution can be distributed over many identities, and from a white-box multi-agent monitoring problem because the defender sees only boundary events.

This paper introduces SwarmReconGuard, a reproducible Docker-isolated experimental framework for measuring this regime. The framework is intentionally black-box from the defender's perspective: it observes request/response telemetry at an API gateway but not agent prompts, shared memory, coordination messages, model activations, true swarm membership, or scenario labels. The study uses scripted virtual identities rather than claiming that all 10,000 entities are large-language-model (LLM) agents. Scripted policies provide experimental control at population scale; the threat model is designed to include autonomous agents as a motivating and future deployment class.

The paper makes five main contributions.

  1. We formalize DCR as a collective information-acquisition problem under per-identity validity, hidden coordination, and service-availability constraints, and state an observability limit that prevents any boundary-only detector from recovering hidden intent when benign and adversarial observable distributions are identical.

  2. We present a reproducible benchmark with four benign controls, seven attack policies, four population scales, independent training/calibration/test phases, exact telemetry accounting, raw-event replay, and an internal-only safety boundary.

  3. We evaluate ten online detector families and three ablations, ranging from transparent semantic features to distributional, graph, kernel, fusion, and sequential evidence-accumulation methods.

  4. We evaluate operational protection with false-positive rate (FPR), detection, precision, discrimination, delay, and Exposure Before Detection (EBD), while counting missed attacks through exposure-at-alarm-or-end rather than excluding them from exposure summaries.

  5. We provide a generalization study across known versus unseen attack policies and population scales. The strongest known-policy result is near-perfect, yet unseen-policy recall falls sharply. This negative result is central: excellent known-attack separation does not establish robust DCR defense.

The remainder of the paper reviews related work, formalizes the threat model, describes SwarmReconGuard and its detectors, reports the experimental protocol and results, and discusses implications, limitations, and research directions.

References (42)