# US 2012/0255002 A1 · System and method for below-operating system trapping of driver loading and unloading

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

- Number: US 2012/0255002 A1
- Document ID: US20120255002A1
- Status: Published application
- Kind: A1
- Application number: 13/076,512
- Filed: 2011-03-31
- Published: 2012-10-04
- Earliest claimed: 2011-03-31
- Assignees: McAfee, Inc.
- Inventors: Ahmed Said Sallam
- Web page: https://patentgrep.com/patent/US20120255002A1

## CPC

- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system for protecting an electronic device against malware includes a memory, an operating system configured to execute on the electronic device, and a below-operating-system security agent. The below-operating-system security agent is configured to trap an attempted access of one or more resources of the operating system, access one or more security rules to determine whether the attempted access is indicative of malware, operate at a level below all of the operating systems of the electronic device accessing the one or more resources. The attempted access includes an attempted loading or unloading of a driver in the operating system.

## Claims

### Claim 1

A system for protecting an electronic device against malware, comprising:
a memory;
an operating system configured to execute on the electronic device;
a below-operating-system security agent configured to:
trap an attempted access of one or more resources of the operating system, the attempted access comprising an attempted loading or unloading of a driver in the operating system;
access one or more security rules to determine whether the attempted access is indicative of malware; and
operate at a level below all of the operating systems of the electronic device accessing the one or more resources.

### Claim 2 (depends on 1)

The system of claim 1, wherein the attempted access is trapped by trapping an attempted execution of a system function for loading or unloading the driver.

### Claim 3 (depends on 1)

The system of claim 1, wherein the attempted access is trapped by trapping an attempted execution of a subfunction of system function for loading or unloading the driver, the system function provided by the operating system.

### Claim 4 (depends on 1)

The system of claim 1, wherein determining whether the attempted access is indicative of malware comprises determining the identity of the driver to be loaded.

### Claim 5 (depends on 1)

The system of claim 1, wherein determining whether the attempted access is indicative of malware comprises determining the entity that attempted to load or unload the driver.

### Claim 6 (depends on 1)

The system of claim 1, wherein the attempted access is trapped by trapping the execution of a physical memory address containing code for a system function for loading or unloading the driver.

### Claim 7 (depends on 1)

The system of claim 1, wherein the attempted access is trapped by trapping the execution of a memory page containing code for a system function for loading or unloading the driver.

### Claim 8

A method for protecting an electronic device against malware, comprising:
trapping an attempted access of one or more resources of an operating system, the attempted access comprising an attempted loading or unloading of a driver in the operating system; and
accessing one or more security rules to determine whether the attempted access is indicative of malware;
wherein the trapping of the attempted access and determining whether the attempted access is indicative of malware are conducted at a level below all of the operating systems of the electronic device accessing the one or more resources.

### Claim 9 (depends on 8)

The method of claim 8, wherein the attempted access is trapped by trapping an attempted execution of a system function for loading or unloading the driver.

### Claim 10 (depends on 8)

The method of claim 8, wherein the attempted access is trapped by trapping an attempted execution of a subfunction of system function for loading or unloading the driver, the system function provided by the operating system.

### Claim 11 (depends on 8)

The method of claim 8, wherein determining whether the attempted access is indicative of malware comprises determining the identity of the driver to be loaded.

### Claim 12 (depends on 8)

The method of claim 8, wherein determining whether the attempted access is indicative of malware comprises determining the entity that attempted to load or unload the driver.

### Claim 13 (depends on 8)

The method of claim 8, wherein the attempted access is trapped by trapping the execution of a physical memory address containing code for a system function for loading or unloading the driver.

### Claim 14 (depends on 8)

The method of claim 8, wherein the attempted access is trapped by trapping the execution of a memory page containing code for a system function for loading or unloading the driver.

### Claim 15

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:
trap an attempted access of one or more resources of an operating system, the attempted access comprising an attempted loading or unloading of a driver in the operating system; and
access one or more security rules to determine whether the attempted access is indicative of malware;
wherein the trapping of the attempted access and determining whether the attempted access is indicative of malware are conducted at a level below all of the operating systems of the electronic device accessing the one or more resources.

### Claim 16 (depends on 15)

The article of claim 15, wherein configuring the processor to trap the attempted access comprises configuring the processor to trap an attempted execution of a system function for loading or unloading the driver.

### Claim 17 (depends on 15)

The article of claim 15, wherein configuring the processor to trap the attempted access comprises configuring the processor to trap an attempted execution of a subfunction of a system function for loading or unloading the driver, the system function provided by the operating system.

### Claim 18 (depends on 15)

The article of claim 15, wherein configuring the processor to determine whether the attempted access is indicative of malware comprises configuring the processor to determine the identity of the driver to be loaded.

### Claim 19 (depends on 15)

The article of claim 15, wherein configuring the processor to determine whether the attempted access is indicative of malware comprises configuring the processor to determine the entity that attempted to load or unload the driver.

### Claim 20 (depends on 15)

The article of claim 15, wherein configuring the processor to trap the attempted access comprises configuring the processor to trap the attempted execution of a physical memory address containing code for a system function for loading or unloading the driver.

### Claim 21 (depends on 15)

The article of claim 15, wherein configuring the processor to trap the attempted access comprises configuring the processor to trap the attempted execution of a memory page containing code for a system function for loading or unloading the driver.
