# US 2012/0255014 A1 · System and method for below-operating system repair of related malware-infected threads and resources

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

- Number: US 2012/0255014 A1
- Document ID: US20120255014A1
- Status: Published application
- Kind: A1
- Application number: 13/074,947
- Filed: 2011-03-29
- Published: 2012-10-04
- Earliest claimed: 2011-03-29
- Assignees: McAfee, Inc.
- Inventors: Ahmed Said Sallam
- Web page: https://patentgrep.com/patent/US20120255014A1

## CPC

- G06F 21/564: {by virus signature recognition}
- G06F 21/554: {involving event detection and direct action}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A security agent may be configured to: (i) execute on an electronic device at a level below all of the operating systems of the electronic device accessing a memory or processor resources of the electronic device; (ii) trap attempted accesses to the memory or the processor resources associated with function calls for thread synchronization objects associated with creation, suspension, or termination of one thread by another thread; (iii) in response to trapping each attempted access, record information associated with the attempted access in a history, the information including one or more identities of threads associated with the attempted access; (iv) determine whether a particular thread is affected by malware; and (iv) in response to a determining that the particular thread is affected by malware, analyze information in the history associated with the particular memory location or processor resource to determine one or more threads related to the particular thread.

## Claims

### Claim 1

A method for securing an electronic device, comprising:
trapping, at a level below all of the operating systems of the electronic device accessing a memory or processor resources, attempted accesses to the memory or the processor resources associated with function calls for thread synchronization objects associated with creation, suspension, or termination of one thread by another thread;
in response to trapping each attempted access, recording information associated with the attempted access in a history, the information including one or more identities of threads associated with the attempted access;
determining whether a particular thread is affected by malware; and
in response to a determining that the particular thread is affected by malware, analyzing information in the history associated with the particular memory location or processor resource to determine one or more threads related to the particular thread.

### Claim 2 (depends on 1)

The method of claim 1, further comprising initiating corrective action with respect to the one or more threads related to the particular thread.

### Claim 3 (depends on 2)

The method of claim 2, wherein the corrective action comprises analyzing the one or more threads related to the particular thread to determine if the one or more threads include malicious code.

### Claim 4 (depends on 2)

The method of claim 2, wherein the corrective action comprises terminating, deleting, modifying, or neutralizing the one or more threads related to the particular thread.

### Claim 5 (depends on 2)

The method of claim 2, wherein initiating corrective action comprises communicating forensic evidence to a protection server.

### Claim 6 (depends on 2)

The method of claim 2, wherein initiating corrective action comprises restoring a memory location including at least one of the one or more threads with a historical snapshot generated for the memory location.

### Claim 7 (depends on 1)

The method of claim 1, further comprising determining that the particular thread is affected by malware by:
trapping, at a level below all of the operating systems of the electronic device accessing one or more memory or processor resources, attempted accesses to the one or more memory or processor resources, wherein each of such attempted accesses may, individually or in the aggregate, indicate the presence of malware; and
in response to trapping each attempted access indicative of the presence of malware, recording information associated with the attempted access indicative of malware in the history, the information including one or more identities of threads associated with the attempted access; and
analyzing information in the history associated with the particular thread to determine whether the thread has been affected by malware.

### Claim 8

A system for securing an electronic device, comprising:
a memory;
a processor;
one or more operating systems residing in the memory for execution by the processor;
a security agent configured to execute on the electronic device at a level below all of the operating systems of the electronic device accessing the memory or processor resources of the electronic device, and further configured to:
trap attempted accesses to the memory or the processor resources associated with function calls for thread synchronization objects associated with creation, suspension, or termination of one thread by another thread;
in response to trapping each attempted access, record information associated with the attempted access in a history, the information including one or more identities of threads associated with the attempted access;
determine whether a particular thread is affected by malware; and
in response to a determining that the particular thread is affected by malware, analyze information in the history associated with the particular memory location or processor resource to determine one or more threads related to the particular thread.

### Claim 9 (depends on 8)

The system of claim 8, the security agent further configured to initiate corrective action with respect to the one or more threads related to the particular thread.

### Claim 10 (depends on 9)

The system of claim 9, wherein the corrective action comprises the security agent analyzing the one or more threads related to the particular thread to determine if the one or more threads include malicious code.

### Claim 11 (depends on 9)

The system of claim 9, wherein the corrective action comprises the security agent terminating, deleting, modifying, or neutralizing the one or more threads related to the particular thread.

### Claim 12 (depends on 9)

The system of claim 9, wherein initiating corrective action comprises communicating forensic evidence to a protection server.

### Claim 13 (depends on 9)

The system of claim 9, wherein initiating corrective action comprises restoring a memory location including at least one of the one or more threads with a historical snapshot generated for the memory location.

### Claim 14 (depends on 8)

The system of claim 8, further comprising the security agent configured to determine that the particular thread is affected by malware by:
trapping attempted accesses to memory or processor resources, wherein each of such attempted accesses may, individually or in the aggregate, indicate the presence of malware; and
in response to trapping each attempted access indicative of the presence of malware, recording information associated with the attempted access indicative of malware in the history, the information including one or more identities of threads associated with the attempted access; and
analyzing information in the history associated with the particular thread to determine whether the thread has been affected by malware.

### Claim 15

An article of manufacture, comprising:
a computer readable medium;
computer-executable instructions carried on the computer readable medium, the instructions readable by a processor, the instructions, when read and executed, for causing the processor to, at a level below all of the operating systems of an electronic device accessing one or more memory or processor resources of an electronic device:
trap attempted accesses to the memory or the processor resources associated with function calls for thread synchronization objects associated with creation, suspension, or termination of one thread by another thread;
in response to trapping each attempted access, record information associated with the attempted access in a history, the information including one or more identities of threads associated with the attempted access;
determine whether a particular thread is affected by malware; and
in response to a determining that a particular thread is affected by malware, analyze information in the history associated with the particular memory location or processor resource to determine one or more threads related to the particular thread.

### Claim 16 (depends on 15)

The article of claim 15, wherein the processor is further configured to initiate corrective action with respect to the one or more threads related to the particular thread.

### Claim 17 (depends on 16)

The article of claim 16, wherein the corrective action comprises analyzing the one or more threads related to the particular thread to determine if the one or more threads include malicious code.

### Claim 18 (depends on 16)

The article of claim 16, wherein the corrective action comprises terminating, deleting, modifying, or neutralizing the one or more threads related to the particular thread.

### Claim 19 (depends on 16)

The article of claim 16, wherein initiating corrective action comprises communicating forensic evidence to a protection server.

### Claim 20 (depends on 16)

The article of claim 16, wherein initiating corrective action comprises restoring a memory location including at least one of the one or more threads with a historical snapshot generated for the memory location.

### Claim 21 (depends on 15)

The system of claim 15, wherein the processor is further caused to determine that the particular thread is affected by malware by:
trapping attempted accesses to memory or processor resources, wherein each of such attempted accesses may, individually or in the aggregate, indicate the presence of malware; and
in response to trapping each attempted access indicative of the presence of malware, recording information associated with the attempted access indicative of malware in the history, the information including one or more identities of threads associated with the attempted access; and
analyzing information in the history associated with the particular thread to determine whether the thread has been affected by malware.
