Documented Exercise · OBS.EX0109
Hardware Cache Side-Channel Eavesdropping on Local LLM Inference
Gao et al. (2025) evaluated unprivileged hardware cache side-channel leakage during local open-weight LLM inference across Llama, Falcon, and Gemma deployments by monitoring token-embedding cache accesses and autoregressive decoding timing. Without direct interaction or elevated OS privileges, the passive eavesdropping framework reconstructed victim outputs and inputs with 5.2% and 17.3% average edit distances and 98.7% (input) / 98.0% (output) cosine similarity. Running models locally on shared multi-tenant workstations or cloud CPUs exposes prompts and generations across process isolation boundaries. Sensitive local inference requires constant-time embedding lookups, cache partitioning, or dedicated hardware isolation.
Exercise dossier metadata
- Case ID
OBS.EX0109- Classification
- Exercise
- Date
- Evaluation scope
- Local Llama, Falcon & Gemma Deployments · Unprivileged CPU Cache Timing
- Reference URI
https://arxiv.org/abs/2505.06738
Mapped AI security techniques
- Acquire Infrastructure: Consumer Hardware AML.T0008.001
- Data from Local System AML.T0037
- Recover AI Model Internals AML.T0144
Mapped defensive controls
Source citation records
- I Know What You Said: Unveiling Hardware Cache Side-Channels in Local Large Language Model Inference · arXiv (author preprint; peer-review status not inferred) ·