Application Code Tampering Detection via Segment Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for determining tampering of application code in electronic devices are inefficient, leading to increased processing time and system resource burden as they divide and analyze the entire code, which can impact performance.

Innovation Solution

An electronic device divides the application code into segments, selects specific segments, creates unique information for these segments, and compares it with pre-stored information to determine tampering, reducing the need to process the entire code.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the entire application code is divided into multiple segments and unique information is generated for each segment to detect tampering, then the security and accuracy of tampering detection is improved, but the processing time and system resource burden increase

Engineering Contradiction:
Improvetampering detection accuracyVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The application code is divided into multiple segments, but only specific segments are selected for generating unique information. This segmentation approach allows the system to focus computational resources on critical code portions while maintaining comprehensive tampering detection capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts and selects only specific segments from the divided application code that are most critical for security verification. By taking out only the essential segments for processing, the system reduces the overall processing time and resource consumption while maintaining detection accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If the entire application code is divided into multiple segments and unique information is generated for each segment to detect tampering, then the security and accuracy of tampering detection is improved, but the system resource burden increases

Engineering Contradiction:
Improvetampering detection accuracyVSAvoidsystem resource burden
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The application code is divided into multiple segments, but only specific segments are selected for generating unique information. This segmentation approach allows the system to focus computational resources on critical code portions while maintaining comprehensive tampering detection capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of processing all segments of the application code, the system performs partial action by selecting and processing only the most critical segments. This reduces the system resource burden while maintaining sufficient detection accuracy through strategic selection of key code segments.

Inventive Principle:
Principle #16Partial or excessive action

3Productivity

If selective segment processing is used instead of processing entire code, then the processing time and system resource burden are reduced, but the complexity of selecting which segments to process increases

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidsegment selection complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system performs preliminary action by pre-dividing the application code into segments and pre-selecting which segments require unique information generation. This preparation work is done in advance, allowing the actual tampering detection to proceed more efficiently without complex real-time decision-making.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter of segment selection from a complex dynamic process to a more manageable set of criteria based on segment importance, size, or other predefined parameters. This simplifies the selection process while maintaining processing efficiency.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10546126B2Method for detecting the tampering of application code and electronic device supporting the same
Publication Date: 2020.01.28 SAMSUNG ELECTRONICS CO LTD
  • US10546126B2 patent drawing
  • US10546126B2 patent drawing
  • US10546126B2 patent drawing

AI summary

An electronic device is provided. The electronic device includes a memory configured to store an application and first unique information of the application, and at least one processor operatively connected with the memory. The at least one processor is configured to divide code of the application into a plurality of segments, select at least one segment among the plurality of segments, create second unique information in relation to the at least one segment, compare the first unique information and the second unique information, and determine whether the code of the application has been tampered with, based on a result of the comparison of the first unique information and the second unique information.