# US 2012/0255010 A1 · System and method for firmware based anti-malware security

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

- Number: US 2012/0255010 A1
- Document ID: US20120255010A1
- Status: Published application
- Kind: A1
- Application number: 13/073,810
- Filed: 2011-03-28
- Published: 2012-10-04
- Earliest claimed: 2011-03-28
- Assignees: McAfee, Inc.
- Inventors: Ahmed Said Sallam
- Web page: https://patentgrep.com/patent/US20120255010A1

## CPC

- G06F 21/56: Computer malware detection or handling, e.g. anti-virus arrangements
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- H04L 63/0227: {Filtering policies (mail message filtering H04L51/212)}
- H04L 63/1408: {by monitoring network traffic (monitoring network traffic per se H04L43/00)}
- G06F 2221/034: Test or assess a computer or a system
- G06F 2221/2101: Auditing as a secondary aspect
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- 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 system for securing an electronic device includes a non-volatile memory, a processor coupled to the non-volatile memory, a resource of the electronic device, firmware residing in the non-volatile memory and executed by the processor, and a firmware security agent residing in the firmware. The firmware is communicatively coupled to the resource of an electronic device. The firmware security agent is configured to, at a level below all of the operating systems of the electronic device accessing the resource, intercept a request for the resource and determine whether the request is indicative of malware.

## Claims

### Claim 1

A system for securing an electronic device, comprising:
a non-volatile memory;
a processor coupled to the non-volatile memory;
a resource of the electronic device;
firmware residing in the non-volatile memory and executed by the processor, the firmware communicatively coupled to the resource of an electronic device; and
a firmware security agent residing in the firmware, the firmware security agent configured to, at a level below all of the operating systems of the electronic device accessing the resource:
intercept a request for the resource; and
determine whether the request is indicative of malware.

### Claim 2 (depends on 1)

The system of claim 1, wherein if the request is indicative of malware, the firmware security agent is configured to deny the request.

### Claim 3 (depends on 1)

The system of claim 1, further comprising a server communicatively coupled to the firmware security agent, the server configured to provide security rules to be used by the firmware security agent to determine whether to intercept the request for the resource.

### Claim 4 (depends on 1)

The system of claim 1, further comprising a protection server is configured to:
receive information about a behavior on the electronic device observed by the firmware security agent, the behavior comprising the request; and
determine whether the behavior indicates malware.

### Claim 5 (depends on 1)

The system of claim 1, wherein the firmware resides in a controller of a peripheral of the electronic device.

### Claim 6 (depends on 1)

The system of claim 1, wherein the resource comprises an input/output component of the electronic device.

### Claim 7 (depends on 1)

The system of claim 1, wherein the resource comprises a keyboard.

### Claim 8 (depends on 1)

The system of claim 1, wherein the resource comprises a display device.

### Claim 9 (depends on 1)

The system of claim 1, wherein the resource comprises a disk.

### Claim 10 (depends on 1)

The system of claim 1, wherein the request comprises an input or output command.

### Claim 11 (depends on 10)

The system of claim 10, wherein determining whether the request is indicative of malware comprises evaluating whether the value of the input or output command is indicative of malware.

### Claim 12 (depends on 1)

The system of claim 1, further comprising:
an input and/or output (I/O) device comprising the memory and processor, the I/O device communicatively coupled to an operating system of the electronic device;
a security agent communicatively coupled to the firmware security agent, wherein:
configuring the firmware security agent to determine whether the request indicates malware comprises configuring the firmware security agent to send information to the security agent, the information comprising the request; and
the security agent is configured to access one or more security rules to determine whether the information indicates malware.

### Claim 13 (depends on 12)

The system of claim 12, wherein the security agent operates within a bare metal layer of the electronic device.

### Claim 14 (depends on 12)

The system of claim 12, further comprising an operating system security agent running in the operating system and communicatively coupled to the security agent, wherein the security agent is configured to provide information to security agent, the information regarding one or more elements in the operating system that made the request of the resource.

### Claim 15 (depends on 12)

The system of claim 12, wherein the firmware security agent is configured to validate the security agent.

### Claim 16 (depends on 12)

The system of claim 12, wherein the security agent is configured to:
execute at a level below all operating systems of the electronic device accessing the resource; and
receive the request from a level above the security agent.

### Claim 17 (depends on 12)

The system of claim 12, wherein the security agent is configured to:
execute at a higher priority than all operating systems of the electronic device accessing the resource, such priority defined by the processor; and
receive the request is from an entity with less priority than the security agent.

### Claim 18 (depends on 12)

The system of claim 12, wherein the security agent is configured to:
execute on a more privileged ring of execution than all operating systems of the electronic device accessing the resource; and
receive the request from a less privileged ring of execution than the security agent.

### Claim 19

A method for securing an electronic device, comprising:
in firmware communicatively coupled to a resource, the resource coupled to the electronic device and the firmware residing in a non-volatile memory, intercepting a request for the resource at a level below all of the operating systems of the electronic device accessing the resource;
consulting one or more security rules; and
based on the one or more security rules, determining whether the request is indicative of malware.

### Claim 20 (depends on 19)

The method of claim 19, further comprising if the request is indicative of malware, denying the request.

### Claim 21 (depends on 19)

The method of claim 19, wherein determining whether the request is indicative of malware comprises:
sending information about the request to a protection server; and
receiving a determination about the request from the protection server.

### Claim 22 (depends on 19)

The method of claim 19, wherein the request is intercepted in firmware resident in a controller of a peripheral of the electronic device.

### Claim 23 (depends on 19)

The method of claim 19, wherein the resource comprises an input/output component of the electronic device.

### Claim 24 (depends on 19)

The method of claim 19, wherein the resource comprises an keyboard.

### Claim 25 (depends on 19)

The method of claim 19, wherein the resource comprises a display device.

### Claim 26 (depends on 19)

The method of claim 19, wherein the resource comprises a disk.

### Claim 27 (depends on 19)

The method of claim 19, wherein the request comprises an input or output command.

### Claim 28 (depends on 19)

The method of claim 19, further comprising communicating with a security agent to receive one or more security rules.

### Claim 29 (depends on 28)

The method of claim 28, further comprising:
intercepting the request in the firmware of an input and/or output (I/O) device;
wherein determining whether the request whether the request indicates malware comprises:
sending information to the security agent, the information comprising the request; and
accessing one or more security rules from the security agent to determine whether the request indicates malware.

### Claim 30 (depends on 28)

The method of claim 28, wherein accessing one or more security rules from the security agent is accomplished within a bare metal layer of the electronic device.

### Claim 31 (depends on 28)

The method of claim 28, further comprising:
communicating with an operating system security agent running in an operating system of the electronic device; and
receiving information regarding one or more elements in the operating system that made the request of the resource.

### Claim 32 (depends on 28)

The method of claim 28, further comprising validating the security agent.

### Claim 33 (depends on 28)

The method of claim 28:
wherein the security agent is executing at a level below all operating methods of the electronic device; and
further comprising receiving the request from a level above the security agent.

### Claim 34 (depends on 28)

The method of claim 28:
wherein the security agent is executing at a higher priority than all operating systems of the electronic device accessing the resource, such priority defined by the processor; and
further comprising receiving the request from an entity with less priority than the security agent.

### Claim 35 (depends on 28)

The method of claim 28:
wherein the security agent is executing on a more privileged ring of execution than all operating systems of the electronic device accessing the resource; and
further comprising receiving the request from a less privileged ring of execution than the security agent.

### Claim 36

An article of manufacture comprising:
a computer readable medium; and
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:
in firmware communicatively coupled to a resource, the resource coupled to the electronic device and the firmware residing in a non-volatile memory, intercept a request for the resource at a level below all of the operating systems of the electronic device accessing the resource;
consult one or more security rules; and
based on the one or more security rules, determine whether the request is indicative of malware.

### Claim 37 (depends on 36)

The article of claim 36, wherein the processor is further caused to:
if the request is indicative of malware, deny the request.

### Claim 38 (depends on 36)

The article of claim 36, wherein determining whether the request is indicative of malware comprises causing the processor to:
send information about the request to a protection server; and
receive a determination about the request from the protection server.

### Claim 39 (depends on 36)

The article of claim 36, wherein the processor is caused to intercept the request in firmware residing in a controller of a peripheral of the electronic device.

### Claim 40 (depends on 36)

The article of claim 36, wherein the resource comprises an input/output component of the electronic device.

### Claim 41 (depends on 36)

The article of claim 36, wherein the resource comprises a keyboard.

### Claim 42 (depends on 36)

The article of claim 36, wherein the resource comprises a display device.

### Claim 43 (depends on 36)

The article of claim 36, wherein the resource comprises a disk.

### Claim 44 (depends on 36)

The article of claim 36, wherein the request comprises an input or output command.

### Claim 45 (depends on 36)

The article of claim 36, further comprising causing the processor to communicate with a security agent to receive one or more security rules.

### Claim 46 (depends on 45)

The article of claim 45, further comprising causing the processor to:
intercept the request in the firmware of an input and/or output (I/O) device;
wherein determining whether the request whether the request indicates malware comprises causing the processor to:
send information to the security agent, the information comprising the request; and
access one or more security rules from the security agent to determine whether the request indicates malware.

### Claim 47 (depends on 45)

The article of claim 45, wherein accessing one or more security rules from the security agent comprises is accomplished within a bare metal layer of the electronic device.

### Claim 48 (depends on 45)

The article of claim 45, wherein the processor is further caused to:
communicate with an operating system security agent running in an operating system of the electronic device; and
receive information regarding one or more elements in the operating system that made the request of the resource.

### Claim 49 (depends on 45)

The article of claim 45, wherein the processor is further caused to validate the security agent.

### Claim 50 (depends on 45)

The article of claim 45, wherein:
the security agent is configured to execute at a level below all operating articles of the electronic device; and
the processor is further caused to receive the request from a level above the security agent.

### Claim 51 (depends on 45)

The article of claim 45, wherein:
the security agent is configured to execute at a higher priority than all operating systems of the electronic device accessing the resource, such priority defined by the processor; and
the processor is further caused to receive the request from an entity with less priority than the security agent.

### Claim 52 (depends on 45)

The article of claim 45, wherein:
the security agent is configured to execute on a more privileged ring of execution than all operating systems of the electronic device accessing the resource; and
the processor is further caused to receive the request the request from a less privileged ring of execution than the security agent.
