# Google Cloud Security Command Center V2 Client - Class KernelRootkit (2.5.1)

2.5.1 (latest) 2.5.0 2.4.2 2.3.0 2.2.1 2.1.1 2.0.4 1.32.0 1.31.0 1.30.0 1.29.0 1.28.2 1.21.0 1.20.2 1.19.1 1.18.0 1.17.0 1.16.0 1.15.1 1.14.2 1.13.1 Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class KernelRootkit.

Kernel mode rootkit signatures.

Generated from protobuf message `google.cloud.securitycenter.v2.KernelRootkit`

## Namespace

Google \\ Cloud \\ SecurityCenter \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Rootkit name, when available. |
| `↳ unexpected_code_modification` | `bool` True if unexpected modifications of kernel code memory are present. |
| `↳ unexpected_read_only_data_modification` | `bool` True if unexpected modifications of kernel read-only data memory are present. |
| `↳ unexpected_ftrace_handler` | `bool` True if `ftrace` points are present with callbacks pointing to regions that are not in the expected kernel or module code range. |
| `↳ unexpected_kprobe_handler` | `bool` True if `kprobe` points are present with callbacks pointing to regions that are not in the expected kernel or module code range. |
| `↳ unexpected_kernel_code_pages` | `bool` True if kernel code pages that are not in the expected kernel or module code regions are present. |
| `↳ unexpected_system_call_handler` | `bool` True if system call handlers that are are not in the expected kernel or module code regions are present. |
| `↳ unexpected_interrupt_handler` | `bool` True if interrupt handlers that are are not in the expected kernel or module code regions are present. |
| `↳ unexpected_processes_in_runqueue` | `bool` True if unexpected processes in the scheduler run queue are present. Such processes are in the run queue, but not in the process task list. |

### getName

Rootkit name, when available.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Rootkit name, when available.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnexpectedCodeModification

True if unexpected modifications of kernel code memory are present.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUnexpectedCodeModification

True if unexpected modifications of kernel code memory are present.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnexpectedReadOnlyDataModification

True if unexpected modifications of kernel read-only data memory are
present.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUnexpectedReadOnlyDataModification

True if unexpected modifications of kernel read-only data memory are
present.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnexpectedFtraceHandler

True if `ftrace` points are present with callbacks pointing to regions
that are not in the expected kernel or module code range.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUnexpectedFtraceHandler

True if `ftrace` points are present with callbacks pointing to regions
that are not in the expected kernel or module code range.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnexpectedKprobeHandler

True if `kprobe` points are present with callbacks pointing to regions
that are not in the expected kernel or module code range.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUnexpectedKprobeHandler

True if `kprobe` points are present with callbacks pointing to regions
that are not in the expected kernel or module code range.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnexpectedKernelCodePages

True if kernel code pages that are not in the expected kernel or module
code regions are present.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUnexpectedKernelCodePages

True if kernel code pages that are not in the expected kernel or module
code regions are present.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnexpectedSystemCallHandler

True if system call handlers that are are not in the expected kernel or
module code regions are present.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUnexpectedSystemCallHandler

True if system call handlers that are are not in the expected kernel or
module code regions are present.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnexpectedInterruptHandler

True if interrupt handlers that are are not in the expected kernel or
module code regions are present.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUnexpectedInterruptHandler

True if interrupt handlers that are are not in the expected kernel or
module code regions are present.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getUnexpectedProcessesInRunqueue

True if unexpected processes in the scheduler run queue are present. Such
processes are in the run queue, but not in the process task list.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setUnexpectedProcessesInRunqueue

True if unexpected processes in the scheduler run queue are present. Such
processes are in the run queue, but not in the process task list.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |