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

基于目标内存分析的ChaCha20密钥流生成

Deriving ChaCha20 Key Streams From Targeted Memory Analysis

Peter McLaren, William J Buchanan, Gordon Russell, Zhiyuan Tan

摘要:

分组密码可能存在性能和脆弱性问题,因此可以使用流密码作为替代方案。虽然许多对称密钥流密码对侧信道攻击具有相当的抵抗力,但在存储器中可能存在加密伪像。本文确定了OpenSSH和OpenSSL中的一个重大漏洞,涉及ChaCha20密码中使用的加密文物的发现。这可以允许使用单个目标存储器提取来破解隧道数据。这样,执法机构和/或恶意代理就可以利用该漏洞获取用于每个隧道连接的加密密钥的副本。虚拟机的用户不会被警告捕获加密密钥,因为该方法从运行内存的提取运行。缓解的方法包括使加密伪像难以发现和限制存储器访问。

英文摘要:

There can be performance and vulnerability concerns with block ciphers, thus stream ciphers can used as an alternative. Although many symmetric key stream ciphers are fairly resistant to side-channel attacks, cryptographic artefacts may exist in memory. This paper identifies a significant vulnerability within OpenSSH and OpenSSL and which involves the discovery of cryptographic artefacts used within the ChaCha20 cipher. This can allow for the cracking of tunneled data using a single targeted memory extraction. With this, law enforcement agencies and/or malicious agents could use the vulnerability to take copies of the encryption keys used for each tunnelled connection. The user of a virtual machine would not be alerted to the capturing of the encryption key, as the method runs from an extraction of the running memory. Methods of mitigation include making cryptographic artefacts difficult to discover and limiting memory access.

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

↑