Synthesis of Adaptive Side-Channel Attacks
Authors:
- Quoc-Sang PhanQPQuoc-Sang Phan
- Lucas BangLBLucas Bang
- Corina S. PasareanuCPCorina S. Pasareanu
- Pasquale MalacariaPMPasquale Malacaria
- Tevfik BultanTBTevfik Bultan
- 1 August 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 328-342
Abstract
We present symbolic analysis techniques for detecting vulnerabilities that are due to adaptive side-channel attacks, and synthesizing inputs that exploit the identified vulnerabilities. We start with a symbolic attack model that encodes succinctly all the side-channel attacks that an adversary can make. Using symbolic execution over this model, we generate a set of mathematical constraints, where each constraint characterizes the set of secret values that lead to the same sequence of side-channel measurements. We then compute the optimal attack, i.e, the attack that yields maximum leakage over the secret, by solving an optimization problem over the computed constraints. We use information-theoretic concepts such as channel capacity and Shannon entropy to quantify the leakage over multiple runs in the attack, where the measurements over the side channels form the observations that an adversary can use to try to infer the secret. We also propose greedy heuristics that generate the attack by exploring a portion of the symbolic attack model in each step. We implemented the techniques in Symbolic PathFinder and applied them to Java programs encoding web services, string manipulations and cryptographic functions, demonstrating how to synthesize optimal side-channel attacks.Keywords
This publication has 25 references indexed in Scilit:
- Model-Counting Approaches for Nonlinear Numerical Constraints2017
- All-Solution Satisfiability Modulo Theories: Applications, Algorithms and Benchmarks2015
- Exploit Generation for Information Flow Leaks in Object-Oriented Programs2015
- Quantifying Information Flow for Dynamic Secrets2014
- Symbolic PathFinder: integrating symbolic execution with model checking for Java bytecode analysisAutomated Software Engineering, 2013
- Automatic Quantification of Cache Side-ChannelsLecture Notes in Computer Science, 2012
- Side-Channel Leaks in Web Applications: A Reality Today, a Challenge Tomorrow2010
- An information-theoretic model for adaptive side-channel attacks2007
- Secure information flow by self-composition2004
- Multi-channel Attacks2003