# US 2021/0342448 A1 · Kernel-based proactive engine for malware detection

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0342448 A1
- Document ID: US20210342448A1
- Status: Published application
- Kind: A1
- Application number: 16/865,665
- Filed: 2020-05-04
- Published: 2021-11-04
- Earliest claimed: 2020-05-04
- Assignees: Dell Products L.P.
- Applicants: Dell Products L.P.
- Inventors: Or Herman Saffar; Yevgeni Gehtman
- Web page: https://patentgrep.com/patent/US20210342448A1

## CPC

- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- G06F 21/552: {involving long-term monitoring or reporting}
- G06F 21/554: {involving event detection and direct action}
- G06F 2221/034: Test or assess a computer or a system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A kernel-based proactive engine can be configured to evaluate system call functions that are invoked when user-mode objects make system calls. As part of evaluating a system call function, the kernel-based proactive engine can generate a feature vector for the system call function. The kernel-based proactive engine can then analyze the feature vector using a multidimensional anomaly detection algorithm that has been trained using feature vectors of system call functions that are known to be safe. When the evaluation indicates that the feature vector is anomalous, the kernel-based proactive engine can block the system call.

## Claims

### Claim 1

A method for detecting malware comprising:
detecting that a system call has been made;
in response to detecting that the system call has been made, monitoring execution of a system call function that the system call invokes;
in conjunction with monitoring the execution of the system call function, creating a feature vector for the system call function;
comparing the feature vector to feature vectors for known-safe system call functions; and
when the comparison indicates that the feature vector is anomalous, blocking the system call.

### Claim 2 (depends on 1)

The method of claim 1, wherein the feature vector includes a number of steps feature.

### Claim 3 (depends on 2)

The method of claim 2, wherein the number of steps feature identifies a number of system call functions that are invoked during execution of the system call function.

### Claim 4 (depends on 1)

The method of claim 1, wherein the feature vector includes one or more count features.

### Claim 5 (depends on 4)

The method of claim 4, wherein the one or more count features include one or more of:
a delete count feature that identifies a number of delete operations the system call function performs;
an open count feature that identifies a number of open operations the system call function performs; or
a create count feature that identifies a number of create operations the system call function performs.

### Claim 6 (depends on 1)

The method of claim 1, wherein the feature vector includes a via library feature that identifies whether the system call function uses a library to invoke a known-safe system call function.

### Claim 7 (depends on 1)

The method of claim 1, wherein the feature vector includes a by user feature that identifies whether the system call is made by a user component.

### Claim 8 (depends on 1)

The method of claim 1, wherein the feature vector includes a new system feature that identifies whether a system on which the system call is made is new.

### Claim 9 (depends on 1)

The method of claim 1, wherein comparing the feature vector to feature vectors for known-safe system call functions comprises evaluating the feature vector using a multidimensional anomaly detection algorithm.

### Claim 10 (depends on 9)

The method of claim 9, wherein the multidimensional anomaly detection algorithm is trained using the feature vectors for the known-safe system call functions.

### Claim 11 (depends on 9)

The method of claim 9, wherein the multidimensional anomaly detection algorithm is the Local Outlier Factor (LOF) algorithm.

### Claim 12 (depends on 1)

The method of claim 1, wherein blocking the system call comprises preventing the system call function from returning successfully.

### Claim 13 (depends on 1)

The method of claim 1, wherein detecting that the system call has been made comprises:
registering one or more probes; and
associating a handler with the one or more probes.

### Claim 14

One or more computer storage media storing computer executable instructions which when executed on a computing system implement a malware detection engine comprising:
a handler that is configured to monitor execution of a system call function that is invoked when a system call is made, the handler being further configured to create a feature vector for the system call function based on the monitoring; and
an anomaly detector that is configured to receive the feature vector from the handler and to return a score indicative of whether the feature vector is anomalous.

### Claim 15 (depends on 14)

The computer storage media of claim 14, wherein monitoring the execution of the system call function comprises determining a number of steps for the system call function, and wherein the feature vector includes the number of steps.

### Claim 16 (depends on 14)

The computer storage media of claim 14, wherein the anomaly detector calculates the score by evaluating the feature vector using a multidimensional anomaly detection algorithm.

### Claim 17 (depends on 16)

The computer storage media of claim 16, wherein the multidimensional anomaly detection algorithm is trained using feature vectors for known-safe system call functions.

### Claim 18 (depends on 14)

The computer storage media of claim 14, wherein the handler is configured to block the system call when the score indicates that the feature vector is anomalous.

### Claim 19 (depends on 14)

The computer storage media of claim 14, wherein the handler is configured to register one or more probes that cause the handler to be notified when system calls are made.

### Claim 20

A method for detecting malware comprising:
in response to a system call being made, creating a feature vector for a system call function that is invoked when the system call is made, the feature vector defining a plurality of features including at least two of:
a number of steps feature;
a delete count feature;
an open count feature;
a create count feature;
a by user feature;
a new system feature; or
a via library feature;
evaluating the feature vector using a multidimensional anomaly detection algorithm to thereby generate a score indicating whether the feature vector is anomalous; and
when the score indicates that the feature vector is anomalous, blocking the system call, whereas when the score indicates that the feature vector is not anomalous, allowing the system call.
