TL;DR
AI makes cyberattacks much cheaper to run, while tempting defenders to burn endless compute trying to simulate realistic traps. Instead of judging defensive "honeypots" by how realistic they look or how many alerts they fire, this paper reframes cyber deception as an economic exchange rate: how much attacker time and compute can you burn per dollar of your own? By pairing a lightweight, deterministic core with a tightly constrained local LLM—and keeping each attacker locked in their own persistent "Truman Show" reality—defenders can drastically slash their own compute bills while keeping intruders spinning their wheels.
What Problem Does This Paper Address?
Large language models (LLMs) have shifted the economics of cybersecurity. Attackers can now automate reconnaissance and adapt on the fly for pennies. Meanwhile, defenders face a bottleneck the authors call absorption: security tools generate mountains of alerts, but human teams lack the capacity to triage and act on them.
Active deception—using decoy systems called honeypots to lure and study attackers—helps absorb malicious traffic. Recently, researchers started wiring LLMs into honeypots to generate convincing fake terminal outputs on the fly. However, this creates two new traps for defenders:
- Unbounded compute: Running an LLM for every attacker command gets expensive fast.
- State amnesia: Traditional decoys either reset between visits (tipping off returning attackers when their planted backdoors vanish) or lump concurrent attackers onto one machine (contaminating forensic evidence). Meanwhile, pure LLM decoys suffer from hallucination and directory drift over long sessions because chat history is a terrible way to store system state.
Methods
The authors introduce both an economic framework and a hybrid system architecture to keep the cost exchange tilted in the defender's favor:
- Deception Exchange Rate (DER): A new comparative metric that divides mission-weighted adversary effort burned (dwell time, commands issued, repeat visits, uploaded tool complexity) by defender resources spent (compute tokens, energy, storage, human oversight, and mission risk).
- Adversary-Specific Explicit State: Rather than using an LLM's context window as memory, the authors model each attacker's environment as an explicit, isolated state tuple (files, processes, network ports, credentials, and semantic history). A probabilistic continuity estimator scores incoming sessions using weak indicators—like reused credentials, timing, or specific backdoor paths—to route returning attackers back into their own persistent reality, placing ambiguous connections into a conservative "limbo" overlay until their behavior gives them away.
- Constrained Two-Tier Renderer: To test the defender side of this architecture, the authors pair Cowrie (a standard deterministic SSH honeypot) with a local open-weight LLM. Shell built-ins, known offensive tools on a blacklist, native Cowrie commands, and previously cached queries are handled deterministically at near-zero cost. The LLM is invoked only as a fallback renderer for novel, unanticipated commands—and is strictly governed by prompt constraints and regex post-filters.
Datasets
Not discussed in the paper in terms of external training datasets (models were evaluated zero-shot/prompted without fine-tuning). For evaluation, the authors constructed two custom command suites:
- 44-command Benchmark Suite: Sent directly to the LLM (bypassing Cowrie) covering reconnaissance, system inspection, offensive tooling, inline scripting, and dangerous commands.
- 13-command Production Reconnaissance Suite: Sent through the full Cowrie+LLM pipeline to test real-world hybrid behavior and compare against a stock Cowrie installation.
Key Insights and Ideas
- Benchmark scores lie about production performance: In isolation, models look great because easy commands (
ls,whoami) pad their scores. Once Cowrie absorbs the easy deterministic commands in production, the LLM is left exclusively with the weird, complex tail of attacker inputs—causing unmitigated model quality scores to plummet. - Reasoning models accidentally snitch on themselves: While prior work used chain-of-thought prompting to improve shell realism, modern reasoning-oriented models (like Qwen 3.6 and Gemma 4 26B) spontaneously leak internal monologues (e.g., "The user wants to...") right into the terminal output, instantly blowing the honeypot's cover and wasting over 90% of generated tokens. Suppressing reasoning via system directives (
/no_think) and output filters is essential. - The LLM should be a renderer, never a database: Separating authoritative state from text generation prevents hallucinated files and contradictory system outputs while keeping token budgets small and predictable.
Key Results
Evaluating five open-weight models (Llama 3.1 8B, Gemma 2 9B-IT, Gemma 4 E4B, Gemma 4 26B-A4B, and Qwen 3.6 35B-A3B), the authors found:
- 63% Cost Reduction: Combining native Cowrie routing, persistent caching, blacklist interception, and prompt/history compression cut defender token traffic from ~13,134 to ~4,855 tokens per session, dropping LLM calls from 10 to 4 and latency from ~3s to ~1.5s.
- The Benchmark-to-Production Gap: Gemma 4 26B-A4B scored 97% plausible on the isolated benchmark, but crashed to 57% in naive production due to chain-of-thought leakage (where only ~3% of its tokens were actual terminal output). Applying the authors' suppression mitigations recovered its production score to 100% at ~0.90s per call.
- Fixing Stock Honeypot "Tells": Against the 13-command reconnaissance sequence, the LLM-augmented decoy eliminated glaring stock Cowrie giveaways—such as
gcc --versionprinting raw Python format strings (%s) ornmapsegmentation faulting.
Limitations and Future Work
The authors are admirably transparent about the scope of their current prototype:
- Only the denominator is measured: This paper empirically measures defender costs ($C_D$), leaving controlled experiments of adversary effort burned ($B_i$) for future work. Because attacker effort must be inferred via behavioral proxies, DER works best for ranking architectures rather than claiming exact dollar costs.
- Full per-adversary isolation isn't wired up yet: While the prototype implements lightweight persistence (organic auth logs, monotonic uptime, session file diffs), the probabilistic continuity controller and copy-on-write virtualization substrate are specified theoretically and still being integrated.
- Human and adversarial testing needed: Plausibility was graded via automated sanity checks rather than blind human experts or deliberate honeypot-fingerprinting adversaries. Future work plans a three-way showdown—stateless honeypot vs. stateful non-LLM decoy vs. AI-assisted stateful decoy—noting that if the non-LLM stateful decoy wins on cost-efficiency, proving that state matters more than generation will be a major insight in itself.
Summary updated