Ransomware Detection via Dynamic Entropy Thresholds

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing computing systems face challenges in detecting ransomware attacks effectively, as encrypted data can resemble random or typical data patterns, making it difficult to determine appropriate entropy thresholds for detection.

Innovation Solution

A computing system performs sampling of data entropy characteristics by capturing data being transmitted to a storage device, selecting sample data blocks, generating entropy values, and matching these values against precalculated entropy thresholds based on the data blocks' symbol cardinalities, to identify potential ransomware encryption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If a fixed entropy threshold is used for ransomware detection, then the detection process is simple, but the detection accuracy deteriorates when encryption methods change (e.g., base64 encoding)

Engineering Contradiction:
Improvedetection process simplicityVSAvoiddetection accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent applies dynamics by transitioning from a fixed entropy threshold to a dynamic threshold selection mechanism. The system calculates symbol cardinality (the number of distinct symbols) in the encrypted data and selects an appropriate entropy threshold from a predefined set based on this cardinality. This allows the detection system to adapt to different encryption methods and encoding schemes, maintaining high accuracy across various ransomware variants while keeping the overall process simple through automated threshold selection.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If multiple entropy thresholds are maintained for different symbol cardinalities, then detection accuracy improves, but device complexity increases

Engineering Contradiction:
Improvedetection accuracyVSAvoidthreshold management complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by pre-calculating and storing multiple entropy thresholds corresponding to different symbol cardinalities in a lookup table or data structure before runtime. During detection, the system only needs to calculate the symbol cardinality of the incoming data and then retrieve the appropriate threshold from the pre-computed set, rather than performing complex real-time calculations. This approach maintains high detection accuracy across multiple encryption schemes while minimizing runtime complexity through efficient threshold retrieval.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If continuous entropy monitoring is performed, then ransomware detection capability improves, but processing time and computational resources increase

Engineering Contradiction:
Improveransomware detection capabilityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies partial action by monitoring only specific characteristics of the data (symbol cardinality and entropy values) rather than performing comprehensive analysis of all data properties. The system samples data blocks, calculates entropy for these samples, and compares against thresholds, which is a partial examination that provides sufficient detection capability without requiring full continuous analysis of every data byte, thereby reducing processing time and computational overhead.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12314393B2Detection of ransomware attack using entropy values
Publication Date: 2025.05.27 HEWLETT PACKARD ENTERPRISE DEV LP
  • US12314393B2 patent drawing
  • US12314393B2 patent drawing
  • US12314393B2 patent drawing

AI summary

Example implementations relate to storing data in a storage system. An example includes accessing a first portion of a data stream to be stored in a storage system; selecting sample data blocks included in the first portion; determining entropy values based on the sample data blocks; selecting, based on the sample data blocks, a entropy threshold from multiple precalculated entropy thresholds; determining whether the generated set of entropy values matches the selected entropy threshold within a probability level; and in response to a determination that the generated set of entropy values matches the selected entropy threshold within the probability level, identifying the first portion of the data stream as potentially including encrypted data affected by a ransomware attack.