-
Notifications
You must be signed in to change notification settings - Fork 15
/
Block_Indicators_-_Generic_v2.yml
696 lines (690 loc) · 17.3 KB
/
Block_Indicators_-_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
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
id: Block Indicators - Generic v2
version: 1
contentitemexportablefields:
contentitemfields:
packID: CommonPlaybooks
packName: Common Playbooks
itemVersion: 2.2.1
fromServerVersion: 5.5.0
toServerVersion: ""
definitionid: ""
vcShouldKeepItemLegacyProdMachine: false
name: Block Indicators - Generic v2
description: |+
This playbook blocks malicious Indicators using all integrations that are enabled, using the following sub-playbooks:
- Block URL - Generic
- Block Account - Generic
- Block IP - Generic v2
- Block File - Generic v2
- Block Email - Generic
- Block Domain - Generic
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: d3ee8477-b8eb-4b83-88e8-1a3f5e4f26ca
type: start
task:
id: d3ee8477-b8eb-4b83-88e8-1a3f5e4f26ca
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "7"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 910,
"y": 60
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"2":
id: "2"
taskid: 3ce0d3d2-cd32-467f-801d-8b6b43f5ce2a
type: title
task:
id: 3ce0d3d2-cd32-467f-801d-8b6b43f5ce2a
version: -1
name: Done
type: title
iscommand: false
brand: ""
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 910,
"y": 515
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"4":
id: "4"
taskid: 4cfbb153-ee02-4ec5-85e0-a56993f6b1fa
type: playbook
task:
id: 4cfbb153-ee02-4ec5-85e0-a56993f6b1fa
version: -1
name: Block URL - Generic
description: |-
This playbook blocks malicious URLs using all integrations that are enabled.
Supported integrations for this playbook:
* Palo Alto Networks Minemeld
* Palo Alto Networks PAN-OS
* Zscaler
playbookName: Block URL - Generic
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
scriptarguments:
URL:
complex:
root: inputs.URL
URLBlacklistMiner:
complex:
root: inputs.URLBlacklistMiner
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 0
view: |-
{
"position": {
"x": -190,
"y": 340
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"5":
id: "5"
taskid: bd1529d5-9110-4c59-8757-77ec2be78cb7
type: playbook
task:
id: bd1529d5-9110-4c59-8757-77ec2be78cb7
version: -1
name: Block Account - Generic
description: |-
This playbook blocks malicious usernames using all integrations that you have enabled.
Supported integrations for this playbook:
* Active Directory
* PAN-OS - This requires PAN-OS 9.1 or higher.
playbookName: Block Account - Generic
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
scriptarguments:
Username:
complex:
root: inputs.Username
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 0
view: |-
{
"position": {
"x": 250,
"y": 340
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"7":
id: "7"
taskid: 76aa6efb-02f5-48ef-8136-ce462c1488e4
type: title
task:
id: 76aa6efb-02f5-48ef-8136-ce462c1488e4
version: -1
name: Block indicators
type: title
iscommand: false
brand: ""
nexttasks:
'#none#':
- "4"
- "5"
- "9"
- "10"
- "11"
- "12"
separatecontext: false
continueonerrortype: ""
view: |-
{
"position": {
"x": 910,
"y": 195
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: false
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"9":
id: "9"
taskid: 4c576d9c-c844-4005-8cbc-a48d4d7317b0
type: playbook
task:
id: 4c576d9c-c844-4005-8cbc-a48d4d7317b0
version: -1
name: Block IP - Generic v2
description: |-
This playbook blocks malicious IPs using all integrations that are enabled.
Supported integrations for this playbook:
* Check Point Firewall
* Palo Alto Networks Minemeld
* Palo Alto Networks PAN-OS
* Zscaler
playbookName: Block IP - Generic v2
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
scriptarguments:
AutoCommit:
complex:
root: inputs.AutoCommit
CustomBlockRule:
complex:
root: inputs.CustomBlockRule
DAG:
complex:
root: inputs.DAG
EDLServerIP:
complex:
root: inputs.EDLServerIP
IP:
complex:
root: inputs.IP
IPBlacklistMiner:
complex:
root: inputs.IPBlacklistMiner
IPListName:
complex:
root: inputs.IPListName
LogForwarding:
complex:
root: inputs.LogForwarding
StaticAddressGroup:
complex:
root: inputs.StaticAddressGroup
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 0
view: |-
{
"position": {
"x": 690,
"y": 340
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"10":
id: "10"
taskid: 97c787e9-d72a-4c27-861e-f09f6c63723e
type: playbook
task:
id: 97c787e9-d72a-4c27-861e-f09f6c63723e
version: -1
name: Block File - Generic v2
description: "This playbook is used to block files from running on endpoints.
\nThis playbook supports the following integrations:\n- Palo Alto Networks
Traps\n- Cybereason\n- Carbon Black Enterprise Response\n- Cylance Protect
v2\n"
playbookName: Block File - Generic v2
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
scriptarguments:
MD5:
complex:
root: inputs.MD5
SHA256:
complex:
root: inputs.SHA256
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 0
view: |-
{
"position": {
"x": 1130,
"y": 340
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"11":
id: "11"
taskid: 162fc17e-709c-4896-8c47-32d03b660de2
type: playbook
task:
id: 162fc17e-709c-4896-8c47-32d03b660de2
version: -1
name: Block Email - Generic
playbookName: Block Email - Generic
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
scriptarguments:
EmailToBlock:
simple: ${inputs.EmailToBlock}
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": 1570,
"y": 340
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
"12":
id: "12"
taskid: f94181cb-559a-455c-8ced-b2a41e486b5d
type: playbook
task:
id: f94181cb-559a-455c-8ced-b2a41e486b5d
version: -1
name: Block Domain - Generic
description: |-
This playbook blocks malicious Domains using all integrations that are enabled.
Supported integrations for this playbook:
* Zscaler
* Symantec Messaging Gateway
* FireEye EX
* Trend Micro Apex One
* Proofpoint Threat Response
playbookName: Block Domain - Generic
type: playbook
iscommand: false
brand: ""
nexttasks:
'#none#':
- "2"
scriptarguments:
Domain:
complex:
root: inputs.DomainToBlock
DomainBlackListID:
complex:
root: inputs.DomainBlackListID
separatecontext: true
continueonerrortype: ""
loop:
iscommand: false
exitCondition: ""
wait: 1
max: 100
view: |-
{
"position": {
"x": 2010,
"y": 340
}
}
note: false
timertriggers: []
ignoreworker: false
skipunavailable: true
quietmode: 0
isoversize: false
isautoswitchedtoquietmode: false
system: true
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 520,
"width": 2580,
"x": -190,
"y": 60
}
}
}
inputs:
- key: IPBlacklistMiner
value: {}
required: false
description: The name of the IP block list Miner in Minemeld.
playbookInputQuery: null
- key: URLBlacklistMiner
value: {}
required: false
description: The name of the URL block list Miner in Minemeld.
playbookInputQuery: null
- key: IP
value:
complex:
root: DBotScore
filters:
- - operator: isEqualString
left:
value:
simple: DBotScore.Type
iscontext: true
right:
value:
simple: ip
ignorecase: true
- - operator: greaterThanOrEqual
left:
value:
simple: DBotScore.Score
iscontext: true
right:
value:
simple: "3"
accessor: Indicator
transformers:
- operator: uniq
required: false
description: Array of malicious IPs to block.
playbookInputQuery: null
- key: URL
value:
complex:
root: DBotScore
filters:
- - operator: isEqualString
left:
value:
simple: DBotScore.Type
iscontext: true
right:
value:
simple: url
ignorecase: true
- - operator: greaterThanOrEqual
left:
value:
simple: DBotScore.Score
iscontext: true
right:
value:
simple: "3"
accessor: Indicator
transformers:
- operator: uniq
required: false
description: Array of malicious URLs to block.
playbookInputQuery: null
- key: Username
value:
complex:
root: DBotScore
filters:
- - operator: isEqualString
left:
value:
simple: DBotScore.Type
iscontext: true
right:
value:
simple: username
ignorecase: true
- - operator: greaterThanOrEqual
left:
value:
simple: DBotScore.Score
iscontext: true
right:
value:
simple: "3"
accessor: Indicator
required: false
description: Array of malicious usernames to block.
playbookInputQuery: null
- key: MD5
value:
complex:
root: File
accessor: MD5
required: false
description: The MD5 hash of the file you want to block.
playbookInputQuery: null
- key: SHA256
value:
complex:
root: File
accessor: SHA256
required: false
description: The SHA256 hash of the file you want to block.
playbookInputQuery: null
- key: CustomBlockRule
value:
simple: "True"
required: false
description: |-
This input determines whether Palo Alto Networks Panorama or Firewall Custom Block Rules are used.
Specify True to use Custom Block Rules.
playbookInputQuery: null
- key: LogForwarding
value: {}
required: false
description: Panorama log forwarding object name.
playbookInputQuery: null
- key: AutoCommit
value:
simple: "No"
required: false
description: |-
This input determines whether Palo Alto Networks Panorama or Firewall Static Address Groups are used.
Specify the Static Address Group name for IP handling.
playbookInputQuery: null
- key: IPListName
value: {}
required: false
description: |-
This input determines whether Palo Alto Networks Panorama or Firewall External Dynamic Lists are used for blocking IPs.
Specify the EDL name for IP handling.
playbookInputQuery: null
- key: EDLServerIP
value: {}
required: false
description: |-
This input determines whether Palo Alto Networks Panorama or Firewall External Dynamic Lists are used:
* The IP address of the web server on which the files are stored.
* The web server IP address is configured in the integration instance.
playbookInputQuery: null
- key: DAG
value: {}
required: false
description: |-
This input determines whether Palo Alto Networks Panorama or Firewall Dynamic Address Groups are used.
Specify the Dynamic Address Group tag name for IP handling.
playbookInputQuery: null
- key: StaticAddressGroup
value: {}
required: false
description: |-
This input determines whether Palo Alto Networks Panorama or Firewall Static Address Groups are used.
Specify the Static Address Group name for IP handling.
playbookInputQuery: null
- key: URLListName
value:
simple: Demisto Remediation - URL EDL
required: false
description: URL list from the instance context with which to override the remote
file.
playbookInputQuery: null
- key: CustomURLCategory
value:
simple: Demisto Remediation - Malicious URLs
required: false
description: Custom URL Category name.
playbookInputQuery: null
- key: type
value: {}
required: false
description: Custom URL category type. Insert "URL List"/ "Category Match".
playbookInputQuery: null
- key: device-group
value: {}
required: false
description: Device group for the Custom URL Category (Panorama instances).
playbookInputQuery: null
- key: categories
value: {}
required: false
description: The list of categories. Relevant from PAN-OS v9.x.
playbookInputQuery: null
- key: EmailToBlock
value: {}
required: false
description: The email address that you wish to block.
playbookInputQuery: null
- key: DomainToBlock
value: {}
required: false
description: The domain that you wish to block.
playbookInputQuery: null
- key: DomainBlackListID
value: {}
required: false
description: |-
The Domain List ID to add the Domain to.
product: Proofpoint Threat Response
playbookInputQuery: null
outputs:
- contextPath: CheckpointFWRule.Domain
description: Rule domain.
- contextPath: CheckpointFWRule.Enabled
description: Rule status.
- contextPath: CheckpointFWRule.Name
description: Rule name.
- contextPath: CheckpointFWRule.UID
description: Rule UID.
- contextPath: CheckpointFWRule.Type
description: Rule Type.
- contextPath: CheckpointFWRule.DestinationNegate
description: Rule destination negate status (True/False).
- contextPath: CheckpointFWRule.Action
description: 'Rule action (Valid values are: Accept, Drop, Apply Layer, Ask, Info).'
- contextPath: CheckpointFWRule.Destination
description: Rule Destination.
- contextPath: CheckpointFWRule.ActionSetting
description: Rule action settings.
- contextPath: CheckpointFWRule.CustomFields
description: Rule custom fields.
- contextPath: CheckpointFWRule.Data
description: Rule data.
- contextPath: CheckpointFWRule.DataDirection
description: Rule data direction.
- contextPath: CheckpointFWRule.DataNegate
description: Rule data negate status (True/False).
- contextPath: CheckpointFWRule.Hits
description: Rule hits count.
- contextPath: PanoramaRule.Direction
description: Direction of the Panorama rule. Can be 'to','from', 'both'
type: string
- contextPath: PanoramaRule.IP
description: The IP the Panorama rule blocks
type: string
- contextPath: PanoramaRule.Name
description: Name of the Panorama rule
type: string
- contextPath: CheckpointFWRule.Data.Name
description: Rule data object name.
- contextPath: CheckpointFWRule.Data.Domain
description: Information about the domain the data object belongs to.
- contextPath: CheckpointFWRule.Domain.Name
description: Rule domain name.
- contextPath: CheckpointFWRule.Domain.UID
description: Rule domain UID.
- contextPath: CheckpointFWRule.Domain.Type
description: Rule domain type.
- contextPath: CheckpointFWRule.Hits.FirstDate
description: The date of the first hit for the rule.
- contextPath: CheckpointFWRule.Hits.LastDate
description: The date of the last hit for the rule.
- contextPath: CheckpointFWRule.Hits.Level
description: Level of rule hits.
- contextPath: CheckpointFWRule.Hits.Percentage
description: Percentage of rule hits
- contextPath: CheckpointFWRule.Hits.Value
description: Value of rule hits.