# US 2023/0068546 A1 · System call trace reconstruction

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

- Number: US 2023/0068546 A1
- Document ID: US20230068546A1
- Status: Published application
- Kind: A1
- Application number: 17/890,850
- Filed: 2022-08-18
- Published: 2023-03-02
- Earliest claimed: 2021-09-02
- Assignees: Mellanox Technologies, Ltd.
- Applicants: Mellanox Technologies, Ltd.
- Inventors: Thanh Ngoc Nguyen; Meni Orenbach; Ahmad Atamli
- Web page: https://patentgrep.com/patent/US20230068546A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 9/448: Execution paradigms, e.g. implementations of programming paradigms
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/554: {involving event detection and direct action}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Technologies for system call trace reconstruction are described. A method includes determining, by one or more processors, a set of memory locations of a kernel memory structure. The set of memory locations stores data indicating one or more parameters of a user-associated process. The method further includes determining that a first value of a first of the set of memory location has changed. The method further includes determining an execution of a first system call associated with the user-associated process and the kernel memory structure. The method further includes retrieving one or more values corresponding to individual memory location of the set of memory location associated with the first system call. The method further includes providing an output identifying the first system call based on the one or more values corresponding to the individual memory locations.

## Claims

### Claim 1

A method comprising:
determining, by one or more processors, a set of memory locations of a kernel memory structure, the set of memory locations storing data indicative of one or more parameters of a user-associated process;
determining, by the one or more processors, that a first value of a first memory location of the set of memory locations has changed;
determining, by the one or more processors, an execution of a first system call associated with the user-associated process and the kernel memory structure;
retrieving, by the one or more processors, one or more values corresponding to individual memory locations of the set of memory locations associated with the first system call; and
providing, by the one or more processors, an output identifying the first system call based on the one or more values corresponding to the individual memory locations.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
extracting, by the one or more processors, data indicating a thread context of the kernel memory structure, wherein the thread context corresponds to a first operating system (OS), wherein the one or more memory locations are determined based on the thread context.

### Claim 3 (depends on 2)

The method of claim 2, wherein the data comprises a first Intermediate Symbol Table (IST) corresponding to the first OS.

### Claim 4 (depends on 1)

The method of claim 1, wherein the user-associated process corresponds to a virtual machine (VM) and the one or more processors are associated with a hypervisor, wherein at least a portion of the method is carried out by the hypervisor.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining, by the one or more processors, an instance of malware associated with the user-associated process based on an identity of the first system call; and
providing, by the one or more processors, a second output indicating the instance of malware.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
polling, by the one or more processors, access requests to the one or more memory locations of the kernel memory structure.

### Claim 7 (depends on 1)

The method of claim 1, wherein the kernel memory structure corresponds to a kernel stack of a first operating system.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
determining, by the one or more processors, a null character within a second memory location of the kernel memory structure, wherein the one or more memory locations are determined based on a proximity between the one or more memory locations and the second memory location.

### Claim 9

A computing system, comprising:
a memory; and
one or more processors, coupled to the memory, to:
determine a set of memory locations of a kernel memory structure, wherein the set of memory locations store data indicative of one or more parameters of a user-associated process;
determine that a first value of a first memory location of the set of memory locations has changed;
determine an execution of a first system call associated with the user-associated process and the kernel memory structure;
retrieve one or more values corresponding to individual memory locations of the set of memory locations associated with the first system call; and
provide an output identifying the first system call based on the one or more values corresponding to the individual memory locations.

### Claim 10 (depends on 9)

The computing system of claim 9, wherein the one or more processors are further to:
extract data indicating a thread context of the kernel memory structure, the thread context corresponding to a first operating system (OS), wherein the one or more memory locations are determined based on the thread context.

### Claim 11 (depends on 10)

The computing system of claim 10, wherein the data comprises a first Intermediate Symbol Table (IST) corresponding to the first OS.

### Claim 12 (depends on 9)

The computing system of claim 9, wherein the one or more processors are further to:
determine an instance of malware associated with the user-associated process based on an identity of the first system call; and
provide a second output indicating the instance of malware.

### Claim 13 (depends on 9)

The computing system of claim 9, wherein the one or more processors are further to:
poll access requests to the one or more memory locations of the kernel memory structure.

### Claim 14 (depends on 9)

The computing system of claim 9, wherein the kernel memory structure corresponds to a kernel stack of a first operating system.

### Claim 15 (depends on 9)

The computing system of claim 9, wherein the user-associated process corresponds to a virtual machine (VM) and the one or more processors are associated with a hypervisor.

### Claim 16

A non-transitory computer-readable storage medium comprising instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
determining a set of memory locations of a kernel memory structure, wherein the set of memory locations store data indicative of one or more parameters of a user-associated process;
determining that a first value of a first memory location of the set of memory locations has changed;
determining an execution of a first system call associated with the user-associated process and the kernel memory structure;
retrieving one or more values corresponding to individual memory locations of the set of memory locations associated with the first system call; and
providing an output identifying the first system call based on the one or more values corresponding to the individual memory locations.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the instructions further cause the one or more processors to perform operations comprising:
extracting data indicating a thread context of the kernel memory structure, the thread context corresponding to a first operating system (OS), wherein the set of memory locations are determined based on the thread context.

### Claim 18 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the instructions further cause the one or more processors to perform operations comprising:
determining an instance of malware associated with the user-associated process based on an identity of the first system call; and
providing a second output indicating the instance of malware.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the user-associated process corresponds to a virtual machine (VM) and the one or more processors are associated with a hypervisor.

### Claim 20 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the kernel memory structure corresponds to a kernel stack of a first operating system.
