# US 2021/0067526 A1 · Security monitoring at operating system kernel level

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

- Number: US 2021/0067526 A1
- Document ID: US20210067526A1
- Status: Published application
- Kind: A1
- Application number: 16/991,592
- Filed: 2020-08-12
- Published: 2021-03-04
- Earliest claimed: 2016-02-18
- Assignees: Comcast Cable Communications, LLC
- Applicants: Comcast Cable Communications, LLC
- Inventors: James Fahrny; Kyong Park
- Web page: https://patentgrep.com/patent/US20210067526A1

## CPC

- H04L 63/1416: {Event detection, e.g. attack signature detection}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/54: by adding security routines or objects to programs
- G06F 21/552: {involving long-term monitoring or reporting}
- G06F 21/554: {involving event detection and direct action}
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/101: {Access control lists [ACL]}
- H04W 12/06: Authentication
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- H04L 63/126: {the source of the received data}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Methods and apparatus for real-time security monitoring on a computing device are presented. A system may define privileges to access hardware interfaces for each process of a plurality of processes executing on a computing device. The privileges may be defined in a privileged operating system level that controls root access to an operating system. In response to a determination that a process is attempting to access a hardware interface, the system may determine whether the process is privileged to access the hardware interface by checking the privileges. In response to determining that the process is not privileged to access the hardware interface, the intrusion detection agent may terminate the process.

## Claims

### Claim 1

A method comprising:
storing, in encrypted memory of a computing device, one or more privileges, for a process, associated with the process accessing one or more resources of the computing device;
based on the process attempting to access a first resource of the one or more resources of the computing device, determining, via the encrypted memory and based on the stored one or more privileges, that the process is privileged to access the first resource; and
allowing, based on the determining that the process is privileged, the process to access the first resource.

### Claim 2 (depends on 1)

The method of claim 1, wherein
the process is associated with a root level kernel of an operating system of the computing device, and
the determining and the allowing are performed by a super root level kernel, of the operating system, that is inaccessible to the root level kernel.

### Claim 3 (depends on 1)

The method of claim 1, wherein the one or more resources of the computing device comprise one or more of: a central processor, a video processor, a security processor, a memory or memory region, a file system, an audio/video output, a USB port, an Ethernet port, an antenna, a cable input, a wireless receiver, a serial port, an external memory unit, a high definition media interface, a ZigBee interface, an optical interface, an SATA interface, a key ladder, a memory-to-memory decryptor, a timer, a memory controller, a device driver, a kernel level operating system call, or a BIOS setting.

### Claim 4 (depends on 1)

The method of claim 1, wherein the encrypted memory comprises a memory of a security processor.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
detecting, for a hardware interface, a source of an incoming data packet; and
determining, via the encrypted memory, whether the source is privileged to access the hardware interface.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
based on a second process attempting to access a second resource of the one or more resources of the computing device, determining, via the encrypted memory, that the second process is not privileged to access the second resource; and
preventing, based on the determining that the second process is not privileged, the second process from accessing the second resource.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
determining, based on a validation check performed after expiration of a validity period associated with the process, that the process is valid.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
determining, for the process, a validity period based on one or more of: a behavior of the process, the one or more privileges for the process, or a risk of malicious attack via the process.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
detecting a triggering event comprising one or more of: an attempt to modify a privilege, an external instruction to modify or read a memory location, or an attempt to add code to a memory location; and
based on the detected triggering event, causing one or more of: reporting of a security breach to a remote server, displaying of a message indicating detected malicious activity, terminating a code fragment, terminating all application processes executing on the computing device, or rebooting of the computing device.

### Claim 10 (depends on 1)

The method of claim 1, wherein the determining and the allowing are performed by a super root level kernel of an operating system of the computing device, the method further comprising:
monitoring, by the super root level kernel, operations executing on each component of the computing device.

### Claim 11 (depends on 1)

The method of claim 1, wherein the determining and the allowing are performed by a super root level kernel of an operating system of the computing device, the method further comprising:
determining, by the super root level kernel and for each process attempting to access a resource of the one or more resources of the computing device, whether the attempting process is privileged to access the resource.

### Claim 12 (depends on 1)

The method of claim 1, wherein the determining and the allowing are performed by a super root level kernel of an operating system of the computing device, the method further comprising:
preventing modification of the one or more privileges by processes other than the super root level kernel.

### Claim 13

A method comprising:
determining one or more privileges, for a process, associated with the process accessing one or more resources of a computing device;
determining, by a super root level kernel of an operating system of the computing device and based on the process attempting to access a first resource of the one or more resources of the computing device, that the process is privileged to access the first resource, wherein the process is associated with a root level kernel of the operating system, and wherein the super root level kernel is inaccessible to the root level kernel; and
allowing, based on the determining that the process is privileged, the process to access the first resource.

### Claim 14 (depends on 13)

The method of claim 13, wherein the one or more resources of the computing device comprise one or more of: a central processor, a video processor, a security processor, a memory or memory region, a file system, an audio/video output, a USB port, an Ethernet port, an antenna, a cable input, a wireless receiver, a serial port, an external memory unit, a high definition media interface, a ZigBee interface, an optical interface, an SATA interface, a key ladder, a memory-to-memory decryptor, a timer, a memory controller, a device driver, a kernel level operating system call, or a BIOS setting.

### Claim 15 (depends on 13)

The method of claim 13, further comprising:
based on a second process attempting to access a second resource of the one or more resources of the computing device, determining, via an encrypted memory, that the second process is not privileged to access the second resource; and
preventing, based on the determining that the second process is not privileged, the second process from accessing the second resource.

### Claim 16 (depends on 13)

The method of claim 13, further comprising:
determining, based on a validation check performed after expiration of a validity period associated with the process, that the process is valid.

### Claim 17 (depends on 13)

The method of claim 13, further comprising:
determining, for the process, a validity period based on one or more of: a behavior of the process, the one or more privileges for the process, or a risk of malicious attack via the process.

### Claim 18 (depends on 13)

The method of claim 13, further comprising:
detecting a triggering event comprising one or more of: an attempt to modify a privilege, an external instruction to modify or read a memory location, or an attempt to add code to a memory location; and
based on the detected triggering event, causing one or more of: reporting of a security breach to a remote server, displaying of a message indicating detected malicious activity, terminating a code fragment, terminating all application processes executing on the computing device, or rebooting of the computing device.

### Claim 19 (depends on 13)

The method of claim 13, wherein the allowing is performed by the super root level kernel of the operating system, the method further comprising:
monitoring, by the super root level kernel, operations executing on each component of the computing device.

### Claim 20 (depends on 13)

The method of claim 13, wherein the allowing is performed by the super root level kernel of the operating system, the method further comprising:
determining, by the super root level kernel and for each process attempting to access a resource of the one or more resources of the computing device, whether the attempting process is privileged to access the resource.

### Claim 21 (depends on 13)

The method of claim 13, wherein the allowing is performed by the super root level kernel of the operating system, the method further comprising:
preventing modification of the one or more privileges by processes other than the super root level kernel.

### Claim 22

A method comprising:
determining, for each process of a plurality of processes:
a validity period specific to the process; and
one or more privileges, for the process, associated with the process accessing one or more resources of a computing device;
based on a determination that a first process, of the plurality of processes, is attempting to access a first resource of the one or more resources of the computing device, determining whether the first process is privileged to access the first resource based on the one or more privileges determined for the first process;
determining, based on a validation check performed after expiration of the determined validity period associated with the first process, whether the first process is valid;
based on a determination that the first process is privileged to access the first resource and that the first process is valid, determining authorization of the first process to access the first resource; and
allowing, based on the determined authorization, the first process to access the first resource.

### Claim 23 (depends on 22)

The method of claim 22, further comprising:
storing, in an encrypted memory of the computing device, the one or more privileges determined for each process of the plurality of processes,
wherein the determining whether the first process is privileged to access the first resource comprises determining, via the encrypted memory, whether the first process is privileged to access the first resource.

### Claim 24 (depends on 22)

The method of claim 22, wherein:
the determining whether the first process is privileged to access the first resource comprises determining, by a super root level kernel of an operating system of the computing device, whether the first process is privileged to access the first resource,
the first process is associated with a root level kernel of the operating system, and
the super root level kernel is inaccessible to the root level kernel.

### Claim 25 (depends on 22)

The method of claim 22, wherein the one or more resources of the computing device comprise one or more of: a central processor, a video processor, a security processor, a memory or memory region, a file system, an audio/video output, a USB port, an Ethernet port, an antenna, a cable input, a wireless receiver, a serial port, an external memory unit, a high definition media interface, a ZigBee interface, an optical interface, an SATA interface, a key ladder, a memory-to-memory decryptor, a timer, a memory controller, a device driver, a kernel level operating system call, or a BIOS setting.
