forked from SolisAU/elasticsearch-plaso-pipelines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaso-winreg.json
38 lines (38 loc) · 1.1 KB
/
plaso-winreg.json
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
{
"description" : "enrich winreg",
"processors" : [
{
"rename" : {
"if" : "ctx.parser=~/winreg/ && ctx.parser=~/mrulistex_shell_item_list/ && ctx.shell_item_path!=null",
"target_field" : "path",
"field" : "shell_item_path",
"ignore_failure" : true
}
},
{
"rename" : {
"if" : "ctx.parser=~/winreg/ && ctx.parser=~/mrulistex_string_and_shell_item_list/ && ctx.shell_item_path!=null",
"target_field" : "path",
"field" : "shell_item_path",
"ignore_failure" : true
}
},
{
"rename" : {
"if" : "ctx.parser=~/winreg/ && ctx.parser=~/shell_items/ && ctx.shell_item_path!=null",
"target_field" : "path",
"field" : "shell_item_path",
"ignore_failure" : true
}
},
{
// unconfirmed
"rename" : {
"field" : "value_name",
"target_field" : "path",
"if" : "ctx.parser=~/winreg/ && ctx.source_long=='Registry Key - UserAssist' && ctx.value_name!=null",
"ignore_failure" : true
}
}
]
}