arXiv:2611.12386cs.CRNov 2026

Manuscript Offprint

arXiv:2611.12386

Say Shibboleth: Fingerprinting the LLMs and Harnesses Behind Agentic Attacks

Dario Pasquini, Reworr, Giuseppe Ateniese, Manish Bhatt, Sergej Epp

Abstract

We study the fingerprinting of agentic cyberattacks. Our objective is to reliably infer information about the attacker's configuration such as LLM version and harness based on telemetry. To achieve this, we introduce a technique we call shibboleth traps: modular honeypot services designed to elicit discriminative behaviors from agentic attackers. The traps make informative interactions a condition for obtaining resources the agent seeks, eliciting model declarations and characteristic writing without requiring a successful prompt injection.

To achieve harness fingerprinting, we introduce general mechanisms to indirectly probe peculiar execution behaviors of harnesses. These probes reveal how a harness masks secrets in tool output, enforces command time limits, and schedules tool calls, using only the effects visible in subsequent requests.

We show that combined declarative and behavioral inference distinguishes among 15 candidate models with an average 90% top-1 accuracy, with behavioral classifiers evaluated on held-out harnesses or task families. In a separate experiment across four harnesses, fixed probe rules identify the correct harness with 92% accuracy. When instructed to conceal their identity, agents still leave useful behavioral evidence even as their declarations become uninformative.

1 Introduction

Attribution of cyberattacks has long asked who is behind an intrusion. LLM-driven attacks make the software carrying out an attack an additional target of attribution [1, 16].

In this work, we seek to infer what is carrying out the attack: the adversary configuration of the agent, i.e., the model that drives the agent and the harness, the tools, instructions and control loop that wrap it. A defender limited to observing the target can still design its services to elicit identifying evidence as the agent pursues its objective.

An LLM-driven attack depends on both the model choosing actions and the harness executing them. The harness supplies the tools, processes their outputs before the model reads

Figure

Figure 1: A Shibboleth trap on an MCP server. To reach the deploy keys, the agent must name the model it serves sampling requests on, write the text that each tool call asks for, and wait on a call the trap holds open. Below: what the defender infers from each gate.

them, and controls execution, including whether commands are terminated or tool calls run concurrently. Identifying these components would let defenders follow the use of models and harnesses across attacks and over time, and evaluate defenses against the software they encounter in practice.

In one documented campaign, Palo Alto Networks' Unit 42 threat intelligence team identified DeepSeek and Hermes Agent from session logs and configuration files that the attacker had inadvertently exposed [22]. A defender with access only to the targeted systems would have to infer the model and harness from the requests received and commands ex-ecuted there, without access to the agent's conversation or internal tool calls. Methods such as LLMmap [25] identify models by submitting selected queries to an LLM application and examining its responses, but the defender has no equivalent interface to an attacking agent. We call this setting blind and passive, since the defender observes only the effects of the agent's actions at the target and cannot query its model directly.

The defender still controls the resources the agent encounters. LLM honeypots have used this control to place prompt injections that reveal the presence of LLM agents [29] or disrupt their attacks, as in Mantis [26]. As agents become better at detecting and rejecting injected instructions [3], these approaches must contend with increasingly capable defenses.

We build on the honeypot approach by making informative interactions a condition for obtaining resources the agent seeks. A deployment controller, for example, can require a written change record before releasing credentials, giving the defender text to examine. We introduce Shibboleth 1^{1}, a system that implements such requirements in honeypot services, which we call shibboleth traps (Figure 1). These traps elicit identifying evidence while agents pursue their own objectives, without requiring a successful prompt injection.

When models write the same kind of change record, they can differ in wording, organization, and the details they include. We use these patterns, which we call a model's accent, to classify the text by comparison with traces from known models. Where the protocol also requests a model identifier, the combined inference procedure first checks the declaration and uses it if it passes; otherwise, it falls back to the behavioral classifier.

If a harness masks a credential before passing a service response to the model, an agent that uses the masked value in a later authentication request reveals how the response was processed. We use this behavior, along with probes of command time limits and tool-call scheduling, to provide the first mechanisms specifically designed to fingerprint agentic harnesses through indirect probing of their execution behavior. Observations from these probes narrow the set of compatible harnesses, with additional behavioral evidence used when more than one candidate remains (Section 5.2.2).

When developing a trap, we check whether agents will use it and whether their interactions distinguish the configurations under study. Shibboleth includes an agent-assisted process that implements and tests candidate traps, then revises them using the recorded attack traces and feedback from the attacking agents (Section 6). The resulting traps run as centrally managed services, with their interactions collected for offline inference.

To test whether a model's fingerprint survives a change of harness, we conduct controlled attacks against individual traps and evaluate the behavioral classifiers on a harness ex-

cluded from training. Across 15 candidate models, combined declarative and behavioral inference achieves 90% to 92% top-1 accuracy on two traps. In a separate experiment with four harnesses, our inference procedure identifies the correct harness in 92% of the runs. The execution probes account for every decision: the readout is a fixed set of rules with no learned component (Table 6).

We also instruct six models to give a fake name in place of their own. Under the concealment instructions, declarative accuracy falls, but the agents continue to produce text that helps identify their models even when their declared names are unreliable. We make the code of our approach as well as the agentic pipelines to generate new traps public. 2^{2}

References (25)