Smart Card Reader Infinite Loop Detection and Power Cut

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The standard ISO 7816 protocol lacks a mechanism to handle smart cards entering infinite loops during fault injection attacks, leading to prolonged manual intervention and inefficiencies in testing the resistance of smart cards against such attacks.

Innovation Solution

A smart card reader is designed to detect malfunctioning conditions, such as premature counter expiration or excessive protocol message receipt, allowing for automatic reinitialization of the card by cutting the power signal, thereby preventing infinite loops without manual intervention.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the standard ISO 7816 protocol mechanism is used to handle card unresponsiveness, then the reader can recover from normal card blockages, but it cannot detect and handle infinite loops caused by fault injection attacks, requiring manual intervention

Engineering Contradiction:
Improvecard operation reliabilityVSAvoidmanual intervention requirement
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent applies preliminary action by implementing a detector that proactively monitors for infinite loop conditions before they cause prolonged operational issues. The detector continuously checks for malfunctioning conditions (such as excessive protocol byte 0x60 transmissions) and automatically triggers reinitialization when thresholds are exceeded, eliminating the need for manual intervention during fault injection attacks

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements feedback mechanisms where the detector monitors card behavior in real-time, specifically tracking the frequency of protocol byte transmissions. When the detector identifies patterns consistent with infinite loops (excessive protocol bytes without proper command-response cycles), it provides feedback by automatically commanding reinitialization of the smart card, creating a closed-loop control system that self-corrects without human input

Inventive Principle:
Principle #23Feedback

2Reliability

If manual card removal and reinsertion is performed to reset infinite loops, then the card can be recovered from attack states, but significant time is lost during evaluation and testing processes

Engineering Contradiction:
Improvecard state recoveryVSAvoidevaluation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies self-service by enabling the reader system to automatically detect and recover from infinite loop conditions without requiring external manual intervention. The detector monitors for malfunctioning conditions and autonomously commands reinitialization of the smart card by cutting power, allowing the system to service itself during attack scenarios and eliminating time-consuming manual card handling

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary detection and automatic reinitialization before the infinite loop condition can cause prolonged operational disruption. By continuously monitoring for error patterns and pre-emptively triggering reinitialization when thresholds are exceeded, the system recovers from attack states automatically, saving evaluation time during security testing

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If the reader waits for protocol byte 0x60 from the card, then normal extended commands can execute properly, but the reader remains stuck in wait status when the card enters an infinite loop

Engineering Contradiction:
Improvecommand execution flexibilityVSAvoidreader responsiveness
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent implements feedback control by monitoring the ratio and frequency of protocol byte 0x60 transmissions versus actual command executions. When the detector identifies an abnormal pattern (excessive protocol bytes indicating infinite loop), it overrides the normal wait behavior and triggers automatic reinitialization, allowing the system to adapt between supporting extended commands and recovering from attack states

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent applies dynamics by making the reader's operational mode flexible - it can dynamically switch between normal command execution mode (waiting for protocol bytes) and recovery mode (automatic reinitialization). The detector continuously adjusts the system state based on observed card behavior, transitioning from passive waiting to active intervention when malfunctioning conditions are detected

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS9569646B2Smart card reader
Publication Date: 2017.02.14 IDEMIA FRANCE SAS
  • US9569646B2 patent drawing
  • US9569646B2 patent drawing
  • US9569646B2 patent drawing

AI summary

A smart card reader capable of transmitting a power signal to a smart card to determine a duration WT called Waiting Time in keeping with the standard ISO 7816 and sending commands to the smart card, the reader comprising a detector for detecting a malfunctioning condition of the smart card and being configured to cut the power signal when the malfunctioning condition is fulfilled. This reader is remarkable in that the malfunctioning condition is different to reaching, by a counter configured to be incremented with the time from the sending of a command to the smart card, of a value corresponding to the duration WT elapsed from the sending of the command or reinitialization of the counter in response to the receipt of a protocol message of the smart card.