# US 2022/0092170 A1 · Malicious files detection and disarming

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

- Number: US 2022/0092170 A1
- Document ID: US20220092170A1
- Status: Published application
- Kind: A1
- Application number: 17/026,634
- Filed: 2020-09-21
- Published: 2022-03-24
- Earliest claimed: 2020-09-21
- Assignees: Yazamtech Ltd.
- Applicants: Yazamtech Ltd.
- Inventors: Yosi SHANI; Alex DEMIDOV
- Web page: https://patentgrep.com/patent/US20220092170A1

## CPC

- G06F 21/54: by adding security routines or objects to programs
- G06F 21/568: {eliminating virus, restoring damaged files}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method comprising: detecting a start of one of a set of monitored process, each associated with an application installed on a computer system, injecting said detected monitored process of said set of monitored process with a software module configured to intercept specified functions calls by the monitored process, wherein said specified function call are associated with file operations attempted by the monitored process, intercepting, by said software module, a function call of one of said specified function calls, modifying, by said software module, an execution of said function, to suspend said file operation attempted by said monitored process, processing a file referenced by said file operation, by applying a plurality of data security operations thereupon, returning an expected value to said monitored process with respect to said file, and issuing a notification to a user of said computer system with respect to a result of said processing.

## Claims

### Claim 1

A system comprising:
at least one hardware processor; and
a non-transitory computer-readable storage medium having stored thereon program instructions, the program instructions executable by the at least one hardware processor to:
detect a start of one of a set of monitored process, each associated with an application installed on a computer system,
inject said detected monitored process of said set of monitored process with a software module configured to intercept specified functions calls by the monitored process, wherein said specified function call are associated with file operations attempted by the monitored process,
intercept, by said software module, a function call of one of said specified function calls,
modify, by said software module, an execution of said function, to suspend said file operation attempted by said monitored process,
process a file referenced by said file operation, by applying a plurality of data security operations thereupon,
return an expected value to said monitored process with respect to said file, and
issue a notification to a user of said computer system with respect to a result of said processing.

### Claim 2 (depends on 1)

The system of claim 1, wherein said set of monitored processes is predetermined by a user of said computer system with respect to each of said applications.

### Claim 3 (depends on 1)

The system of claim 1, wherein said software nodule comprises a dynamic-link library (DLL) hook configured to perform said intercepting.

### Claim 4 (depends on 1)

The system of claim 1, wherein said specified function call is a close for a handle.

### Claim 5 (depends on 4)

The system of claim 4, wherein said computer system comprises a Windows operating system, and said specified function call NtClose.

### Claim 6 (depends on 1)

The system of claim 1, wherein said file operations are one of: write, append, modify, upload, and delete.

### Claim 7 (depends on 1)

The system of claim 1, wherein said processing only occurs when said file meets a plurality of criteria selected form the group consisting of: not a system file; not a hidden file; not a read-only file; has a length of more than 1 byte; does not exist in a delete queue; and has a single reference upon itself.

### Claim 8 (depends on 1)

The system of claim 1, wherein said processing only occurs when said file is located in a folder that is not one of: a temporary folder, and a Program Data folder.

### Claim 9 (depends on 1)

The system of claim 1, wherein said plurality of security operations are selected form the group consisting of: file approval, file blocking, file quarantining, and record of file operations.

### Claim 10

A method comprising:
detecting a start of one of a set of monitored process, each associated with an application installed on a computer system,
injecting said detected monitored process of said set of monitored process with a software module configured to intercept specified functions calls by the monitored process, wherein said specified function call are associated with file operations attempted by the monitored process,
intercepting, by said software module, a function call of one of said specified function calls,
modifying, by said software module, an execution of said function, to suspend said file operation attempted by said monitored process,
processing a file referenced by said file operation, by applying a plurality of data security operations thereupon,
returning an expected value to said monitored process with respect to said file, and
issuing a notification to a user of said computer system with respect to a result of said processing.

### Claim 11 (depends on 10)

The method of claim 10, wherein said set of monitored processes is predetermined by a user of said computer system with respect to each of said applications.

### Claim 12 (depends on 10)

The method of claim 10, wherein said software nodule comprises a dynamic-link library (DLL) hook configured to perform said intercepting.

### Claim 13 (depends on 10)

The method of claim 10, wherein said specified function call is a close for a handle.

### Claim 14 (depends on 13)

The method of claim 13, wherein said computer system comprises a Windows operating system, and said specified function call NtClose.

### Claim 15 (depends on 10)

The method of claim 10, wherein said file operations are one of: write, append, modify, upload, and delete.

### Claim 16 (depends on 10)

The method of claim 10, wherein said processing only occurs when said file meets a plurality of criteria selected form the group consisting of: not a system file; not a hidden file; not a read-only file; has a length of more than 1 byte; does not exist in a delete queue; and has a single reference upon itself.

### Claim 17 (depends on 10)

The method of claim 10, wherein said processing only occurs when said file is located in a folder that is not one of: a temporary folder, and a Program Data folder.

### Claim 18 (depends on 10)

The method of claim 10, wherein said plurality of security operations are selected form the group consisting of: file approval, file blocking, file quarantining, and record of file operations.

### Claim 19

A computer program product comprising a non-transitory computer-readable storage medium having program instructions embodied therewith, the program instructions executable by at least one hardware processor to:
detect a start of one of a set of monitored process, each associated with an application installed on a computer system,
inject said detected monitored process of said set of monitored process with a software module configured to intercept specified functions calls by the monitored process, wherein said specified function call are associated with file operations attempted by the monitored process,
intercept, by said software module, a function call of one of said specified function calls,
modify, by said software module, an execution of said function, to suspend said file operation attempted by said monitored process,
process a file referenced by said file operation, by applying a plurality of data security operations thereupon,
return an expected value to said monitored process with respect to said file, and
issue a notification to a user of said computer system with respect to a result of said processing.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein said file operations are one of: write, append, modify, upload, and delete.
