# US 2022/0292198 A1 · Systems and methods for modifying a malicious code detection rule

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

- Number: US 2022/0292198 A1
- Document ID: US20220292198A1
- Status: Published application
- Kind: A1
- Application number: 17/447,206
- Filed: 2021-09-09
- Published: 2022-09-15
- Earliest claimed: 2021-03-15
- Assignees: AO Kaspersky Lab
- Applicants: AO Kaspersky Lab
- Inventors: Evgeny I. Lopatin
- Web page: https://patentgrep.com/patent/US20220292198A1

## CPC

- G06F 21/561: {Virus type analysis}
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/562: {Static detection}
- G06F 2221/033: Test or assess software
- 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

Systems and methods for managing malicious code detection rules. Systems and methods ensure information security by maintaining malicious code detection rules including through detection of one or more errors and modification of the malicious code detection rule. An anti-virus tool is configured to detect malicious code for an object under analysis based on a malicious code detection rule, a gathering tool is configured to gather use data about the malicious code detection rule, a detection tool is configured to determine whether an error is present based on an error detection rule, and a modification tool is configured to change the malicious code detection rule.

## Claims

### Claim at position 1

1-9. (canceled)

### Claim 10

A system for modifying a malicious code detection rule, the system comprising:
a rules database configured to store a plurality of error detection rules, wherein each of the plurality of error detection rules includes a set of error conditions to detect an error;
a heuristic rules database configured to store a plurality of malicious code detection rules, wherein each of the plurality of malicious code detection rules includes a set of detection conditions to detect malicious code;
computing hardware of at least one processor and a memory operably coupled to the at least one processor; and
instructions that, when executing on the computing hardware, cause the computing hardware to implement:
an anti-virus tool configured to detect malicious code for an object under analysis based on at least one of the plurality of malicious code detection rules,
a gathering tool configured to gather use data about the at least one of the plurality of malicious code detection rules,
a detection tool configured to determine whether an error is present based on at least one of the plurality of error detection rules, and
a modification tool configured to change the at least one of the plurality of malicious code detection rules.

### Claim 11 (depends on 10)

The system of claim 10, wherein the error is a false positive in which the at least one of the plurality of malicious code detection rules incorrectly classifies an object that is not malicious as malicious.

### Claim 12 (depends on 10)

The system of claim 10, wherein the error is a false negative in which the at least one of the plurality of malicious code detection rules incorrectly classifies an object that is malicious as not malicious.

### Claim 13 (depends on 10)

The system of claim 10, wherein the use data is at least one of:
a time of use of the at least one of the plurality of malicious code detection rules;
a date the at least one of the plurality of malicious code detection rules was created;
a result of the at least one of the plurality of malicious code detection rules including whether the object is classified as malicious or not malicious;
information about the object under analysis;
a setting of the anti-virus tool using the at least one of the plurality of malicious code detection rules;
information about the computing hardware;
information about a security policy of the computing hardware; or
a response of a user to the result of the at least one of the plurality of malicious code detection rules.

### Claim 14 (depends on 11)

The system of claim 11, wherein the modification tool is configured to change the at least one of the plurality of malicious code detection rules by increasing a number of conditions in the set of detection conditions for the at least one of the plurality of malicious code detection rules.

### Claim 15 (depends on 12)

The system of claim 12, wherein the modification tool is configured to change the at least one of the plurality of malicious code detection rules by decreasing a number of conditions in the set of detection conditions for the at least one of the plurality of malicious code detection rules.

### Claim 16 (depends on 10)

The system of claim 10, wherein the modification tool is configured to change the at least one of the plurality of malicious code detection rules by changing a value of at least one of the conditions in the set of detection conditions.

### Claim 17 (depends on 16)

The system of claim 16, wherein the modification tool is configured to change the at least one of the plurality of malicious code detection rules by changing the value according to a particular value range for the at least one of the detection conditions in the set of detection conditions.

### Claim 18 (depends on 10)

The system of claim 10, wherein the detection tool is configured to determine whether the error is present based on at least one of the plurality of error detection rules by:
calculating an error presence ratio as a function of satisfaction of the set of error conditions; and
comparing the error presence ratio against a threshold value,
wherein when the error presence ratio meets the threshold value, an error is detected.

### Claim 19

A method for modifying at least one of a plurality of malicious code detection rules for an object under analysis, wherein each of the plurality of malicious code detection rules includes a set of detection conditions to detect malicious code, the method comprising:
gathering use data about the at least one of the plurality of malicious code detection rules;
determining whether an error is present based on at least one of a plurality of error detection rules, wherein each of the plurality of error detection rules includes a set of error conditions to detect an error; and
changing the at least one of the plurality of malicious code detection rules.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
presenting a rules database configured to store the plurality of error detection rules; and
presenting a heuristic rules database configured to store the plurality of malicious code detection rules.

### Claim 21 (depends on 19)

The method of claim 19, wherein the error is a false positive in which the at least one of the plurality of malicious code detection rules incorrectly classifies an object that is not malicious as malicious.

### Claim 22 (depends on 19)

The method of claim 19, wherein the error is a false negative in which the at least one of the plurality of malicious code detection rules incorrectly classifies an object that is malicious as not malicious.

### Claim 23 (depends on 19)

The method of claim 19, wherein the use data is at least one of:
a time of use of the at least one of the plurality of malicious code detection rules;
a date the at least one of the plurality of malicious code detection rules was created;
a result of the at least one of the plurality of malicious code detection rules including whether the object is classified as malicious or not malicious;
information about the object under analysis;
a setting of the anti-virus tool using the at least one of the plurality of malicious code detection rules;
information about computing hardware related to execution of the at least one of a plurality of malicious code detection rules;
information about a security policy of the computing hardware; or
a response of a user to the result of the at least one of the plurality of malicious code detection rules.

### Claim 24 (depends on 21)

The method of claim 21, wherein changing the at least one of the plurality of malicious code detection rules includes increasing a number of conditions in the set of detection conditions for the at least one of the plurality of malicious code detection rules.

### Claim 25 (depends on 22)

The method of claim 22, wherein changing the at least one of the plurality of malicious code detection rules includes decreasing a number of conditions in the set of detection conditions for the at least one of the plurality of malicious code detection rules.

### Claim 26 (depends on 19)

The method of claim 19, wherein changing the at least one of the plurality of malicious code detection rules includes changing a value of at least one of the detection conditions in the set of detection conditions.

### Claim 27 (depends on 26)

The method of claim 26, wherein changing the at least one of the plurality of malicious code detection rules includes changing the value according to a particular value range for the at least one of the detection conditions in the set of detection conditions.

### Claim 28 (depends on 19)

The method of claim 19, wherein determining whether the error is present includes:
calculating an error presence ratio as a function of satisfaction of the set of error conditions; and
comparing the error presence ratio against a threshold value,
wherein when the error presence ratio meets the threshold value, an error is detected.

### Claim 29

A system for modifying a malicious code detection rule, the system comprising:
a means for storing a plurality of error detection rules, wherein each of the plurality of error detection rules includes a set of error conditions to detect an error;
a means for storing a plurality of malicious code detection rules, wherein each of the plurality of malicious code detection rules includes a set of detection conditions to detect malicious code;
a means for detecting malicious code for an object under analysis based on at least one of the plurality of malicious code detection rules;
a means for gathering use data about the at least one of the plurality of malicious code detection rules;
a means for determining whether an error is present based on at least one of the plurality of error detection rules; and
a means for changing the at least one of the plurality of malicious code detection rules.
