-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
playbook-Ransomware_Response.yml
1693 lines (1682 loc) · 42.8 KB
/
playbook-Ransomware_Response.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
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
id: Ransomware Response
version: -1
name: Ransomware Response
description: "This playbook handles ransomware alerts based on the Cortex XDR Traps\
\ module signature 'Suspicious File Modification'\n\n**Attacker’s Goals:**\n\nAn\
\ attacker is attempting to encrypt the victim files for either extortion or destruction\
\ purposes.\n\n**Investigative Actions:**\n\nInvestigate the executed process image\
\ and verify if it is malicious using:\n\nXDR trusted signers\n\nVT trusted signers\n\
\nVT detection rate\n\nNSRL DB\n\n**Response Actions:**\n\nThe playbook’s first\
\ response action is a remediation plan which includes two sub-playbooks, **Containment\
\ Plan** and **Eradication Plan**, which is based on the initial data provided within\
\ the alert. In that phase, the playbooks will execute:\n\nAuto endpoint isolation\n\
\nAuto block indicators\n\nAuto file quarantine\n\nAuto user disable\n\nAuto process\
\ termination\n\nNext, the playbook executes an enrichment and response phase\
\ which includes two sub-playbooks, **Ransomware Enrich and Contain** & **Account\
\ Enrichment - Generic v2.1**.\nThe Ransomware Enrich and Contain playbook does\
\ the following:\n\n1.Checks if the initiator is a remote attacker and allows\
\ isolating the remote host, if possible. \n\n2.Retrieves the WildFire sandbox report\
\ and extracts the indicators within it. * The playbook tries to retrieve the report,\
\ but if there is no report available, the playbook tries to fetch the ransomware\
\ file for detonation. \n\n3.Hunts for the ransomware alert indicators from the alert\
\ table, searches for endpoints that have been seen with them, and allows containing\
\ the identified endpoints.\n\nNext, an advanced analysis playbook, which is currently\
\ done mostly manually, will be executed. This sub-playbook, **Ransomware Advanced\
\ Analysis** allows the analyst to upload the ransomware note and for the ransomware\
\ identification. Using the **ID-Ransomware** service, the analyst will be able\
\ to get the ransomware type and the decryptor if available.\n\nWhen the playbook\
\ executes, it checks for additional activity using the Endpoint Investigation Plan\
\ playbook, and another phase, which includes the Containment Plan sub-playbook,\
\ is executed.\n\n**This phase will execute the following containment actions:**\n\
\nManual block indicators\n\nManual file quarantine\n\nAuto endpoint isolation\n\
\nFinally, the recovery phase is executed. If the analysts decides to continue with\
\ the investigation rather than recover and close the alert, a manual task with\
\ **CISA** official ransomware investigation checklist is provided for further investigation.\n\
\n**External resources:**\n\n[MITRE Technique T1486](https://attack.mitre.org/techniques/T1486/)\n\
\n[CISA Ransomware Guide](https://www.cisa.gov/stopransomware/ransomware-guide)"
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: 6298549f-49f4-40d2-8191-7569bc462e87
type: start
task:
id: 6298549f-49f4-40d2-8191-7569bc462e87
version: -1
name: ""
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "133"
separatecontext: false
view: |-
{
"position": {
"x": 360,
"y": 2070
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"3":
id: "3"
taskid: aab72395-ab25-404f-8ed3-0bb11e2f0f54
type: title
task:
id: aab72395-ab25-404f-8ed3-0bb11e2f0f54
version: -1
name: Pre-Analysis Containment
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "5"
separatecontext: false
view: |-
{
"position": {
"x": 360,
"y": 3125
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"5":
id: "5"
taskid: a370e139-e6b7-4ae8-869a-a17c21f0deb9
type: condition
task:
id: a370e139-e6b7-4ae8-869a-a17c21f0deb9
version: -1
name: Should execute early remediation?
description: Whether to execute an early remediation.
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "14"
"yes":
- "103"
- "136"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isEqualString
left:
value:
complex:
root: inputs.earlyRemediation
iscontext: true
right:
value:
simple: "true"
ignorecase: true
view: |-
{
"position": {
"x": 360,
"y": 3260
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"14":
id: "14"
taskid: fcd06da8-42be-451f-8732-578fa30d464f
type: title
task:
id: fcd06da8-42be-451f-8732-578fa30d464f
version: -1
name: Identify and Respond
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "120"
- "137"
separatecontext: false
view: |-
{
"position": {
"x": 360,
"y": 3600
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"36":
id: "36"
taskid: fe283460-c0d2-4830-8560-1b8dd76d2e06
type: title
task:
id: fe283460-c0d2-4830-8560-1b8dd76d2e06
version: -1
name: Advanced Analysis
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "121"
separatecontext: false
view: |-
{
"position": {
"x": 360,
"y": 3930
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"63":
id: "63"
taskid: fd0440b6-35fb-43d2-83fe-7f92f493282e
type: title
task:
id: fd0440b6-35fb-43d2-83fe-7f92f493282e
version: -1
name: Investigation
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "135"
separatecontext: false
view: |-
{
"position": {
"x": 360,
"y": 4410
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"81":
id: "81"
taskid: 449cb9c3-df2f-4302-88c0-038c41c0c705
type: title
task:
id: 449cb9c3-df2f-4302-88c0-038c41c0c705
version: -1
name: Remediation
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "106"
separatecontext: false
view: |-
{
"position": {
"x": 740,
"y": 4910
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"95":
id: "95"
taskid: 090eb73d-6b18-4d1f-8c19-f2da08a8ddf7
type: title
task:
id: 090eb73d-6b18-4d1f-8c19-f2da08a8ddf7
version: -1
name: Done
type: title
iscommand: false
brand: ""
description: ''
separatecontext: false
view: |-
{
"position": {
"x": -250,
"y": 6070
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"103":
id: "103"
taskid: d399b4d5-b204-4739-897b-929ad87cc3bc
type: playbook
task:
id: d399b4d5-b204-4739-897b-929ad87cc3bc
version: -1
name: Containment Plan
description: |-
This playbook handles all the containment actions available with Cortex XSIAM.
The playbook allows you to contain the alert with one of the following tasks:
* Isolate endpoint
* Disable account
* Quarantine file
* Block indicators
* Clear user session (currently, the playbook supports only Okta)
The playbook inputs allows you to manipulate the execution flow. Review the inputs description.
playbookName: Containment Plan
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "14"
scriptarguments:
AutoContainment:
complex:
root: inputs.AutoContainment
BlockIndicators:
simple: "True"
ClearUserSessions:
simple: "false"
EndpointID:
complex:
root: alert
accessor: agentid
FileContainment:
simple: "True"
FileHash:
complex:
root: inputs.FileSHA256
FilePath:
complex:
root: inputs.FilePath
FileRemediation:
simple: Quarantine
HostContainment:
simple: "True"
UserContainment:
simple: "True"
UserVerification:
simple: "False"
Username:
complex:
root: alert.username
filters:
- - operator: notIn
left:
value:
simple: alert.username
iscontext: true
right:
value:
simple: administrator,system
separatecontext: true
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": 720,
"y": 3430
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"106":
id: "106"
taskid: 8418ec9c-2074-4d98-8192-07db5af2ac8b
type: playbook
task:
id: 8418ec9c-2074-4d98-8192-07db5af2ac8b
version: -1
name: Containment Plan
description: |-
This playbook handles all the containment actions available with Cortex XSIAM.
The playbook allows you to contain the alert with one of the following tasks:
* Isolate endpoint
* Disable account
* Quarantine file
* Block indicators
* Clear user session (currently, the playbook supports only Okta)
The playbook inputs allows you to manipulate the execution flow. Review the inputs description.
playbookName: Containment Plan
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "129"
scriptarguments:
AutoContainment:
simple: "False"
BlockIndicators:
simple: "True"
ClearUserSessions:
simple: "False"
EndpointID:
complex:
root: foundIncidents.CustomFields
accessor: agentid
FileContainment:
simple: "True"
FileHash:
complex:
root: foundIncidents.CustomFields
accessor: initiatorsha256
FilePath:
complex:
root: foundIncidents.CustomFields
accessor: initiatorpath
FileRemediation:
simple: Delete
HostContainment:
simple: "True"
IAMUserDomain:
simple: '@demisto.com'
UserContainment:
simple: "True"
UserVerification:
simple: "False"
Username:
complex:
root: foundIncidents.CustomFields.username
filters:
- - operator: notContainsGeneral
left:
value:
simple: foundIncidents.CustomFields.username
iscontext: true
right:
value:
simple: administrator
ignorecase: true
- operator: notContainsGeneral
left:
value:
simple: foundIncidents.CustomFields.username
iscontext: true
right:
value:
simple: system
ignorecase: true
separatecontext: false
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": 740,
"y": 4910
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"120":
id: "120"
taskid: 4fff2e3f-c54e-4917-849b-b4e1caf8a688
type: playbook
task:
id: 4fff2e3f-c54e-4917-849b-b4e1caf8a688
version: -1
name: Ransomware Enrich and Contain
description: |-
This playbook is responsible for alert data enrichment and response.
The playbook executes the following:
1.Checks if the initiator is a remote attacker and allows isolating the remote host, if possible.
2.Retrieves the WildFire sandbox report and extract the indicators within it.
* The playbook tries to retrieve the report, but if there is no report available, the playbook tries to fetch the ransomware file for detonation.
3.Hunts for the ransomware alert indicators from the alert table, searches for endpoints that have been seen with them, and allows containing the identified endpoints.
playbookName: Ransomware Enrich and Contain
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "36"
scriptarguments:
FileSHA256:
complex:
root: inputs.FileSHA256
detonateRansomFile:
simple: "True"
isolateRemoteAttacker:
complex:
root: inputs.isolateRemoteAttacker
isolateSimilarEndpoints:
complex:
root: inputs.isolateSimilarEndpoints
separatecontext: true
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": 720,
"y": 3750
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"121":
id: "121"
taskid: 91d3b754-2bf2-470f-8b6e-f8868e846b10
type: condition
task:
id: 91d3b754-2bf2-470f-8b6e-f8868e846b10
version: -1
name: Should run advanced analysis?
description: Whether to execute advanced analysis.
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- '63'
yes:
- '138'
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isEqualString
left:
value:
complex:
root: inputs.RunAdvancedAnalysis
iscontext: true
right:
value:
simple: "True"
ignorecase: true
view: |-
{
"position": {
"x": 360,
"y": 4060
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"122":
id: "122"
taskid: 47278d70-0f8a-4ed3-83b1-de3f461f030f
type: playbook
task:
id: 47278d70-0f8a-4ed3-83b1-de3f461f030f
version: -1
name: Handle False Positive Alerts
description: |
This playbook handles false positive alerts.
playbookName: Handle False Positive Alerts
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "95"
scriptarguments:
FileSHA256:
complex:
root: inputs.FileSHA256
ShouldCloseAutomatically:
complex:
root: inputs.ShouldCloseAutomatically
alertName:
complex:
root: alert
accessor: name
sourceIP:
complex:
root: inputs.IP
username:
complex:
root: alert
accessor: username
separatecontext: true
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": -260,
"y": 2890
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"124":
id: "124"
taskid: 3e89a364-3a58-436e-83d7-01a23bae2a4f
type: regular
task:
id: 3e89a364-3a58-436e-83d7-01a23bae2a4f
version: -1
name: Close alert
description: commands.local.cmd.close.inv
script: Builtin|||closeInvestigation
type: regular
iscommand: true
brand: Builtin
nexttasks:
'#none#':
- "95"
scriptarguments:
closeReason:
simple: Resolved - True Positive
separatecontext: false
view: |-
{
"position": {
"x": 370,
"y": 5900
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"125":
id: "125"
taskid: 3f443fba-f5ef-4af5-81d4-938e01501ac5
type: condition
task:
id: 3f443fba-f5ef-4af5-81d4-938e01501ac5
version: -1
name: Should restore affected endpoint?
description: Whether to restore the isolated endpoints.
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "126"
"yes":
- "128"
separatecontext: false
view: |-
{
"position": {
"x": 370,
"y": 5205
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"126":
id: "126"
taskid: ad58dec4-ad0e-4942-8aa5-37d5b8895d7c
type: condition
task:
id: ad58dec4-ad0e-4942-8aa5-37d5b8895d7c
version: -1
name: Should close alert automatically?
description: Whether to close the alert automatically.
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "127"
"yes":
- "124"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isEqualString
left:
value:
complex:
root: inputs.ShouldCloseAutomatically
iscontext: true
right:
value:
simple: "True"
ignorecase: true
view: |-
{
"position": {
"x": 370,
"y": 5560
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"127":
id: "127"
taskid: 48d129cf-955d-49c1-8227-b754d5f8f2af
type: regular
task:
id: 48d129cf-955d-49c1-8227-b754d5f8f2af
version: -1
name: Ransomware investigation steps
description: Follow the [CISA ransomware investigation checklist](https://www.cisa.gov/stopransomware/ransomware-guide).
type: regular
iscommand: false
brand: ""
nexttasks:
'#none#':
- "124"
separatecontext: false
view: |-
{
"position": {
"x": 730,
"y": 5730
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"128":
id: "128"
taskid: 7dda58d5-d915-4d0b-82db-edca50ea1890
type: playbook
task:
id: 7dda58d5-d915-4d0b-82db-edca50ea1890
version: -1
name: Recovery Plan
description: |-
This playbook handles all the recovery actions available with Cortex XSIAM.
The playbook allows you, from the incident, to recover one of the following tasks:
* Unisolate endpoint
* Restore quarantined file
The playbook inputs allow you to manipulate the execution flow. Review the inputs description.
playbookName: Recovery Plan
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "126"
scriptarguments:
FileHash:
complex:
root: inputs.FileSHA256
endpointID:
complex:
root: alert
accessor: agentsid
releaseFile:
simple: "False"
unIsolateEndpoint:
simple: "True"
separatecontext: true
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 0
view: |-
{
"position": {
"x": 730,
"y": 5380
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"129":
id: "129"
taskid: 1b78ec0a-fb85-452c-82f1-7687ecc2cee2
type: title
task:
id: 1b78ec0a-fb85-452c-82f1-7687ecc2cee2
version: -1
name: Recovery
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "125"
separatecontext: false
view: |-
{
"position": {
"x": 370,
"y": 5080
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"130":
id: "130"
taskid: a30248bf-e7f2-40b4-8e3b-05537a5b6af3
type: title
task:
id: a30248bf-e7f2-40b4-8e3b-05537a5b6af3
version: -1
name: Handle False Positive
type: title
iscommand: false
brand: ""
description: ''
nexttasks:
'#none#':
- "122"
separatecontext: false
view: |-
{
"position": {
"x": -260,
"y": 2755
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
'132':
id: '132'
taskid: 4dbf4631-7419-4a88-83c2-c9d2a0761149
type: condition
task:
id: 4dbf4631-7419-4a88-83c2-c9d2a0761149
version: -1
name: Found relevant information?
description: Checks if relevant alerts were found in the previous query.
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "129"
"yes":
- "81"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isNotEmpty
left:
value:
simple: foundIncidents
iscontext: true
view: |-
{
"position": {
"x": 360,
"y": 4725
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"133":
id: "133"
taskid: c4da120b-58c7-4521-8180-954cbb09f227
type: playbook
task:
id: c4da120b-58c7-4521-8180-954cbb09f227
version: -1
name: Enrichment for Verdict
description: This playbook checks prior alert closing reasons and performs enrichment and prevalence checks on different IOC types. It then returns the information needed to establish the alert's verdict.
playbookName: Enrichment for Verdict
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "134"
scriptarguments:
CloseReason:
simple: Resolved - False Positive,Resolved - Duplicate Incident,Resolved - Known Issue
Domain:
complex:
root: alert
accessor: domainname
FileSHA256:
complex:
root: inputs.FileSHA256
IP:
complex:
root: inputs.IP
URL:
complex:
root: alert
accessor: url
User:
complex:
root: alert
accessor: username
query:
simple: (initiatorsha256:${inputs.FileSHA256} or hostip:${inputs.IP}) and sourceBrand:"${alert.sourceBrand}" and name:"${alert.name}"
threshold:
simple: "2"
separatecontext: true
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": 360,
"y": 2210
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"134":
id: "134"
taskid: 4a1fda2c-53f2-4931-835f-693ca1e803dc
type: condition
task:
id: 4a1fda2c-53f2-4931-835f-693ca1e803dc
version: -1
name: Got possible verdict?
description: Checks the verdict received from the Enrichment for Verdict sub-playbook.
type: condition
iscommand: false
brand: ""
nexttasks: