# US 2016/0253491 A1 · Secure system for allowing the execution of authorized computer program code

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

- Number: US 2016/0253491 A1
- Document ID: US20160253491A1
- Status: Published application
- Kind: A1
- Application number: 15/154,205
- Filed: 2016-05-13
- Published: 2016-09-01
- Earliest claimed: 2004-12-03
- Assignees: Fortinet, Inc.
- Applicants: Fortinet, Inc.
- Inventors: Andrew F. Fanton; John J. Gandee; William H. Lutton; Edwin L. Harper; Kurt E. Godwin; Anthony A. Rozga
- Web page: https://patentgrep.com/patent/US20160253491A1

## CPC

- G06F 21/44: Program or device authentication
- G06F 21/10: Protecting distributed programs or content, e.g. vending or licensing of copyrighted material (protection in video systems or pay television H04N7/16) {; Digital rights management [DRM]}
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/602: {Providing cryptographic facilities or services}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/32: including means for verifying the identity or authority of a user of the system {or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 63/0884: {by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity}
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 2221/033: Test or assess software
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- Y10S 707/99934: Query formulation, input preparation, or translation
- Y10S 707/99943: Generating database or data structure, e.g. via user interface
- Y10S 707/99944: Object-oriented database structure
- 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)
- Y10S: TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS

## Abstract

Systems and methods for selective authorization of code modules are provided. According to one embodiment, a kernel-level driver within a kernel of an operating system of a computer system intercepts activity in connection with a file system associated with the computer system or the operating system relating to a code module. A determination is made by the kernel-level driver regarding whether to allow the intercepted activity to proceed by performing a real-time authentication process of the code module with reference to a multi-level whitelist database architecture, including a local copy of a remote global whitelist database hosted by a trusted their-party service provider, a local whitelist database and a most recently used (MRU) cache. When the intercepted activity is allowed to proceed as a result of the determination, the code module is permitted by the kernel-level driver to be loaded and executed by the computer system.

## Claims

### Claim 1

A method comprising:
intercepting, by a kernel-level driver within a kernel of an operating system of a computer system, activity in connection with a file system associated with the computer system or the operating system relating to a code module;
determining, by the kernel-level driver, whether to allow the intercepted activity to proceed by performing a real-time authentication process of the code module with reference to a multi-level whitelist database architecture, wherein the multi-level whitelist database architecture includes:
a local copy of a remote global whitelist database hosted by a trusted third-party service provider containing cryptographic hash values of approved code modules, which have been identified by multiple sources as not containing viruses or malicious code, wherein the local copy of the remote global whitelist database is hosted within an enterprise network with which the computer system is associated;
a local whitelist database stored within the file system including a subset of the cryptographic hash values of the approved code modules; and
a most recently used (MRU) cache maintained within a random access memory of the computer system and containing entries corresponding to code modules that have previously been authenticated by the real-time authentication process, the entries each including information indicative of whether the corresponding code module was previously affirmatively authenticated by the real-time authentication process; and
when the intercepted activity is allowed to proceed as a result of said determining, permitting, by the kernel-level driver, the code module to be loaded and executed by the computer system.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
when the code module cannot be authenticated with reference to the MRU cache, then determining whether the code module is authorized to execute by calculating a cryptographic hash value of the code module and causing the cryptographic hash value to be compared with one or more cryptographic hash in the local whitelist database; and
when the code module cannot be authenticated with reference to the local whitelist database, then determining whether the code module is authorized to execute by causing the cryptographic hash value to be compared with one or more cryptographic hash values in the local copy of the remote global whitelist database.

### Claim 3 (depends on 1)

The method of claim 1, wherein the code module comprises an executable object.

### Claim 4 (depends on 1)

The method of claim 1, wherein the code module comprises a file system object.

### Claim 5 (depends on 1)

The method of claim 1, wherein the code module comprises a script file.

### Claim 6 (depends on 1)

The method of claim 1, wherein the local whitelist database is maintained by an information technology (IT) administrator of the enterprise network, whereby the IT administrator has the ability to tailor the local whitelist to allow or disallow particular code modules from running on a plurality of computer systems within the enterprise network, including the computer system.

### Claim 7 (depends on 1)

The method of claim 1, wherein said intercepting comprises the kernel-level driver monitoring process creation or module load activity by the operating system.

### Claim 8 (depends on 1)

The method of claim 1, wherein said intercepting comprises the kernel-level driver hooking low-level application programming interfaces (APIs) of the operating system so as to be activated responsive to one or more operations of the operating system of interest including one or more of process creation, module loading, and read/write activity within the file system.

### Claim 9 (depends on 2)

The method of claim 2, wherein the cryptographic hash value comprises a Message Digest #5 (MD-5) hash value.

### Claim 10 (depends on 2)

The method of claim 2, wherein the cryptographic hash value comprises a Secure Hash Algorithm (SHA) hash value.

### Claim 11

A program storage device readable by a computer system, embodying a program of instructions executable by one or more computer processors of the computer system to perform a method comprising:
intercepting, by a kernel-level driver within a kernel of an operating system of the computer system, activity in connection with a file system associated with the computer system or the operating system relating to a code module;
determining, by the kernel-level driver, whether to allow the intercepted activity to proceed by performing a real-time authentication process of the code module with reference to a multi-level whitelist database architecture, wherein the multi-level whitelist database architecture includes:
a local copy of a remote global whitelist database hosted by a trusted third-party service provider containing cryptographic hash values of approved code modules, which have been identified by multiple sources as not containing viruses or malicious code, wherein the local copy of the remote global whitelist database is hosted within an enterprise network with which the computer system is associated;
a local whitelist database stored within the file system including a subset of the cryptographic hash values of the approved code modules; and
a most recently used (MRU) cache maintained within a random access memory of the computer system and containing entries corresponding to code modules that have previously been authenticated by the real-time authentication process, the entries each including information indicative of whether the corresponding code module was previously affirmatively authenticated by the real-time authentication process; and
when the intercepted activity is allowed to proceed as a result of said determining, permitting, by the kernel-level driver, the code module to be loaded and executed by the computer system.

### Claim 12 (depends on 11)

The program storage device of claim 11, wherein the method further comprises:
when the code module cannot be authenticated with reference to the MRU cache, then determining whether the code module is authorized to execute by calculating a cryptographic hash value of the code module and causing the cryptographic hash value to be compared with one or more cryptographic hash in the local whitelist database; and
when the code module cannot be authenticated with reference to the local whitelist database, then determining whether the code module is authorized to execute by causing the cryptographic hash value to be compared with one or more cryptographic hash values in the local copy of the remote global whitelist database.

### Claim 13 (depends on 11)

The program storage device of claim 11, wherein the code module comprises an executable object.

### Claim 14 (depends on 11)

The program storage device of claim 11, wherein the code module comprises a file system object.

### Claim 15 (depends on 11)

The program storage device of claim 11, wherein the code module comprises a script file.

### Claim 16 (depends on 11)

The program storage device of claim 11, wherein the local whitelist database is maintained by an information technology (IT) administrator of the enterprise network, whereby the IT administrator has the ability to tailor the local whitelist to allow or disallow particular code modules from running on a plurality of computer systems within the enterprise network, including the computer system.

### Claim 17 (depends on 11)

The program storage device of claim 11, wherein said intercepting comprises the kernel-level driver monitoring process creation or module load activity by the operating system.

### Claim 18 (depends on 11)

The program storage device of claim 11, wherein said intercepting comprises the kernel-level driver hooking low-level application programming interfaces (APIs) of the operating system so as to be activated responsive to one or more operations of the operating system of interest including one or more of process creation, module loading, and read/write activity within the file system.

### Claim 19 (depends on 12)

The program storage device of claim 12, wherein the cryptographic hash value comprises a Message Digest #5 (MD-5) hash value.

### Claim 20 (depends on 12)

The program storage device of claim 12, wherein the cryptographic hash value comprises a Secure Hash Algorithm (SHA) hash value.
