Extending SAT Solvers to Cryptographic Problems

  • Authors:
  • Mate Soos;Karsten Nohl;Claude Castelluccia

  • Affiliations:
  • INRIA Rhône-Alpes,;University of Virginia,;INRIA Rhône-Alpes,

  • Venue:
  • SAT '09 Proceedings of the 12th International Conference on Theory and Applications of Satisfiability Testing
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Cryptography ensures the confidentiality and authenticity of information but often relies on unproven assumptions. SAT solvers are a powerful tool to test the hardness of certain problems and have successfully been used to test hardness assumptions. This paper extends a SAT solver to efficiently work on cryptographic problems. The paper further illustrates how SAT solvers process cryptographic functions using automatically generated visualizations, introduces techniques for simplifying the solving process by modifying cipher representations, and demonstrates the feasibility of the approach by solving three stream ciphers. To optimize a SAT solver for cryptographic problems, we extended the solver's input language to support the XOR operation that is common in cryptography. To better understand the inner workings of the adapted solver and to identify bottlenecks, we visualize its execution. Finally, to improve the solving time significantly, we remove these bottlenecks by altering the function representation and by pre-parsing the resulting system of equations. The main contribution of this paper is a new approach to solving cryptographic problems by adapting both the problem description and the solver synchronously instead of tweaking just one of them. Using these techniques, we were able to solve a well-researched stream cipher 26 times faster than was previously possible.