forked from demisto/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplaybook-EclecticIQ_Test.yml
949 lines (949 loc) · 21.3 KB
/
playbook-EclecticIQ_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
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
id: EclecticIQ Test
version: -1
name: EclecticIQ Test
starttaskid: "0"
tasks:
"0":
id: "0"
taskid: a67e20ab-ae2b-41e7-8f87-12ac5dad80e9
type: start
task:
id: a67e20ab-ae2b-41e7-8f87-12ac5dad80e9
version: -1
name: ""
iscommand: false
brand: ""
nexttasks:
'#none#':
- "1"
separatecontext: false
view: |-
{
"position": {
"x": 480,
"y": 50
}
}
note: false
timertriggers: []
"1":
id: "1"
taskid: 8861ffa5-f592-43b6-8123-ecf3dcb57101
type: regular
task:
id: 8861ffa5-f592-43b6-8123-ecf3dcb57101
version: -1
name: ip
description: Get reputation of IP address observable
script: EclecticIQ Platform|||ip
type: regular
iscommand: true
brand: EclecticIQ Platform
nexttasks:
'#none#':
- "2"
scriptarguments:
ip:
simple: 8.8.8.8
separatecontext: false
view: |-
{
"position": {
"x": 480,
"y": 195
}
}
note: false
timertriggers: []
"2":
id: "2"
taskid: 958040ed-a141-4bb7-879c-07d691dbf35b
type: condition
task:
id: 958040ed-a141-4bb7-879c-07d691dbf35b
version: -1
name: Verify IP outputs
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "4"
"yes":
- "3"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isEqualString
left:
value:
simple: EclecticIQ.IP.Address
iscontext: true
right:
value:
simple: 8.8.8.8
- - operator: isExists
left:
value:
simple: EclecticIQ.IP.Created
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.IP.LastUpdated
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.IP.ID
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.IP.Maliciousness
iscontext: true
- - operator: isEqualString
left:
value:
simple: IP.Address
iscontext: true
right:
value:
simple: 8.8.8.8
- - operator: isEqualString
left:
value:
simple: DBotScore.Type
iscontext: true
right:
value:
simple: ip
- - operator: isEqualString
left:
value:
simple: DBotScore.Vendor
iscontext: true
right:
value:
simple: EclecticIQ
- - operator: isExists
left:
value:
simple: DBotScore.Score
iscontext: true
- - operator: isEqualString
left:
value:
simple: DBotScore.Indicator
iscontext: true
right:
value:
simple: 8.8.8.8
view: |-
{
"position": {
"x": 480,
"y": 370
}
}
note: false
timertriggers: []
"3":
id: "3"
taskid: 65f761f4-cf19-4671-8a50-9173f609e02e
type: regular
task:
id: 65f761f4-cf19-4671-8a50-9173f609e02e
version: -1
name: url
script: EclecticIQ Platform|||url
type: regular
iscommand: true
brand: EclecticIQ Platform
nexttasks:
'#none#':
- "5"
scriptarguments:
url:
simple: http://chstarkeco.com
separatecontext: false
view: |-
{
"position": {
"x": 265,
"y": 545
}
}
note: false
timertriggers: []
"4":
id: "4"
taskid: a2bf361e-d58c-42ad-8e0a-c70df04d9bdf
type: regular
task:
id: a2bf361e-d58c-42ad-8e0a-c70df04d9bdf
version: -1
name: IP outputs error
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: Didn't get expected IP outputs
separatecontext: false
view: |-
{
"position": {
"x": 695,
"y": 545
}
}
note: false
timertriggers: []
"5":
id: "5"
taskid: 3c7835d6-262a-488a-8615-8f1d7e8db4e4
type: condition
task:
id: 3c7835d6-262a-488a-8615-8f1d7e8db4e4
version: -1
name: Verify URL outputs
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "6"
"yes":
- "7"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isEqualString
left:
value:
simple: EclecticIQ.URL.Data
iscontext: true
right:
value:
simple: http://chstarkeco.com
- - operator: isExists
left:
value:
simple: EclecticIQ.URL.Created
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.URL.LastUpdated
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.URL.ID
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.URL.Maliciousness
iscontext: true
- - operator: isEqualString
left:
value:
simple: URL.Data
iscontext: true
right:
value:
simple: http://chstarkeco.com
- - operator: isEqualString
left:
value:
simple: DBotScore.Type
iscontext: true
right:
value:
simple: url
- - operator: isEqualString
left:
value:
simple: DBotScore.Vendor
iscontext: true
right:
value:
simple: EclecticIQ
- - operator: isExists
left:
value:
simple: DBotScore.Score
iscontext: true
- - operator: isEqualString
left:
value:
simple: DBotScore.Indicator
iscontext: true
right:
value:
simple: http://chstarkeco.com
view: |-
{
"position": {
"x": 265,
"y": 720
}
}
note: false
timertriggers: []
"6":
id: "6"
taskid: 23847cec-dec0-4778-8db8-b781ad2ee108
type: regular
task:
id: 23847cec-dec0-4778-8db8-b781ad2ee108
version: -1
name: URL outputs error
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: Didn't get expected URL outputs
separatecontext: false
view: |-
{
"position": {
"x": 50,
"y": 895
}
}
note: false
timertriggers: []
"7":
id: "7"
taskid: 9ba5db8c-03ec-4c3b-88de-8de8836858b1
type: regular
task:
id: 9ba5db8c-03ec-4c3b-88de-8de8836858b1
version: -1
name: domain
script: EclecticIQ Platform|||domain
type: regular
iscommand: true
brand: EclecticIQ Platform
nexttasks:
'#none#':
- "8"
scriptarguments:
domain:
simple: gooc.om
long: {}
threshold: {}
separatecontext: false
view: |-
{
"position": {
"x": 480,
"y": 895
}
}
note: false
timertriggers: []
"8":
id: "8"
taskid: c94487e1-e32f-4f6b-89aa-8b8f5302ffa4
type: condition
task:
id: c94487e1-e32f-4f6b-89aa-8b8f5302ffa4
version: -1
name: Verify Domain outputs
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "9"
"yes":
- "10"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isEqualString
left:
value:
simple: EclecticIQ.Domain.Name
iscontext: true
right:
value:
simple: gooc.om
- - operator: isExists
left:
value:
simple: EclecticIQ.Domain.Created
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Domain.LastUpdated
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Domain.ID
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Domain.Maliciousness
iscontext: true
- - operator: isEqualString
left:
value:
simple: Domain.Name
iscontext: true
right:
value:
simple: gooc.om
- - operator: isEqualString
left:
value:
simple: DBotScore.Type
iscontext: true
right:
value:
simple: domain
- - operator: isEqualString
left:
value:
simple: DBotScore.Vendor
iscontext: true
right:
value:
simple: EclecticIQ
- - operator: isExists
left:
value:
simple: DBotScore.Score
iscontext: true
- - operator: isEqualString
left:
value:
simple: DBotScore.Indicator
iscontext: true
right:
value:
simple: gooc.om
view: |-
{
"position": {
"x": 480,
"y": 1070
}
}
note: false
timertriggers: []
"9":
id: "9"
taskid: 099cee79-c211-428f-85eb-8b60338439cb
type: regular
task:
id: 099cee79-c211-428f-85eb-8b60338439cb
version: -1
name: Domain outputs error
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: Didn't get expected Domain outputs
separatecontext: false
view: |-
{
"position": {
"x": 265,
"y": 1245
}
}
note: false
timertriggers: []
"10":
id: "10"
taskid: d07f29f6-531e-4492-8f1d-e7ee1258ab07
type: regular
task:
id: d07f29f6-531e-4492-8f1d-e7ee1258ab07
version: -1
name: email
script: EclecticIQ Platform|||email
type: regular
iscommand: true
brand: EclecticIQ Platform
nexttasks:
'#none#':
- "11"
scriptarguments:
email:
simple: disco-team@stealthemail.com
separatecontext: false
view: |-
{
"position": {
"x": 695,
"y": 1245
}
}
note: false
timertriggers: []
"11":
id: "11"
taskid: 5c307681-96f8-4a71-8e5d-127e569e16f5
type: condition
task:
id: 5c307681-96f8-4a71-8e5d-127e569e16f5
version: -1
name: Verify Email outputs
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "12"
"yes":
- "13"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isEqualString
left:
value:
simple: EclecticIQ.Email.Address
iscontext: true
right:
value:
simple: disco-team@stealthemail.com
- - operator: isExists
left:
value:
simple: EclecticIQ.Email.Created
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Email.LastUpdated
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Email.ID
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Email.Maliciousness
iscontext: true
- - operator: isEqualString
left:
value:
simple: Account.Email.Address
iscontext: true
right:
value:
simple: disco-team@stealthemail.com
- - operator: isEqualString
left:
value:
simple: DBotScore.Type
iscontext: true
right:
value:
simple: email
- - operator: isEqualString
left:
value:
simple: DBotScore.Vendor
iscontext: true
right:
value:
simple: EclecticIQ
- - operator: isExists
left:
value:
simple: DBotScore.Score
iscontext: true
- - operator: isEqualString
left:
value:
simple: DBotScore.Indicator
iscontext: true
right:
value:
simple: disco-team@stealthemail.com
view: |-
{
"position": {
"x": 695,
"y": 1420
}
}
note: false
timertriggers: []
"12":
id: "12"
taskid: 93556b4c-2291-4cd6-85c0-1543091dcb9c
type: regular
task:
id: 93556b4c-2291-4cd6-85c0-1543091dcb9c
version: -1
name: Email outputs error
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: Didn't get expected Email outputs
separatecontext: false
view: |-
{
"position": {
"x": 480,
"y": 1595
}
}
note: false
timertriggers: []
"13":
id: "13"
taskid: a05c39f2-ec80-49f2-86ee-e853f0e32938
type: regular
task:
id: a05c39f2-ec80-49f2-86ee-e853f0e32938
version: -1
name: file
script: EclecticIQ Platform|||file
type: regular
iscommand: true
brand: EclecticIQ Platform
nexttasks:
'#none#':
- "14"
scriptarguments:
file:
simple: 00112233445566778899aabbccddeeff
long: {}
separatecontext: false
view: |-
{
"position": {
"x": 910,
"y": 1595
}
}
note: false
timertriggers: []
"14":
id: "14"
taskid: cd1a7ebc-6bd3-41a8-8a97-cb02784de90d
type: condition
task:
id: cd1a7ebc-6bd3-41a8-8a97-cb02784de90d
version: -1
name: Verify File outputs
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "15"
"yes":
- "16"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isEqualString
left:
value:
simple: EclecticIQ.File.MD5
iscontext: true
right:
value:
simple: 00112233445566778899aabbccddeeff
- - operator: isExists
left:
value:
simple: EclecticIQ.File.Created
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.File.LastUpdated
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.File.ID
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.File.Maliciousness
iscontext: true
- - operator: isEqualString
left:
value:
simple: File.MD5
iscontext: true
right:
value:
simple: 00112233445566778899aabbccddeeff
- - operator: isEqualString
left:
value:
simple: DBotScore.Type
iscontext: true
right:
value:
simple: file
- - operator: isEqualString
left:
value:
simple: DBotScore.Vendor
iscontext: true
right:
value:
simple: EclecticIQ
- - operator: isExists
left:
value:
simple: DBotScore.Score
iscontext: true
- - operator: isEqualString
left:
value:
simple: DBotScore.Indicator
iscontext: true
right:
value:
simple: 00112233445566778899aabbccddeeff
view: |-
{
"position": {
"x": 910,
"y": 1770
}
}
note: false
timertriggers: []
"15":
id: "15"
taskid: dccfa2c5-fb2a-432f-809c-a29c2ec08c09
type: regular
task:
id: dccfa2c5-fb2a-432f-809c-a29c2ec08c09
version: -1
name: File outputs error
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: Didn't get expected File outputs
separatecontext: false
view: |-
{
"position": {
"x": 695,
"y": 1945
}
}
note: false
timertriggers: []
"16":
id: "16"
taskid: ba9256d2-0a6c-4430-8784-4d2df78f5f43
type: regular
task:
id: ba9256d2-0a6c-4430-8784-4d2df78f5f43
version: -1
name: Get file observable related entities
script: '|||eclecticiq-get-observable-related-entity'
type: regular
iscommand: true
brand: ""
nexttasks:
'#none#':
- "17"
scriptarguments:
observable_id:
simple: ${EclecticIQ.File.ID}
separatecontext: false
view: |-
{
"position": {
"x": 1125,
"y": 1945
}
}
note: false
timertriggers: []
"17":
id: "17"
taskid: f29f9999-9c1c-4418-8911-447b5f7d5679
type: condition
task:
id: f29f9999-9c1c-4418-8911-447b5f7d5679
version: -1
name: Verify related entities outputs
type: condition
iscommand: false
brand: ""
nexttasks:
'#default#':
- "18"
"yes":
- "19"
separatecontext: false
conditions:
- label: "yes"
condition:
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.Analysis
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.EstimatedObservedTime
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.EstimatedStartTime
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.HalfLife
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.ID
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.Title
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.Exposure.Community
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.Exposure.Detection
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.Exposure.Exposed
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.Exposure.Prevention
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.Exposure.Sighting
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.Source.Name
iscontext: true
- - operator: isExists
left:
value:
simple: EclecticIQ.Entity.Source.Type
iscontext: true
view: |-
{
"position": {
"x": 1125,
"y": 2120
}
}
note: false
timertriggers: []
"18":
id: "18"
taskid: f808c471-66df-4db3-8209-23667d8cdb0b
type: regular
task:
id: f808c471-66df-4db3-8209-23667d8cdb0b
version: -1
name: Related entities outputs error
scriptName: PrintErrorEntry
type: regular
iscommand: false
brand: ""
scriptarguments:
message:
simple: Didn't get expected Related Entities outputs
separatecontext: false
view: |-
{
"position": {
"x": 910,
"y": 2295
}
}
note: false
timertriggers: []
"19":
id: "19"
taskid: 0f0704f5-01f6-45cf-8526-8a910e79698c
type: title
task:
id: 0f0704f5-01f6-45cf-8526-8a910e79698c
version: -1
name: Success !
type: title
iscommand: false
brand: ""
separatecontext: false
view: |-
{
"position": {
"x": 1340,
"y": 2310
}
}
note: false
timertriggers: []
view: |-
{
"linkLabelsPosition": {},
"paper": {
"dimensions": {
"height": 2340,
"width": 1670,
"x": 50,
"y": 50
}
}
}
inputs: []
outputs: []