arXiv:2610.41083cs.CROct 2026

Manuscript Offprint

arXiv:2610.41083

Evaluating Structural and SAT Attack Resilience in Cryptographic Dynamic Logic Locking via Keystream Capping

Nahush Tambe, Naseeruddin Lodge, Vineet Chadalavada, Fareena Saqib

Nahush Tambe, Naseeruddin Lodge, Vineet Chadalavada, Fareena Saqib

Electrical and Computer Engineering, UNC Charlotte, Charlotte, USA

Ntambe@charlotte.edu, Nlodge@charlotte.edu, Vchadala@charlotte.edu, Fsaqib@charlotte.edu

Abstract—Untrusted third-party entities throughout the semiconductor supply chain expose proprietary hardware intellectual property to reverse engineering, piracy, and overproduction. While logic locking counters this threat by embedding key-dependent logic, conventional static key-gates remain vulnerable to both oracle-guided SAT attacks and structural removal attacks due to their time-invariant netlist signatures. Dynamic schemes such as STREAMLOCK mitigate oracle attacks by continuously masking signals with cryptographic keystream, achieving near 50% Hamming distance output corruption under incorrect keys with low hardware overhead. However, confining key-gates to primary outputs leaves internal combinational cones vulnerable to single-tap structural bypasses. This work extends dynamic logic locking by distributing key-gates within internal paths prioritized via fault-propagation analysis. The original and internally-hardened architectures are evaluated against structural removal attacks and a bounded, unrolling-based SAT-style attack across three ISCAS'85 benchmarks. Distributing masking internally raises the uninformed attacker's brute-force search space from 6 candidate node subsets to over 104510^{45} for the largest benchmark. Crucially, empirical analysis reveals that topological relocation alone does not prevent algebraic key extraction when wide circuits expose numerous keystream bits per clock cycle. To eliminate this leak, a keystream-bit reuse cap is introduced to restrict per-cycle exposure independent of circuit width. Under this constraint, SAT-solver tractability encounters an immediate computational cliff, transitioning sharply from rapid under-constrained solving to timeout thresholds without disclosing the secret key. Integrating fault-aware internal placement with keystream reuse capping delivers joint resilience against structural bypasses and bounded SAT attacks.

Index Terms—Cryptography, Dynamic Logic Locking, Fault Analysis, Hardware Security, Intellectual Property Protection, Removal Attacks, SAT Attacks, Stream Ciphers, Structural Attacks

I. INTRODUCTION

The globalization of semiconductor design and fabrication has made intellectual property (IP) protection a central concern in modern integrated circuit development [1]. Because physical fabrication relies on external third-party foundries and test facilities, hardware designs face significant exposure to reverse engineering, IP piracy, and unauthorized overproduction. Logic locking has emerged as a widely adopted countermeasure, embedding key-dependent gates into a netlist such that correct functionality is recovered only upon applying the valid activation key. However, most conventional schemes rely on static key-gates whose Boolean state does not evolve at runtime, leaving them susceptible to oracle-guided attacks that exploit the time-invariant relationship between key, input, and output. These schemes span early random-insertion methods such as Random Logic Locking (RLL) [2], as well as structured techniques such as SAT-Attack Resilient Logic Locking (SARLock) [3], fault-analysis-based logic encryption [4], and Stripped Functionality Logic Locking (SFFL) [5].

Motivated by this limitation, recent work has explored dynamic, cryptographically driven logic locking that replaces the static key-input-output relationship of conventional schemes with masking behavior that evolves continuously over time. STREAMLOCK [6] introduces one such approach, generating a lightweight, 128-bit keystream from a nonlinear feedback shift register (NLFSR)-based stream cipher and using it to mask circuit outputs with a time-varying signal rather than a static key-gate value. This continuously evolving mask achieves strong functional corruption under incorrect keys while introducing minimal hardware overhead, effectively neutralizing the time-invariant assumptions that the conventional oracle attacks rely upon.

Prior evaluations of dynamic, cryptographically driven schemes have centered primarily on output corruption under incorrect keys and resistance to oracle-guided key recovery, leaving their vulnerability to structural, netlist-level attacks largely unexamined. This work extends STREAMLOCK by distributing its key-dependent masking across internal, fault-propagation-selected nodes rather than concentrating it at the primary-output boundary. A structural removal analysis across ISCAS'85 benchmarks [7] demonstrates that output-only masking leaves the underlying combinational logic directly accessible in the netlist, allowing an adversary to recover correct functionality without solving for the correct key. This exposes a structural vulnerability that cipher strength alone cannot compensate for, as the failure arises from where the mask is physically placed rather than how the keystream is generated.

Distributing key-dependent logic throughout the circuit's internal structure mitigates this vulnerability by embedding dependency chains between masked nodes, preventing an adversary from isolating the protected logic cone through a single structural tap. However, an evaluation against both structural and oracle-guided attacks reveals that internal node relocation alone is insufficient because wide circuits continue to leak critical algebraic information to SAT solvers. To address this limitation, a keystream-bit reuse cap is introduced to bound per-cycle exposure independent of circuit width. By coupling fault-aware internal placement with keystream reuse capping, the proposed architecture achieves resilient, multi-vector protection while preserving the lightweight overhead essential to practical dynamic locking.

The primary contributions of this work are summarized as follows:

  • Structural Removal Analysis: Demonstrates that output-only keystream masking exposes an uncorrupted combinational logic cone, allowing adversaries to bypass dynamic defenses via direct gate-level tapping without cryptanalysis.

  • Fault-Aware Distributed Hardening: Integrates dynamic masking into internal circuit nets prioritized by stuck-at fault impact, establishing cascading functional interdependencies that neutralize localized, single-tap extraction.

  • Keystream-Bit Reuse Capping: Analyzes the rapid convergence of unrolled SAT formulations on wide-output topologies and enforces a per-cycle bit-reuse ceiling that constrains algebraic information leakage independent of circuit dimensions.

  • Empirical Multi-Vector Attack Evaluation: Assesses the original and hardened designs against physical netlist removal and bounded unrolling SAT solvers across three representative ISCAS'85 netlists, establishing the emergence of a sharp computational barrier under exposure constraints.