Make the Adversary Spend More: Stateful Deception as a Cost-Exchange Primitive for AI-Era Cyber Defense
Organizations: CNIT, RaSS National Laboratory, Pisa, Italy · University of Bologna, Italy · University of North Carolina Wilmington, USA · University of Parma, Italy
Abstract
Large language models (LLMs) are transforming the economics of intrusion by reducing the attacker's cost to scan and adapt, while tempting defenders into unbounded compute. We argue that cyber deception should be judged by the cost exchange it imposes, not by realism or detection, and that the primitive making that exchange favorable is adversary-specific persistent state. Rather than a honeypot that resets or merges sessions, each recognized adversary re-enters the world it believes it has compromised, kept coherent with its own past actions and isolated from every other adversary, while the language model acts only as a constrained renderer of explicit state, never as its store. We formalize the trade-off as a Deception Exchange Rate (DER), relating mission-weighted adversary effort burned to defender resources spent, and instantiate it in an SSH honeypot pairing Cowrie with a local LLM. In this paper, we focus on the defender-side evaluation of that exchange, while specifying, but not yet measuring, per-adversary state and the adversary side of the DER. Across five open-weight models, deterministic-layer and prompt optimizations cut per-session defender cost by around 63% against a naive all-LLM decoy.
Figures & tables
| Phase | Tokens/session | Model calls | Mean latency |
|---|---|---|---|
| Initial baseline | 13,134 | 10 | 3 s |
| + native Cowrie commands | 7,259 | 6 | 2 s |
| + further optimisation | 4,855 | 4 | 1.5 s |
| Command | Stock Cowrie | LLM-augmented decoy |
|---|---|---|
| journalctl -n 10 | command not found | realistic system log |
| gcc --version | raw Python format ( %s ) | correct version string |
| ss -tulpn | command not found | realistic open ports |
| find / -perm -4000 | command not found | realistic SUID list |
| cat /proc/cpuinfo | head -10 | invalid option -- ’1’ | coherent CPU info |
| nmap --version (installed) | segmentation fault | correct version output |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Component | Value | Component | Value |
|---|---|---|---|
| Workstations | two, HP Z2 Tower G9 | Models | five (Sec. 7 , Fig. 2 ) |
| CPU | Core i9-13900K, 24 cores | Quantization | Q4_K_M (4-bit) |
| GPU | RTX 5000 Ada, 32 GB | Context window | 4096 tokens |
| RAM | 128 GB DDR5 | Max context (HW) | up to 262144 |
| Storage | 2 TB NVMe SSD | K/V cache | F16 |
| Host OS | Windows 11 Pro | GPU offload | 30 to 42 layers |
| Model | GOOD | Pass rate | Mean latency | Mean tokens |
|---|---|---|---|---|
| Gemma 4 26B-A4B | 43/44 | 97% | 0.94 s | 1242 |
| Llama 3.1 8B | 42/44 | 95% | 0.95 s | 1188 |
| Gemma 2 9B-IT | 41/44 | 93% | 1.68 s | 1253 |
| Gemma 4 E4B | 40/44 | 90% | 0.70 s | 1217 |
| Qwen 3.6 35B-A3B | 32/44 | 72% | 1.68 s | 1382 |
Cybersecurity
Cybersecurity develops methods to protect digital and cyber-physical systems from attacks, vulnerabilities, data loss, and misuse.
See all 387 papers