Work

Secure Cryptographic Algorithm Implementation on Embedded Platforms

Year: 2007
Type: report
Abstract: Sensitive systems that are based on smart cards use well-studied and well-developed\ncryptosystems. Generally these cryptosystems have been subject to rigorous mathematical\nanalysis in an effort to uncover cryptographic weaknesses in the system. \nThe cryptosystems used in smart cards are, therefore, not usually vulnerable to\nthese types of attacks. Since smart cards are small objects that can be easily placed\nin an environment where physical vulnerabilities can be exploited, adversaries have\nturned to different avenues of attack.\n\nThis thesis describes the current state-of-the-art in side channel and fault analysis\nagainst smart cards, and the countermeasures necessary to provide a secure\nimplementation. Both attack techniques need to be taken into consideration when\nimplementing cryptographic algorithms in smart cards.\n\nIn the domain of side-channel analysis a new application of using cache accesses\nto attack an implementation of AES by observing the power consumption is described,\nincluding an unpublished extension.\n\nSeveral new fault attacks are proposed based on finding collisions between a\ncorrect and a fault-induced execution of a secure secret algorithm. Other new fault\nattacks include reducing the number of rounds of an algorithm to make a differential\ncryptanalysis trivial, and fixing portions of the random value used in DSA to allow\nkey recovery.\n\nCountermeasures are proposed for all the attacks described. The use of random\ndelays, a simple countermeasure, is improved to render it more secure and less\ncostly to implement. Several new countermeasures are proposed to counteract the\nparticular fault attacks proposed in this thesis. A new method of calculating a\nmodular exponentiation that is secure against side channel analysis is described,\nbased on ideas which have been proposed previously or are known within the smart\ncard industry. A novel method for protecting RSA against fault attacks is also\nproposed based on securing the underlying Montgomery multiplication.\n\nThe majority of the fault attacks detailed have been implemented against actual\nchips to demonstrate the feasibility of these attacks. Details of these experiments\nare given in appendices. The experiments conducted to optimise the performance\nof random delays are also described in an appendix.
Language: English
Open Access status: green
OpenAlex ID: W2148765896
Cites: 75
Cited by: 4
Related to: 10