# US 2024/0202134 A1 · Techniques for generating unique identifiers for tracking process activity

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

- Number: US 2024/0202134 A1
- Document ID: US20240202134A1
- Status: Published application
- Kind: A1
- Application number: 18/081,149
- Filed: 2022-12-14
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: CrowdStrike, Inc.
- Applicants: CrowdStrike, Inc.
- Inventors: Martin Kelly; Marco Vedovati; Igor Polevoy; Milos Petrbok; Christopher White
- Web page: https://patentgrep.com/patent/US20240202134A1

## CPC

- G06F 12/1009: using page tables, e.g. page table structures
- G06F 1/14: Time supervision arrangements, e.g. real time clock
- G06F 9/544: {Buffers; Shared memory; Pipes}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 12/1491: {in a hierarchical protection system, e.g. privilege levels, memory rings}
- G06F 2212/1008: Correctness of operation, e.g. memory ordering
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes retrieving, in a kernel space of an operating system executing on a computing device, a first value from a first clock source, retrieving, in a user space of the operating system executing on the computing device, a second value from a second clock source, generating a unique process identifier (UPID) associated with a process identifier (PID) of a process executing in the operating system, wherein the UPID is based on the first value of the first clock source and the second value of the second clock source, and tracking process activity of the process executing in the operating system by utilizing the UPID.

## Claims

### Claim 1

A method comprising:
retrieving, in a kernel space of an operating system executing on a computing device, a first value from a first clock source;
retrieving, in a user space of the operating system executing on the computing device, a second value from a second clock source;
generating, by a processing device, a unique process identifier (UPID) associated with a process identifier (PID) of a process executing in the operating system, wherein the UPID is based on the first value of the first clock source and the second value of the second clock source; and
tracking process activity of the process executing in the operating system by utilizing the UPID.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining if the UPID is present in a least recently used (LRU) map of the operating system; and
responsive to determining that the UPID is present in the LRU map:
retrieving, in the kernel space of the operating system, a third value from the first clock source; and
generating an additional UPID based on the third value of the first clock source and the second value of the second clock source.

### Claim 3 (depends on 1)

The method of claim 1, wherein retrieving the second value of the second clock source is performed periodically, and
wherein the method further comprises updating a seed within a seed store based on the second value of the second clock source.

### Claim 4 (depends on 3)

The method of claim 3, wherein updating the seed within the seed store based on the second value of the second clock source comprises:
retrieving, in the user space of the operating system, a third value from the second clock source; and
updating the seed within the seed store based on a difference between the second value and the third value from the second clock source.

### Claim 5 (depends on 3)

The method of claim 3, wherein generating the UPID comprises generating a sum of the first value of the first clock source and the seed.

### Claim 6 (depends on 3)

The method of claim 3, wherein the seed store comprises a memory structure shared between the kernel space and the user space of the operating system, and
wherein the UPID is generated by an application extension executing in an extended Berkeley packet filter (eBPF) infrastructure within the operating system of the computing device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
retrieving a processing device index from the processing device; and
generating the UPID further based on the processing device index.

### Claim 8

A system comprising:
a memory; and
a processing device, operatively coupled to the memory, to:
retrieve, in a kernel space of an operating system executing on a computing device, a first value from a first clock source;
retrieve, in a user space of the operating system executing on the computing device, a second value from a second clock source;
generate a unique process identifier (UPID) associated with a process identifier (PID) of a process executing in the operating system, wherein the UPID is based on the first value of the first clock source and the second value of the second clock source; and
track process activity of the process executing in the operating system by utilizing the UPID.

### Claim 9 (depends on 8)

The system of claim 8, wherein the processing device is further to:
determine if the UPID is present in a least recently used (LRU) map of the operating system; and
responsive to determining that the UPID is present in the LRU map:
retrieve, in the kernel space of the operating system, a third value from the first clock source; and
generate an additional UPID based on the third value of the first clock source and the second value of the second clock source.

### Claim 10 (depends on 8)

The system of claim 8, wherein retrieving the second value of the second clock source is performed periodically, and
wherein the processing device is further to update a seed within a seed store based on the second value of the second clock source.

### Claim 11 (depends on 10)

The system of claim 10, wherein to update the seed within the seed store based on the second value of the second clock source the processing device is to:
retrieve, in the user space of the operating system, a third value from the second clock source; and
update the seed within the seed store based on a difference between the second value and the third value from the second clock source.

### Claim 12 (depends on 10)

The system of claim 10, wherein to generate the UPID the processing device is to generate a sum of the first value of the first clock source and the seed.

### Claim 13 (depends on 10)

The system of claim 10, wherein the seed store comprises a memory structure shared between the kernel space and the user space of the operating system, and
wherein the UPID is generated by an application extension executing in an extended Berkeley packet filter (eBPF) infrastructure within the operating system of the computing device.

### Claim 14 (depends on 8)

The system of claim 8, wherein the processing device is further to:
retrieve a processing device index from the processing device; and
generate the UPID further based on the processing device index.

### Claim 15

A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
retrieve, in a kernel space of an operating system executing on a computing device, a first value from a first clock source;
retrieve, in a user space of the operating system executing on the computing device, a second value from a second clock source;
generate a unique process identifier (UPID) associated with a process identifier (PID) of a process executing in the operating system, wherein the UPID is based on the first value of the first clock source and the second value of the second clock source; and
track process activity of the process executing in the operating system by utilizing the UPID.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions further cause the processing device to:
determine if the UPID is present in a least recently used (LRU) map of the operating system; and
responsive to determining that the UPID is present in the LRU map:
retrieve, in the kernel space of the operating system, a third value from the first clock source; and
generate an additional UPID based on the third value of the first clock source and the second value of the second clock source.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein retrieving the second value of the second clock source is performed periodically, and
wherein the instructions further cause the processing device to update a seed within a seed store based on the second value of the second clock source.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein to update the seed within the seed store based on the second value of the second clock source the processing device is to:
retrieve, in the user space of the operating system, a third value from the second clock source; and
update the seed within the seed store based on a difference between the second value and the third value from the second clock source.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein to generate the UPID the processing device is to generate a sum of the first value of the first clock source and the seed.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions further cause the processing device to:
retrieve a processing device index from the processing device; and
generate the UPID further based on the processing device index.
