Skip to main content
QUICK REVIEW

[Paper Review] NNgSAT: Neural Network guided SAT Attack on Logic Locked Complex Structures

Kimia Zamiri Azar, Hadi Mardani Kamali|arXiv (Cornell University)|Sep 4, 2020
Physical Unclonable Functions (PUFs) and Hardware SecurityComputer Science53 references12 citations
TL;DR

This paper proposes NNgSAT, a neural network-guided SAT attack that uses a message-passing neural network (MPNN) to predict satisfying assignments and accelerate SAT solving for logic-locked circuits with complex structures—such as large multipliers or tree networks—where traditional SAT solvers fail. The method achieves 93.5% success in deobfuscating such circuits within reasonable time, significantly outperforming standard SAT attacks on these hard instances.

ABSTRACT

The globalization of the IC supply chain has raised many security threats, especially when untrusted parties are involved. This has created a demand for a dependable logic obfuscation solution to combat these threats. Amongst a wide range of threats and countermeasures on logic obfuscation in the 2010s decade, the Boolean satisfiability (SAT) attack, or one of its derivatives, could break almost all state-of-the-art logic obfuscation countermeasures. However, in some cases, particularly when the logic locked circuits contain complex structures, such as big multipliers, large routing networks, or big tree structures, the logic locked circuit is hard-to-be-solved for the SAT attack. Usage of these structures for obfuscation may lead a strong defense, as many SAT solvers fail to handle such complexity. However, in this paper, we propose a neural-network-guided SAT attack (NNgSAT), in which we examine the capability and effectiveness of a message-passing neural network (MPNN) for solving these complex structures (SAT-hard instances). In NNgSAT, after being trained as a classifier to predict SAT/UNSAT on a SAT problem (NN serves as a SAT solver), the neural network is used to guide/help the actual SAT solver for finding the SAT assignment(s). By training NN on conjunctive normal forms (CNFs) corresponded to a dataset of logic locked circuits, as well as fine-tuning the confidence rate of the NN prediction, our experiments show that NNgSAT could solve 93.5% of the logic locked circuits containing complex structures within a reasonable time, while the existing SAT attack cannot proceed the attack flow in them.

Motivation & Objective

  • Address the challenge of SAT attack failure on logic-locked circuits containing complex structures like large multipliers or routing networks.
  • Overcome the limitations of conventional SAT solvers, which struggle with high structural complexity and fail to solve certain CNF instances efficiently.
  • Develop a neural network-based guidance mechanism that enhances SAT solver performance on hard-to-solve, complex logic obfuscation patterns.
  • Demonstrate that a trained MPNN can generalize to unseen, large-scale obfuscated circuits, improving both success rate and speedup over traditional SAT attacks.

Proposed method

  • Train a message-passing neural network (MPNN) on conjunctive normal forms (CNFs) derived from logic-locked circuits to classify SAT/UNSAT outcomes.
  • Use the MPNN as a predictor to guide the SAT solver by suggesting promising variable assignments based on confidence scores (confidence rate, CR).
  • Integrate the MPNN predictions into a parallel SAT solving framework, where multiple SAT solvers are guided by different confidence thresholds.
  • Fine-tune the confidence rate (CR) of MPNN predictions to balance guidance quality and avoid misdirection, with optimal CR range found to be 0.7–0.9.
  • Apply the MPNN-guided SAT attack in an iterative manner, using discriminating input patterns (DIPs) to progressively eliminate incorrect keys.
  • Use parallel execution of SAT solvers per iteration, with only those guided by high-confidence, effective predictions actively proceeding, while others are skipped if a solution is found early.

Experimental results

Research questions

  • RQ1Can a message-passing neural network effectively predict SAT/UNSAT outcomes for complex logic-locked circuits that traditional SAT solvers fail to solve?
  • RQ2How does the confidence rate (CR) of MPNN predictions affect the success and efficiency of the SAT attack in guiding the solver?
  • RQ3To what extent does the NNgSAT approach improve performance (speedup and success rate) over traditional SAT attacks on circuits with complex structures?
  • RQ4Does the MPNN-guided approach scale to large, previously unseen circuits, and can it generalize beyond training data?

Key findings

  • NNgSAT successfully deobfuscates 93.5% of logic-locked circuits containing complex structures—such as large multipliers or tree networks—within a reasonable time, while the traditional SAT attack fails on all such cases.
  • The optimal confidence rate (CR) range for MPNN predictions is 0.7–0.9, where the rate of helpful guidance is maximized and misguiding predictions are minimized.
  • Performance improvements from NNgSAT are super-linear with respect to the number of parallel SAT solvers, indicating synergistic gains beyond simple parallelism.
  • The method is robust to circuit size: even large, unseen circuits benefit from MPNN guidance, showing generalization capability beyond training data.
  • When the traditional SAT attack fails to solve a problem, NNgSAT can still succeed by leveraging neural guidance, making it effective on previously intractable SAT instances.
  • For cases where both attacks succeed, NNgSAT achieves significant speedup, with the best performance observed using 8 parallel cores and a CR range of 0.7–0.9.

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.