File Tampering Detection via Access-Based Scan Patterns
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional software tampering detection methods face challenges in reducing the likelihood of authorized programs executing illicitly tampered files while efficiently managing resource usage, with cyclic scans being time-consuming, random scans being unpredictable, and on-access scans consuming significant resources.
Innovation Solution
A tampering detection system that determines a scan pattern based on access frequency and file size to optimize scanning frequency, minimizing the time until files are scanned again and reducing resource consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If cyclic scan method is used, then all files are scanned systematically, but the time taken to scan all files becomes long and tampering detection is delayed
Solution Approach 1:
The patent implements dynamic scan interval adjustment where the scan interval for each file is not fixed but adapts based on access frequency. Files with higher access frequencies are scanned more frequently, while files with lower access frequencies are scanned less frequently. This dynamic adjustment resolves the contradiction by making the scan system flexible rather than rigid, reducing overall scan time while maintaining detection reliability for critical files.
Solution Approach 2:
The patent changes the parameter of scan interval from a constant value to a variable value that depends on file access frequency. By calculating access frequency based on file access logs and adjusting scan intervals accordingly, the system optimizes the balance between detection reliability and scan time. High-frequency files get shorter scan intervals while low-frequency files get longer intervals, resolving the time-reliability contradiction.
2Reliability
If random scan method is used, then files are selected unpredictably, but it takes enormous time between scans of certain files
Solution Approach 1:
The patent transforms the random scan approach by introducing a parameter-based selection mechanism. Instead of purely random selection, files are selected based on their access frequency parameters. This ensures that files which are more likely to be tampered with (those accessed frequently) are scanned more often, while still maintaining some randomness to prevent predictable patterns. This resolves the contradiction by making scan timing dependent on file characteristics rather than pure chance.
Solution Approach 2:
The patent implements a feedback mechanism where file access logs are continuously monitored and used to adjust future scan schedules. The system learns from past access patterns and adapts its scanning behavior accordingly. Files that show signs of frequent access receive increased scanning attention, ensuring timely detection while optimizing overall system resource usage. This feedback loop resolves the time-reliability contradiction by making scan intervals responsive to actual file usage patterns.
3Reliability
If on-access scan method is used, then tampering detection is highly reliable, but memory and CPU resources are consumed and I/O response is reduced
Solution Approach 1:
The patent applies local quality by treating different files differently based on their individual access frequencies. Instead of uniformly scanning all files on every access (which consumes excessive resources), the system assigns different scan priorities and intervals to different files. High-frequency files receive more intensive monitoring while low-frequency files receive less intensive monitoring. This local differentiation resolves the contradiction by concentrating resources where they are most needed rather than wasting them on all files equally.
Solution Approach 2:
The patent implements partial action by selectively scanning only certain files based on access frequency thresholds rather than scanning all files on every access. The system identifies a subset of files that require immediate scanning based on their access patterns, and performs scans only on those files. This partial approach reduces overall resource consumption while maintaining detection reliability for the most critical files, resolving the contradiction between comprehensive monitoring and resource efficiency.
4Reliability
If scan frequency is increased to reduce tampering execution possibility, then detection reliability improves, but resource consumption increases
Solution Approach 1:
The patent changes the scan frequency parameter from a uniform high value to a variable value based on file access frequency. By calculating access frequency for each file and setting scan intervals proportionally, the system achieves high detection reliability for frequently accessed files while reducing scan frequency for less critical files. This parameter-based differentiation resolves the contradiction by optimizing scan frequency rather than uniformly increasing it across all files.
Solution Approach 2:
The patent implements dynamic scan frequency adjustment where scan intervals are not static but adapt continuously based on monitored access patterns. As file access frequencies change over time, the scan frequencies automatically adjust to match. This dynamic approach ensures high detection reliability when needed while reducing resource consumption during periods of lower activity, resolving the productivity-reliability contradiction through adaptive behavior rather than fixed high-frequency scanning.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A tampering detection device (10) includes: an acquisition unit (14a) that acquires an access frequency of a monitoring target file; a calculation unit (14b) that calculates the number of times of scanning in a scan pattern for each monitoring target file on the basis of the access frequency acquired by the acquisition unit (14a); and a determination unit (14c) that determines the scan pattern on the basis of the number of times of scanning calculated by the calculation unit (14b).