Time Data Interception for Timing Attack Prevention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional systems fail to protect against timing attacks, which involve malicious scripts determining encryption key information by measuring time taken for encryption algorithms to access address tables, allowing unauthorized access to sensitive data.

Innovation Solution

A computer-implemented method that identifies untrusted executables, intercepts their requests for system clock time, calculates an offset value within a predetermined margin, and provides this offset instead of the actual time, preventing precise timing data access.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If accurate system clock information is provided to executables, then timing precision is improved, but security against timing attacks deteriorates

Engineering Contradiction:
Improvetiming precisionVSAvoidsecurity vulnerability to timing attacks
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The patent introduces an intermediary layer between the system clock and the executable that intercepts timing requests. This intermediary (the time modification mechanism) provides time information to the executable while modifying it to prevent accurate timing measurements, thus resolving the contradiction between providing timing information and preventing timing attacks

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent applies preliminary anti-action by proactively modifying time information before it reaches the executable. By preemptively altering the time data returned from system clock queries, the system prevents timing attacks before they can occur, while still allowing the executable to function with modified time information

Inventive Principle:
Principle #9Preliminary anti-action

2Object-affected harmful factors

If time data is modified to prevent timing attacks, then security is improved, but timing accuracy for legitimate applications deteriorates

Engineering Contradiction:
Improveprotection against timing attacksVSAvoidtiming accuracy
Core Design Contradiction:
Object-affected harmful factorsVSMeasurement precision

Solution Approach 1:

The patent applies local quality by differentiating the treatment of time information based on the requester. Trusted applications receive accurate time information, while untrusted executables receive modified time information. This localized approach ensures that security measures are applied only where necessary, preserving timing accuracy for legitimate applications while preventing timing attacks from malicious ones

Inventive Principle:
Principle #3Local quality

3Object-affected harmful factors

If system clock queries are intercepted and modified, then security against timing attacks is improved, but system complexity increases

Engineering Contradiction:
Improvetiming attack preventionVSAvoidsystem complexity
Core Design Contradiction:
Object-affected harmful factorsVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary layer between the system clock and the executable that intercepts timing requests. This intermediary (the time modification mechanism) provides time information to the executable while modifying it to prevent accurate timing measurements, thus resolving the contradiction between providing timing information and preventing timing attacks

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system performs self-service by automatically detecting timing attack patterns and modifying time information without requiring external intervention. The time modification mechanism operates autonomously to prevent timing attacks, reducing the need for complex external security infrastructure

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS10592662B1Systems and methods for altering time data
Publication Date: 2020.03.17 CA TECH INC
  • US10592662B1 patent drawing
  • US10592662B1 patent drawing
  • US10592662B1 patent drawing

AI summary

The disclosed computer-implemented method for altering time data may include (i) identifying an untrusted executable that is capable of making queries to an operating system of the computing device, (ii) intercepting a request by the untrusted executable to query a system clock of the operating system of the computing device for a current time, (iii) calculating an offset value for the current time that is within a predetermined margin of the current time, and (iv) providing, in response to the request, the untrusted executable with the offset value for the current time instead of the current time. Various other methods, systems, and computer-readable media are also disclosed.