Covert Timing Inferences from LLM Response Patterns
Analyzing subtle variations in LLM inference times or network packet timing and size patterns (e.g., Whisper Leak) can enable attackers to deduce model logic, identify user prompt topics, or extract sensitive data, even when communications are end-to-end encrypted via TLS.
The top 3
- Top 3 LLM Timing Attack Signals: Attackers exploit observable differences in LLM response patterns, including cache hits/misses from prompt caching, varying token generation speeds and network packet sizes in streaming outputs, and processing delays for specific input types or workloads.
- Top LLM Secrets Exposed by Timing Attacks: Covert timing inferences can reveal sensitive LLM secrets, including user prompt content and topics, specific model architecture details (e.g., cache behaviors), and the presence of personally identifiable information (PII) or other sensitive data within inputs.
- 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.
Sources
Open the full topic