Introduction
In the modern globalized semiconductor industry, chip designers often outsource manufacturing to third-party foundries. This practice introduces significant security risks, including intellectual property (IP) piracy and reverse engineering. The standard defense against these threats is logic locking, which adds "key-input" gates to a circuit to ensure it only functions correctly with the proper key. However, traditional logic locking methods suffer from vulnerable on-chip key storage, susceptibility to mathematical "oracle-guided" attacks (like SAT attacks), and high overhead costs in terms of area, power, and delay.
The ALL-MASK Framework
This paper presents ALL-MASK, a novel hardware security framework that rethinks key generation and application from the bottom up. Instead of relying on static, vulnerable memory storage, ALL-MASK generates keys dynamically through the CPU's own instruction execution.
Dynamic Key Generation
ALL-MASK reuses the complex Finite State Machine (FSM) of an existing CPU core. To unlock the chip, a user must execute a specific Input Instruction Sequence (IIS). This sequence transitions the CPU's internal nodes into a precise state, the values of which serve as the dynamic key. This approach forces attackers to solve a "reverse FSM" problem, which is exponentially difficult even with knowledge of the netlist.
FeFET-based rGates
The framework utilizes rGates—reconfigurable logic gates built using Ferroelectric Field-Effect Transistors (FeFETs). These gates can change their function (e.g., from AND to OR) based on the threshold voltage ($V_T$) programmed by the dynamic key. Because the logic is hidden within the device physics, a locked gate and a functional gate appear identical to a reverse-engineer.
Multicore Architecture and Workflow
In an $n$-core system, one core (the "non-rCore") acts as the key generator, while the remaining $n-1$ cores ("rCores") contain the locked logic. The key is transferred implicitly through internal interconnections, making the key interface invisible to external attackers. Programming the FeFETs involves a stealthy reconfiguration process where the supply voltage ($V_{dd}$) is briefly raised, requiring no extra configuration ports.
Evaluation and Results
The researchers evaluated ALL-MASK using the ISCAS85 benchmark dataset. The results demonstrate significant improvements in security and efficiency:
- Attack Resiliency: For a 9-bit key, ALL-MASK is nearly 20,000 times more time-consuming to crack via brute force than traditional methods. For a 64-bit key on a 1GHz processor, cracking would take approximately 14,000 years.
- Low Overhead: The framework achieves high obfuscation with negligible impact on performance. "Low $V_T$" rGates show a delay increase of less than 0.2ns compared to standard CMOS, and total module-level area/power overhead is minimal.
- High Corruption: Using an incorrect key results in an output error rate approaching 100%, rendering stolen IP useless.
Conclusion and Future Work
ALL-MASK provides a robust solution to IP piracy by eliminating vulnerable key storage and creating a massive, instruction-dependent search space. While highly effective, future work will focus on developing formal metrics for selecting the most secure internal CPU nodes for key generation and addressing the limited write endurance of FeFET devices to ensure long-term reliability for legitimate reconfigurations.
Summary updated