Server Entropy Analysis for Malicious Encryption Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing detection methods for malicious encryption programs are ineffective in preventing data encryption on network drives, leading to potential data encryption on servers, which can significantly reduce server productivity and is unacceptable in corporate environments.

Innovation Solution

A system and method that intercepts file operation requests from clients on servers, calculates entropies of file portions before and after operations, and compares these entropies to determine if a malicious encryption program is present, allowing or denying operations based on the calculated differences.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If backtracking all file activity on the server is performed to detect malicious encryption programs, then detection accuracy is improved, but server productivity is significantly reduced

Engineering Contradiction:
Improvedetection accuracyVSAvoidserver productivity
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent implements preliminary detection by calculating entropy values of files before malicious encryption occurs. The system monitors file entropy changes in real-time, allowing detection of encryption attempts before they complete, thus preventing full backtracking operations that would reduce server productivity.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces the mechanical approach of backtracking all file activity with an information-theoretic approach using entropy calculation. Instead of analyzing every file operation mechanically, the system uses entropy values to detect encryption patterns, reducing computational overhead and maintaining server productivity while achieving accurate detection.

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

2Measurement precision

If entropy calculation is performed on entire files, then detection accuracy is improved, but processing time increases

Engineering Contradiction:
Improvedetection accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent divides files into segments and calculates entropy values for each segment rather than processing entire files at once. This segmentation allows the system to detect encryption patterns in smaller portions, reducing processing time while maintaining detection accuracy through cumulative entropy analysis.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs entropy calculation on only the necessary portions of files (partial action) rather than entire files. By calculating entropy on file headers or specific segments where encryption patterns are most detectable, the system achieves accurate detection with reduced processing time.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10375086B2System and method for detection of malicious data encryption programs
Publication Date: 2019.08.06 KASPERSKY LAB AO
  • US10375086B2 patent drawing
  • US10375086B2 patent drawing
  • US10375086B2 patent drawing

AI summary

A method for detection of malicious encryption programs, the method comprising: intercepting, at a server, a file operation request from a client on a file stored on the server; collecting information about at least the requested file and the requested operation; determining, by a hardware processor of the server, based on the collected information, whether the file operation request came from a known malicious encryption program; when the file operation request came from an unknown program, then calculating, by the hardware processor, entropies of at least a portion of the file before and after the execution of the requested operation on the file; and calculating, by the hardware processor, a difference between the calculated entropies; when the difference is below a threshold, allowing the requested operation on the file; and when the difference is above the threshold, denying the requested operation on the file.