Best Information is Most Successful

Eloi de Chérisey, Sylvain Guilley, Olivier Rioul, Pablo Piantanida

TL;DR

This paper establishes a rigorous, information-theoretic link between the success rate of side-channel attacks and the mutual information leaked by a device. It provides universal, mathematically derived bounds on attack success that are independent of specific attack strategies, offering a powerful new tool for designers to assess and guarantee cryptographic security.

What Problem Does This Paper Address?

Side-channel attacks (SCAs) are a significant threat to the security of cryptographic devices. These attacks exploit physical leakage (like power consumption or electromagnetic radiation) to infer secret keys. While many specific SCA techniques exist, designers face a fundamental challenge: how to quantify the overall security of a device against any potential SCA. Existing methods often rely on specific attack models or require extensive simulations, making it difficult to establish provable security guarantees. This paper aims to bridge this gap by providing a general, information-theoretic framework to bound the success rate of any SCA, offering a more robust and predictable security assessment.

Methods

The authors leverage information theory, particularly mutual information (MI), to quantify the leakage of information from a device. They model the side-channel leakage as a communication channel where the secret key is the transmitted message, the leakage measurements are the received signal, and noise represents imperfections in the device and measurement setup.

Key methodological contributions include:

  • Information-Theoretic Bounds: Deriving fundamental inequalities that link the probability of success (Ps) of an attack to the mutual information between the leakage (X) and the secret key (K), conditioned on known plaintext (T). Specifically, they establish bounds on the success rate based on MI, such as $H(K) – (1 – Ps) log2(2^n – 1) – H2(Ps) ≤ q \cdot I(X; Y | T)$, where $q$ is the number of traces and $n$ is the key size.
  • Upper Bounds on Mutual Information: Developing two distinct upper bounds for the mutual information $I(X; Y | T)$. The first is linear in the number of traces ($q$) and useful for small $q$, while the second converges to a finite value as $q$ increases, making it more accurate for larger datasets.
  • Parametric Estimation for AWGN: For the common case of additive white Gaussian noise (AWGN), they derive a parametric estimation of MI that depends only on the Signal-to-Noise Ratio (SNR). This allows for a simple and accurate prediction of attack success based on a single, easily measurable parameter.
  • Link to Guessing Entropy: Connecting their bounds to the notion of guessing entropy, another metric for quantifying attack complexity, providing a more complete picture of security.

Datasets

The paper uses simulated data for experiments and applies its methods to real-world data from the "DPA Contest v1" and "DPA Contest v2" challenges. These datasets involve leakage traces from DES and AES implementations, respectively.

Key Insights and Ideas

  • Mutual Information as a Universal Security Metric: The paper strongly advocates for using mutual information as a fundamental, attack-agnostic metric for side-channel security. It demonstrates that MI directly quantifies the information about the secret key that is leaked, regardless of how an attacker chooses to exploit it.
  • The Power of SNR for AWGN: For the ubiquitous AWGN leakage model, the SNR emerges as a surprisingly simple yet powerful predictor of attack success. Knowing only the SNR allows for accurate estimation of MI and, consequently, attack success rate.
  • Tight Bounds for Designers: By providing mathematically derived, universal bounds, the paper offers designers a concrete way to assess security without needing to anticipate every possible attack vector. This moves beyond "up to a constant" bounds to more precise, actionable security guarantees.
  • Trade-off Between Traces and Success: The derived inequalities clearly illustrate the trade-off between the number of traces ($q$) and the achievable success rate ($Ps$), providing a quantitative understanding of how much data is needed for a successful attack.

Key Results

  • Universal Bounds: The paper establishes universal, mathematically derived bounds on the success rate of any side-channel attack, linking it directly to mutual information.
  • Parametric MI for AWGN: A parametric estimation for mutual information under AWGN is provided, dependent only on the SNR. This allows for easy prediction of attack success.
  • Practical Validation: The proposed bounds and estimation methods are validated against real-world data from the DPA Contest, showing good agreement with experimental results and outperforming existing bounds. For example, in Figure 8, their prediction is shown to be close to the ML distinguisher's performance and better than Duc's bound.
  • Guessing Entropy Connection: The work provides a link to guessing entropy, offering insights into the number of attempts required to recover a key.

Limitations and Future Work

  • Assumptions: The analysis relies on certain assumptions, such as the leakage being modeled as a communication channel and, in specific sections, the noise being additive white Gaussian. While the framework is general, specific derivations might depend on these assumptions.
  • Computational Complexity: While the derived bounds are analytically useful, calculating the exact mutual information can still be computationally intensive for high-dimensional distributions. The paper addresses this by proposing numerical estimation techniques and approximations.
  • Future Work: The authors suggest exploring more complex leakage models and noise distributions. They also highlight the potential for further refinement of the bounds and their application to more advanced cryptographic countermeasures like masking. The work also opens avenues for better understanding the impact of dimensionality reduction on SNR and attack success.

Summary updated

BibTeX
@inproceedings{cherisey2019best,
  author = {Eloi de Chérisey and Sylvain Guilley and Olivier Rioul and Pablo Piantanida},
  title = {{Best Information is Most Successful}},
  booktitle = {ISIT},
  year = {2019},
  url = {https://openreview.net/forum?id=BL0ZsiJCAtt},
}

Loading related content...

Figure