Debian Codegraph @

securitycenter/apiv1/securitycenterpb/kernel_rootkit.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/securitycenter/v1/kernel_rootkit.proto
20
21 package securitycenterpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Kernel mode rootkit signatures.
38 type KernelRootkit struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // Rootkit name, when available.
44 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
45 // True if unexpected modifications of kernel code memory are present.
46 UnexpectedCodeModification bool `protobuf:"varint,2,opt,name=unexpected_code_modification,json=unexpectedCodeModification,proto3" json:"unexpected_code_modification,omitempty"`
47 // True if unexpected modifications of kernel read-only data memory are
48 // present.
49 UnexpectedReadOnlyDataModification bool `protobuf:"varint,3,opt,name=unexpected_read_only_data_modification,json=unexpectedReadOnlyDataModification,proto3" json:"unexpected_read_only_data_modification,omitempty"`
50 // True if `ftrace` points are present with callbacks pointing to regions
51 // that are not in the expected kernel or module code range.
52 UnexpectedFtraceHandler bool `protobuf:"varint,4,opt,name=unexpected_ftrace_handler,json=unexpectedFtraceHandler,proto3" json:"unexpected_ftrace_handler,omitempty"`
53 // True if `kprobe` points are present with callbacks pointing to regions
54 // that are not in the expected kernel or module code range.
55 UnexpectedKprobeHandler bool `protobuf:"varint,5,opt,name=unexpected_kprobe_handler,json=unexpectedKprobeHandler,proto3" json:"unexpected_kprobe_handler,omitempty"`
56 // True if kernel code pages that are not in the expected kernel or module
57 // code regions are present.
58 UnexpectedKernelCodePages bool `protobuf:"varint,6,opt,name=unexpected_kernel_code_pages,json=unexpectedKernelCodePages,proto3" json:"unexpected_kernel_code_pages,omitempty"`
59 // True if system call handlers that are are not in the expected kernel or
60 // module code regions are present.
61 UnexpectedSystemCallHandler bool `protobuf:"varint,7,opt,name=unexpected_system_call_handler,json=unexpectedSystemCallHandler,proto3" json:"unexpected_system_call_handler,omitempty"`
62 // True if interrupt handlers that are are not in the expected kernel or
63 // module code regions are present.
64 UnexpectedInterruptHandler bool `protobuf:"varint,8,opt,name=unexpected_interrupt_handler,json=unexpectedInterruptHandler,proto3" json:"unexpected_interrupt_handler,omitempty"`
65 // True if unexpected processes in the scheduler run queue are present. Such
66 // processes are in the run queue, but not in the process task list.
67 UnexpectedProcessesInRunqueue bool `protobuf:"varint,9,opt,name=unexpected_processes_in_runqueue,json=unexpectedProcessesInRunqueue,proto3" json:"unexpected_processes_in_runqueue,omitempty"`
68 }
69
70 func (x *KernelRootkit) Reset() {
71 *x = KernelRootkit{}
72 mi := &file_google_cloud_securitycenter_v1_kernel_rootkit_proto_msgTypes[0]
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 ms.StoreMessageInfo(mi)
75 }
76
77 func (x *KernelRootkit) String() string {
78 return protoimpl.X.MessageStringOf(x)
79 }
80
81 func (*KernelRootkit) ProtoMessage() {}
82
83 func (x *KernelRootkit) ProtoReflect() protoreflect.Message {
84 mi := &file_google_cloud_securitycenter_v1_kernel_rootkit_proto_msgTypes[0]
85 if x != nil {
86 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
87 if ms.LoadMessageInfo() == nil {
88 ms.StoreMessageInfo(mi)
89 }
90 return ms
91 }
92 return mi.MessageOf(x)
93 }
94
95 // Deprecated: Use KernelRootkit.ProtoReflect.Descriptor instead.
96 func (*KernelRootkit) Descriptor() ([]byte, []int) {
97 return file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDescGZIP(), []int{0}
98 }
99
100 func (x *KernelRootkit) GetName() string {
101 if x != nil {
102 return x.Name
103 }
104 return ""
105 }
106
107 func (x *KernelRootkit) GetUnexpectedCodeModification() bool {
108 if x != nil {
109 return x.UnexpectedCodeModification
110 }
111 return false
112 }
113
114 func (x *KernelRootkit) GetUnexpectedReadOnlyDataModification() bool {
115 if x != nil {
116 return x.UnexpectedReadOnlyDataModification
117 }
118 return false
119 }
120
121 func (x *KernelRootkit) GetUnexpectedFtraceHandler() bool {
122 if x != nil {
123 return x.UnexpectedFtraceHandler
124 }
125 return false
126 }
127
128 func (x *KernelRootkit) GetUnexpectedKprobeHandler() bool {
129 if x != nil {
130 return x.UnexpectedKprobeHandler
131 }
132 return false
133 }
134
135 func (x *KernelRootkit) GetUnexpectedKernelCodePages() bool {
136 if x != nil {
137 return x.UnexpectedKernelCodePages
138 }
139 return false
140 }
141
142 func (x *KernelRootkit) GetUnexpectedSystemCallHandler() bool {
143 if x != nil {
144 return x.UnexpectedSystemCallHandler
145 }
146 return false
147 }
148
149 func (x *KernelRootkit) GetUnexpectedInterruptHandler() bool {
150 if x != nil {
151 return x.UnexpectedInterruptHandler
152 }
153 return false
154 }
155
156 func (x *KernelRootkit) GetUnexpectedProcessesInRunqueue() bool {
157 if x != nil {
158 return x.UnexpectedProcessesInRunqueue
159 }
160 return false
161 }
162
163 var File_google_cloud_securitycenter_v1_kernel_rootkit_proto protoreflect.FileDescriptor
164
165 var file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDesc = []byte{
166 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
167 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31,
168 0x2f, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x6b, 0x69, 0x74, 0x2e,
169 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
170 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74,
171 0x65, 0x72, 0x2e, 0x76, 0x31, 0x22, 0xc2, 0x04, 0x0a, 0x0d, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c,
172 0x52, 0x6f, 0x6f, 0x74, 0x6b, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
173 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x1c, 0x75,
174 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x6d,
175 0x6f, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
176 0x08, 0x52, 0x1a, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64,
177 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x52, 0x0a,
178 0x26, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x61, 0x64,
179 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66,
180 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x22, 0x75,
181 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c,
182 0x79, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
183 0x6e, 0x12, 0x3a, 0x0a, 0x19, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f,
184 0x66, 0x74, 0x72, 0x61, 0x63, 0x65, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x04,
185 0x20, 0x01, 0x28, 0x08, 0x52, 0x17, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64,
186 0x46, 0x74, 0x72, 0x61, 0x63, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x3a, 0x0a,
187 0x19, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6b, 0x70, 0x72, 0x6f,
188 0x62, 0x65, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
189 0x52, 0x17, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4b, 0x70, 0x72, 0x6f,
190 0x62, 0x65, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12, 0x3f, 0x0a, 0x1c, 0x75, 0x6e, 0x65,
191 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x5f, 0x63,
192 0x6f, 0x64, 0x65, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52,
193 0x19, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x4b, 0x65, 0x72, 0x6e, 0x65,
194 0x6c, 0x43, 0x6f, 0x64, 0x65, 0x50, 0x61, 0x67, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x1e, 0x75, 0x6e,
195 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f,
196 0x63, 0x61, 0x6c, 0x6c, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01,
197 0x28, 0x08, 0x52, 0x1b, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x53, 0x79,
198 0x73, 0x74, 0x65, 0x6d, 0x43, 0x61, 0x6c, 0x6c, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x12,
199 0x40, 0x0a, 0x1c, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x6e,
200 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18,
201 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65,
202 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65,
203 0x72, 0x12, 0x47, 0x0a, 0x20, 0x75, 0x6e, 0x65, 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x5f,
204 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x5f, 0x72, 0x75, 0x6e,
205 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x75, 0x6e, 0x65,
206 0x78, 0x70, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73,
207 0x49, 0x6e, 0x52, 0x75, 0x6e, 0x71, 0x75, 0x65, 0x75, 0x65, 0x42, 0xec, 0x01, 0x0a, 0x22, 0x63,
208 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
209 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76,
210 0x31, 0x42, 0x12, 0x4b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x52, 0x6f, 0x6f, 0x74, 0x6b, 0x69, 0x74,
211 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
212 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63,
213 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76,
214 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
215 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65,
216 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f,
217 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65,
218 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c,
219 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74,
220 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a,
221 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43,
222 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
223 0x33,
224 }
225
226 var (
227 file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDescOnce sync.Once
228 file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDescData = file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDesc
229 )
230
231 func file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDescGZIP() []byte {
232 file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDescOnce.Do(func() {
233 file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDescData)
234 })
235 return file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDescData
236 }
237
238 var file_google_cloud_securitycenter_v1_kernel_rootkit_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
239 var file_google_cloud_securitycenter_v1_kernel_rootkit_proto_goTypes = []any{
240 (*KernelRootkit)(nil), // 0: google.cloud.securitycenter.v1.KernelRootkit
241 }
242 var file_google_cloud_securitycenter_v1_kernel_rootkit_proto_depIdxs = []int32{
243 0, // [0:0] is the sub-list for method output_type
244 0, // [0:0] is the sub-list for method input_type
245 0, // [0:0] is the sub-list for extension type_name
246 0, // [0:0] is the sub-list for extension extendee
247 0, // [0:0] is the sub-list for field type_name
248 }
249
250 func init() { file_google_cloud_securitycenter_v1_kernel_rootkit_proto_init() }
251 func file_google_cloud_securitycenter_v1_kernel_rootkit_proto_init() {
252 if File_google_cloud_securitycenter_v1_kernel_rootkit_proto != nil {
253 return
254 }
255 type x struct{}
256 out := protoimpl.TypeBuilder{
257 File: protoimpl.DescBuilder{
258 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
259 RawDescriptor: file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDesc,
260 NumEnums: 0,
261 NumMessages: 1,
262 NumExtensions: 0,
263 NumServices: 0,
264 },
265 GoTypes: file_google_cloud_securitycenter_v1_kernel_rootkit_proto_goTypes,
266 DependencyIndexes: file_google_cloud_securitycenter_v1_kernel_rootkit_proto_depIdxs,
267 MessageInfos: file_google_cloud_securitycenter_v1_kernel_rootkit_proto_msgTypes,
268 }.Build()
269 File_google_cloud_securitycenter_v1_kernel_rootkit_proto = out.File
270 file_google_cloud_securitycenter_v1_kernel_rootkit_proto_rawDesc = nil
271 file_google_cloud_securitycenter_v1_kernel_rootkit_proto_goTypes = nil
272 file_google_cloud_securitycenter_v1_kernel_rootkit_proto_depIdxs = nil
273 }