# US 2023/0273995 A1 · Hybrid data scan pipeline reducing response latency and increasing attack scanning accuracy

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

- Number: US 2023/0273995 A1
- Document ID: US20230273995A1
- Status: Published application
- Kind: A1
- Application number: 17/681,144
- Filed: 2022-02-25
- Published: 2023-08-31
- Earliest claimed: 2022-02-25
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Huamin Chen; Yuval Lifshitz
- Web page: https://patentgrep.com/patent/US20230273995A1

## CPC

- G06F 21/561: {Virus type analysis}
- G06F 21/554: {involving event detection and direct action}
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 21/602: {Providing cryptographic facilities or services}
- 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

Methods, systems, and computer program products provide a hybrid data scan pipeline or detector that reduces (as compared to conventional storage operations) response latency and increases scanning accuracy of encryption attacks such as ransomware attacks. For example, a frontend of a storage platform receiving an incoming data object may scan a portion of the data object for a change of an entropy level. The portion scanned may be insignificant relative to the overall size of the data object. As such, the operations of the frontend would place an insignificant delay to the overall storage processing. Other portions of the data object will be processed at a backend of the storage platform. For example, subsequent to receiving the data object, a change of entropy level of the other portions is scanned for detecting ransomware attacks.

## Claims

### Claim 1

A method comprising:
receiving, at a storage platform, an incoming object having a first segment and a second segment;
scanning, by a processing device of the storage platform, the first segment of the incoming object for a change of an entropy level of the first segment; and
scanning, subsequent to the receiving, the second segment of the incoming object for a change of an entropy level of the second segment; and
determining an encryption of the incoming object when the change of the entropy level of the first segment or the second segment exceeds a threshold value based on the scanning of the first and the second segments.

### Claim 2 (depends on 1)

The method of claim 1, wherein the scanning of the second segment of the incoming object is performed while the incoming object is processed for storage at the storage platform.

### Claim 3 (depends on 1)

The method of claim 1, wherein the change of the entropy level of the first segment and the change of the entropy level of the second segment indicates an encryption by a ransomware to the incoming object.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
generating a warning upon detecting the change of the entropy level of the first segment exceeding the threshold indicating a ransomware encryption; and
generating a metadata record of the scanning of the second segment, regardless whether the change of the entropy level of the second segment exceeds the threshold.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
responsive to detecting that the change of the entropy level of the second segment exceeds the threshold, providing the generated metadata record to an external policy engine for verification of the ransomware encryption.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first segment comprises an initial subset of the incoming object, and wherein the second segment comprises a plurality of parallel segments processed by two or more object storage devices or daemons(OSDs).

### Claim 7 (depends on 1)

The method of claim 1, wherein:
the storage platform implements object storage on a distributed computer cluster and provides integrated interfaces for at least one of: object-level, block-level, or file-level storage, the storage platform comprising a frontend and a backend;
the frontend comprises a presentation layer or protocol of a reliable, autonomous, distributed object store (RADOS) gateway (RGW); and
the backend comprises a data access layer or storage of an object storage daemon (OSD).

### Claim 8

A non-transitory computer-readable storage medium having instructions stored thereon that, when executed by a processing device, cause the processing device to:
receive, at a storage platform, an incoming object having a first segment and a second segment;
scan, by the processing device, the first segment of the incoming object for a change of an entropy level of the first segment; and
scan, subsequent to the receiving, the second segment of the incoming object for a change of an entropy level of the second segment; and
determine an encryption of the incoming object when the change of the entropy level of the first segment or the second segment exceeds a threshold value based on the scanning of the first and the second segments.

### Claim 9 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the scanning of the second segment of the incoming object is performed while the incoming object is processed for storage at the storage platform.

### Claim 10 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the change of the entropy level of the first segment and the change of the entropy level of the second segment indicates an encryption by a ransomware to the incoming object.

### Claim 11 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, further comprises instructions stored thereon to cause the processing device to:
generate a warning upon detecting the change of the entropy level of the first segment exceeding the threshold indicating a ransomware encryption; and
generate a metadata record of the scanning of the second segment, regardless whether the change of the entropy level of the second segment exceeds the threshold.

### Claim 12 (depends on 11)

The non-transitory computer-readable storage medium of claim 11, further comprises instructions stored thereon to cause the processing device to:
responsive to detecting that the change of the entropy level of the second segment exceeds the threshold, provide the generated metadata record to an external policy engine for verification of the ransomware encryption.

### Claim 13 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein the first segment comprises an initial subset of the incoming object, and wherein the second segment comprises a plurality of parallel segments processed by two or more object storage devices or daemons(OSDs).

### Claim 14 (depends on 8)

The non-transitory computer-readable storage medium of claim 8, wherein:
the storage platform implements object storage on a distributed computer cluster and provides integrated interfaces for at least one of: object-level, block-level, or file-level storage, the storage platform comprising a frontend and a backend;
the frontend comprises a presentation layer or protocol of a reliable, autonomous, distributed object store (RADOS) gateway (RGW); and
the backend comprises a data access layer or storage of an object storage daemon (OSD).

### Claim 15

A system comprising:
a memory; and
a processing device coupled to the memory, to:
receive, at a storage platform, an incoming object having a first segment and a second segment;
scan, by the processing device, the first segment of the incoming object for a change of an entropy level of the first segment; and
scan, subsequent to the receiving, the second segment of the incoming object for a change of an entropy level of the second segment; and
determine an encryption of the incoming object when the change of the entropy level of the first segment or the second segment exceeds a threshold value based on the scanning of the first and the second segments.

### Claim 16 (depends on 15)

The system of claim 15, wherein the scanning of the second segment of the incoming object is performed while the incoming object is processed for storage at the storage platform.

### Claim 17 (depends on 15)

The system of claim 15, wherein the change of the entropy level of the first segment and the change of the entropy level of the second segment indicates an encryption by a ransomware to the incoming object.

### Claim 18 (depends on 15)

The system of claim 15, the processing device and the memory further to:
generate a warning upon detecting the change of the entropy level of the first segment exceeding the threshold indicating a ransomware encryption; and
generate a metadata record of the scanning of the second segment, regardless whether the change of the entropy level of the second segment exceeds the threshold.

### Claim 19 (depends on 18)

The system of claim 18, the processing device and the memory further to:
responsive to detecting that the change of the entropy level of the second segment exceeds the threshold, provide the generated metadata record to an external policy engine for verification of the ransomware encryption.

### Claim 20 (depends on 15)

The system of claim 15, wherein the first segment comprises an initial subset of the incoming object, and wherein the second segment comprises a plurality of parallel segments processed by two or more object storage devices or daemons(OSDs).
