Skip to main content
QUICK REVIEW

[Paper Review] On Cryptographic Attacks Using Backdoors for SAT

Alexander Semenov, Oleg Zaikin|arXiv (Cornell University)|Mar 13, 2018
Bayesian Modeling and Causal InferenceComputer Science6 citations
TL;DR

This paper introduces Inverse Backdoor Sets (IBS) for SAT to automate the construction of guess-and-determine attacks on cryptographic algorithms. By using a statistically estimated resistance function and Monte Carlo sampling, the method identifies optimal backdoor variable sets that minimize attack runtime, achieving state-of-the-art hardness estimates for weakened Trivium, AES-128, and Magma ciphers using SAT solvers.

ABSTRACT

Propositional satisfiability (SAT) is at the nucleus of state-of-the-art approaches to a variety of computationally hard problems, one of which is cryptanalysis. Moreover, a number of practical applications of SAT can only be tackled efficiently by identifying and exploiting a subset of formula's variables called backdoor set (or simply backdoors). This paper proposes a new class of backdoor sets for SAT used in the context of cryptographic attacks, namely guess-and-determine attacks. The idea is to identify the best set of backdoor variables subject to a statistically estimated hardness of the guess-and-determine attack using a SAT solver. Experimental results on weakened variants of the renowned encryption algorithms exhibit advantage of the proposed approach compared to the state of the art in terms of the estimated hardness of the resulting guess-and-determine attacks.

Motivation & Objective

  • To address the challenge of constructing efficient guess-and-determine attacks on cryptographic ciphers using SAT-based methods.
  • To overcome limitations of prior backdoor sets that are not reusable across multiple instances or require overly restrictive algorithmic assumptions.
  • To develop an automated, generalizable method for identifying backdoor sets that minimize the estimated runtime of guess-and-determine attacks.
  • To provide a statistically grounded resistance function for estimating attack hardness without relying on ad hoc or manually engineered strategies.

Proposed method

  • Introduces Inverse Backdoor Sets (IBS), a new class of backdoor sets that allow the use of NP and incomplete solvers for weakened subproblems, extending beyond Strong Backdoors.
  • Defines a resistance function to estimate the runtime of a guess-and-determine attack based on a specific IBS, using Monte Carlo sampling to statistically evaluate average-case performance.
  • Applies blackbox optimization techniques to minimize the resistance function over the space of all possible IBS candidates, identifying the most efficient backdoor sets.
  • Employs SAT solvers to evaluate the performance of weakened subproblems generated by fixing IBS variable assignments, enabling automated attack construction.
  • Uses a hybrid approach combining symbolic analysis and empirical evaluation to guide the search for low-resistance backdoor sets.

Experimental results

Research questions

  • RQ1Can a general, automated method be developed to identify backdoor sets that minimize the estimated runtime of guess-and-determine attacks on cryptographic ciphers?
  • RQ2How can the resistance of a guess-and-determine attack be statistically estimated using a Monte Carlo-based function that reflects average-case solver performance?
  • RQ3To what extent can Inverse Backdoor Sets (IBS) outperform manually designed or prior algorithm-specific backdoor constructions in terms of attack hardness estimation?
  • RQ4Is the proposed resistance function minimization approach scalable and effective across different cryptographic primitives such as Trivium, AES-128, and Magma?

Key findings

  • The proposed IBS-based approach achieves a runtime estimation of 2.04×10⁴¹ seconds for a weakened Trivium variant, outperforming the previous best attack with 2.50×10³⁴ seconds.
  • For a 6-round AES-128 variant, the method estimates a runtime of 1.45×10¹⁵ seconds, significantly lower than the previous best of 3.08×10¹⁶ seconds.
  • On a 6-round Magma cipher variant, the attack estimation is 3.55×10²² seconds, improving upon the prior best of 1.17×10²³ seconds.
  • The resistance function estimation via Monte Carlo sampling provides a reliable and consistent measure of attack hardness, enabling automated optimization of backdoor sets.
  • The method requires negligible memory usage, in contrast to prior approaches that demanded up to 2⁸⁰ bits, making it more practical for standard computing environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.