User-Mode Sensor Threat Detection with Synchronized Stack Traces

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing threat detection methods face inefficiencies due to unsynchronized collection of stack traces and system events, leading to high resource utilization and low detection rates, particularly when using kernel sensors that provide limited operational capabilities.

Innovation Solution

A system and method for threat detection that utilizes user mode sensors and kernel drivers to synchronize system events and stack traces, employing machine learning models for two levels of monitoring to enhance detection accuracy and reduce resource consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If stack traces are collected independently from system events, then collection simplicity is maintained, but resource utilization increases and detection accuracy decreases

Engineering Contradiction:
Improvecollection simplicityVSAvoidresource utilization
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent combines independent stack trace collection with system event monitoring into a unified synchronized collection mechanism. The kernel driver captures both stack traces and system events simultaneously, ensuring they are correlated by timestamp and process ID, thereby reducing resource overhead while improving detection accuracy.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system performs preliminary synchronization of stack trace collection with system event monitoring before analysis begins. By pre-establishing the correlation framework and capturing data in sync, the system avoids the need for resource-intensive post-collection correlation processing.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If kernel sensors are used for threat detection, then detection capabilities are enhanced, but operational limitations increase

Engineering Contradiction:
Improvedetection capabilitiesVSAvoidoperational capabilities
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent implements a multi-level monitoring architecture where user-mode sensors perform initial filtering and event detection, while kernel-mode drivers provide deeper system-level analysis. This layered approach allows the system to leverage both user-mode flexibility and kernel-mode reliability, achieving comprehensive threat detection with broad operational capabilities.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If full stack traces are captured for all processes, then detection completeness is improved, but resource consumption increases

Engineering Contradiction:
Improvedetection completenessVSAvoidresource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies local quality by capturing full stack traces selectively only for processes exhibiting suspicious behavior patterns detected by the user-mode sensor. For normal processes, minimal or no stack trace capture is performed. This targeted approach maintains detection completeness for threats while significantly reducing overall resource consumption.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system performs partial action by capturing stack traces at different levels of detail based on suspicion level. For high-suspicion events, full stack traces are captured; for low-suspicion events, minimal or no capture occurs. This graduated approach optimizes the balance between detection completeness and resource usage.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20250217475A1System and method for threat detection based on stack trace and user-mode sensors
Publication Date: 2025.07.03 ACRONIS INT
  • US20250217475A1 patent drawing
  • US20250217475A1 patent drawing
  • US20250217475A1 patent drawing

AI summary

Systems and methods for threat detection and analysis. A method includes monitoring at least one thread associated with at least one user process on a computing device. The method further includes detecting specific-system calls associated with at least one user process at user level. The specific-system calls are analyzed by applying a filter to system calls sequence feature sets associated with the specific-system calls for detecting one or more events of interest. A capture of a full stack trace of at least one user process is requested if the system calls sequence feature set is filtered and at least one event of interest is detected. A first level monitoring is provided to the computing device, which includes processing and analyzing the captured full stack trace by a machine learning (ML) stack trace analyzer to generate a first verdict for threat detection and analysis.