FPGA Configuration Tamper Detection Using Sticky Error Counters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing security measures for programmable devices, such as FPGAs, are vulnerable to attacks that occur before the device enters user-mode, where encryption keys can be deciphered by analyzing responses to false configuration data, and it is difficult to secure against such attacks during the configuration stage.

Innovation Solution

Employing a dirty bit and sticky error counter to detect multiple unsuccessful configuration attempts, triggering anti-tampering operations such as clearing encryption keys or disabling the device when suspicious activity is detected, thereby securing sensitive data during the configuration stage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If encryption algorithms are implemented to protect configuration data, then security against copying is improved, but the device remains vulnerable to attacks during the configuration stage where encryption keys can be deciphered by analyzing responses to false configuration data

Engineering Contradiction:
ImprovesecurityVSAvoidvulnerability to configuration stage attacks
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The patent implements preliminary security checks during the configuration stage by monitoring configuration attempts and detecting potential attacks before they can compromise encryption keys. The system performs validation and anomaly detection on incoming configuration data before the decryption process occurs, preventing attackers from using false configuration data to decipher keys.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary security layer between the configuration interface and the decryption logic. This intermediary monitors configuration attempts, validates data integrity, and controls the flow of configuration data to the decryption unit, thereby protecting the encryption keys from being exposed during the configuration stage.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If security measures are strengthened during configuration stage, then protection against tampering is improved, but device complexity increases

Engineering Contradiction:
Improveprotection against tamperingVSAvoidcomplexity of security mechanisms
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the security functionality into distinct modular components: a configuration monitor unit that tracks configuration attempts, a validation unit that checks data integrity, and a control unit that manages the decryption process. This segmentation allows each component to perform its specific security function independently, reducing overall system complexity while maintaining strong protection.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The configuration stage security mechanism is designed to be self-regulating through automatic monitoring and detection of abnormal configuration patterns. The system autonomously identifies potential attacks based on predefined criteria and triggers appropriate countermeasures without requiring external intervention, thereby simplifying the overall security architecture.

Inventive Principle:
Principle #25Self-service

Data Source

PatentEP2702690B1Systems and methods for detecting and mitigating programmable logic device tampering
Publication Date: 2015.09.23 ALTERA CORP
  • EP2702690B1 patent drawingFigure 1
  • EP2702690B1 patent drawingFigure 2
  • EP2702690B1 patent drawingFigure 3

AI summary

Systems and methods are disclosed for preventing tampering of a programmable integrated circuit device. Generally, programmable devices, such as FPGAs, have two stages of operation; a configuration stage and a user mode stage. To prevent tampering and/or reverse engineering of a programmable device, various anti-tampering techniques may be employed during either stage of operation to disable the device and/or erase sensitive information stored on the device once tampering is suspected. One type of tampering involves bombarding the device with a number of false configuration attempts in order to decipher encrypted data. By utilizing a dirty bit and a sticky error counter, the device can keep track of the number of failed configuration attempts that have occurred and initiate anti-tampering operations when tampering is suspected while the device is still in the configuration stage of operation.