首页> 外文会议>IEEE Computer Security Foundations Symposium >Rational Protection against Timing Attacks
【24h】

Rational Protection against Timing Attacks

机译:合理保护定时攻击

获取原文

摘要

Timing attacks can effectively recover keys from cryptosystems. While they can be defeated using constant-time implementations, this defensive approach comes at the price of a performance penalty. One is hence faced with the problem of striking a balance between performance and security against timing attacks. In this paper, we propose a systematic approach for determining the optimal protection against timing attacks, on the example of cryptosystems based on discrete logarithms. Our model includes a resource-bounded timing adversary who strives to maximize the probability of key recovery, and a defender who strives to reduce the cost while maintaining a certain degree of security. We obtain the optimal protection as an equilibrium in a game between the defender and the adversary. At the heart of the equilibrium computation are novel bounds for the probability of key recovery, which are expressed as a function of the applied protection and the attack strategy of a timing adversary. We put our techniques to work in a case study in which we identify optimal protections for libgcrypt's ElGamal implementation. We determine situations in which the optimal choice is to use a defensive, constant-time implementation and a small key, and situations in which the optimal choice is a more aggressively tuned (but leaky) implementation with a longer key.
机译:定时攻击可以有效地从密码系统中恢复密钥。尽管可以使用固定时间的实现方式击败它们,但这种防御性方法是以牺牲性能为代价的。因此,人们面临着在性能和安全性之间进行权衡以抵御定时攻击的问题。在本文中,我们以基于离散对数的密码系统为例,提出了一种确定针对时序攻击的最佳保护的系统方法。我们的模型包括一个资源有限的计时对手,他努力使密钥恢复的可能性最大化,而一个辩护人则在保持一定程度的安全性的同时努力降低成本。我们获得最佳保护作为防御者与对手之间博弈的平衡。平衡计算的核心是密钥恢复概率的新界限,这些界限表示为所应用的保护功能和定时对手的攻击策略的函数。我们在一个案例研究中运用了我们的技术,在该案例中我们为libgcrypt的ElGamal实现确定了最佳保护措施。我们确定了最佳选择是使用防御性,恒定时间实现和小密钥的情况,以及最佳选择是具有较长密钥的更积极地调整(但泄漏)的实现的情况。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号