-
Notifications
You must be signed in to change notification settings - Fork 19
/
Hoarder.yml
279 lines (248 loc) · 10.7 KB
/
Hoarder.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
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
output_Content:
output: 'output'
# wild cards:
# use ** at the end to indicate recursive
# use * any where to indicate any entry on the folder only (not recursive)
# you can use * as widecard on the entry name, such as "*.evtx"
# parsing:
# parsing can be one parser. Example:
# parsers: <|parsingdir|>MFTECmd.exe -f <|path|$MFT> --csv <|output|> --csvf mft.csv'
# parsing can also be a list. Example:
# parsers:
# - <|parsingdir|>MFTECmd.exe -f <|path|$MFT> --csv <|output|> --csvf mft.csv'
# - <|parsingdir|>LogFileParser.exe /LogFileFile:<|path|$LogFile>'
# directives:
# - <|path|>: e.g. <|path|$MFT> will be replaced with the path where all $MFT files under the artifact path exist.
# - To have direct it to a directory it must end with '\'. Example: <|path|\> or <|path|windows\>
# - <|output|>: will be replaced with a unique output path to ensure no file is overwritten. |output| can be followed by a suffix (not a path)
# , for example <|output|amcache_command1> and the suffix will be added.
# - <|parsingdir|>: this will be replaced with the path where all files in parsers.zip are extracted. This directive doesn't take a suffix.
# this directive needs to proceed any use of a tool or supplied input in the parsers.zip.
# Note: std.out is not logged or captured. std.err of run commands is logged in Hoarder.log. So, a command needs to handle output in an argument.
# If it doesn't a batch file can be created to overcome this limitation.
# groups: groups are like tags and each artifact can be set to be part of one or more groups.
# In hoarder command line, one or more group(s) can be chosen and the artifacts tagged
# by this group will be used.
# If an artifact is chosen (e.g. --Events) and a group is chosen (e.g. -g mot), hoarder will process both.
all_artifacts:
Events:
output: 'Events'
path32: '\windows\system32\winevt\Logs\'
path64: '\windows\system32\winevt\Logs\'
groups: 'parsing'
files: '*'
parsers: '<|parsingdir|>MasterParser.exe -p winevents -i <|path|.*> -o <|output|evtx.json>'
description: 'Windows event logs'
Ntfs:
output: 'Ntfs'
path32: '\'
path64: '\'
groups: 'parsing'
files:
- $MFT
- $MFTMirr
- $LogFile
parsers: '<|parsingdir|>MasterParser.exe -p mft -i <|path|$MFT> -o <|output|mft.json>'
description: '$MFT file'
Recent:
output: 'Recent'
path32: '\Users\*\AppData\Roaming\Microsoft\Windows\Recent\**'
path64: '\Users\*\AppData\Roaming\Microsoft\Windows\Recent\**'
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p jumplist -i <|path|\> -o <|output|recent.json>'
description: 'Recently opened files'
Startup:
output: 'startup'
path32: '\Windows\System32\WDI\LogFiles\StartupInfo\**'
path64: '\Windows\System32\WDI\LogFiles\StartupInfo\**'
description: 'Startup info'
SRUM:
output: 'srum'
path32: '\Windows\System32\SRU\**'
path64: '\Windows\System32\SRU\**'
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p srum -i <|path|SRUDB.dat> -o <|output|srum.json>'
description: 'SRUM folder'
Firwall:
output: 'firewall'
path32: '\Windows\System32\LogFiles\Firewall\**'
path64: '\Windows\System32\LogFiles\Firewall\**'
description: 'Firewall Logs'
CCM:
output: 'ccm_logs'
path32:
- '\syswow64\ccm\logs\**'
- '\Windows\ccm\logs\**'
path64:
- '\system32\ccm\logs\**'
- '\Windows\ccm\logs\**'
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p sccm -i <|path|.*> -o <|output|sccm.json>'
description: 'CCM Logs'
WindowsIndexSearch:
output: 'WindowsIndexSearch'
path32: '\programdata\microsoft\search\data\applications\windows\'
path64: '\programdata\microsoft\search\data\applications\windows\'
files: Windows.edb
description: 'Windows Search artifacts'
Config:
output: 'Config'
path32: '\Windows\System32\config\'
path64: '\Windows\System32\config\'
files:
- DEFAULT*
- SAM*
- SECURITY*
- SOFTWARE*
- SYSTEM*
- DRIVERS
- BBI
- ELAM
- COMPONENTS
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p regsk -i <|path|\> -o <|output|config.json>'
description: 'System hives'
Ntuser:
output: 'Ntuser'
path32:
- '\Users\*\'
- '\Windows\System32\config\systemprofile\'
path64:
- '\Users\*\'
- '\Windows\System32\config\systemprofile\'
files: 'NTUSER.DAT*'
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p regsk -i <|path|\> -o <|output|ntuser.json>'
description: 'All users hives'
applications:
output: 'applications'
path32: '\Windows\AppCompat\Programs\**'
path64: '\Windows\AppCompat\Programs\**'
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p regsk -i <|path|\> -o <|output|amcache.json>'
description: 'Amcache files'
usrclass:
output: 'usrclass'
path32: '\Users\*\AppData\Local\Microsoft\Windows\'
path64: '\Users\*\AppData\Local\Microsoft\Windows\'
files: 'UsrClass.dat'
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p regsk -i <|path|\> -o <|output|usrclass.json>'
description: 'UserClass.dat file for all the users'
PowerShellHistory:
output: 'PowerShellHistory'
path32: '\Users\*\Appdata\Roaming\Microsoft\Windows\PowerShell\PSReadline\'
path64: '\Users\*\Appdata\Roaming\Microsoft\Windows\PowerShell\PSReadline\'
groups: 'parsing'
files: 'ConsoleHost_history.txt'
parsers: '<|parsingdir|>MasterParser.exe -p pshistory -i <|path|ConsoleHost_history.txt> -o <|output|pshistory.json>'
description: 'PowerShell history for all the users'
RecycleBin:
output: 'RecycleBin'
path32: '\$Recycle.Bin\**'
path64: '\$Recycle.Bin\**'
groups: 'parsing'
files: '$I*'
parsers: '<|parsingdir|>MasterParser.exe -p recyclebin -i <|path|\> -o <|output|recyclebin.json>'
description: 'RecycleBin Files'
WMI:
output: 'WMI'
path32:
- '\Windows\System32\wbem\Repository\'
- '\Windows\System32\wbem\Repository\FS\'
path64:
- '\Windows\System32\wbem\Repository\'
- '\Windows\System32\wbem\Repository\FS\'
groups: 'parsing'
files: 'OBJECTS.DATA'
parsers:
- '<|parsingdir|>MasterParser.exe -p wmipersistence -i <|path|OBJECTS.DATA> -o <|output|wmipersistence.json>'
- '<|parsingdir|>MasterParser.exe -p rua -i <|path|OBJECTS.DATA> -o <|output|wmirua.json>'
description: 'WMI OBJECTS.DATA file'
scheduled_task:
output: 'scheduled_task'
path32:
- '\Windows\System32\Tasks\**'
- '\Windows\SysWOW64\Tasks\**'
path64:
- '\Windows\System32\Tasks\**'
- '\Windows\SysWOW64\Tasks\**'
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p scheduledtasks -i <|path|\> -o <|output|scheduledtasks.json>'
description: 'Scheduled Tasks files'
BMC:
output: 'BMC'
path32: '\Users\*\AppData\Local\Microsoft\Terminal Server Client\Cache\'
path64: '\Users\*\AppData\Local\Microsoft\Terminal Server Client\Cache\'
files: '*.bmc'
description: 'BMC files for all the users'
prefetch:
output: 'prefetch'
path32: '\Windows\prefetch\'
path64: '\Windows\prefetch\'
files: '*.pf'
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p prefetch -i <|path|\> -o <|output|prefetch.json>'
description: 'Prefetch files'
WMITraceLogs:
output: 'WMI Trace Logs'
path32: '\Windows\System32\LogFiles\WMI\**'
path64: '\Windows\System32\LogFiles\WMI\**'
description: 'WMI Trace Logs'
BrowserHistory:
output: 'BrowserHistory'
path32:
- '\Users\*\AppData\Roaming\Google\Chrome\User Data\Default\**'
- '\Users\*\AppData\local\Google\Chrome\User Data\Default\**'
- '\Users\*\AppData\Local\Microsoft\Windows\INetCookies\**'
- '\Users\*\AppData\Local\Microsoft\Windows\WebCache\**'
- '\Users\*\AppData\Roaming\Mozilla\Firefox\Profiles\**'
path64:
- '\Users\*\AppData\Roaming\Google\Chrome\User Data\Default\**'
- '\Users\*\AppData\local\Google\Chrome\User Data\Default\**'
- '\Users\*\AppData\Local\Microsoft\Windows\INetCookies\**'
- '\Users\*\AppData\Local\Microsoft\Windows\WebCache\**'
- '\Users\*\AppData\Roaming\Mozilla\Firefox\Profiles\**'
files:
- 'History*'
- 'Cache'
- 'Cookies'
- 'WebCacheV01.dat'
- 'places.sqlite'
- 'cookies.sqlite'
groups: 'parsing'
parsers:
- '<|parsingdir|>MasterParser.exe -p browserhistory -i <|path|History> -o <|output|chromehistory.json>'
- '<|parsingdir|>MasterParser.exe -p browserhistory -i <|path|WebCacheV01.dat> -o <|output|iehistory.json>'
- '<|parsingdir|>MasterParser.exe -p browserhistory -i <|path|places.sqlite> -o <|output|firefoxhistory.json>'
description: 'BrowserHistory Data'
WERFiles:
output: 'WER'
path32: '\ProgramData\Microsoft\Windows\WER\**'
path64: '\ProgramData\Microsoft\Windows\WER\**'
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p wer -i <|path|\> -o <|output|wer.json>'
description: 'Windows Error Reporting Files'
BitsAdmin:
output: 'BitsAdmin'
path32: '\ProgramData\Microsoft\Network\Downloader\**'
path64: '\ProgramData\Microsoft\Network\Downloader\**'
groups: 'parsing'
parsers: '<|parsingdir|>MasterParser.exe -p bitsadmin -i <|path|qmgr.db> -o <|output|bitsadmin.json>'
description: 'Bits Admin Database (QMGR database)'
CertUtilCache:
output: 'CertUtilCache'
path32:
- '\Windows\System32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\**'
- '\Windows\SysWOW64\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\**'
- '\Users\*\AppData\LocalLow\Microsoft\CryptnetUrlCache\**'
path64:
- '\Windows\System32\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\**'
- '\Windows\SysWOW64\config\systemprofile\AppData\LocalLow\Microsoft\CryptnetUrlCache\**'
- '\Users\*\AppData\LocalLow\Microsoft\CryptnetUrlCache\**'
description: 'CertUtilCache files (metadata & content)'
# Commands
SystemInfo:
output: 'SystemInfo'
cmd: 'systeminfo'
description: 'Get system information'