Document Type
Article
Publication Date
10-13-2020
Journal / Book Title
IEEE Access
Abstract
One critical vulnerability of stream ciphers is the reuse of an encryption key. Since most stream ciphers consist of only a key scheduling algorithm and an Exclusive OR (XOR) operation, an adversary may break the cipher by XORing two captured ciphertexts generated under the same key. Various cryptanalysis techniques based on this property have been introduced in order to recover plaintexts or encryption keys; in contrast, this research reinterprets the vulnerability as a method of detecting stream ciphers from the ciphertexts it generates. Patterns found in the values (characters) expressed across the bytes of a ciphertext make the ciphertext distinguishable from random and are unique to each combination of ciphers and encryption keys.We propose a scheme that uses these patterns as a fingerprint, which is capable of detecting all ciphertexts of a given length generated by an encryption pair. The scheme can be utilized to detect a specific type of malware that exploits a stream cipher with a stored key such as the DarkComet Remote Access Trojan (RAT).We show that our scheme achieves 100% accuracy for messages longer than 13 bytes in about 17 sec, providing a fast and highly accurate tool to aid in encrypted malware detection.
DOI
10.1109/ACCESS.2020.3030559
Journal ISSN / Book ISBN
2169-3536
Montclair State University Digital Commons Citation
Stone, William; Kim, Daeyoung; Kemmoe, Victor Youdom; Kang, Mingon; and Son, Junggab, "Rethinking the Weakness of Stream Ciphers and Its Application to Encrypted Malware Detection" (2020). School of Computing Faculty Scholarship and Creative Works. 1.
https://digitalcommons.montclair.edu/computing-facpubs/1
Published Citation
W. Stone, D. Kim, V. Y. Kemmoe, M. Kang and J. Son, "Rethinking the Weakness of Stream Ciphers and Its Application to Encrypted Malware Detection," in IEEE Access, vol. 8, pp. 191602-191616, 2020, doi: 10.1109/