Browser-Based File Integrity Validation via Hash Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users often fail to verify the integrity of downloaded files due to a lack of understanding or cumbersome processes, leading to security risks from malicious files, which can result in monetary and security threats.

Innovation Solution

A cybersecurity system that automatically validates file downloads using file hashes and other cryptographic values before allowing access, incorporating a short JavaScript program or web browser plug-in to ensure the integrity of files by comparing actual and expected hashes, and optionally using digital signatures or blockchain technology.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If users manually verify file hashes to ensure integrity, then security reliability is improved, but ease of operation deteriorates due to complexity and user burden

Engineering Contradiction:
Improvesecurity reliabilityVSAvoidease of operation
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system performs automatic hash verification without requiring user intervention. The verification process is self-executing through JavaScript code that automatically downloads files, calculates hashes, compares them with published values, and alerts users only of verification failures, eliminating the need for users to manually perform complex verification steps

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The invention introduces an intermediary verification mechanism between the file download and user execution. A JavaScript program acts as a mediator that automatically performs hash verification, standing between the user and the downloaded file to ensure integrity before the user interacts with the file, thus improving security without adding operational burden

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If automatic hash verification is implemented, then ease of operation is improved, but device complexity increases due to additional verification components

Engineering Contradiction:
Improveease of operationVSAvoiddevice complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The verification logic is implemented as a copyable JavaScript program that can be embedded in web pages or distributed as a standalone tool. This copying approach allows the verification functionality to be replicated across different systems without requiring complex infrastructure, maintaining simplicity while enabling automatic verification

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The invention replaces manual mechanical verification processes with automated computational verification. Instead of users manually calculating and comparing hashes through command-line tools or software, the system uses JavaScript-based automated computation to perform hash verification, reducing operational complexity while maintaining security

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

3Productivity

If files are made immediately accessible after download, then productivity is improved, but security reliability deteriorates due to exposure to malicious files

Engineering Contradiction:
ImproveproductivityVSAvoidsecurity reliability
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system performs hash verification as a preliminary action before making the downloaded file accessible to the user. The JavaScript program automatically verifies the file's integrity immediately after download by comparing its hash with the published value, and only after successful verification does it allow the user to access the file, thus preventing malicious files from being executed while maintaining productivity

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10505736B1Remote cyber security validation system
Publication Date: 2019.12.10 MEIXLER TECH
  • US10505736B1 patent drawing
  • US10505736B1 patent drawing
  • US10505736B1 patent drawing

AI summary

A method of verifying the integrity of a downloadable file comprising the steps of requesting a download of a file via a download requesting device comprising an electronic device including a web browsing application through which the download is requested and a web-browser memory; downloading the file into the web-browser memory while preventing the file from being opened or executed by the download requesting device; within the web browsing application, analyzing the file to derive a cryptographic value of the file; within the web browsing application, comparing the derived cryptographic value of the file with a reference value associated with the file that is stored in a memory accessible by the web browsing application; and only when the derived cryptographic value of the file matches the reference value associated with the file, enabling the file to be opened, saved, or executed by the download requesting device.