arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1309.7366cs.CR
收藏

确保密钥生成的高质量随机性

Ensuring High-Quality Randomness in Cryptographic Key Generation

Henry Corrigan-Gibbs, Wendy Mu, Dan Boneh, Bryan Ford

摘要:

任何密码系统的安全性都依赖于系统密钥的保密性。然而,最近的实验工作表明,互联网上成千上万的设备使用从一个小的候选值池中提取的RSA和DSA秘密。因此,攻击者可以在不破坏底层密码系统的情况下获得设备的密钥。我们引入了一个新的威胁模型,在此模型下,有一个系统的解决方案,这样的随机性缺陷。在我们的模型中,当设备生成加密密钥时,它将来自熵权威的一些随机值合并到其加密秘密中,然后使用零知识证明技术向权威证明它正确地执行了此操作。通过向第三方(如证书颁发机构或SSH客户端)提供熵颁发机构签名的公钥证书,设备可以证明其公钥包含来自颁发机构的随机性,因此是从大量候选值中提取的。在可能的情况下,我们的协议可以防止窃听者,熵权威的不当行为,以及试图诋毁熵权威的设备。为了证明我们的协议的实用性,我们已经实现并评估其性能的商品无线家庭路由器。当在家庭路由器上运行时,我们的协议比传统的RSA密钥生成慢2.1倍,比传统的EC-DSA密钥生成慢4.4倍。

英文摘要:

The security of any cryptosystem relies on the secrecy of the system's secret keys. Yet, recent experimental work demonstrates that tens of thousands of devices on the Internet use RSA and DSA secrets drawn from a small pool of candidate values. As a result, an adversary can derive the device's secret keys without breaking the underlying cryptosystem. We introduce a new threat model, under which there is a systemic solution to such randomness flaws. In our model, when a device generates a cryptographic key, it incorporates some random values from an entropy authority into its cryptographic secrets and then proves to the authority, using zero-knowledge-proof techniques, that it performed this operation correctly. By presenting an entropy-authority-signed public-key certificate to a third party (like a certificate authority or SSH client), the device can demonstrate that its public key incorporates randomness from the authority and is therefore drawn from a large pool of candidate values. Where possible, our protocol protects against eavesdroppers, entropy authority misbehavior, and devices attempting to discredit the entropy authority. To demonstrate the practicality of our protocol, we have implemented and evaluated its performance on a commodity wireless home router. When running on a home router, our protocol incurs a 2.1x slowdown over conventional RSA key generation and it incurs a 4.4x slowdown over conventional EC-DSA key generation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑