Hardest-to-Detect LLM Timing Attacks: Top 3

The most challenging timing attacks to detect involve highly granular side-channel analysis of GPU/CPU cache misses, subtle variations in network packet timing, and composite attacks combining inference with other low-bandwidth exfiltration techniques, making attribution extremely difficult.

The top 3

  1. KV-Cache Timing Side-Channels Reveal Private Prompts: Multi-tenant LLM systems with shared Key-Value (KV) caches are vulnerable to timing side-channel attacks. Attackers measure Time-To-First-Token (TTFT) latency to infer if specific token sequences were previously processed and cached, allowing reconstruction of private prompts or sensitive data.
  2. Speculative Decoding Timing Attacks (Whisper Leak): Efficient LLM inference techniques, such as speculative decoding, create data-dependent timing variations. The 'Whisper Leak' attack exploits these by analyzing encrypted network traffic's packet size and timing patterns to infer user prompt topics and even specific query content, achieving high accuracy.
  3. Covert Resource Exhaustion Timing Inferences: Attackers can submit computationally expensive yet seemingly benign prompts (e.g., requests for excessively long outputs or complex reasoning) to overwhelm LLM resources. The resulting timing delays, degraded performance, or service unavailability are difficult to distinguish from normal latency, making detection challenging.

Sources

Open the full topic