Scholarly record

Synthesis of Masking Countermeasures against Side Channel Attacks

Abstract

We propose a new synthesis method for generating countermeasures for cryptographic software code to mitigate power analysis based side channel attacks. Side channel attacks may arise when computers and microchips leak sensitive information about the software code and data that they process, e.g., through power dissipation or electromagnetic radiation. Such information leaks have been exploited in commercial systems in the embedded space. Our new method takes an unprotected C program as input and returns a functionally equivalent but side channel leak free new program as output. The new program is guaranteed to be perfectly masked in that all intermediate computation results are made statistically independent from the secret data. We have implemented our new method in a tool based on the LLVM compiler and the Yices SMT solver. Our experiments on a set of cryptographic software benchmarks show that the new method is both effective and scalable for applications of realistic size.

Similar items

  • Formal Analysis of the Entropy / Security Trade-off in First-Order Masking Countermeasures against Side-Channel Attacks

    Scholarly record2011IACR Cryptology ePrint ArchiveMaxime Nassar, Sylvain Guilley, Jean-Luc Danger

    Several types of countermeasures against side-channel attacks are known. The one called masking is of great interest since it can be applied to any protocol and/or algorithm, without nonetheless requiring special care at the implementation level. Masking countermeasures are usual

  • Countermeasure against Side-Channel Attack in Shared Memory of TrustZone

    Scholarly record2017CoRRNa-Young Ahn, Dong Hoon Lee

    In this paper we introduced countermeasures against side-channel attacks in the shared memory of TrustZone. We proposed zero-contention cache memory or policy between REE and TEE to prevent from TruSpy attacks in TrustZone. And we suggested that delay time of data path of REE is

  • Formal Study of a Countermeasure Against Side-Channel Attack

    Scholarly record2015Thomas Eisenbarth, Xin Ye, Joshua Jaffe, Benjamin Jun

    Context. In applications such as cryptography or real-time systems, formal methods are used to prove functional properties on the critical parts of the code. Specifically in cryptography, some nonfunctional properties are also important, but are not typically certified by formal

  • FourQ on embedded devices with strong countermeasures against side-channel attacks

    Scholarly record2017IACR Cryptology ePrint ArchiveZhe Liu, Patrick Longa, Geovandro C. C. F. Pereira, Oscar Reparaz

    This work deals with the energy-efficient, high-speed and high-security implementation of elliptic curve scalar multiplication, elliptic curve Diffie-Hellman (ECDH) key exchange and elliptic curve digital signatures on embedded devices using FourQ and incorporating strong counter

  • SMT-Based Verification of Software Countermeasures against Side-Channel Attacks

    Scholarly record2014TACASHassan Eldib, Chao Wang, Patrick Schaumont

    A common strategy for designing countermeasures against side channel attacks is using randomization techniques to remove the statistical dependency between sensitive data and side-channel emissions. However, this process is both labor intensive and error prone, and currently, the

  • Provably Secure Countermeasures against Side-channel Attacks

    Scholarly record2015Praveen Kumar Vadnala

    Side-channel attacks exploit the fact that the implementations of cryptographic algorithms leak information about the secret key. In power analysis attacks, the observable leakage is the power consumption of the device, which is dependent on the processed data and the performed o