Skip to main content

Research Repository

Advanced Search

Deriving ChaCha20 Key Streams From Targeted Memory Analysis

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

Authors



Abstract

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.

Citation

McLaren, P., Buchanan, W. J., Russell, G., & Tan, Z. (2019). Deriving ChaCha20 Key Streams From Targeted Memory Analysis. Journal of Information Security and Applications, 48, Article 102372. https://doi.org/10.1016/j.jisa.2019.102372

Journal Article Type Article
Acceptance Date Aug 5, 2019
Online Publication Date Aug 10, 2019
Publication Date 2019-10
Deposit Date Aug 10, 2019
Publicly Available Date Aug 13, 2019
Journal Journal of Information Security and Applications
Electronic ISSN 2214-2126
Publisher Elsevier
Peer Reviewed Peer Reviewed
Volume 48
Article Number 102372
DOI https://doi.org/10.1016/j.jisa.2019.102372
Keywords network traffic; decryption; memory analysis; Virtual machine introspection; Secure Shell; Transport Layer Security; stream ciphers; ChaCha20
Public URL http://researchrepository.napier.ac.uk/Output/2032207
Contract Date Aug 13, 2019

Files







You might also like



Downloadable Citations