forked from elastic/ecs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
registry.yml
88 lines (78 loc) · 3.1 KB
/
registry.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Licensed to Elasticsearch B.V. under one or more contributor
# license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
---
- name: registry
title: Registry
group: 2
description: Fields related to Windows Registry operations.
type: group
reusable:
top_level: true
expected:
- at: threat.indicator
as: registry
- at: threat.enrichments.indicator
as: registry
beta: Reusing the `registry` fields in this location is currently considered beta.
fields:
- name: hive
level: core
type: keyword
description: Abbreviated name for the hive.
example: HKLM
- name: key
level: core
type: keyword
description: Hive-relative path of keys.
example: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\winword.exe
- name: value
level: core
type: keyword
example: Debugger
description: Name of the value written.
- name: path
level: core
type: keyword
description: Full path, including hive, key and value
example: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\winword.exe\Debugger
- name: data.type
level: core
type: keyword
description: Standard registry type for encoding contents
example: REG_SZ
- name: data.strings
level: core
type: wildcard
short: List of strings representing what was written to the registry.
example: '["C:\rta\red_ttp\bin\myapp.exe"]'
description: >
Content when writing string types.
Populated as an array when writing string data to the registry.
For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string.
For sequences of string with REG_MULTI_SZ, this array will be variable length.
For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g `"1"`).
normalize:
- array
- name: data.bytes
level: extended
type: keyword
short: Original bytes written with base64 encoding.
example: "ZQBuAC0AVQBTAAAAZQBuAAAAAAA="
description: >
Original bytes written with base64 encoding.
For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by `lp_data`.
This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.