Full Collision Attack: Pushing the Limits of Exhaustible Key Spaces

Changhai Ou, Siew-Kei LamIACR ePrint 2019

Abstract

Traditional side-channel attacks often struggle when the correct sub-key candidate is buried deep within a noisy search space. This paper introduces the Full-Collision Chain (FCC) attack, a novel framework designed to exploit the complete set of internal data overlaps (collisions) between sub-keys. By integrating Minkowski Distance-based detection and a flexible fault-tolerant strategy, the FCC framework drastically prunes the cryptographic key search space, enabling the recovery of keys from implementations previously considered practically secure.

Introduction: The Limits of Divide-and-Conquer

Side-channel attacks (SCAs) typically employ a "Divide-and-Conquer" (D&C) strategy, breaking a 128-bit AES key into 16 individual sub-key bytes to be attacked independently via power or electromagnetic leakages. However, if the correct sub-key is not the top-ranked candidate, the resulting guessing space for the full key grows exponentially, often becoming computationally infeasible.

Existing Collision Optimized Divide-and-Conquer Attacks (CODCAs) attempt to mitigate this by identifying XOR relationships between sub-keys. Despite their promise, current methods suffer from significant inefficiencies, including slow correlation detection, underutilization of available collision pairs, and a lack of fault tolerance. If a single collision is misidentified, the entire recovery process typically fails.

Comparison of existing Collision Optimized Divide-and-Conquer Attacks (CODCAs) highlighting their respective advantages and limitations.

Methodology

The proposed framework addresses these limitations through three primary innovations:

1. Minkowski Distance enhanced Collision Attack (MDCA)

Rather than relying on standard correlation methods, the authors utilize a profiled Minkowski Distance metric. This approach allows collision detection to achieve performance levels comparable to high-end Template Attacks (TA), significantly increasing the reliability of the extracted collision data.

2. Full-Collision Chain (FCC)

While previous models linked sub-keys in simple linear chains, the FCC framework exploits the "full" set of collisions across all possible sub-key pairs. This creates a dense web of constraints, allowing the attacker to exclude a much larger volume of incorrect key candidates through redundant information.

3. Guessing Theory and Fault Tolerance

The framework incorporates $\alpha$-work-factor guessing theory to set flexible thresholds for sub-key candidates. Instead of maintaining a fixed number of candidates for every byte, the algorithm retains only enough candidates to meet a target success probability. To handle noise, a Fault-Tolerant Vector (FTV) is introduced, allowing the system to tolerate a specific number of incorrectly ranked collisions within sub-key blocks.

Sub-key ranking and probability distribution used to determine the optimal number of candidates for the guessing process.

Experimental Results

The researchers evaluated the FCC framework using 50,000 power traces from an AT89S52 micro-controller running AES-128. Key findings include:

  • Superior Success Rates: In scenarios with 320 traces, the fault-tolerant FCC achieved a success rate of 0.52, outperforming both the standard FCC (0.32) and the Group Collision Attack (0.40).
  • Computational Efficiency: The FCC reduced the remaining "chain space" (the number of full-key candidates to verify) to between $2^{13}$ and $2^{15}$. In contrast, traditional methods often leave spaces as large as $2^{32}$ or $2^{40}$, which are significantly slower to process.
  • Robustness: The fault-tolerant version remained effective even in high-noise environments where thresholds were set to capture deeply-ranked sub-keys.

Conclusion and Future Work

The Full-Collision Chain attack represents a significant advancement in side-channel analysis, transforming collisions from fragile links into a robust web of information. While the current implementation requires a profiled attack stage—necessitating a programmable version of the target device—future work will focus on automating parameter optimization for the Fault-Tolerant Vector and refining the Minkowski Distance metrics to further reduce profiling requirements.

Summary updated

BibTeX
@article{ou2019full,
  author = {Changhai Ou and Siew-Kei Lam},
  title = {{Full Collision Attack: Pushing the Limits of Exhaustible Key Spaces}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2019},
}
Figure