# US 2021/0157906 A1 · Systems and methods for proactive and reactive data security

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

- Number: US 2021/0157906 A1
- Document ID: US20210157906A1
- Status: Published application
- Kind: A1
- Application number: 16/698,328
- Filed: 2019-11-27
- Published: 2021-05-27
- Earliest claimed: 2019-11-27
- Assignees: Data Security Technologies LLC
- Applicants: Data Security Technologies LLC
- Inventors: Fahad Shaon; Sazzadur Rahaman
- Web page: https://patentgrep.com/patent/US20210157906A1

## CPC

- G06F 21/54: by adding security routines or objects to programs
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein are systems, methods, and storage media for distributed system security. In an example embodiment, a computer-executable method includes receiving a first item of executable code, calculating a hash of the first item of executable code, and comparing the calculated hash to a database of hashes. Responsive to a determination that the calculated hash does not match any hash in the database of hashes, a first security policy is applied to the first item of executable code. Triggering of the first policy indicates that the first item of executable code should be blocked from execution. If the first item of executable code does not trigger the first security policy, the method includes executing the first item of executable code and intercepting a request initiated by the first item of executable code during execution. In the request matches a second security policy, the request is blocked and/or filtered or sanitized, based on attribute-based access control policies.

## Claims

### Claim 1

A method for distributed system security, comprising:
receiving, by proactive analyzer executed by a processor of a computing device, a first item of executable code;
calculating, by the proactive analyzer, a hash of the first item of executable code;
comparing, by the proactive analyzer, the calculated hash to a database of hashes;
determining, by the proactive analyzer, that the calculated hash does not match any hash in the database of hashes;
responsive to the determination that the calculated hash does not match any hash in the database of hashes, applying, by the proactive analyzer, a first security policy to the first item of executable code, triggering of the first policy indicating that the first item of executable code should be blocked from execution;
determining, by the proactive analyzer, that the first item of executable code does not trigger the first security policy;
executing, by the computing device, the first item of executable code, responsive to the determination that the first item of executable code does not trigger the first security policy;
intercepting, by a reactive analyzer executed by the processor, a request initiated by the first item of executable code during execution;
determining, by the reactive analyzer, that the request matches a second security policy; and
responsive to the determination that the request matches the second security policy, blocking the request, by the reactive analyzer.

### Claim 2 (depends on 1)

The method of claim 1, wherein receiving the first item of executable code further comprises:
receiving, by the proactive analyzer, a compressed archive of executable code comprising the first item of executable code;
calculating, by the proactive analyzer, a hash of the compressed archive of executable code;
comparing, by the proactive analyzer, the calculated hash of the compressed archive of executable code to the database of hashes.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
determining, by the proactive analyzer, that the calculated hash of the compressed archive of executable code does not match any hash in the database of hashes; and
responsive to the determination that the calculated hash of the compressed archive of executable code does not match any hash in the database of hashes, decompressing, by the proactive analyzer, the compressed archive of executable code and extracting the first item of executable code.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
receiving, by the proactive analyzer, a second item of executable code;
comparing, by the proactive analyzer, a calculated hash of the second item of executable code to the database of hashes; and
executing, by the computing device, the second item of executable code, responsive to a determination that the calculated hash of the second item of executable code matches a hash in the database of hashes.

### Claim 5 (depends on 1)

The method of claim 1, wherein applying the first security policy to the first item of executable code comprises comparing, by the proactive analyzer, the first item of executable code to one or more predetermined regular expressions.

### Claim 6 (depends on 1)

The method of claim 1, wherein applying the first security policy to the first item of executable code comprises comparing, by the proactive analyzer, output targets of the first item of executable code to a predetermined set of secure targets.

### Claim 7 (depends on 1)

The method of claim 1, wherein intercepting the request initiated by the first item of executable code further comprises:
monitoring, by the reactive analyzer, an execution stack trace of a secure application executed by the processor of the computing device; and
intercepting the request, by the reactive analyzer, responsive to the execution stack trace comprising data from the first item of executable code.

### Claim 8 (depends on 1)

The method of claim 1, wherein determining that the request matches the second security policy further comprises determining, by the reactive analyzer, that the request corresponds to a secure data source.

### Claim 9 (depends on 8)

The method of claim 8, wherein blocking the request further comprises:
intercepting, by the reactive analyzer, a response to the request initiated by the first item of executable code;
filtering, by the reactive analyzer, data from one or more portions of the response to the request according to a predetermined pattern; and
providing, by the reactive analyzer, the filtered response to the first item of executable code during execution.

### Claim 10 (depends on 1)

The method of claim 1, wherein blocking the request further comprises discarding the request, by the reactive analyzer.

### Claim 11

A system for distributed system security, comprising:
a computing device comprising a processor executing a proactive analyzer and a reactive analyzer; wherein the proactive analyzer is configured to:
receive a first item of executable code,
calculate a hash of the first item of executable code,
compare the calculated hash to a database of hashes,
determine that the calculated hash does not match any hash in the database of hashes,
responsive to the determination that the calculated hash does not match any hash in the database of hashes, apply a first security policy to the first item of executable code, triggering of the first policy indicating that the first item of executable code should be blocked from execution, and
determine that the first item of executable code does not trigger the first security policy; wherein the reactive analyzer is configured to:
intercept a request initiated by the first item of executable code during execution, execution of the first item of executable code initiated responsive to the determination that the first item of executable code does not trigger the first security policy,
determine that the request matches a second security policy, and
responsive to the determination that the request matches the second security policy, block the request.

### Claim 12 (depends on 11)

The system of claim 11, wherein the proactive analyzer is further configured to:
receive a compressed archive of executable code comprising the first item of executable code;
calculate a hash of the compressed archive of executable code;
compare the calculated hash of the compressed archive of executable code to the database of hashes.

### Claim 13 (depends on 12)

The system of claim 12, wherein the proactive analyzer is further configured to:
determine that the calculated hash of the compressed archive of executable code does not match any hash in the database of hashes; and
responsive to the determination that the calculated hash of the compressed archive of executable code does not match any hash in the database of hashes, decompress the compressed archive of executable code and extract the first item of executable code.

### Claim 14 (depends on 11)

The system of claim 11, wherein the proactive analyzer is further configured to:
receive a second item of executable code;
compare a calculated hash of the second item of executable code to the database of hashes; and
initiate execution of the second item of executable code, responsive to a determination that the calculated hash of the second item of executable code matches a hash in the database of hashes.

### Claim 15 (depends on 11)

The system of claim 11, wherein the proactive analyzer is further configured to compare the first item of executable code to one or more predetermined regular expressions.

### Claim 16 (depends on 11)

The system of claim 11, wherein the proactive analyzer is further configured to compare output targets of the first item of executable code to a predetermined set of secure targets.

### Claim 17 (depends on 11)

The system of claim 11, wherein the reactive analyzer is further configured to:
monitor an execution stack trace of a secure application executed by the processor of the computing device; and
intercept the request, responsive to the execution stack trace comprising data from the first item of executable code.

### Claim 18 (depends on 11)

The system of claim 11, wherein the reactive analyzer is further configured to determine that the request corresponds to a secure data source.

### Claim 19 (depends on 18)

The system of claim 18, wherein the reactive analyzer is further configured to:
intercept a response to the request initiated by the first item of executable code;
filter data from one or more portions of the response to the request according to a predetermined pattern; and
provide the filtered response to the first item of executable code during execution.

### Claim 20 (depends on 11)

The system of claim 11, wherein the reactive analyzer is further configured to discard the request.
