Introduction
Solving systems of Boolean polynomial equations is a cornerstone of modern cryptanalysis, particularly in the context of algebraic side-channel attacks. These attacks exploit physical leakages—such as power consumption or electromagnetic emissions—to formulate equations that, when solved, reveal secret cryptographic keys. However, the underlying problem, known as the Maximal Boolean Polynomial Selection (Max-PoSSo) problem, is NP-hard. Traditional algebraic methods, such as Gröbner basis algorithms, suffer from exponential complexity as the number of variables increases, often rendering them impractical for real-world scenarios.
A Paradigm Shift: Channel Coding for Cryptanalysis
This research proposes a departure from standard algebraic techniques by repurposing principles from channel coding theory. Specifically, the authors utilize Forward Error Correction (FEC) concepts to navigate the solution space of Boolean polynomials. By treating the search for a variable assignment as a process of "correcting" an initial guess toward a valid solution—analogous to decoding a noisy signal—the proposed method avoids the computational bottlenecks of traditional algebra.
Proposed Deterministic Algorithms
The paper introduces three deterministic algorithms designed to solve the Max-PoSSo problem efficiently:
- Algorithm 1 (Linear Block Code Search): This algorithm constructs a linear block code using a generator matrix. Potential solutions are treated as codewords, and a local search is performed within a defined Hamming distance (search radius $r$). This allows the algorithm to explore the neighborhood of candidate solutions systematically.
- Algorithm 2 (Iterative Refinement): Building on the first, this iterative approach updates the generator matrix in each round. By selecting the most promising suboptimal solutions from one iteration to form the basis for the next, the algorithm progressively converges toward a global optimum.
- Algorithm 3 (Redundancy Optimization): To enhance efficiency, this version identifies and skips redundant candidate solutions that appear in overlapping search regions. This optimization reduces runtime by approximately 20% without compromising the quality of the final solution.
Performance and Robustness
The effectiveness of these algorithms was tested against complex benchmarks, including a system with 256 equations and 128 variables. A key finding is the impact of the search radius $r$ on the number of satisfied equations. As shown in the figure below, increasing the radius consistently improves the algorithm's ability to find better solutions across various initial search points.
Furthermore, the deterministic nature of these algorithms ensures stable performance. Unlike stochastic methods like Genetic Algorithms, which can produce inconsistent results, the proposed coding-theory-based approach demonstrates high robustness. The following figure illustrates the maximum number of satisfied equations achieved across 320 different initial search points, showing a high and stable success rate, frequently reaching over 220 satisfied equations.
Key Results and Conclusion
The proposed methods significantly outperform existing benchmarks. In large-scale tests, the coding-theory approach satisfied up to 223 equations, compared to only 182 for Genetic Algorithms. Additionally, the complexity of $O(n^r)$ offers a scalable alternative to the $O(2^n)$ complexity of traditional algebraic solvers for large variable sets.
While the computational cost increases with the search radius, the deterministic and non-algebraic nature of this approach provides a powerful new tool for cryptanalysts. Future work will focus on hybridizing these search strategies with traditional solvers to further enhance efficiency in real-world side-channel attack scenarios.
Summary updated