Filename Extension Embedding for Unknown Ransomware Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods struggle to accurately detect and prevent ransomware attacks that employ randomized modifications to file properties, such as filename extensions, due to the inability to generalize filenames or extensions used by newer, unrecognized ransomware families or versions.

Innovation Solution

Employ a machine learning model, specifically a Convolutional Neural Network (CNN), to create feature vectors from file properties like filenames and extensions, generating embedding representations for classification, distinguishing between benign and malicious modifications.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional file detection methods are used, then known ransomware can be detected, but newer ransomware variants with randomized file properties cannot be detected

Engineering Contradiction:
Improvedetection accuracyVSAvoidability to detect new variants
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent transforms file properties (names, extensions, paths) into numerical parameter representations through embedding models. This allows the system to analyze and compare file properties mathematically, detecting anomalies that indicate ransomware activity regardless of specific filenames or extensions used by different ransomware variants.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces traditional rule-based detection mechanisms with a machine learning model (CNN). This substitution enables the system to automatically learn patterns from training data and generalize to new ransomware variants without requiring explicit rules for each variant, thereby improving both reliability and adaptability.

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

2Object-affected harmful factors

If file properties are randomized by ransomware, then detection becomes more difficult, but security prevention is still needed

Engineering Contradiction:
Improveransomware impactVSAvoiddetection complexity
Core Design Contradiction:
Object-affected harmful factorsVSDifficulty of detecting and measuring

Solution Approach 1:

The patent introduces embedding representations as an intermediary layer between raw file properties and the detection model. This intermediary transforms variable-length, heterogeneous file property data into fixed-length numerical vectors, making the data suitable for CNN processing and enabling effective detection despite property randomization.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent segments file properties into distinct components (filename, extension, path) and processes each separately through embedding models before combining them. This segmentation allows the system to capture specific patterns in each component while maintaining overall file identity, improving detection capability against randomized properties.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12500902B2Method and apparatus for malicious file extension detection
Publication Date: 2025.12.16 CROWDSTRIKE
  • US12500902B2 patent drawing
  • US12500902B2 patent drawing
  • US12500902B2 patent drawing

AI summary

A feature vector is created that comprises a plurality of values, each representing a corresponding portion of a filename extension for a digital file. During an inference workflow of a neural network model, an embedding vector is created that represents, in a meaningful way, the feature vector for the filename extension. A class label prediction value is then computed, based on an evaluation of the embedding vector, a first plurality of embedding vectors representing a plurality of feature vectors for a plurality of benign filename extensions, and a second plurality of embedding vectors representing a plurality of feature vectors for a plurality of malicious filename extensions. A prediction as to whether the digital file has been renamed by a malicious computer program is made, based on the class label prediction value.