ACM Transactions on Software Engineering and Methodology · 2019 · 29 citations · 29 references
ComputingComputer EngineeringComputer ScienceComputer SecurityCryptographyFormal MethodsDeductive VerificationSide-channel AnalysisInformation LeakageMaskingMasking StrengthSide-channel Leakage Assessment
Power side-channel attacks, capable of deducing secret data using statistical analysis, have become a serious threat. Random masking is a widely used countermeasure for removing the statistical dependence between secret data and side-channel information. Although there are techniques for verifying whether a piece of software code is perfectly masked, they are limited in accuracy and scalability. To bridge this gap, we propose a refinement-based method for verifying masking countermeasures. Our method is more accurate than prior type-inference-based approaches and more scalable than prior model-counting-based approaches using SAT or SMT solvers. Indeed, our method can be viewed as a gradual refinement of a set of type-inference rules for reasoning about distribution types. These rules are kept abstract initially to allow fast deduction and then made concrete when the abstract version is not able to resolve the verification problem. We also propose algorithms for quantifying the amount of side-channel information leakage from a software implementation using the notion of quantitative masking strength. We have implemented our method in a software tool and evaluated it on cryptographic benchmarks including AES and MAC-Keccak. The experimental results show that our method significantly outperforms state-of-the-art techniques in terms of accuracy and scalability.
29
Strong Non-Interference and Type-Directed Higher-Order Masking
Gilles Barthe, Sonia Belaïd, François Dupressoir et al. · 2016 · 219 citations
On the vulnerability of FPGA bitstream encryption against power analysis attacks
Amir Moradi, Alessandro Barenghi, Timo Kasper et al. · 2011 · 201 citations
Eliminating timing side-channel leaks using program repair
Meng Wu, Shengjian Guo, Patrick Schaumont et al. · 2018 · 99 citations