CRFeb 9, 2018

Freestyle, a randomized version of ChaCha for resisting offline brute-force and dictionary attacks

arXiv:1802.03201v218 citations
AI Analysis

It addresses security vulnerabilities in cryptographic applications where adversaries can perform offline attacks, though it is incremental as it builds on ChaCha with added randomization.

This paper tackles the problem of resisting offline brute-force and dictionary attacks by introducing Freestyle, a randomized version of ChaCha that uses variable rounds and a hash-based halting condition, resulting in resistance to key-guessing attacks and the ability to generate 2^128 different ciphertexts for given inputs.

This paper introduces Freestyle, a randomized and variable round version of the ChaCha cipher. Freestyle uses the concept of hash based halting condition where a decryption attempt with an incorrect key is likely to take longer time to halt. This makes Freestyle resistant to key-guessing attacks i.e. brute-force and dictionary based attacks. Freestyle demonstrates a novel approach for ciphertext randomization by using random number of rounds for each block, where the exact number of rounds are unknown to the receiver in advance. Freestyle provides the possibility of generating $2^{128}$ different ciphertexts for a given key, nonce, and message; thus resisting key and nonce reuse attacks. Due to its inherent random behavior, Freestyle makes cryptanalysis through known-plaintext, chosen-plaintext, and chosen-ciphertext attacks difficult in practice. On the other hand, Freestyle has costlier cipher initialization process, typically generates 3.125% larger ciphertext, and was found to be 1.6 to 3.2 times slower than ChaCha20. Freestyle is suitable for applications that favor ciphertext randomization and resistance to key-guessing and key reuse attacks over performance and ciphertext size. Freestyle is ideal for applications where ciphertext can be assumed to be in full control of an adversary, and an offline key-guessing attack can be carried out.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes