# US 2023/0267202 A1 · Fast antimalware scan

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

- Number: US 2023/0267202 A1
- Document ID: US20230267202A1
- Status: Published application
- Kind: A1
- Application number: 17/652,285
- Filed: 2022-02-24
- Published: 2023-08-24
- Earliest claimed: 2022-02-24
- Assignees: Acronis International GmbH
- Applicants: Acronis International GmbH
- Inventors: Andrey Kulaga; Serguei Beloussov; Stanislav Protasov
- Web page: https://patentgrep.com/patent/US20230267202A1

## CPC

- G06F 21/562: {Static detection}
- G06F 21/564: {by virus signature recognition}
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system for detection of files not matching a known malware file in a computing environment that includes a processor coupled to a memory storing instructions to permit the processor to function as an analyzer. The analyzer is configured to receive, as input, an unknown file and the known malware file, compare the unknown file to the known malware file by comparing N (where N is greater of equal to 1) blocks B1, ..., BN of lengths L1, ..., LN located at offsets O1, ..., ON such that the number of blocks, lengths and offsets are calculated according to pre-defined algorithm, and output a value indicating that the unknown file is different from the known malware file if exists at least one j that a Bj block of the unknown file is different from a Bj block of the known malware file.

## Claims

### Claim 1

A system for detection of files not matching a known malware file in a computing environment, the system comprising:
a processor coupled to a memory storing instructions to permit the processor to function as an analyzer,
wherein the analyzer is configured to:
receive, as input, an unknown file and the known malware file;
compare the unknown file to the known malware file by comparing N (where N is greater or equal to 1) blocks B1, ..., BN of lengths L1, ..., LN located at offsets O1, ..., ON such that a number of blocks, lengths and offsets are calculated according to predefined algorithm; and
output a value indicating that the unknown file is different from the known malware file if there exists at least one j such that a Bj block of the unknown file is different from a Bj block of the known malware file.

### Claim 2 (depends on 1)

The system of claim 1, wherein certain file attributes of the known file are compared to the file attributes of the known malware file and, if the certain file attributes of the known file are not the same as the file attributes of the known malware file, a decision is made that these files are different and hence the unknown file is different from the malware file.

### Claim 3 (depends on 1)

The system of claim 1, wherein each offset is calculated for a first number of bytes at a beginning of a file, a second number of bytes at a middle of the file, and a third number of bytes before an end of the file.

### Claim 4 (depends on 1)

The system of claim 1, wherein the analyzer compares the unknown file to every file of the known malware file in a malware file collection.

### Claim 5 (depends on 3)

The system of claim 3,wherein the analyzer outputs the value indicating that the unknown file is different from every file in the malware file collection.

### Claim 6 (depends on 1)

The system of claim 1, wherein, prior to that the analyzer determines if the unknown file is different from the known malware file, the processor is configured to perform a pre-comparison of the unknown file with the known malware file.

### Claim 7 (depends on 5)

The system of claim 5, wherein the pre-comparison comprises comparing a size of the unknown file to a size of the known malware file.

### Claim 8 (depends on 6)

The system of claim 6, wherein, after that the analyzer determines if the unknown file is different from the known malware file, the processor is further configured to perform a post-comparison.

### Claim 9 (depends on 7)

The system of claim 7, wherein the post-comparison comprises comparing at least one signature of the unknown file with at least one signature of the known malware file.

### Claim 10 (depends on 1)

The system of claim 1, wherein, after that the analyzer determines if the unknown file is different from the known malware file, the processor is further configured to perform a post-comparison.

### Claim 11 (depends on 9)

The system of claim 9, wherein the post-comparison comprises comparing at least one signature of the unknown file with at least one signature of the known malware file.

### Claim 12 (depends on 1)

The system of claim 1, wherein blocks are strings - sequences of bytes or characters within the file that end with one or more of specific bytes or characters used within a given file as the “end of the line” or “carriage return” indicator.

### Claim 13 (depends on 1)

The system of claim 1, wherein blocks are selected based on a knowledge of a file format.

### Claim 14 (depends on 1)

The system of claim 1, wherein blocks of the unknown file are compared to corresponding blocks of the known malware file one-by-one.

### Claim 15 (depends on 1)

The system of claim 1, wherein selected blocks of the unknown file and corresponding blocks of the known malware file are concatenated in two “synthetic” files that are later compared using one of the known file comparison algorithms.

### Claim 16

A method for detection of files not matching a known malware file in a computing environment, the method comprising:
receiving an unknown file and the known malware file;
comparing the unknown file to the known malware file by comparing N (where N is greater or equal to 1) blocks B1, ..., BN of pre-defined lengths L1, ..., LN located at offsets O1, ..., ON such that each offset is calculated according to predefined formulas; and
outputting a value indicating that the unknown file is different from the known malware file if there exists at least one j such that a Bj block of the unknown file is different from a Bj block of the known malware file.

### Claim 17 (depends on 16)

The method of claim 16, wherein certain file attributes of the known file are compared to file attributes of the known malware file and, if the certain file attributes of the known file are not the same as the file attributes of the known malware file, a decision is made that these files are different and hence the unknown file is different from the malware file.

### Claim 18 (depends on 16)

The method of claim 16, wherein each offset is calculated for a first number of bytes at a beginning of a file, a second number of bytes at a middle of the file, and a third number of bytes before an end of the file.

### Claim 19 (depends on 16)

The method of claim 16, wherein, in the step of comparing further comprises comparing the unknown file to compared to every file of the known malware file in a malware file collection.

### Claim 20 (depends on 19)

The method of claim 19, wherein the step of outputting further comprises outputting the value indicating that the unknown file is different from every file in the malware file collection.
