Enhancing Processor Design Obfuscation Through Security-Aware On-Chip Memory and Data Path Design

Michael Zuzak, Ankur Srivastava

TL;DR

This paper tackles the challenge of securing processor designs against piracy and counterfeiting using logic locking, a hardware security technique. The authors demonstrate that traditional logic locking, applied at the module level, fails to provide adequate security at the application level. They propose and validate a "security-aware architecture design" approach, focusing on on-chip memory and data path modifications, to significantly enhance logic locking's effectiveness and achieve robust supply chain security with minimal overhead.

What Problem Does This Paper Address?

The increasing reliance on untrusted third-party foundries for integrated circuit (IC) fabrication introduces significant risks like piracy, counterfeiting, and overproduction. Logic locking is a promising hardware security technique designed to mitigate these risks by making an IC's functionality dependent on a secret key. If the wrong key is used, the locked IC should produce incorrect outputs, rendering it unusable. However, prior research has primarily focused on applying logic locking at the module level, without considering the broader architectural and application context. This paper highlights that this module-level approach is insufficient to guarantee application-level security, as errors injected at the module level might be masked by the processor's inherent error resilience or simply not manifest in the application's typical execution. The core problem is the disconnect between module-level locking and the actual application-level security requirements of a processor.

Methods

The authors introduce ObfusGEM, an open-source logic locking simulation framework built on the GEM5 simulator. ObfusGEM allows for quantitative evaluation of logic locking at the application level by simulating locked and unlocked processor cores running specific workloads.

Their methodology involves:

  1. Design Space Exploration: Systematically exploring the effectiveness of logic locking (specifically SFLL-Fault) across various modules within x86 and ARM A53 processor cores. This involves locking individual modules and quantifying their impact on application failure rates and SAT attack resilience.
  2. Identifying Limiting Factors: Analyzing the results of the design space exploration to pinpoint why logic locking fails at the application level. They identify two key factors:
  3. Input Space Non-Uniformity: Processors tend to use a very small, skewed subset of a module's potential input space, making it unlikely for logic-locking-induced errors to occur.
  4. Processor Error Resilience: Processors and applications often mask a significant portion of module-level errors.
  5. Security-Aware Architecture Design: Proposing and implementing minor architectural modifications to the on-chip memory and data path components. These modifications aim to:
  6. Increase input utilization/diversity for locked modules, making it more likely for corrupted minterms to be encountered.
  7. Amplify the impact of locking-induced errors, making them harder to mask.
  8. Quantitative Evaluation: Using ObfusGEM to rigorously evaluate the effectiveness of these security-aware design changes, measuring their impact on application failure rates and SAT attack resilience.

Datasets

The paper uses the PARSEC benchmark suite for evaluating the application-level security of the locked processors. These benchmarks are described as a cross-section of common processor workloads, suitable for measuring a locked processor's ability to perform useful work. The authors also mention using an x86 and an ARM A53 processor model within the GEM5 simulator as their testbeds.

Key Insights and Ideas

  • Module-level locking is insufficient: The most significant insight is that applying logic locking at the module level, regardless of the technique or location, does not guarantee application-level security. This is a fundamental limitation that prior work largely overlooked.
  • Architecture is key to security: The effectiveness of logic locking is heavily dependent on the processor's architecture and the applications it runs. Architectural design decisions are crucial for enabling logic locking to achieve its security goals.
  • Input space non-uniformity is a major hurdle: The principle of locality in processor design means that only a tiny fraction of a module's input space is ever utilized. This drastically reduces the probability of logic-locking-induced errors manifesting.
  • Error resilience masks errors: Processors and applications are designed to be resilient to errors, meaning many injected faults might be silently corrected or ignored, rendering the locking ineffective.
  • Security-aware design amplifies locking: By making targeted, minor architectural changes to components like on-chip memory and data paths, logic locking's effectiveness can be exponentially improved. This approach addresses the root causes of insecurity.
  • On-chip memory is a promising target: The on-chip memory hierarchy (caches, memory controllers) offers more flexibility for security-aware modifications with lower overhead compared to data path components.

Key Results

  • Baseline Insecurity: In their initial design space exploration, the authors found that even with state-of-the-art logic locking techniques (SFLL-Fault) and a weak attacker model (random key selection), neither the x86 nor ARM A53 cores could achieve both application-level error severity and SAT attack resilience simultaneously.
  • Security-Aware Redesign Success:
    • On-Chip Memory: Redesigning the L1 D-cache controller (increasing associativity and mapping locked minterms to fatal errors) and enabling hardware pre-fetching/speculative execution in the ARM A53's L2 cache and DRAM controller significantly improved security. For instance, L1 D-cache locking achieved error severity at an error injection rate of 2⁻¹⁷, well outside the SAT-susceptible region, with less than 10% area overhead.
  • Data Path: Modifying the floating-point unit (FPU) by increasing the number of functional units and implementing a smart scheduler, or increasing the number of integer adders, also boosted security. However, these changes incurred a substantial design overhead (over 20% area and power increase in some cases).
  • Exponential Improvement: The security-aware modifications enabled logic locking to achieve exponentially stronger SAT attack resilience while maintaining equivalent error severity, effectively overcoming the inherent trade-off.

Limitations and Future Work

  • Software Models: The experiments were conducted using software models of the x86 and ARM A53 cores within GEM5, rather than actual hardware. While the authors state their methods are applicable to hardware, this is a potential limitation.
  • Overhead of Data Path Modifications: While on-chip memory redesign offered a good balance of security and overhead, data path modifications (e.g., increasing FU count) led to significant increases in area and power consumption, which might be prohibitive for some applications.
  • Future Work: The authors emphasize that ObfusGEM is a powerful tool for exploring a wide range of security-aware design modifications. They encourage the research community to use ObfusGEM to identify alternative design methodologies and implementations that can achieve the application-level security currently lacking in cutting-edge logic locking approaches. They suggest that the on-chip memory hierarchy, due to its complexity and the variety of available modifications, is a particularly promising area for future research in logic locking.

Summary updated

BibTeX
@article{zuzak2021enhancing,
  author = {Michael Zuzak and Ankur Srivastava},
  title = {{Enhancing Processor Design Obfuscation Through Security-Aware On-Chip Memory and Data Path Design}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2021},
  url = {https://openreview.net/forum?id=X02AdOrG5L},
}

Loading related content...

Figure