Processor Intrusion Detection via Concurrent Checksum Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing antivirus methods struggle to detect polymorphic viruses and other intruders that modify their structure to evade detection, leading to potential system damage and replication before detection, as they rely on pattern matching which is time-consuming and ineffective against constantly changing malware.

Innovation Solution

A processor-based system calculates checksums of program instructions concurrently with execution and compares them to pre-calculated checksums stored in a table, issuing a security exception if a mismatch is found, allowing for real-time detection and prevention of intruder code without the need for pattern matching.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If pattern matching is used to detect viruses, then detection capability is improved, but detection speed deteriorates and polymorphic viruses can evade detection

Engineering Contradiction:
Improvedetection capabilityVSAvoiddetection speed
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

The system pre-calculates checksums for all valid program blocks during system initialization or program loading, storing them in a lookup table. During execution, these pre-computed checksums are immediately available for comparison, eliminating the need for time-consuming pattern matching during runtime detection

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention replaces the mechanical pattern-matching process with a mathematical checksum verification system. Instead of comparing byte patterns, the system computes and compares checksum values, which are much faster to calculate and compare, especially when pre-computed and stored in lookup tables

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Measurement precision

If pattern matching is used to detect viruses, then detection capability is improved, but polymorphic viruses can modify their structure to evade detection

Engineering Contradiction:
Improvedetection capabilityVSAvoidevasion capability
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The invention extracts the essential property of code integrity (represented by checksums) from the specific byte patterns. By monitoring checksums rather than patterns, the system detects any modification to program blocks regardless of how the intruder code changes its structure or encryption method

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system changes the detection parameter from specific byte patterns to checksum values. This parameter transformation makes detection robust against polymorphic variations because the checksum reflects the actual functional content of the code rather than its superficial pattern representation

Inventive Principle:
Principle #35Parameter changes

3Reliability

If a posteriori removal of intruder code is performed, then detected viruses are eliminated, but system damage may already be done and replication may have occurred

Engineering Contradiction:
Improvevirus eliminationVSAvoidresponse time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system rushes through the detection process by using pre-computed checksums that can be verified in constant time during program execution. This immediate detection capability allows the system to identify intruders before they can complete harmful actions or replicate, skipping the delayed response inherent in traditional scan-based approaches

Inventive Principle:
Principle #21Skipping (Rushing through)

Solution Approach 2:

The checksum verification operates continuously during program execution rather than performing discrete scans after the fact. This continuous monitoring ensures that intruder code is detected immediately upon execution, maintaining constant security protection without interruption or delay

Inventive Principle:
Principle #20Continuity of useful action

4Reliability

If comprehensive antivirus scanning is performed, then detection coverage is improved, but system performance deteriorates

Engineering Contradiction:
Improvedetection coverageVSAvoidsystem performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs the computationally intensive checksum calculation work in advance during system initialization or program loading, storing results in lookup tables. During runtime, only fast checksum comparisons are performed, maintaining both comprehensive detection coverage and high system performance

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The program is divided into basic blocks with individual checksums, allowing selective and efficient verification. This segmentation enables the system to monitor only critical code segments without scanning entire programs, reducing overhead while maintaining comprehensive security coverage

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS9141800B2Method and apparatus for detecting intrusions in a computer system
Publication Date: 2015.09.22 ADVANCED MICRO DEVICES INC
  • US9141800B2 patent drawing
  • US9141800B2 patent drawing
  • US9141800B2 patent drawing

AI summary

The present invention provides a method and apparatus for detecting intrusions in a processor-based system. One embodiment of the method includes calculating a first checksum from first bits representative of instructions in a block of a program concurrently with executing the instructions. This embodiment of the method also includes issuing a security exception in response to determining that the first checksum differs from a second checksum calculated prior to execution of the block using second bits representative of instructions in the block when the second checksum is calculated.