-
Notifications
You must be signed in to change notification settings - Fork 15
/
Search_Endpoints_By_Hash_-_Generic_V2.yml
479 lines (477 loc) · 10.2 KB
/
Search_Endpoints_By_Hash_-_Generic_V2.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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
id: Search Endpoints By Hash - Generic V2
version: 1
contentitemexportablefields:
contentitemfields:
packID: CommonPlaybooks
packName: Common Playbooks
itemVersion: 2.2.1
fromServerVersion: 5.0.0
toServerVersion: ""
definitionid: ""
vcShouldKeepItemLegacyProdMachine: false
name: Search Endpoints By Hash - Generic V2
description: Hunt using available tools
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: c485e19b-c83a-48e4-892c-8bd91e17ced2
type: start
task:
id: c485e19b-c83a-48e4-892c-8bd91e17ced2
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "9"
- "10"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 690,
"y": -50
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"5":
id: "5"
taskid: c185447e-549c-476e-8477-98c461dadd16
type: playbook
task:
id: c185447e-549c-476e-8477-98c461dadd16
version: -1
name: Search Endpoints By Hash - CrowdStrike
description: Hunt for endpoint activity involving hash and domain IOCs, using
Crowdstrike Falcon Host
playbookName: Search Endpoints By Hash - CrowdStrike
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "12"
scriptarguments:
MD5Hash:
complex:
root: inputs
accessor: MD5Hash
SHA1Hash:
complex:
root: inputs
accessor: SHA1Hash
SHA256Hash:
complex:
root: inputs
accessor: SHA256Hash
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 0
view: |-
{
"position": {
"x": 63,
"y": 320
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"8":
id: "8"
taskid: d3865a5d-6516-4d22-8134-a4cfca96bd3c
type: playbook
task:
id: d3865a5d-6516-4d22-8134-a4cfca96bd3c
version: -1
name: Search Endpoints By Hash - Carbon Black Protection
description: Hunt for endpoint activity involving hash IOCs, using Carbon Black
Protection.
playbookName: Search Endpoints By Hash - Carbon Black Protection
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "12"
scriptarguments:
Hash:
complex:
root: inputs
accessor: MD5Hash
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 0
view: |-
{
"position": {
"x": 1350,
"y": 500
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"9":
id: "9"
taskid: 9510dbd8-98c3-4611-802f-333acf31875b
type: title
task:
id: 9510dbd8-98c3-4611-802f-333acf31875b
version: -1
name: MD5 Only
type: title
iscommand: false
brand: ""
nexttasks:
'#none#':
- "11"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 1148,
"y": 200
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"10":
id: "10"
taskid: ce67117f-133a-4da3-84be-14e4a831756a
type: title
task:
id: ce67117f-133a-4da3-84be-14e4a831756a
version: -1
name: MD5 / SHA1 / SHA256
type: title
iscommand: false
brand: ""
nexttasks:
'#none#':
- "5"
- "13"
- "15"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 63,
"y": 160
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"11":
id: "11"
taskid: 05df1d6e-f77e-4b06-8c62-2750064f5b00
type: condition
task:
id: 05df1d6e-f77e-4b06-8c62-2750064f5b00
version: -1
name: Is MD5 hash?
description: Is MD5 hash?
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "14"
"yes":
- "8"
- "16"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isExists
left:
value:
complex:
root: inputs
accessor: MD5Hash
iscontext: true
continueonerrortype: ""
view: |-
{
"position": {
"x": 1148,
"y": 309
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"12":
id: "12"
taskid: f2a05482-2b17-4a09-8813-be48459935c3
type: title
task:
id: f2a05482-2b17-4a09-8813-be48459935c3
version: -1
name: Done
type: title
iscommand: false
brand: ""
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 790,
"y": 690
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"13":
id: "13"
taskid: 8d49d868-d88a-4e69-85d4-44e38c7ef0e7
type: playbook
task:
id: 8d49d868-d88a-4e69-85d4-44e38c7ef0e7
version: -1
name: Search Endpoints By Hash - TIE
description: |-
Hunt for sightings of MD5, SHA1 and/or SHA256 hashes on endpoints, using McAfee TIE (requires ePO as well).
Input:
* Hash (default, takes all deferent hashes from context)
Output:
* All agents that files with "Hash" has been executed on (TIE)
* Enrich Agents info from ePO
playbookName: Search Endpoints By Hash - TIE
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "12"
scriptarguments:
Hash:
simple: ${.=Object.keys(val.inputs).map(function(f) { return val.inputs[f];
}).reduce(function(a, b){ return a.concat(b); }, [])}
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 0
view: |-
{
"position": {
"x": 480,
"y": 320
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"14":
id: "14"
taskid: 974d2e04-3c66-445c-844d-be5ebdbc218e
type: title
task:
id: 974d2e04-3c66-445c-844d-be5ebdbc218e
version: -1
name: No MD5
type: title
iscommand: false
brand: ""
nexttasks:
'#none#':
- "12"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 1770,
"y": 480
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"15":
id: "15"
taskid: 30440c37-3692-4f92-8974-dadc57ef392a
type: playbook
task:
id: 30440c37-3692-4f92-8974-dadc57ef392a
version: -1
name: Search Endpoints By Hash - Cybereason
description: Hunt for endpoint activity involving hash, using Cybereason.
playbookName: Search Endpoints By Hash - Cybereason
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "12"
scriptarguments:
MD5Hash:
complex:
root: inputs.MD5Hash
SHA1Hash:
complex:
root: inputs.SHA1Hash
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 0
view: |-
{
"position": {
"x": -350,
"y": 320
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"16":
id: "16"
taskid: 5caac167-7b08-469e-8ad3-eb20356b2e30
type: playbook
task:
id: 5caac167-7b08-469e-8ad3-eb20356b2e30
version: -1
name: Search Endpoints By Hash - Carbon Black Response V2
playbookName: Search Endpoints By Hash - Carbon Black Response V2
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "12"
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 0
view: |-
{
"position": {
"x": 920,
"y": 500
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
system: true
view: |-
{
"linkLabelsPosition": {
"11_16_yes": 0.47,
"11_8_yes": 0.58
},
"paper": {
"dimensions": {
"height": 805,
"width": 2500,
"x": -350,
"y": -50
}
}
}
inputs:
- key: MD5Hash
value:
complex:
root: File
accessor: MD5
required: false
description: MD5 Hash
playbookInputQuery: null
- key: SHA1Hash
value:
complex:
root: File
accessor: SHA1
required: false
description: SHA1 Hash
playbookInputQuery: null
- key: SHA256Hash
value:
complex:
root: File
accessor: SHA256
required: false
description: SHA256 Hash
playbookInputQuery: null
outputs:
- contextPath: Endpoint.Hostname
description: Device hostname
type: string
- contextPath: Endpoint
description: The endpoint
type: unknown