OS Vulnerability Detection via Privilege Change Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems face challenges in detecting and mitigating vulnerabilities that allow malicious actors to illegitimately change process privileges in operating systems, making it difficult to identify and isolate threats effectively.

Innovation Solution

A method is implemented to detect vulnerabilities by analyzing process and thread data, generating a set of privileges, identifying illegitimate changes, and isolating files that exploit these vulnerabilities using predefined rules, thereby enhancing OS security.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional malware detection methods are used to compare process information, then detection capability is maintained at basic levels, but the system cannot effectively identify illegitimate privilege changes or detect unknown vulnerabilities

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

Solution Approach 1:

The system performs preliminary actions by detecting and recording all thread launches and privilege changes before malicious activity can fully execute. It establishes a baseline of legitimate privilege transitions and proactively monitors for deviations, allowing detection of unknown vulnerabilities before they can be exploited for significant damage.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system introduces an intermediary monitoring layer that sits between process execution and the operating system kernel. This intermediary captures thread launch events and privilege changes, analyzes them against established rules, and can isolate malicious processes without requiring direct modification of core OS structures.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If the system monitors all process and thread data to detect vulnerabilities, then detection accuracy improves, but processing overhead and system performance decrease

Engineering Contradiction:
Improveprivilege change detection accuracyVSAvoidsystem processing throughput
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system extracts and monitors only the specific data elements necessary for vulnerability detection - thread launch events and privilege changes - rather than analyzing all process data. This selective extraction focuses computational resources on critical security indicators while ignoring irrelevant information.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The monitoring system is integrated directly into the operating system kernel, allowing it to capture privilege change events through native hooks and events. This self-service approach eliminates the need for external monitoring tools to parse and analyze process data, reducing overhead and improving detection efficiency.

Inventive Principle:
Principle #25Self-service

3Reliability

If the system isolates files that exploit vulnerabilities, then security is improved by suppressing privilege spoofing threats, but system availability may be reduced due to isolation of potentially legitimate processes

Engineering Contradiction:
ImproveOS security reliabilityVSAvoidsystem availability
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system implements feedback mechanisms where isolated processes are analyzed to determine whether they are malicious or legitimate. If a process is determined to be legitimate, it can be restored to normal operation. This feedback loop minimizes false positives and ensures that only truly malicious processes remain isolated, maintaining system availability while improving security.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system takes preliminary anti-action by isolating processes that exhibit suspicious privilege changes before they can cause significant damage. However, this isolation is temporary and conditional - the system continuously monitors isolated processes and can restore them if they prove to be legitimate, thus preventing harm while preserving availability.

Inventive Principle:
Principle #9Preliminary anti-action

Data Source

PatentUS20230409717A1System and method for detecting vulnerabilities in the operating system based on process and thread data
Publication Date: 2023.12.21 AO KASPERSKY LAB
  • US20230409717A1 patent drawing
  • US20230409717A1 patent drawing
  • US20230409717A1 patent drawing

AI summary

A method for detecting a vulnerability in an operating system based on process and thread data, includes the steps of: detecting one or more launches of one or more threads associated with one or more processes in an operating system (OS); generating a set of privileges based on the detected one or more launches; analyzing the generated set of privileges to identify illegitimate changes in privileges; detecting a vulnerability in the OS using one or more rules for detecting a vulnerability based on the analyzed set of privileges; and isolating a file that exploited the detected vulnerability, in response to detecting the vulnerability.