“计时攻击”(Timing Attack)是一种侧信道攻击:攻击者通过测量程序在不同输入下的运行时间差异,推断出敏感信息(如密码、密钥、比较结果),从而逐步恢复秘密数据。
/ˈtaɪmɪŋ əˌtæk/
The login system was patched to prevent a timing attack.
登录系统已打补丁以防止计时攻击。
By carefully measuring response times across thousands of requests, the attacker inferred which bytes of the secret token were correct, turning a tiny timing difference into a full credential leak.
攻击者通过对成千上万次请求的响应时间进行精细测量,推断出密钥令牌中哪些字节是正确的,把微小的时间差转化为完整的凭证泄露。
该术语由 timing(计时、耗时)+ attack(攻击) 组合而来,字面意思是“利用时间的攻击”。它在现代密码学与系统安全语境中广泛使用,尤其与 1990 年代对密码实现的侧信道研究相关;知名研究者 Paul Kocher 的工作推动了“计时攻击”概念的普及。