forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-Calculate_Severity_-_Generic_v2_-_Test.yml
730 lines (730 loc) · 15.1 KB
/
playbook-Calculate_Severity_-_Generic_v2_-_Test.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
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
id: Calculate Severity - Generic v2 - Test
version: -1
fromversion: 4.5.0
name: Calculate Severity - Generic v2 - Test
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 68a4accc-a3b5-43d0-8143-41f9b135c393
type: start
task:
id: 68a4accc-a3b5-43d0-8143-41f9b135c393
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 50
}
}
note: false
timertriggers: []
ignoreworker: false
"1":
id: "1"
taskid: 6346d1ef-cae0-43e3-8c01-b352c4e9f5ab
type: regular
task:
id: 6346d1ef-cae0-43e3-8c01-b352c4e9f5ab
version: -1
name: Delete context
description: Delete field from context
scriptName: DeleteContext
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "6"
- "7"
- "3"
- "13"
scriptarguments:
all:
simple: "yes"
index: {}
key: {}
keysToKeep: {}
subplaybook: {}
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 180
}
}
note: false
timertriggers: []
ignoreworker: false
"2":
id: "2"
taskid: 1fa22e88-0d6c-4a2b-856d-77b4d35af04b
type: regular
task:
id: 1fa22e88-0d6c-4a2b-856d-77b4d35af04b
version: -1
name: Add username to account in context
description: Sets a value into the context with the given context key
scriptName: Set
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "16"
scriptarguments:
append:
simple: "true"
key:
simple: Account.Username
value:
simple: admin
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": 1910,
"y": 510
}
}
note: false
timertriggers: []
ignoreworker: false
"3":
id: "3"
taskid: ecd7a134-815e-41bf-8661-3677f714fdaf
type: title
task:
id: ecd7a134-815e-41bf-8661-3677f714fdaf
version: -1
name: Critical Assets Data Initialization
type: title
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
- "4"
- "5"
- "17"
- "18"
- "19"
separatecontext: false
view: |-
{
"position": {
"x": 1490,
"y": 370
}
}
note: false
timertriggers: []
ignoreworker: false
"4":
id: "4"
taskid: 73edb313-83da-494a-8d8a-5027617d42ac
type: regular
task:
id: 73edb313-83da-494a-8d8a-5027617d42ac
version: -1
name: Get AD user
script: Active Directory Query v2|||ad-get-user
type: regular
iscommand: true
brand: Active Directory Query v2
nexttasks:
'#none#':
- "16"
scriptarguments:
attributes: {}
custom-field-data: {}
custom-field-type: {}
dn: {}
email: {}
limit: {}
name:
simple: donotdelete
user-account-control-out: {}
username: {}
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": 1490,
"y": 510
}
}
note: false
timertriggers: []
ignoreworker: false
"5":
id: "5"
taskid: 620079e5-a247-4762-81b4-96a224941a55
type: regular
task:
id: 620079e5-a247-4762-81b4-96a224941a55
version: -1
name: Get AD computers
script: Active Directory Query v2|||ad-get-computer
type: regular
iscommand: true
brand: Active Directory Query v2
nexttasks:
'#none#':
- "16"
scriptarguments:
attributes: {}
custom-field-data: {}
custom-field-type: {}
dn: {}
name: {}
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": 1070,
"y": 510
}
}
note: false
timertriggers: []
ignoreworker: false
"6":
id: "6"
taskid: af2557b9-1e60-45b3-81a5-f7391bd2659b
type: title
task:
id: af2557b9-1e60-45b3-81a5-f7391bd2659b
version: -1
name: DBotScore Data Initialization
type: title
iscommand: false
brand: ""
nexttasks:
'#none#':
- "10"
- "8"
separatecontext: false
view: |-
{
"position": {
"x": -380,
"y": 370
}
}
note: false
timertriggers: []
ignoreworker: false
"7":
id: "7"
taskid: b84c420d-169d-4387-8443-bbf29389a461
type: title
task:
id: b84c420d-169d-4387-8443-bbf29389a461
version: -1
name: Incident Severity Initialization
type: title
iscommand: false
brand: ""
nexttasks:
'#none#':
- "11"
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 370
}
}
note: false
timertriggers: []
ignoreworker: false
"8":
id: "8"
taskid: 86c06fcb-f290-4307-88e9-2bff5d1c1f27
type: regular
task:
id: 86c06fcb-f290-4307-88e9-2bff5d1c1f27
version: -1
name: Add malicious item to Minemeld miner
script: '|||minemeld-add-to-miner'
type: regular
iscommand: true
brand: ""
nexttasks:
'#none#':
- "9"
scriptarguments:
comment:
simple: Malicious URL for test
indicator:
simple: http://annachapman3.icu/eu/1.exe
miner:
simple: Malicious
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": -160,
"y": 510
}
}
note: false
timertriggers: []
ignoreworker: false
"9":
id: "9"
taskid: 8833403c-cc03-4553-8c52-8be38396f8c2
type: regular
task:
id: 8833403c-cc03-4553-8c52-8be38396f8c2
version: -1
name: Get malicious URL reputation using Minemeld
script: Palo Alto Minemeld|||url
type: regular
iscommand: true
brand: Palo Alto Minemeld
nexttasks:
'#none#':
- "16"
scriptarguments:
include_inactive: {}
long: {}
retries: {}
sampleSize: {}
submitWait: {}
threshold: {}
url:
simple: http://annachapman3.icu/eu/1.exe
wait: {}
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": -160,
"y": 660
}
}
note: false
timertriggers: []
ignoreworker: false
"10":
id: "10"
taskid: df2d7610-cdb4-4af9-8e36-ee52bb7869f4
type: regular
task:
id: df2d7610-cdb4-4af9-8e36-ee52bb7869f4
version: -1
name: Get benign URL reputation using Minemeld
script: Palo Alto Minemeld|||url
type: regular
iscommand: true
brand: Palo Alto Minemeld
nexttasks:
'#none#':
- "16"
scriptarguments:
include_inactive: {}
long: {}
retries: {}
sampleSize: {}
submitWait: {}
threshold: {}
url:
simple: www.google.com
wait: {}
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": -580,
"y": 510
}
}
note: false
timertriggers: []
ignoreworker: false
"11":
id: "11"
taskid: d1cb4262-52af-492f-8200-524b0c4ae88c
type: regular
task:
id: d1cb4262-52af-492f-8200-524b0c4ae88c
version: -1
name: Set incident severity to medium
script: Builtin|||setIncident
type: regular
iscommand: true
brand: Builtin
nexttasks:
'#none#':
- "16"
scriptarguments:
addLabels: {}
affecteddata: {}
affecteddatatype: {}
affectedhosts: {}
affectedindividualscontactinformation: {}
affectedips: {}
app: {}
approximatenumberofaffecteddatasubjects: {}
assetid: {}
attachmentcount: {}
attachmentextension: {}
attachmenthash: {}
attachmentid: {}
attachmentitem: {}
attachmentname: {}
attachmentsize: {}
attachmenttype: {}
backupowner: {}
bugtraq: {}
city: {}
closeNotes: {}
closeReason: {}
companyaddress: {}
companycity: {}
companycountry: {}
companyhasinsuranceforthebreach: {}
companyname: {}
companypostalcode: {}
contactaddress: {}
contactname: {}
country: {}
countrywherebusinesshasitsmainestablishment: {}
countrywherethebreachtookplace: {}
customFields: {}
cve: {}
cvss: {}
dataencryptionstatus: {}
datetimeofthebreach: {}
daysbetweenreportcreation: {}
deleteEmptyField: {}
dest: {}
destinationip: {}
destntdomain: {}
details: {}
detectedusers: {}
dpoemailaddress: {}
duration: {}
emailaddress: {}
emailbcc: {}
emailbody: {}
emailbodyformat: {}
emailbodyhtml: {}
emailbodyhtmlraw: {}
emailcc: {}
emailclientname: {}
emailfrom: {}
emailfromdisplayname: {}
emailinreplyto: {}
emailkeywords: {}
emailmessageid: {}
emailreceived: {}
emailreplyto: {}
emailreturnpath: {}
emailsenderdomain: {}
emailsenderip: {}
emailsize: {}
emailsource: {}
emailsubject: {}
emailsubjectlanguage: {}
emailto: {}
emailtocount: {}
emailurlclicked: {}
eventid: {}
falses: {}
fetchid: {}
fetchtype: {}
filehash: {}
filename: {}
filepath: {}
hostid: {}
hostname: {}
htmlimage: {}
htmlrenderedimage: {}
id: {}
important: {}
importantfield: {}
isthedatasubjecttodpia: {}
labels: {}
likelyimpact: {}
maliciouscauseifthecauseisamaliciousattack: {}
malwarefamily: {}
mdtest: {}
measurestomitigate: {}
myfield: {}
name: {}
occurred: {}
owner: {}
phase: {}
possiblecauseofthebreach: {}
postalcode: {}
relateddomain: {}
replacePlaybook: {}
reporteduser: {}
reportinguser: {}
roles: {}
screenshot: {}
screenshot2: {}
sectorofaffectedparty: {}
selector: {}
severity:
simple: "2"
signature: {}
single: {}
single2: {}
sizenumberofemployees: {}
sizeturnover: {}
sla: {}
slaField: {}
source: {}
src: {}
srcntdomain: {}
srcuser: {}
systems: {}
telephoneno: {}
test: {}
test2: {}
testfield: {}
timeassignedtolevel2: {}
timefield1: {}
timelevel1: {}
type: {}
user: {}
username: {}
vendorid: {}
vendorproduct: {}
vulnerabilitycategory: {}
whereisdatahosted: {}
xdr: {}
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": 450,
"y": 510
}
}
note: false
timertriggers: []
ignoreworker: false
"13":
id: "13"
taskid: e5fdc1d4-6916-4693-8b82-1b45008cb5a1
type: title
task:
id: e5fdc1d4-6916-4693-8b82-1b45008cb5a1
version: -1
name: Email Authentication Initialization
type: title
iscommand: false
brand: ""
nexttasks:
'#none#':
- "14"
separatecontext: false
view: |-
{
"position": {
"x": -1150,
"y": 370
}
}
note: false
timertriggers: []
ignoreworker: false
"14":
id: "14"
taskid: ffe3681b-9a95-4535-899a-06107a80c8c2
type: regular
task:
id: ffe3681b-9a95-4535-899a-06107a80c8c2
version: -1
name: Set email authentication verdict to "Fail"
description: Sets a value into the context with the given context key
scriptName: Set
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "16"
scriptarguments:
append: {}
key:
simple: Email.AuthenticityCheck
value:
simple: Fail
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": -1150,
"y": 510
}
}
note: false
timertriggers: []
ignoreworker: false
"16":
id: "16"
taskid: 3e6a6dc4-49f3-48c6-8009-085fcafcf70a
type: playbook
task:
id: 3e6a6dc4-49f3-48c6-8009-085fcafcf70a
version: -1
name: Calculate Severity - Generic v2
playbookName: Calculate Severity - Generic v2
type: playbook
iscommand: false
brand: ""
separatecontext: true
view: |-
{
"position": {
"x": 450,
"y": 1110
}
}
note: false
timertriggers: []
ignoreworker: false
"17":
id: "17"
taskid: 2d11cff3-fa19-4825-8476-4cfe59fce885
type: regular
task:
id: 2d11cff3-fa19-4825-8476-4cfe59fce885
version: -1
name: Add hostname to context
description: Sets a value into the context with the given context key
scriptName: Set
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "16"
scriptarguments:
append:
simple: "true"
key:
simple: Account.Groups
value:
simple: Administrators
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": 1630,
"y": 700
}
}
note: false
timertriggers: []
ignoreworker: false
"18":
id: "18"
taskid: 616948c7-e396-41c4-8750-61b9594f5493
type: regular
task:
id: 616948c7-e396-41c4-8750-61b9594f5493
version: -1
name: Add hostname to context
description: Sets a value into the context with the given context key
scriptName: Set
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "16"
scriptarguments:
append:
simple: "true"
key:
simple: Account.Groups
value:
simple: Domain Admins
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": 1160,
"y": 690
}
}
note: false
timertriggers: []
ignoreworker: false
"19":
id: "19"
taskid: 38a91c38-5b08-48bc-80d7-d3e9bbca01ad
type: regular
task:
id: 38a91c38-5b08-48bc-80d7-d3e9bbca01ad
version: -1
name: Add hostname to context
description: Sets a value into the context with the given context key
scriptName: Set
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "16"
scriptarguments:
append:
simple: "true"
key:
simple: Endpoint.Hostname
value:
simple: AdminPC
reputationcalc: 1
separatecontext: false
view: |-
{
"position": {
"x": 1340,
"y": 890
}
}
note: false
timertriggers: []
ignoreworker: false
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 1155,
"width": 3440,
"x": -1150,
"y": 50
}
}
}
inputs: []
outputs: []