Script Integrity Verification via Decrypted Fingerprint Matching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods fail to effectively prevent untrusted script execution in trusted environments, as they cannot monitor and verify the integrity of script files executed by interpreters, making them vulnerable to malicious modifications.
Innovation Solution
A method that decrypts an encrypted file fingerprint, computes a script file fingerprint using a hash function, and compares it with a stored fingerprint to ensure the script file has not been modified, allowing execution only if the fingerprints match, thereby preventing untrusted script files from running.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If script files are executed directly by interpreters in trusted environments, then ease of operation is improved, but reliability deteriorates due to inability to verify script integrity
Solution Approach 1:
The system performs preliminary actions by computing and storing fingerprints of trusted script files before execution. When a script is requested, its fingerprint is computed and compared against stored fingerprints to verify integrity before allowing execution, thus preventing unauthorized modifications while maintaining ease of operation.
2Reliability
If fingerprint verification is implemented for script files, then reliability is improved, but device complexity increases due to additional verification mechanisms
Solution Approach 1:
The patent replaces complex mechanical verification systems with cryptographic hash functions to compute fingerprints. This substitution uses mathematical algorithms instead of elaborate mechanical checking mechanisms, achieving reliable integrity verification while minimizing additional system complexity.
3Reliability
If script files are monitored and verified before execution, then reliability is improved, but productivity decreases due to additional verification steps
Solution Approach 1:
Fingerprints of trusted script files are computed and stored in advance during system setup or deployment. When execution is requested, only a quick fingerprint comparison is needed rather than re-verify the entire script, minimizing the impact on execution speed while maintaining reliability.
Solution Approach 2:
The system performs only the necessary minimal verification by comparing fingerprints rather than re-analyzing the entire script content. This partial action approach verifies critical integrity information without the overhead of complete script validation, preserving productivity.
Data Source
AI summary
Using a first key, an encrypted file fingerprint is decrypted, the decrypting resulting in a decrypted file fingerprint. Using a hash function on a script file, a script file fingerprint is computed, the script file intended to be executed by an interpreter. Responsive to the script file fingerprint matching the decrypted file fingerprint, the script file is executed.


