TL;DR
This paper tackles the critical problem of ensuring trust in digital system design, particularly in sequential circuits, where vulnerabilities can be exploited by adversaries to introduce hidden malicious functionalities (hardware Trojans). The authors propose novel methods to build trusted systems by addressing design flaws and demonstrate that existing design flows are susceptible to attacks, leading to significant security risks.
What Problem Does This Paper Address?
In today's complex digital systems, especially those used in defense applications, ensuring that a system does exactly what it's supposed to do, and nothing more, is paramount. This is the essence of "trust" in computing. The paper highlights a significant gap: the traditional design flow for integrated circuits (ICs) and systems, which often involves third-party design houses and foundries, leads to a loss of control for the end-user. This lack of control, coupled with the inherent complexity of modern designs, creates vulnerabilities. Specifically, the paper focuses on sequential circuits (the backbone of real-time systems) and demonstrates that current design methodologies are susceptible to "hardware Trojans" – malicious functionalities embedded by adversaries without detection. These Trojans can compromise design quality, be stealthy, and lead to untrustworthy systems. The challenge is to develop practical design techniques that can establish and verify trust in these systems.
Methods
The paper explores several avenues to enhance trust in computing systems:
- Formalizing Trust in Sequential Circuits: The authors define trust in the context of Finite State Machines (FSMs), the standard model for sequential systems. They identify three key conditions for a trusted logic implementation: the system must be completely specified (no "don't care" conditions), the number of states after minimization must be a power of two, and minimal length codes must be used for state encoding.
- Attack Scenarios: Two primary attack scenarios are analyzed:
- Case I (Accessing Logic Implementation): An adversary with access to the implemented circuit can exploit "don't care" conditions, which are filled in by synthesis tools for optimization, to create unintended paths to protected states.
- Case II (Accessing System Specification): An adversary with the FSM specification can subtly modify it (e.g., by adding a single transition) to create a hidden path to an otherwise unreachable, protected state.
- Naïve Trust-Building Approach: A constructive method is proposed based on the trust conditions, involving state reduction, adding new states to reach a power of two, creating specific transitions for these new states, and ensuring complete specification. However, this approach is noted to incur significant overhead in area, power, and delay.
- Practical Trust-Building Approach: A novel method is introduced that combines gate-level circuit modification with FSM re-engineering. This approach aims to reduce overhead by selectively protecting states and their starting sets. It utilizes controlled flip-flops and state duplication to ensure that protected states remain inaccessible from normal states.
- Leveraging External Factors: Beyond circuit design, the paper investigates enhancing trust by:
- Silicon Physical Unclonable Functions (PUFs): Utilizing unique fabrication variations in chips to generate device-specific keys or for authentication.
- Electrical Network Frequency (ENF) Signals: Exploiting the subtle variations in power grid frequencies to timestamp multimedia recordings and estimate device geo-location, adding a layer of environmental trust.
- Wireless Sensor Networks (WSNs): Developing trust metrics and mitigation strategies against insider attacks, such as packet dropping.
Datasets
The paper evaluates its findings on a selection of Microelectronics Center of North Carolina (MCNC) sequential benchmark circuits. These benchmarks are provided in the kiss2 finite state machine format. The paper details the characteristics of these circuits, including the number of states, input bits, and transitions. No new benchmarks were introduced; instead, existing ones were modified to create scenarios with protected states.
Key Insights and Ideas
- "Don't Care" Conditions are a Major Vulnerability: The paper strongly emphasizes that the "don't care" conditions, which are essential for optimizing circuit design, are also a primary vector for introducing hidden malicious functionalities. Synthesis tools fill these in deterministically, potentially creating unintended and insecure paths.
- Trust is Not an Add-on: The research highlights that trust cannot be retrofitted into integrated circuits after fabrication. It must be an integral part of the design process.
- Subtle Attacks are Powerful: Even seemingly minor modifications, like adding a single transition, can be sufficient for an attacker to gain unauthorized access to protected states, demonstrating the fragility of current design flows.
- Trade-off Between Trust and Performance: While building trust is crucial, the paper clearly illustrates the significant performance and resource overhead associated with naive trust-building methods. This underscores the need for practical, efficient solutions.
- Multi-faceted Approach to Trust: The research extends beyond circuit-level design to explore how external factors like PUFs and ENF signals, and even network-level trust mechanisms, can contribute to overall system security.
Key Results
- Vulnerability of Existing Designs: Analysis of MCNC benchmarks revealed that for 20 out of 24 circuits, the synthesized implementations were untrusted, meaning protected states became reachable from normal states.
- High Breach Rates: The "random walk attack" demonstrated a high success rate in breaching unsafe states, with an average breach rate of 63.28% across tested circuits. In many cases, attackers could gain unauthorized access with very few input values.
- Impact of Malicious Design: A malicious designer adding a single transition could achieve unauthorized access with minimal impact on design quality metrics (area, delay, power), often within ±10%.
- Effectiveness of Naïve Countermeasure: The naïve approach of completely specifying all "don't care" conditions resulted in extremely high overheads (e.g., 89.6% on area, 66.4% on delay, 92.8% on power), making it impractical.
- Promising Practical Approach: The proposed practical approach significantly reduced overheads, achieving results like 7.01% on area, 2.82% on delay, and 6.33% on power, offering a much more viable solution for building trusted FSMs.
- Educational Impact: The project contributed to education through graduated students and the integration of trusted IC design concepts into undergraduate curricula.
Limitations and Future Work
- Unrealistic Ideal Conditions: The paper acknowledges that the ideal conditions for a trusted FSM (completely specified, power-of-two states, minimal encoding) are unrealistic in practice due to the complexity of modern systems and the need for optimization.
- Focus on Sequential Circuits: While the paper focuses on sequential circuits, the principles of trust and vulnerability are applicable to other system components.
- Sophisticated Attacks Not Considered: The paper explicitly states that only "naive" attacks were considered, implying that more sophisticated attack vectors might exist.
- Future Work: The PI is continuing this research with AFRL researchers, focusing on expanding trust design to nanoscale devices. Further exploration of PUF robustness, ENF signal applications, and advanced WSN trust mechanisms are also ongoing.
Summary updated