TRANSMISSION // 2611.34770v1

What an SSH Honeypot Can—and Can’t—Show

Source published

A hybrid SSH honeypot reduced language-model use, but its proposed system for preserving separate histories for each attacker remains untested.

AI-generated conceptual illustration for What an SSH Honeypot Can—and Can’t—Show
AI-generated conceptual illustration; not documentary evidence.

Honeypots divert suspicious visitors into monitored decoys. This paper proposes judging them by the effort they impose on attackers relative to the resources defenders spend. Its prototype shows lower model use after optimization, but does not test the proposed per-attacker persistent environments end to end.

A honeypot is a decoy system that attracts and records suspicious activity. If a returning intruder finds that files have vanished or system changes have reverted, the decoy may seem less plausible. Large language models (LLMs) can produce flexible command responses, but using one for every interaction can consume computing resources.

In Make the Adversary Spend More, Alessandro Cantelli-Forti and colleagues argue that cyber deception should be judged not only by detection, but by the exchange between attacker effort and defender resources. Their proposed approach gives each recognized adversary a separate, persistent version of the environment it appears to have compromised. An explicit state store would preserve that world’s files, tools and other changes; the LLM would render responses based on the stored state, rather than serve as the source of truth itself.

The authors call their proposed measure the Deception Exchange Rate (DER). It relates mission-weighted adversary effort diverted or spent to defender resources used to sustain the decoy, including computing, energy, storage and human oversight. The two sides are difficult to measure on different terms: defenders can log their own resource use, while attacker effort must be inferred from behavioral clues such as time spent, commands issued, repeat visits and uploaded files. The authors therefore present DER mainly as a way to compare systems under stated assumptions, not as a precise universal measure of an attacker’s costs.

Testing a hybrid SSH honeypot

The researchers built a prototype pairing Cowrie, an SSH honeypot, with a locally run language model. Cowrie provides a virtual filesystem and handles commands it recognizes natively. Other paths also avoid a model call: shell builtins, code-based interception of selected tools, and cached responses. Unrecognized commands that miss the cache go to the model.

The prototype includes some lightweight continuity features, such as keeping certain logs and system details current. It also snapshots the virtual filesystem at the start and end of each session and saves differences, with session metadata, for later analysis. This does not mean those changes persist in the decoy environment for a returning attacker. The prototype does not implement isolated, persistent state for each adversary. The authors specify a method for matching later sessions to earlier activity, including a cautious fallback when the match is uncertain, but say that this controller and the per-adversary substrate were not integrated into the evaluated prototype.

The team tested five open-weight models in two settings. For a benchmark, 44 commands went directly to each model. In a production-style setup, Cowrie handled commands it recognized first, leaving the model a less common set of commands. The researchers recorded response time and token use, and applied automatic checks for problems such as Markdown formatting, implausibly short output, or text that revealed the system was artificial. Passing these checks does not show that a person—or a deliberate attacker—would find the decoy convincing.

Results differed between the two settings. One model passed about 97% of the benchmark checks but about 57% in the initial production-style test, before the reported mitigations. The authors suggest that the production pipeline left the model with harder, less common commands. They also report that some reasoning-oriented models exposed internal reasoning in terminal output, which could give the decoy away; prompting and filtering were used to suppress this.

The clearest measured result is a reduction in model use. Deterministic handling and other optimizations lowered tokens per session from roughly 13,100 to 4,900—about 63%—and reduced model calls from ten to four. This measures the defender-side cost of the implemented hybrid renderer. It does not show that attackers spent more effort, establish overall system savings, or demonstrate that the decoy would withstand scrutiny.

What the study leaves open

The paper does not measure attacker effort in a controlled adversary study, so it cannot yet evaluate the full cost exchange its DER proposes. Its quality labels are automatic checks, not a blind human assessment or a test against someone deliberately trying to fingerprint the decoy. The reported figures come from single, non-concurrent sessions, and the authors note that results depend on the models and configuration.

The next step, as the authors describe it, is to compare a stateless decoy, a stateful non-LLM decoy and an AI-assisted stateful decoy under shared resource limits. That would help distinguish the value of persistent state from the value of model-generated responses.

The paper is presented as an in-press workshop contribution and is available as an arXiv preprint. Its central per-adversary design remains a proposal, not an end-to-end result. What the current evaluation demonstrates is narrower: a hybrid SSH honeypot can use fewer model tokens and calls after optimization.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.