Backup File Encryption Heatmaps for Ransomware Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing detection technologies cannot effectively determine whether a backup file has been ransomware-encrypted without parsing the backup file, as backup files have a binary structure with encrypted index data that cannot be cracked through conventional reverse engineering.

Innovation Solution

A method involving constructing an encryption heatmap using a color coding function and space filling curve to analyze the distribution of encrypted data in backup files, determining an encryption score, and performing time sequence anomaly detection on subsequences to identify ransomware-encrypted backup files without parsing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional reverse engineering is used to analyze backup files, then the index data can be extracted, but the detection accuracy is insufficient and resource consumption is high

Engineering Contradiction:
Improvedetection accuracyVSAvoidresource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent replaces conventional reverse engineering methods with a novel encryption heatmap analysis approach. Instead of mechanically parsing and reverse-engineering backup files, the system uses cryptographic analysis techniques to generate heatmaps that visualize encryption patterns, thereby improving detection accuracy while reducing computational resource consumption.

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

Solution Approach 2:

The patent employs color-coded heatmaps to represent different encryption states and patterns in backup files. By transforming cryptographic data into visual color representations, the system enables intuitive detection of ransomware-encrypted files without requiring resource-intensive parsing operations.

Inventive Principle:
Principle #32Color changes

2Reliability

If backup files are parsed to detect encryption, then detailed file information can be obtained, but the detection time increases and real-time protection is compromised

Engineering Contradiction:
Improvedetection reliabilityVSAvoiddetection time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts only the essential cryptographic features from backup files to generate encryption heatmaps, rather than parsing the entire file structure. This selective extraction approach maintains detection reliability by focusing on encryption patterns while significantly reducing the time required for analysis.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs preliminary cryptographic analysis on backup files to generate encryption heatmaps before actual detection is needed. This preliminary processing creates a ready-to-analyze visual representation that enables rapid detection without requiring time-consuming full file parsing when security events occur.

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If encryption heatmap analysis is performed on all backup files, then detection coverage is improved, but computational complexity increases

Engineering Contradiction:
Improvedetection precisionVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the backup file analysis process into distinct stages: generating encryption heatmaps from cryptographic data, analyzing color pattern distributions, and making detection decisions. This segmentation allows the system to apply computational resources efficiently at each stage, maintaining high detection precision without overwhelming computational complexity.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250356008A1Method for detecting backup file and related device
Publication Date: 2025.11.20 HUAWEI TECH CO LTD
  • US20250356008A1 patent drawing
  • US20250356008A1 patent drawing
  • US20250356008A1 patent drawing

AI summary

Embodiments of this application disclose a method for detecting a backup file and a related device. The method includes: obtaining an encryption heatmap of each of a plurality of backup files; determining an encryption score of the backup file based on distribution of a target color in the encryption heatmap; constructing a sequence from the encryption score of each backup file, and performing sampling on the sequence by using a sliding window, to obtain a plurality of subsequences; and performing time sequence anomaly detection on the plurality of subsequences, and determining that a backup file corresponding to an encryption score in an abnormal subsequence is ransomware-encrypted. In this way, it can be detected, without parsing the backup file, whether the backup file is ransomware-encrypted.