# US 11,120,128 B2 · Offloading processing of writes to determine malicious data from a first storage system to a second storage system

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

- Number: US 11,120,128 B2
- Document ID: US11120128B2
- Status: Granted
- Kind: B2
- Application number: 16/508,294
- Filed: 2019-07-10
- Published: 2019-10-31
- Granted: 2021-09-14
- Earliest claimed: 2017-05-03
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Matthew G. Borlick; Lokesh M. Gupta; Carol S. Mellgren; John G. Thompson
- Web page: https://patentgrep.com/patent/US11120128B2

## CPC

- G06F 21/554: {involving event detection and direct action}
- G06F 12/0888: using selective caching, e.g. bypass
- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G06F 21/562: {Static detection}
- G06F 2212/1052: Security improvement
- G06F 2212/60: Details of cache memory
- 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

Provided are a computer program product, system, and method for offloading processing of writes to determine malicious data from a first storage system to a second storage system. Write data for a first storage is cached in a first cache in the first storage system and copied to a second cache in the second storage system. The second storage system determines whether the copy of the write data comprises random data according to a randomness criteria. The second storage system returns a message to the first storage system indicating that the write data comprises malicious data if random or not malicious data if not random. The first storage system destages the write data in the first cache if the message indicates not malicious data or processes the write data in the first cache as malicious data if the message indicates malicious data.

## Claims

### Claim 1

A computer program product for processing write data received at a first storage system and mirrored to a second storage system, the computer program product comprising a computer readable storage medium having computer readable program code embodied therein that when executed in a first storage system and second storage system performs operations, the operations comprising:
copying write data at the first storage system to the second storage system;
in response to determining at least one of: (i) that an I/O activity rate of a process that wrote the write data exceeds a historical I/O activity rate by an I/O activity rate threshold, (ii) that a difference of a timestamp of the write data and the timestamp of when a data entity including the write data in the first storage system was last written exceeds a time threshold, and (iii) that the write data is directed to trap data, determining at the second storage system whether the copied write data comprises encrypted data;
returning, by the second storage system, a message to the first storage system indicating that the copied write data comprises malicious data in response to determining the write data comprises encrypted data or does not comprise malicious data in response to determining the write data does not comprise encrypted data;
storing, by the first storage system, the write data in a first storage of the first storage system in response to the message indicating that the write data does not comprise malicious data; and
processing, by the first storage system, the write data as malicious data in response to the message indicating the write data comprises malicious data.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the determining whether the determining whether the copied write data comprises encrypted data comprises determining whether the copied write data comprises random data according to a randomness criteria.

### Claim 3 (depends on 2)

The computer program product of claim 2, wherein the randomness criteria comprises a compression ratio, wherein the determining, by the second storage system, whether the copied write data comprises random data comprises:
compressing the copied write data to produce compressed write data; and
determining whether the compressed write data exceeds the compression ratio, wherein the write data is determined to comprise random data in response to determining that the compressed write data does not exceed the compression ratio and wherein the write data is determined to not comprise random data in response to determining that the compressed write data exceeds the compression ratio.

### Claim 4 (depends on 1)

The computer program product of claim 1, wherein the write data is copied from a first cache at the first storage system to a second cache at the second storage system, wherein the second storage system determines whether the copied write data in the second cache comprises encrypted data.

### Claim 5

A system comprising:
a first storage system having a storage;
a second storage system; and
a computer readable storage medium having computer readable program code embodied therein that when executed by the first storage system and the second storage system performs operations, the operations comprising:
copying write data at the first storage system to the second storage system;
in response to determining at least one of: (i) that an I/O activity rate of a process that wrote the write data exceeds a historical I/O activity rate by an I/O activity rate threshold, (ii) that a difference of a timestamp of the write data and the timestamp of when a data entity including the write data in the first storage system was last written exceeds a time threshold, and (iii) that the write data is directed to trap data, determining at the second storage system whether the copied write data comprises encrypted data;
returning, by the second storage system, a message to the first storage system indicating that the copied write data comprises malicious data in response to determining the write data comprises encrypted data or does not comprise malicious data in response to determining the write data does not comprise encrypted data;
storing, by the first storage system, the write data in a first storage of the first storage system in response to the message indicating that the write data does not comprise malicious data; and
processing, by the first storage system, the write data as malicious data in response to the message indicating the write data comprises malicious data.

### Claim 6 (depends on 5)

The system of claim 5, wherein the determining whether the determining whether the copied write data comprises encrypted data comprises determining whether the copied write data comprises random data according to a randomness criteria.

### Claim 7 (depends on 6)

The system of claim 6, wherein the randomness criteria comprises a compression ratio, wherein the determining, by the second storage system, whether the copied write data comprises random data comprises:
compressing the copied write data to produce compressed write data; and
determining whether the compressed write data exceeds the compression ratio, wherein the write data is determined to comprise random data in response to determining that the compressed write data does not exceed the compression ratio and wherein the write data is determined to not comprise random data in response to determining that the compressed write data exceeds the compression ratio.

### Claim 8 (depends on 5)

The system of claim 5, wherein the write data is copied from a first cache at the first storage system to a second cache at the second storage system, wherein the second storage system determines whether the copied write data in the second cache comprises encrypted data.

### Claim 9

A method for processing write data received at a first storage system with a second storage system, comprising:
copying write data at the first storage system to the second storage system;
in response to determining at least one of: (i) that an I/O activity rate of a process that wrote the write data exceeds a historical I/O activity rate by an I/O activity rate threshold, (ii) that a difference of a timestamp of the write data and the timestamp of when a data entity including the write data in the first storage system was last written exceeds a time threshold, and (iii) that the write data is directed to trap data, determining at the second storage system whether the copied write data comprises encrypted data;
returning, by the second storage system, a message to the first storage system indicating that the copied write data comprises malicious data in response to determining the write data comprises encrypted data or does not comprise malicious data in response to determining the write data does not comprise encrypted data;
storing, by the first storage system, the write data in a first storage of the first storage system in response to the message indicating that the write data does not comprise malicious data; and
processing, by the first storage system, the write data as malicious data in response to the message indicating the write data comprises malicious data.

### Claim 10 (depends on 9)

The method of claim 9, wherein the determining whether the determining whether the copied write data comprises encrypted data comprises determining whether the copied write data comprises random data according to a randomness criteria.

### Claim 11 (depends on 10)

The method of claim 10, wherein the randomness criteria comprises a compression ratio, wherein the determining, by the second storage system, whether the copied write data comprises random data comprises:
compressing the copied write data to produce compressed write data; and
determining whether the compressed write data exceeds the compression ratio, wherein the write data is determined to comprise random data in response to determining that the compressed write data does not exceed the compression ratio and wherein the write data is determined to not comprise random data in response to determining that the compressed write data exceeds the compression ratio.
