# US 10,956,569 B2 · Proactive ransomware defense

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

- Number: US 10,956,569 B2
- Document ID: US10956569B2
- Status: Granted
- Kind: B2
- Application number: 16/124,140
- Filed: 2018-09-06
- Published: 2020-03-12
- Granted: 2021-03-23
- Earliest claimed: 2018-09-06
- Assignees: International Business Machiness Corporation
- Applicants: International Business Machines Corporation
- Inventors: Harry R. McGregor; Christopher B. Moore; Oded Margalit; Itzhack Goldberg
- Web page: https://patentgrep.com/patent/US10956569B2

## CPC

- G06F 21/56: Computer malware detection or handling, e.g. anti-virus arrangements
- H04L 9/3213: {using tickets or tokens, e.g. Kerberos (network architectures or network communication protocols for entities authentication using tickets in a packet data network H04L63/0807)}
- G06F 21/6209: {to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/14: using a plurality of keys or algorithms
- G06F 2221/034: Test or assess a computer or a system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for defending a computing system against ransomware attacks is disclosed. In one embodiment, such a method includes identifying, on a computing system, files to be protected against ransomware attacks. The method appends a public key to each of the files. Upon receiving a request to modify a specific file, the method reads the public key appended to the file, requests an authentication token from a user, and computes a private key associated with the files. The method combines the public key, authentication token, and private key to generate an unlock key. This unlock key is compared to a validation key. The method authorizes modification of the file in the event the unlock key matches the validation key. A corresponding system and computer program product are also disclosed.

## Claims

### Claim 1

A method for defending a computing system against ransomware attacks, the method comprising:
identifying, on a computing system, a plurality of files to be protected against ransomware attacks;
appending a public key to each of the plurality of files;
upon receiving a request to modify a specific file of the plurality of files, reading the public key appended to the specific file, requesting an authentication token from a user, and computing a private key associated with the plurality of files;
combining the public key, authentication token, and private key to generate an unlock key;
comparing the unlock key to a validation key; and
authorizing modification of the specific file in the event the unlock key matches the validation key.

### Claim 2 (depends on 1)

The method of claim 1, wherein the validation key is stored in a protected memory space.

### Claim 3 (depends on 1)

The method of claim 1, wherein the validation key is decrypted prior to being compared to the unlock key.

### Claim 4 (depends on 1)

The method of claim 1, wherein computing the private key comprises retrieving the private key from an encrypted vault.

### Claim 5 (depends on 1)

The method of claim 1, wherein authorizing modification comprises authorizing deletion of the specific file.

### Claim 6 (depends on 1)

The method of claim 1, wherein authorizing modification comprises authorizing encryption of the specific file.

### Claim 7 (depends on 1)

The method of claim 1, further comprising disallowing modification of the specific file in the event the unlock key does not match the validation key.

### Claim 8

A computer program product for defending a computing system against ransomware attacks, the computer program product comprising a computer-readable storage medium having computer-usable program code embodied therein, the computer-usable program code configured to perform the following when executed by at least one processor:
identify, on a computing system, a plurality of files to be protected against ransomware attacks;
append a public key to each of the plurality of files;
upon receiving a request to modify a specific file of the plurality of files, read the public key appended to the specific file, request an authentication token from a user, and compute a private key associated with the plurality of files;
combine the public key, authentication token, and private key to generate an unlock key;
compare the unlock key to a validation key; and
authorize modification of the specific file in the event the unlock key matches the validation key.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the validation key is stored in a protected memory space.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the validation key is decrypted prior to being compared to the unlock key.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein computing the private key comprises retrieving the private key from an encrypted vault.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein authorizing modification comprises authorizing deletion of the specific file.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein authorizing modification comprises authorizing encryption of the specific file.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein the computer-usable program code is further configured to disallow modification of the specific file in the event the unlock key does not match the validation key.

### Claim 15

A system for defending against ransomware attacks, the system comprising:
at least one processor;
at least one memory device operably coupled to the at least one processor and storing instructions for execution on the at least one processor, the instructions causing the at least one processor to:
identify, on a computing system, a plurality of files to be protected against ransomware attacks;
append a public key to each of the plurality of files;
upon receiving a request to modify a specific file of the plurality of files, read the public key appended to the specific file, request an authentication token from a user, and compute a private key associated with the plurality of files;
combine the public key, authentication token, and private key to generate an unlock key;
compare the unlock key to a validation key; and
authorize modification of the specific file in the event the unlock key matches the validation key.

### Claim 16 (depends on 15)

The system of claim 15, wherein the validation key is stored in a protected memory space.

### Claim 17 (depends on 15)

The system of claim 15, wherein the validation key is decrypted prior to being compared to the unlock key.

### Claim 18 (depends on 15)

The system of claim 15, wherein computing the private key comprises retrieving the private key from an encrypted vault.

### Claim 19 (depends on 15)

The system of claim 15, wherein authorizing modification comprises authorizing deletion of the specific file.

### Claim 20 (depends on 15)

The system of claim 15, wherein authorizing modification comprises authorizing encryption of the specific file.
