Title
Backdoored Hash Functions: Immunizing HMAC and HKDF
Abstract
Security of cryptographic schemes is traditionally measured as the inability of resource-constrained adversaries to violate a desired security goal. The security argument usually relies on a sound design of the underlying components. Arguably, one of the most devastating failures of this approach can be observed when considering adversaries such as intelligence agencies that can influence the design, implementation, and standardization of cryptographic primitives. While the most prominent example of cryptographic backdoors is NIST's Dual_EC_DRBG, believing that such attempts have ended there is naive. Security of many cryptographic tasks, such as digital signatures, pseudorandom generation, and password protection, crucially relies on the security of hash functions. In this work, we consider the question of how backdoors can endanger security of hash functions and, especially, if and how we can thwart such backdoors. We particularly focus on immunizing arbitrarily backdoored versions of HMAC (RFC 2104) and the hash-based key derivation function HKDF (RFC 5869), which are widely deployed in critical protocols such as TLS. We give evidence that the weak pseudorandomness property of the compression function in the hash function is in fact robust against backdooring. This positive result allows us to build a backdoor-resistant pseudorandom function, i.e., a variant of HMAC, and we show that HKDF can be immunized against backdoors at little cost. Unfortunately, we also argue that safe-guarding unkeyed hash functions against backdoors is presumably hard.
Year
DOI
Venue
2018
10.1109/CSF.2018.00015
2018 IEEE 31st Computer Security Foundations Symposium (CSF)
Keywords
DocType
Volume
hash-functions,backdoors,malicious-hashing,kleptography,immunization,HMAC,HKDF
Conference
2018
ISSN
ISBN
Citations 
1940-1434
978-1-5386-6681-4
1
PageRank 
References 
Authors
0.35
26
3
Name
Order
Citations
PageRank
Marc Fischlin1170992.71
Christian Janson252.79
Sogol Mazaheri371.89