ZN

Z. Najm

info

Please Note

4 records found

Doctoral thesis (2023) - Z. Najm, P.H. Hartel, S. Picek
In the digital era, data has become a critical asset, driving innovation across industries while simultaneously presenting significant security challenges. Cryptography provides essential tools to ensure the confidentiality, integrity, and authenticity of sensitive information throughout its lifecycle. This thesis addresses the gap between theoretical cryptography and practical implementations, emphasizing the cost, feasibility, and resilience of cryptographic systems in real-world contexts. Key contributions include: (i) an assessment of the practical cost of differential cryptanalysis attacks, particularly on ciphers with 80-bit security, exemplified through SHA-1 chosen-prefix collision studies; (ii) an analysis of passive side-channel attack mitigation techniques, with a focus on embedded systems and IoT devices, including comparative evaluation of AES and ChaCha20; (iii) the study of active fault injection attacks, exploring detection and countermeasure strategies, particularly via electromagnetic fault injection (EMFI); and (iv) the proposal of a security-aware design flow for lightweight cipher implementations, integrating cryptanalysis, side-channel, and fault attack considerations into practical system design. The findings advance understanding of security-performance trade-offs, highlight the importance of empirical evaluation alongside theoretical proofs, and provide guidelines for designing robust, cost-effective cryptographic solutions, including post-quantum readiness. ...

On DFA Vulnerabilities of Substitution-Permutation Networks

Conference paper (2019) - Mustafa Khairallah, Xiaolu Hou, Zakaria Najm, Jakub Breier, Shivam Bhasin, Thomas Peyrin
Recently, the NIST launched a competition for lightweight cryptography and a large number of ciphers are expected to be studied and analyzed under this competition. Apart from the classical security, the candidates are desired to be analyzed against physical attacks. Differential Fault Analysis (DFA) is an invasive physical attack method for recovering key information from cipher implementations. Up to date, almost all the block ciphers have been shown to be vulnerable against DFA, while following similar attack patterns. However, so far researchers mostly focused on particular ciphers rather than cipher families, resulting in works that reuse the same idea for different ciphers. In this article, we aim at bridging this gap, by providing a generic DFA attack method targeting Substitution-Permutation Network (SPN) based families of symmetric block ciphers. We provide the overview of the state-of-the-art of the fault attacks on SPNs, followed by generalized conditions that hold on all the ciphers of this design family. We show that for any SPN, as long as the fault mask injected before a non-linear layer in the last round follows a non-uniform distribution, the key search space can always be reduced. This shows that it is not possible to design an SPN-based cipher that is completely secure against DFA, without randomization. Furthermore, we propose a novel approach to find good fault masks that can leak the key with a small number of instances. We then developed a tool, called Joint Difference Distribution Table (JDDT) for pre-computing the solutions for the fault equations, which allows us to recover the last round key with a very small number of pairs of faulty and non-faulty ciphertexts. We evaluate our methodology on various block ciphers, including PRESENT-80, PRESENT-128, GIFT-64, GIFT-128, AES-128, LED-64, LED-128, SKINNY-64-64, SKINNY-128-128, PRIDE and PRINCE. The developed technique would allow automated DFA analysis of several candidates in the NIST competition. ...
Conference paper (2018) - Zakaria Najm, Dirmanto Jap, Bernhard Jungk, Stjepan Picek, Shivam Bhasin
Side-channel attacks are a real threat to many secure systems. In this paper, we consider two ciphers used in the automotive industry – AES and ChaCha20 and we evaluate their resistance against side-channel attacks. In particular, the focus is laid upon the main non-linear component in these ciphers. Owing to the design of ChaCha20, it offers natural timing side-channel resistance and thus is suitable for affected applications. However, attacks exploiting the power side-channel are somewhat more difficult on ChaCha20 as compared to AES, but the overhead to protect ChaCha20 against such attack is considerably higher. ...

Hardware acceleration bridging the gap between practical and theoretical cryptanalysis?: A Survey

Conference paper (2018) - Mustafa Khairallah, Zakaria Najm, Anupam Chattopadhyay, Thomas Peyrin
Cryptanalysis is an essential part of cryptology. Not just is it useful to break ciphers for malicious applications, but it is also the basis for building secure ones. In fact almost all the ciphers still in use are trusted to be secure mainly due to the fact that many cryptanalysts are trying hard to break them publicly and failing. However, most of the time successful cryptanalytic results end up violating the cipher designers claims, but the attack itself remains theoretical due to the lack of enough resources/algorithms to efficiently implement it. For example, while the first practical SHA-1 collision was found in 2017, most of the ideas and vulnerabilities behind the attack had been discovered in 2005. The internet and IT industries didn't give much attention to the early theoretical results and it wasn't until 2016 that internet browsers starting getting rid of SHA-1. The leap from 2005 to 2017 was due to advancements in the attack algorithms, implementation techniques and hardware fabrication technologies. While hardware fabrication so far keeps on improving according to Moore's law, the other two aspects require a lot of research effort. In this survey, we touch on several examples of these efforts over the years. The survey is divided into three parts, cryptanalytic attacks designed with specific implementation requirements, previous cryptanalytic machines and quantum computers, the technology that promises to change how we think about cryptography and cryptanalysis. ...