forked from teoseller/osquery-attck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindows-registry-monitoring.conf
164 lines (163 loc) · 9.77 KB
/
windows-registry-monitoring.conf
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"platform": "windows",
"description": "ATT&CK: T1015,T1138,T1131,T1037,T1128,T1060,T1180,T1004,T1058,T1103,T1112",
"queries": {
"HKLM_service": {
"query": "select name, type from registry where key='HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services';",
"interval": 3600,
"description": "Returns the content of the key HKLM_SYSTEM_CurrentControlSet_Service - ATT&CK T1058",
"removed": false
},
"Snaphost_HKLM_service": {
"query": "select name, type from registry where key='HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services';",
"interval": 28800,
"description": "Snapshot Returns the content of the key HKLM_SYSTEM_CurrentControlSet_Service - ATT&CK T1058",
"snapshot": true
},
"HKLM_Windows": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Windows' and name='AppInit_DLLs';",
"interval": 3600,
"description": "**AppInit DLLs** Returns the content of the key HKLM_Software_Microsoft_WindowsNT_CurrentVersion_Windows - ATT&CK T1103",
"platform": "windows",
"removed": false
},
"Snaphost_HKLM_windows": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Windows' and name='AppInit_DLLs';",
"interval": 28800,
"description": "**AppInit DLLs** Snapshot Returns the content of the key HKLM_Software_Microsoft_WindowsNT_CurrentVersion_Windows - ATT&CK T1103",
"snapshot": true
},
"HKLM_Wow6432Node_Windows": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Windows' and name='AppInit_DLLs';",
"interval": 3600,
"description": "**AppInit DLLs** Returns the content of the key HKLM_Software_Wow6432Node_Microsoft_Windows NT_CurrentVersion_Windows - ATT&CK T1103",
"removed": false
},
"Snaphost_HKLM_Wow6432Node_windows": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Windows' and name='AppInit_DLLs';",
"interval": 28800,
"description": "**AppInit DLLs** Snapshot Returns the content of the key HKLM_Software_Wow6432Node_Microsoft_Windows NT_CurrentVersion_Windows - ATT&CK T1103",
"snapshot": true
},
"HKLM_netsh": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Netsh';",
"interval": 3600,
"description": "Returns the content of the key HKLM_SYSTEM_CurrentControlSet_Control_Lsa - ATT&CK T1128,S0108",
"removed": false
},
"HKLM_lsa": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\system\\CurrentControlSet\\Control\\Lsa';",
"interval": 3600,
"description": "Returns the content of the key HKLM_SYSTEM_CurrentControlSet_Control_Lsa - ATT&CK T1131",
"removed": false
},
"HKLM_appcompatflags_installedsdb": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\software\\microsoft\\windows nt\\currentversion\\appcompatflags\\installedsdb';",
"interval": 3600,
"description": "**Application Shimming** Returns the content of the key HKLM_Software_Microsoft_WindowsNT_CurrentVersion_appcompatflags_installedsdb - ATT&CK T1138",
"removed": false
},
"Snaphost_HKLM_appcompatflags_installedsdb": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\software\\microsoft\\windows nt\\currentversion\\appcompatflags\\installedsdb';",
"interval": 28800,
"description": "**Application Shimming** Snapshot Returns the content of the key HKLM_Software_Microsoft_WindowsNT_CurrentVersion_appcompatflags_installedsdb - ATT&CK T1138",
"snapshot": true
},
"HKLM_appcompatflags_custom": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\software\\microsoft\\windows nt\\currentversion\\appcompatflags\\custom';",
"interval": 3600,
"description": "**Application Shimming** Returns the content of the key HKLM_Software_Microsoft_WindowsNT_CurrentVersion_appcompatflags_custom - ATT&CK T1138",
"removed": false
},
"Snaphost_HKLM_appcompatflags_custom": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\software\\microsoft\\windows nt\\currentversion\\appcompatflags\\custom';",
"interval": 28800,
"description": "**Application Shimming** Snapshot Returns the content of the key HKLM_Software_Microsoft_WindowsNT_CurrentVersion_appcompatflags_custom - ATT&CK T1138",
"snapshot": true
},
"HKLM_Image_File_Execution_Options": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Image File Execution Options';",
"interval": 3600,
"description": "Returns the content of the key HKLM_Image_File_Execution_Options - ATT&CK T1015",
"removed": false
},
"HKCU_Logon_Scripts": {
"query": "select * from registry where key='HKEY_CURRENT_USER\\Environment';",
"interval": 3600,
"description": "Returns the content of the key HKEY_CURRENT_USER_Environment - ATT&CK T1037",
"removed": false
},
"HKCU_Control Panel_Desktop": {
"query": "select name,type,data from registry where key='HKEY_CURRENT_USER\\Control Panel\\Desktop';",
"interval": 3600,
"description": "Returns the content of the key HKCU_Control Panel_Desktop - ATT&CK T1180",
"removed": false
},
"HKCU_Run": {
"query": "select name,type,data from registry where key='HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run';",
"interval": 3600,
"description": "Returns the content of the key HKCU_Software_Microsoft_Windows_CurrentVersion_Run - ATT&CK T1060",
"removed": false
},
"Snaphost_HKCU_Run": {
"query": "select name,type,data from registry where key='HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Run';",
"interval": 28800,
"description": "Returns the content of the key HKCU_Software_Microsoft_Windows_CurrentVersion_Run - ATT&CK T1060",
"snapshot": true
},
"HKLM_Explorer_Run": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run';",
"interval": 3600,
"description": "Returns the content of the key HKLM_Software_Microsoft_Windows_CurrentVersion_Policies_Explorer_Run - ATT&CK T1060",
"removed": false
},
"Snaphost_HKLM_Explorer_Run": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run';",
"interval": 28800,
"description": "Returns the content of the key HKLMU_Software_Microsoft_Windows_CurrentVersion_Policies_Explorer_Run - ATT&CK T1060",
"snapshot": true
},
"HKCU_Explorer_Run": {
"query": "select name,type,data from registry where key='HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run';",
"interval": 3600,
"description": "Returns the content of the key HKCU_Software_Microsoft_Windows_CurrentVersion_Policies_Explorer_Run - ATT&CK T1060",
"removed": false
},
"Snaphost_HKCU_Explorer_Run": {
"query": "select name,type,data from registry where key='HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer\\Run';",
"interval": 28800,
"description": "Returns the content of the key HKCU_Software_Microsoft_Windows_CurrentVersion_Policies_Explorer_Run - ATT&CK T1060",
"snapshot": true
},
"HKU_CurrentVersion_Run": {
"query": "select name,type,data from registry where key='HKEY_USERS\\Software\\Microsoft\\Windows\\CurrentVersion\\Run';",
"interval": 3600,
"description": "Returns the content of the key HKU_Software_Microsoft_Windows_CurrentVersion_Run",
"removed": false
},
"Snaphost_HKU_CurrentVersion_Run": {
"query": "select name,type,data from registry where key='HKEY_USERS\\Software\\Microsoft\\Windows\\CurrentVersion\\Run';",
"interval": 28800,
"description": "Returns the content of the key HKU_Software_Microsoft_Windows_CurrentVersion_Run",
"snapshot": true
},
"HKLM_CurrentVersion_Winlogon": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon';",
"interval": 3600,
"description": "Returns the content of the key HKLM_Software_Microsoft_WindowsNT_CurrentVersion_winlogon - ATT&CK T1004",
"removed": false
},
"HKLM_Wow6432Node_CurrentVersion_Winlogon": {
"query": "select name,type,data from registry where key='HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon';",
"interval": 3600,
"description": "Returns the content of the key HKLM_Software_Wow6432Node_Microsoft_WindowsNT_CurrentVersion_winlogon - ATT&CK T1004",
"removed": false
},
"HKCU_CurrentVersion_Winlogon": {
"query": "select name,type,data from registry where key='HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon';",
"interval": 3600,
"description": "Returns the content of the key HKCU_Software_Microsoft_WindowsNT_CurrentVersion_winlogon - ATT&CK T1004",
"removed": false
}
}
}