-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopencti docker-compose
1054 lines (1054 loc) · 44.8 KB
/
opencti docker-compose
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
services:
redis:
image: redis:7.4.0
restart: always
volumes:
- redisdata:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 20
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.16.0
volumes:
- esdata:/usr/share/elasticsearch/data
environment:
# Comment-out the line below for a cluster of multiple nodes
- discovery.type=single-node
# Uncomment the line below below for a cluster of multiple nodes
#- cluster.name=docker-cluster
- xpack.ml.enabled=false
- xpack.security.enabled=false
- thread_pool.search.queue_size=15000
- logger.org.elasticsearch.discovery="ERROR"
- "ES_JAVA_OPTS=-Xms${ELASTIC_MEMORY_SIZE} -Xmx${ELASTIC_MEMORY_SIZE}"
- thread_pool.write.queue_size=10000
ports:
- 9200:9200
- 9300:9300
restart: always
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
healthcheck:
test: curl -s http://elasticsearch:9200 >/dev/null || exit 1
interval: 30s
timeout: 10s
retries: 50
opencti-dev-kibana:
container_name: opencti-dev-kibana
image: docker.elastic.co/kibana/kibana:8.16.0
environment:
- ELASTICSEARCH_HOSTS=http://elasticsearch:9200
restart: unless-stopped
ports:
- "5601:5601"
depends_on:
- elasticsearch
minio:
image: minio/minio:RELEASE.2024-05-28T17-19-04Z # Use "minio/minio:RELEASE.2024-05-28T17-19-04Z-cpuv1" to troubleshoot compatibility issues with CPU
volumes:
- s3data:/data
ports:
- "9000:9000"
environment:
MINIO_ROOT_USER: ${MINIO_ROOT_USER}
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD}
command: server /data
restart: always
healthcheck:
test: ["CMD", "mc", "ready", "local"]
interval: 30s
timeout: 15s
retries: 50
rabbitmq:
image: rabbitmq:3.13-management
hostname: "rabbit01"
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
- RABBITMQ_NODENAME=rabbit01@localhost
- RABBITMQ_ULIMIT_NOFILES=65536
- RABBITMQ_DISK_FREE_LIMIT=50MB
- RABBITMQ_CHANNEL_MAX=2048
ulimits:
nofile:
soft: 65536
hard: 65536
volumes:
- amqpdata:/var/lib/rabbitmq
restart: always
healthcheck:
test: ["CMD-SHELL", "rabbitmq-diagnostics -q ping"]
interval: 30s
timeout: 30s
retries: 5
ports:
- "5672:5672"
- "15672:15672"
opencti:
image: opencti/platform:6.4.1
environment:
- NODE_OPTIONS=--max-old-space-size=32000
- APP__PORT=8080
- APP__BASE_URL=${OPENCTI_BASE_URL}
- APP__ADMIN__EMAIL=${OPENCTI_ADMIN_EMAIL}
- APP__ADMIN__PASSWORD=${OPENCTI_ADMIN_PASSWORD}
- APP__ADMIN__TOKEN=${OPENCTI_ADMIN_TOKEN}
- APP__APP_LOGS__LOGS_LEVEL=error
- REDIS__HOSTNAME=redis
- REDIS__PORT=6379
- ELASTICSEARCH__URL=http://elasticsearch:9200
- MINIO__ENDPOINT=minio
- MINIO__PORT=9000
- MINIO__USE_SSL=false
- MINIO__ACCESS_KEY=${MINIO_ROOT_USER}
- MINIO__SECRET_KEY=${MINIO_ROOT_PASSWORD}
- RABBITMQ__HOSTNAME=rabbitmq
- RABBITMQ__PORT=5672
- RABBITMQ__PORT_MANAGEMENT=15672
- RABBITMQ__MANAGEMENT_SSL=false
- RABBITMQ__USERNAME=${RABBITMQ_DEFAULT_USER}
- RABBITMQ__PASSWORD=${RABBITMQ_DEFAULT_PASS}
- SMTP__HOSTNAME=${SMTP_HOSTNAME}
- SMTP__PORT=25
- PROVIDERS__LOCAL__STRATEGY=LocalStrategy
- APP__HEALTH_ACCESS_KEY=${OPENCTI_HEALTHCHECK_ACCESS_KEY}
ports:
- "8080:8080"
depends_on:
redis:
condition: service_healthy
elasticsearch:
condition: service_healthy
minio:
condition: service_healthy
rabbitmq:
condition: service_healthy
restart: always
healthcheck:
test: ["CMD", "wget", "-qO-", "http://opencti:8080/health?health_access_key=${OPENCTI_HEALTHCHECK_ACCESS_KEY}"]
interval: 120s
timeout: 60s
retries: 20
worker:
image: opencti/worker:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- WORKER_LOG_LEVEL=info
depends_on:
opencti:
condition: service_healthy
deploy:
mode: replicated
replicas: ${NUMBER_WORKERS}
restart: always
connector-export-file-stix:
image: opencti/connector-export-file-stix:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_STIX_ID} # Valid UUIDv4
- CONNECTOR_TYPE=INTERNAL_EXPORT_FILE
- CONNECTOR_NAME=ExportFileStix2
- CONNECTOR_SCOPE=application/json
- CONNECTOR_LOG_LEVEL=info
restart: always
depends_on:
opencti:
condition: service_healthy
connector-export-file-csv:
image: opencti/connector-export-file-csv:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_CSV_ID} # Valid UUIDv4
- CONNECTOR_TYPE=INTERNAL_EXPORT_FILE
- CONNECTOR_NAME=ExportFileCsv
- CONNECTOR_SCOPE=text/csv
- CONNECTOR_LOG_LEVEL=info
restart: always
depends_on:
opencti:
condition: service_healthy
connector-export-file-txt:
image: opencti/connector-export-file-txt:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=${CONNECTOR_EXPORT_FILE_TXT_ID} # Valid UUIDv4
- CONNECTOR_TYPE=INTERNAL_EXPORT_FILE
- CONNECTOR_NAME=ExportFileTxt
- CONNECTOR_SCOPE=text/plain
- CONNECTOR_LOG_LEVEL=info
restart: always
depends_on:
opencti:
condition: service_healthy
connector-import-file-stix:
image: opencti/connector-import-file-stix:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=${CONNECTOR_IMPORT_FILE_STIX_ID} # Valid UUIDv4
- CONNECTOR_TYPE=INTERNAL_IMPORT_FILE
- CONNECTOR_NAME=ImportFileStix
- CONNECTOR_VALIDATE_BEFORE_IMPORT=true # Validate any bundle before import
- CONNECTOR_SCOPE=application/json,text/xml
- CONNECTOR_AUTO=true # Enable/disable auto-import of file
- CONNECTOR_LOG_LEVEL=info
restart: always
depends_on:
opencti:
condition: service_healthy
connector-import-document:
image: opencti/connector-import-document:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=${CONNECTOR_IMPORT_DOCUMENT_ID} # Valid UUIDv4
- CONNECTOR_TYPE=INTERNAL_IMPORT_FILE
- CONNECTOR_NAME=ImportDocument
- CONNECTOR_VALIDATE_BEFORE_IMPORT=true # Validate any bundle before import
- CONNECTOR_SCOPE=application/pdf,text/plain,text/html
- CONNECTOR_AUTO=true # Enable/disable auto-import of file
- CONNECTOR_ONLY_CONTEXTUAL=false # Only extract data related to an entity (a report, a threat actor, etc.)
- CONNECTOR_CONFIDENCE_LEVEL=15 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=info
- IMPORT_DOCUMENT_CREATE_INDICATOR=true
restart: always
depends_on:
opencti:
condition: service_healthy
connector-analysis:
image: opencti/connector-import-document:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=${CONNECTOR_ANALYSIS_ID} # Valid UUIDv4
- CONNECTOR_TYPE=INTERNAL_ANALYSIS
- CONNECTOR_NAME=ImportDocumentAnalysis
- CONNECTOR_VALIDATE_BEFORE_IMPORT=false # Validate any bundle before import
- CONNECTOR_SCOPE=application/pdf,text/plain,text/html
- CONNECTOR_AUTO=true # Enable/disable auto-import of file
- CONNECTOR_ONLY_CONTEXTUAL=false # Only extract data related to an entity (a report, a threat actor, etc.)
- CONNECTOR_CONFIDENCE_LEVEL=15 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=info
restart: always
depends_on:
opencti:
condition: service_healthy
connector-abuse-ssl:
image: opencti/connector-abuse-ssl:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=07f79777-5645-4574-90a7-a102019eaa39
- "CONNECTOR_NAME=Abuse.ch SSL Blacklist"
- CONNECTOR_SCOPE=abusessl
- CONNECTOR_LOG_LEVEL=error
- ABUSESSL_URL=https://sslbl.abuse.ch/blacklist/sslipblacklist.csv
- ABUSESSL_INTERVAL=360 # Time to wait in minutes between subsequent requests
restart: always
depends_on:
opencti:
condition: service_healthy
connector-abuseipdb-ipblacklist:
image: opencti/connector-abuseipdb-ipblacklist:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=2c0ce411-c0ba-4626-950c-a893d8a79a15
- "CONNECTOR_NAME=AbuseIPDB IP Blacklist"
- CONNECTOR_SCOPE=abuseipdb
- CONNECTOR_LOG_LEVEL=error
- ABUSEIPDB_URL=https://api.abuseipdb.com/api/v2/blacklist
- ABUSEIPDB_API_KEY=${ABUSE_API_KEY}
- ABUSEIPDB_SCORE=100
- ABUSEIPDB_LIMIT=100000
- ABUSEIPDB_INTERVAL=2 #Day
restart: always
depends_on:
opencti:
condition: service_healthy
connector-alienvault:
image: opencti/connector-alienvault:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=df4954e0-5df2-4959-a5a6-8388fd5b3d2a
- CONNECTOR_NAME=AlienVault
- CONNECTOR_SCOPE=alienvault
- CONNECTOR_LOG_LEVEL=error
- CONNECTOR_DURATION_PERIOD=PT30M # In ISO8601 Format starting with "P" for Period ex: "PT30M" = Period time of 30 minutes
- ALIENVAULT_BASE_URL=https://otx.alienvault.com
- ALIENVAULT_API_KEY=4987587e9dafc1dff6cd77067eba20e9a360a3740b21761b103bfcd747da75ea
- ALIENVAULT_TLP=White
- ALIENVAULT_CREATE_OBSERVABLES=true
- ALIENVAULT_CREATE_INDICATORS=true
- ALIENVAULT_PULSE_START_TIMESTAMP=2022-01-01T00:00:00 # BEWARE! Could be a lot of pulses!
- ALIENVAULT_REPORT_TYPE=threat-report
- ALIENVAULT_REPORT_STATUS=New
- ALIENVAULT_GUESS_MALWARE=true # Use tags to guess malware.
- ALIENVAULT_GUESS_CVE=true # Use tags to guess CVE.
- ALIENVAULT_EXCLUDED_PULSE_INDICATOR_TYPES=FileHash-MD5,FileHash-SHA1 # Excluded Pulse indicator types.
- ALIENVAULT_ENABLE_RELATIONSHIPS=true # Enable/Disable relationship creation between SDOs.
- ALIENVAULT_ENABLE_ATTACK_PATTERNS_INDICATES=TRUE # Enable/Disable "indicates" relationships between indicators and attack patterns
- ALIENVAULT_INTERVAL_SEC=1800
- ALIENVAULT_DEFAULT_X_OPENCTI_SCORE=50
- ALIENVAULT_X_OPENCTI_SCORE_IP=60
- ALIENVAULT_X_OPENCTI_SCORE_DOMAIN=70
- ALIENVAULT_X_OPENCTI_SCORE_HOSTNAME=75
- ALIENVAULT_X_OPENCTI_SCORE_EMAIL=70
- ALIENVAULT_X_OPENCTI_SCORE_FILE=85
- ALIENVAULT_X_OPENCTI_SCORE_URL=80
- ALIENVAULT_X_OPENCTI_SCORE_MUTEX=60
- ALIENVAULT_X_OPENCTI_SCORE_CRYPTOCURRENCY_WALLET=80
- CONNECTOR_QUEUE_THRESHOLD=6000
restart: always
depends_on:
opencti:
condition: service_healthy
connector-chapsvision:
image: opencti/connector-chapsvision:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=d60fcc51-40af-463c-a5f9-1b330c344f40
- CONNECTOR_NAME=Chapsvision
- CONNECTOR_SCOPE=chapsvision
- CONNECTOR_RUN_AND_TERMINATE=false
- CONNECTOR_LOG_LEVEL=error
- CHAPSVISION_CERTIFICATE=Certificate_base64
- CHAPSVISION_KEY=Key_base64
- CHAPSVISION_QUERY_PARAMETER=_params
- CHAPSVISION_START_DATE=2000-01-01
- CHAPSVISION_INTERVAL=5 # In minutes
restart: always
depends_on:
opencti:
condition: service_healthy
connector-cisa-known-exploited-vulnerabilities:
image: opencti/connector-cisa-known-exploited-vulnerabilities:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=8ae094b7-4141-49ee-aefd-c8337ee0fd37
- "CONNECTOR_NAME=CISA Known Exploited Vulnerabilities"
- CONNECTOR_SCOPE=cisa
- CONNECTOR_RUN_AND_TERMINATE=false
- CONNECTOR_LOG_LEVEL=error
- CONNECTOR_DURATION_PERIOD=P2D
- CISA_CATALOG_URL=https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json
- CISA_CREATE_INFRASTRUCTURES=true
- CISA_TLP=TLP:CLEAR
restart: always
depends_on:
opencti:
condition: service_healthy
connector-cpe:
image: opencti/connector-cpe:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=da94db34-1718-44fe-929c-406e5c2385b6
- CONNECTOR_TYPE=EXTERNAL_IMPORT
- CONNECTOR_NAME=Common Platform Enumeration
- CONNECTOR_SCOPE=software
- CONNECTOR_LOG_LEVEL=info
- CPE_BASE_URL=https://services.nvd.nist.gov/rest/json/cpes/2.0
- NIST_API_KEY=${NVD_API} # Required
- CPE_INTERVAL=6h # Required, in hours advice min 6
restart: always
depends_on:
opencti:
condition: service_healthy
connector-cve:
image: opencti/connector-cve:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=784477da-0a58-451a-a497-83094d463dcb
- CONNECTOR_NAME=Common Vulnerabilities and Exposures
- CONNECTOR_SCOPE=identity,vulnerability
- CONNECTOR_RUN_AND_TERMINATE=false
- CONNECTOR_LOG_LEVEL=error
- CVE_BASE_URL=https://services.nvd.nist.gov/rest/json/cves
- CVE_API_KEY=${NVD_API} # Required
- CVE_INTERVAL=1 # Required, in hours advice min 2
- CVE_MAX_DATE_RANGE=120 # In days, max 120
- CVE_MAINTAIN_DATA=true # Required, retrieve only updated data
- CVE_PULL_HISTORY=true # If true, CVE_HISTORY_START_YEAR is required
- CVE_HISTORY_START_YEAR=1999 # Required if pull_history is True, min 2019 (see documentation CVE and CVSS base score V3.1)
restart: always
depends_on:
opencti:
condition: service_healthy
connector-cyber-campaign-collection:
image: opencti/connector-cyber-campaign-collection:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=4e102c93-27e8-421a-866e-5637e0ccf29a
- "CONNECTOR_NAME=APT & Cybercriminals Campaign Collection"
- CONNECTOR_SCOPE=report
- CONNECTOR_RUN_AND_TERMINATE=false
- CONNECTOR_LOG_LEVEL=error
- CYBER_MONITOR_GITHUB_TOKEN= # If not provided, rate limit will be very low
- CYBER_MONITOR_FROM_YEAR=2000
- CYBER_MONITOR_INTERVAL=2 # In days, must be strictly greater than 1
restart: always
depends_on:
opencti:
condition: service_healthy
connector-disarm-framework:
image: opencti/connector-disarm-framework:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=9ddc7ee7-1b31-4734-8e4a-9a8c4db98b84
- "CONNECTOR_NAME=DISARM Framework"
- CONNECTOR_SCOPE=marking-definition,identity,attack-pattern,course-of-action,intrusion-set,campaign,malware,tool,report,narrative,event,channel
- CONNECTOR_RUN_AND_TERMINATE=false
- CONNECTOR_LOG_LEVEL=error
- DISARM_FRAMEWORK_URL=https://raw.githubusercontent.com/DISARMFoundation/DISARMframeworks/main/generated_files/DISARM_STIX/DISARM.json
- DISARM_FRAMEWORK_INTERVAL=2 # In days, must be strictly greater than 1
restart: always
depends_on:
opencti:
condition: service_healthy
connector-greynoise-feed:
image: opencti/connector-greynoise-feed:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=73e2d485-c8a8-4a83-a5cc-4b097fcaca77 # Valid UUIDv4
- CONNECTOR_TYPE=EXTERNAL_IMPORT
- CONNECTOR_NAME=GreyNoiseFeed
- CONNECTOR_SCOPE=greynoisefeed
- CONNECTOR_LOG_LEVEL=info
- GREYNOISE_API_KEY=${GREYNOISE_API}
- GREYNOISE_FEED_TYPE=malicious
- GREYNOISE_INDICATOR_SCORE_MALICIOUS=75
- GREYNOISE_INDICATOR_SCORE_BENIGN=20
- "GREYNOISE_NAME=GreyNoise Feed"
- "GREYNOISE_DESCRIPTION=GreyNoise collects and analyzes untargeted, widespread, and opportunistic scan and attack activity that reaches every server directly connected to the Internet."
- GREYNOISE_LIMIT=100000
- GREYNOISE_IMPORT_METADATA=false
- GREYNOISE_INTERVAL=1 # In hours (the connector will always pull last 2 days each run)
restart: always
depends_on:
opencti:
condition: service_healthy
connector-malpedia:
image: opencti/connector-malpedia:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=b9d88f1e-25d0-4210-b671-da96470c71ab
- CONNECTOR_NAME=Malpedia
- CONNECTOR_SCOPE=malpedia
- CONNECTOR_LOG_LEVEL=error
- CONNECTOR_EXPOSE_METRICS=false
- "MALPEDIA_AUTH_KEY= # Empty key only fetches TLP:WHITE information"
- MALPEDIA_INTERVAL_SEC=3600 # Run once every day
- MALPEDIA_IMPORT_INTRUSION_SETS=true
- MALPEDIA_IMPORT_YARA=true
- MALPEDIA_CREATE_INDICATORS=true
- MALPEDIA_CREATE_OBSERVABLES=true
restart: always
depends_on:
opencti:
condition: service_healthy
connector-malwarebazaar-recent-additions:
image: opencti/connector-malwarebazaar-recent-additions:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=aa2c4b4c-bad7-48d0-bd17-401c589ae70b
- "CONNECTOR_NAME=MalwareBazaar Recent Additions"
- CONNECTOR_LOG_LEVEL=error
- MALWAREBAZAAR_RECENT_ADDITIONS_API_URL=https://mb-api.abuse.ch/api/v1/
- MALWAREBAZAAR_RECENT_ADDITIONS_COOLDOWN_SECONDS=300 # Time to wait in seconds between subsequent requests
- MALWAREBAZAAR_RECENT_ADDITIONS_INCLUDE_TAGS=exe,dll,docm,docx,doc,xls,xlsx,xlsm,js # (Optional) Only download files if any tag matches. (Comma separated)
- MALWAREBAZAAR_RECENT_ADDITIONS_INCLUDE_REPORTERS= # (Optional) Only download files uploaded by these reporters. (Comma separated)
- MALWAREBAZAAR_RECENT_ADDITIONS_LABELS=malware-bazaar # (Optional) Labels to apply to uploaded Artifacts. (Comma separated)
- MALWAREBAZAAR_RECENT_ADDITIONS_LABELS_COLOR=#54483b # Color to use for labels
restart: always
depends_on:
opencti:
condition: service_healthy
connector-mitre-atlas:
image: opencti/connector-mitre-atlas:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=e82c9f03-e0c4-430f-9882-95f1cfaec84e
- "CONNECTOR_NAME=MITRE ATLAS"
- CONNECTOR_SCOPE=identity,attack-pattern,course-of-action,relationship,x-mitre-collection,x-mitre-matrix,x-mitre-tactic
- CONNECTOR_CONFIDENCE_LEVEL=75 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_RUN_AND_TERMINATE=false
- CONNECTOR_LOG_LEVEL=error
- MITRE_ATLAS_URL=https://raw.githubusercontent.com/mitre-atlas/atlas-navigator-data/main/dist/stix-atlas.json
- MITRE_ATLAS_INTERVAL=2 # In days, must be strictly greater than 1
restart: always
depends_on:
opencti:
condition: service_healthy
connector-mitre:
image: opencti/connector-mitre:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=358ab394-7496-494d-b040-52d64b69de63
- "CONNECTOR_NAME=MITRE Datasets"
- CONNECTOR_SCOPE=tool,report,malware,identity,campaign,intrusion-set,attack-pattern,course-of-action,x-mitre-data-source,x-mitre-data-component,x-mitre-matrix,x-mitre-tactic,x-mitre-collection
- CONNECTOR_RUN_AND_TERMINATE=false
- CONNECTOR_LOG_LEVEL=error
- MITRE_REMOVE_STATEMENT_MARKING=true
- MITRE_INTERVAL=2 # In days
restart: always
depends_on:
opencti:
condition: service_healthy
connector-phishunt:
image: opencti/connector-phishunt:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=903a2c73-4748-4010-9f79-2ff07bc2b1d5
- CONNECTOR_NAME=Phishunt
- CONNECTOR_SCOPE=phishunt
- CONNECTOR_CONFIDENCE_LEVEL=40 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- PHISHUNT_API_KEY= # Optional, if not provided, consume only https://phishunt.io/feed.txt
- PHISHUNT_CREATE_INDICATORS=true
- PHISHUNT_DEFAULT_X_OPENCTI_SCORE=40 # Optional: default is 40
- PHISHUNT_X_OPENCTI_SCORE_DOMAIN=40 # Optional
- PHISHUNT_X_OPENCTI_SCORE_IP=40 # Optional
- PHISHUNT_X_OPENCTI_SCORE_URL=60 # Optional
- PHISHUNT_INTERVAL=2 # In days, must be strictly greater than 1
restart: always
depends_on:
opencti:
condition: service_healthy
connector-ransomware:
image: opencti/connector-ransomwarelive:6.4.1
container_name: ransomware-connector
environment:
# Connector's definition parameters:
- CONNECTOR_NAME=Ransomware Connector
- CONNECTOR_SCOPE=identity,attack-pattern,course-of-action,intrusion-set,malware,tool,report
# Connector's generic execution parameters:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} #generate user token
- CONNECTOR_ID=79ec0b54-0b56-4c7f-b2eb-99dd1e9b2b6f #Valid UUIDv4 tokem
- CONNECTOR_CONFIDENCE_LEVEL=100 # From 0 (Unknown) to 100 (Fully trusted).
- CONNECTOR_LOG_LEVEL=info # Log level: debug, info, warn, error
- CONNECTOR_UPDATE_EXISTING_DATA=true
- CONNECTOR_PULL_HISTORY=true # If true, the connector will pull the history of the data. But it is not recommended to set it to true as there will a large influx of data.
- CONNECTOR_HISTORY_START_YEAR=2020 # Data only goes back till 2020
- CONNECTOR_RUN_EVERY=10m # 10 minutes will be the ideal time
# Connector's custom execution parameters:
restart: always
depends_on:
opencti:
condition: service_healthy
connector-redflag-domains:
image: opencti/connector-red-flag-domains:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=7236bc06-88f6-4b3d-8c3a-8dd29ff395d0
- "CONNECTOR_NAME=Red Flag Domains"
- CONNECTOR_SCOPE=red-flag-domains
- CONNECTOR_CONFIDENCE_LEVEL=70
- UPDATE_EXISTING_DATA=False
- CONNECTOR_LOG_LEVEL=info
- REDFLAGDOMAINS_URL=https://dl.red.flag.domains/daily/
restart: always
depends_on:
opencti:
condition: service_healthy
connector-stopforumspam:
image: opencti/connector-stopforumspam:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=e9adc479-7716-4d1e-affd-0b5459634570
- CONNECTOR_NAME=Stopforumspam
- CONNECTOR_SCOPE=stopforumspam
- CONNECTOR_CONFIDENCE_LEVEL=60 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- STOPFORUMSPAM_URL=https://www.stopforumspam.com/downloads/toxic_domains_whole_filtered_50000.txt
- STOPFORUMSPAM_CREATE_INDICATORS=true
- STOPFORUMSPAM_INTERVAL=2 # In days, must be strictly greater than 1
restart: always
depends_on:
opencti:
condition: service_healthy
connector-tweetfeed:
image: opencti/connector-tweetfeed:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=16eed6df-eb02-4b41-8873-b3c97f9cf9f5
- CONNECTOR_NAME=Tweetfeed
- CONNECTOR_SCOPE=tweetfeed
- CONNECTOR_CONFIDENCE_LEVEL=15
- CONNECTOR_LOG_LEVEL=error
- TWEETFEED_CONFIDENCE_LEVEL=15 # From 0 (Unknown) to 100 (Fully trusted)
- TWEETFEED_CREATE_INDICATORS=true
- TWEETFEED_CREATE_OBSERVABLES=true
- TWEETFEED_INTERVAL=1
- TWEETFEED_UPDATE_EXISTING_DATA=true
- "TWEETFEED_ORG_DESCRIPTION=Tweetfeed, a connector to import IOC from Twitter."
- TWEETFEED_ORG_NAME=Tweetfeed
- TWEETFEED_DAYS_BACK_IN_TIME=365 # Number of days to retrieve data back in time
restart: always
depends_on:
opencti:
condition: service_healthy
connector-urlhaus-recent-payloads:
image: opencti/connector-urlhaus-recent-payloads:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=976b2e2e-f7e8-4e81-a0e5-d7543b0ba479
- "CONNECTOR_NAME=URLhaus Recent Payloads"
- CONNECTOR_CONFIDENCE_LEVEL=50 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- URLHAUS_RECENT_PAYLOADS_API_URL=https://urlhaus-api.abuse.ch/v1/
- URLHAUS_RECENT_PAYLOADS_COOLDOWN_SECONDS=300 # Time to wait in seconds between subsequent requests
- URLHAUS_RECENT_PAYLOADS_INCLUDE_FILETYPES=exe,dll,docm,docx,doc,xls,xlsx,xlsm,js,xll # (Optional) Only download files if any tag matches. (Comma separated)
- URLHAUS_RECENT_PAYLOADS_INCLUDE_SIGNATURES= # (Optional) Only download files matching these Yara rules. (Comma separated)
- URLHAUS_RECENT_PAYLOADS_SKIP_UNKNOWN_FILETYPES=true # Skip files with an unknown file type
- URLHAUS_RECENT_PAYLOADS_SKIP_NULL_SIGNATURE=true # Skip files that didn't match known Yara rules
- URLHAUS_RECENT_PAYLOADS_LABELS=urlhaus # (Optional) Labels to apply to uploaded Artifacts. (Comma separated)
- URLHAUS_RECENT_PAYLOADS_LABELS_COLOR=#54483b
- URLHAUS_RECENT_PAYLOADS_SIGNATURE_LABEL_COLOR=#0059f7 # Color for Yara rule match label
- URLHAUS_RECENT_PAYLOADS_FILETYPE_LABEL_COLOR=#54483b # Color to use for filetype label
restart: always
depends_on:
opencti:
condition: service_healthy
connector-urlhaus:
image: opencti/connector-urlhaus:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=2817c6c2-4fbf-4f82-b18a-a4bad448adae
- "CONNECTOR_NAME=Abuse.ch URLhaus"
- CONNECTOR_SCOPE=urlhaus
- CONNECTOR_CONFIDENCE_LEVEL=40 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- URLHAUS_CSV_URL=https://urlhaus.abuse.ch/downloads/csv_recent/
- URLHAUS_DEFAULT_X_OPENCTI_SCORE=80 # Optional: Defaults to 80.
- URLHAUS_IMPORT_OFFLINE=true
- URLHAUS_THREATS_FROM_LABELS=true
- URLHAUS_INTERVAL=2 # In days, must be strictly greater than 1
restart: always
depends_on:
opencti:
condition: service_healthy
connector-vxvault:
image: opencti/connector-vxvault:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=9b4abf72-77d4-406e-849f-b72b9a2d3b7c
- "CONNECTOR_NAME=VX Vault URL list"
- CONNECTOR_SCOPE=vxvault
- CONNECTOR_LOG_LEVEL=error
- VXVAULT_URL=https://vxvault.net/URL_List.php
- VXVAULT_CREATE_INDICATORS=true
- VXVAULT_INTERVAL=2 # In days, must be strictly greater than 1
- VXVAULT_SSL_VERIFY=False
restart: always
depends_on:
opencti:
condition: service_healthy
connector-abuseipdb:
image: opencti/connector-abuseipdb:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=72b59590-a10d-4608-b781-24363a6acd59
- CONNECTOR_NAME=AbuseIPDB
- CONNECTOR_SCOPE=IPv4-Addr
- CONNECTOR_AUTO=true
- CONNECTOR_CONFIDENCE_LEVEL=15 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- ABUSEIPDB_API_KEY=${ABUSE_API_KEY}
- ABUSEIPDB_MAX_TLP=TLP:AMBER
restart: always
depends_on:
opencti:
condition: service_healthy
connector-crowdsec:
image: opencti/connector-crowdsec:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080 # OpenCTI API URL
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} # Add OpenCTI API token here
- CONNECTOR_ID=0e9cf639-9c4f-452d-a3c3-f0e5737028f5 # Add CrowdSec connector ID (any valid UUID v4)
- CONNECTOR_TYPE=INTERNAL_ENRICHMENT
- CONNECTOR_SCOPE=IPv4-Addr,IPv6-Addr # MIME type or Stix Object
- CONNECTOR_CONFIDENCE_LEVEL=100 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- CONNECTOR_UPDATE_EXISTING_DATA=true
- CONNECTOR_NAME=CrowdSec
- CROWDSEC_KEY=${CROWDSEC_API_KEY} # Add CrowdSec's CTI API Key
- CROWDSEC_API_VERSION=v2 #v2 is the only supported version for now
restart: always
depends_on:
opencti:
condition: service_healthy
connector-dnstwist:
image: opencti/connector-dnstwist:6.4.1
environment:
- CONNECTOR_NAME=DNS_TWISTER
- CONNECTOR_SCOPE=Domain-Name
# Connector's generic execution parameters:
- OPENCTI_URL=http://opencti:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} ## connector token
- CONNECTOR_ID=573262dd-22f2-439d-a580-3bff4f6b81b3 # UUID of the connector
- CONNECTOR_CONFIDENCE_LEVEL=100 # From 0 (Unknown) to 100 (Fully trusted).
- CONNECTOR_LOG_LEVEL=info
- CONNECTOR_AUTO=false # don't run the connector automatically, you will flood your opencti instance
- CONNECTOR_FETCH_REGISTERED=true # takes true or false; gives the ability to control the dnstwister domain selection
- CONNECTOR_DNS_TWIST_THREADS=10 #number of threads to use for dnstwist; default is 20
- CONNECTOR_UPDATE_EXISTING_DATA=true
restart: always
depends_on:
opencti:
condition: service_healthy
connector-first-epss:
image: opencti/connector-first-epss:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
# Connector's definition parameters REQUIRED
- CONNECTOR_ID=403bccd5-5392-4661-995d-a3b216589931
- "CONNECTOR_NAME=FIRST EPSS"
- CONNECTOR_SCOPE=vulnerability
- CONNECTOR_LOG_LEVEL=error
- CONNECTOR_AUTO=true
- FIRST_EPSS_API_BASE_URL=https://api.first.org/data/v1/epss
- FIRST_EPSS_MAX_TLP=TLP:CLEAR # Available values: TLP:CLEAR, TLP:WHITE, TLP:GREEN, TLP:AMBER, TLP:AMBER+STRICT, TLP:RED
restart: always
depends_on:
opencti:
condition: service_healthy
connector-google-dns:
image: opencti/connector-google-dns:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=e51d3fe9-0c6d-4af6-b9c8-e0d3b695e74d
- CONNECTOR_NAME=Google DNS
- CONNECTOR_SCOPE=Domain-Name,Hostname # MIME type or Stix Object
- CONNECTOR_AUTO=true
- CONNECTOR_CONFIDENCE_LEVEL=100 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
restart: always
depends_on:
opencti:
condition: service_healthy
connector-greynoise-vuln:
image: opencti/connector-greynoise-vuln:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=929dc62f-5dc3-4a49-b8dc-80c24f4bc049
- CONNECTOR_NAME=GreyNoise
- CONNECTOR_SCOPE=vulnerability
- CONNECTOR_AUTO=true
- CONNECTOR_LOG_LEVEL=error
- GREYNOISE_KEY=${GREYNOISE_API}
- GREYNOISE_MAX_TLP=TLP:AMBER
- "GREYNOISE_NAME=GreyNoise Internet Scanner"
- "GREYNOISE_DESCRIPTION=GreyNoise collects and analyzes opportunistic scan and attack activity for devices connected directly to the Internet."
restart: always
depends_on:
opencti:
condition: service_healthy
connector-hygiene:
image: opencti/connector-hygiene:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=35f8b5b9-e7a8-4ced-8c06-19e984ffde2d
- CONNECTOR_NAME=Hygiene
- CONNECTOR_SCOPE=IPv4-Addr,IPv6-Addr,Domain-Name,StixFile,Artifact
- CONNECTOR_AUTO=true
- CONNECTOR_CONFIDENCE_LEVEL=15 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- HYGIENE_WARNINGLISTS_SLOW_SEARCH=false # Enable warning lists slow search mode
- HYGIENE_ENRICH_SUBDOMAINS=false # Enrich subdomains with hygiene_parent label if the parents are found in warninglists
restart: always
depends_on:
opencti:
condition: service_healthy
connector-ipinfo:
image: opencti/connector-ipinfo:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=9d6acd6d-7b9e-414a-ac59-bae8240a5811
- CONNECTOR_NAME=IpInfo
- CONNECTOR_SCOPE=IPv4-Addr,IPv6-Addr
- CONNECTOR_AUTO=true
- CONNECTOR_CONFIDENCE_LEVEL=75 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- IPINFO_TOKEN=${IPINFO_API_KEY}
- IPINFO_MAX_TLP=TLP:AMBER
- IPINFO_USE_ASN_NAME=true # Set false if you want ASN name to be just the number e.g. AS8075
restart: always
depends_on:
opencti:
condition: service_healthy
connector-ipqs:
image: opencti/connector-ipqs:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=9b2f117d-8ab4-4b5c-af7b-e4cdcfcf6486
- CONNECTOR_NAME=IPQS Fraud and Risk Scoring
- CONNECTOR_SCOPE=Domain-Name,IPv4-Addr,Email-Addr,Url,Phone-Number
- CONNECTOR_AUTO=true
- CONNECTOR_CONFIDENCE_LEVEL=15 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- IPQS_PRIVATE_KEY=${IPQS_PRIVATE_KEY}
- IPQS_BASE_URL=https://ipqualityscore.com/api/json
# IP specific config settings
- IPQS_IP_ADD_RELATIONSHIPS=true # Whether or not to add ASN relationships
# Domain specific config settings
- IPQS_DOMAIN_ADD_RELATIONSHIPS=true # Whether or not to add IP resolution relationships
restart: always
depends_on:
opencti:
condition: service_healthy
connector-shodan-internetdb:
image: opencti/connector-shodan-internetdb:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=7a63de74-83ce-46a5-87c7-25960114b9c7
- CONNECTOR_NAME=Shodan InternetDB
- CONNECTOR_SCOPE=IPv4-Addr
- CONNECTOR_AUTO=true
- CONNECTOR_LOG_LEVEL=error
- SHODAN_MAX_TLP=TLP:CLEAR
- SHODAN_SSL_VERIFY=true
restart: always
depends_on:
opencti:
condition: service_healthy
connector-shodan:
image: opencti/connector-shodan:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=0936be10-d245-49da-aff1-0160392730eb
- CONNECTOR_NAME=Shodan
- CONNECTOR_SCOPE=IPv4-Addr,Indicator
- CONNECTOR_AUTO=true
- CONNECTOR_LOG_LEVEL=error
- SHODAN_TOKEN=${SHODAN_TOKEN}
- SHODAN_MAX_TLP=TLP:AMBER
- SHODAN_DEFAULT_SCORE=50
- SHODAN_IMPORT_SEARCH_RESULTS=true
- SHODAN_CREATE_NOTE=true # Add results to note rather than description
restart: always
depends_on:
opencti:
condition: service_healthy
connector-urlscan-enrichment:
image: opencti/connector-urlscan-enrichment:6.4.1
environment:
# OpenCTI's generic execution parameters:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
# Connector's generic execution parameters:
- CONNECTOR_ID=aba9355e-a273-476a-983b-3928d7df354d
- CONNECTOR_NAME=Urlscan
- CONNECTOR_SCOPE=url,ipv4-addr,ipv6-addr
- CONNECTOR_AUTO=true
- CONNECTOR_LOG_LEVEL=error
# Connector's custom execution parameters:
- URLSCAN_ENRICHMENT_API_KEY=${URLSCAN_ENRICHMENT_API_KEY}
- URLSCAN_ENRICHMENT_API_BASE_URL=https://urlscan.io/api/v1/
- URLSCAN_ENRICHMENT_IMPORT_SCREENSHOT=true
- URLSCAN_ENRICHMENT_VISIBILITY=public # Available values : public, unlisted, private
- URLSCAN_ENRICHMENT_SEARCH_FILTERED_BY_DATE=>now-1y # Available : ">now-1h", ">now-1d", ">now-1y", "[2022 TO 2023]", "[2022/01/01 TO 2023/12/01]"
- URLSCAN_ENRICHMENT_MAX_TLP=TLP:AMBER # Required, Available values: TLP:CLEAR, TLP:WHITE, TLP:GREEN, TLP:AMBER, TLP:AMBER+STRICT, TLP:RED
restart: always
depends_on:
opencti:
condition: service_healthy
connector-virustotal-downloader:
image: opencti/connector-virustotal-downloader:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=07024e4b-6377-4af0-8c0f-b8b272daf8af
- "CONNECTOR_NAME=VirusTotal Downloader"
- CONNECTOR_SCOPE=StixFile
- CONNECTOR_AUTO=true # Enable/disable auto-enrichment of observables
- CONNECTOR_CONFIDENCE_LEVEL=100 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- VIRUSTOTAL_DOWNLOADER_API_KEY=ChangeMe
restart: always
depends_on:
opencti:
condition: service_healthy
connector-virustotal:
image: opencti/connector-virustotal:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=ChangeMe
- CONNECTOR_NAME=VirusTotal
- CONNECTOR_SCOPE=StixFile,Artifact,IPv4-Addr,Domain-Name,Url,Hostname
- CONNECTOR_AUTO=true # Enable/disable auto-enrichment of observables
- CONNECTOR_LOG_LEVEL=error
- CONNECTOR_EXPOSE_METRICS=false
- VIRUSTOTAL_TOKEN=ChangeMe
- VIRUSTOTAL_MAX_TLP=TLP:AMBER
- VIRUSTOTAL_REPLACE_WITH_LOWER_SCORE=true # Whether to keep the higher of the VT or existing score (false) or force the score to be updated with the VT score even if its lower than existing score (true).
# File/Artifact specific config settings
- VIRUSTOTAL_FILE_CREATE_NOTE_FULL_REPORT=true # Whether or not to include the full report as a Note
- VIRUSTOTAL_FILE_UPLOAD_UNSEEN_ARTIFACTS=true # Whether to upload artifacts (smaller than 32MB) that VirusTotal has no record of
- VIRUSTOTAL_FILE_INDICATOR_CREATE_POSITIVES=10 # Create an indicator for File/Artifact based observables once this positive theshold is reached. Note: specify 0 to disable indicator creation
- VIRUSTOTAL_FILE_INDICATOR_VALID_MINUTES=2880 # How long the indicator is valid for in minutes
- VIRUSTOTAL_FILE_INDICATOR_DETECT=true # Whether or not to set detection for the indicator to true
- VIRUSTOTAL_FILE_IMPORT_YARA=true # Whether or not import Crowdsourced YARA rules
# IP specific config settings
- VIRUSTOTAL_IP_INDICATOR_CREATE_POSITIVES=10 # Create an indicator for IPv4 based observables once this positive theshold is reached. Note: specify 0 to disable indicator creation
- VIRUSTOTAL_IP_INDICATOR_VALID_MINUTES=2880 # How long the indicator is valid for in minutes
- VIRUSTOTAL_IP_INDICATOR_DETECT=true # Whether or not to set detection for the indicator to true
- VIRUSTOTAL_IP_ADD_RELATIONSHIPS=true # Whether or not to add ASN and location resolution relationships
# Domain specific config settings
- VIRUSTOTAL_DOMAIN_INDICATOR_CREATE_POSITIVES=10 # Create an indicator for Domain based observables once this positive theshold is reached. Note: specify 0 to disable indicator creation
- VIRUSTOTAL_DOMAIN_INDICATOR_VALID_MINUTES=2880 # How long the indicator is valid for in minutes
- VIRUSTOTAL_DOMAIN_INDICATOR_DETECT=true # Whether or not to set detection for the indicator to true
- VIRUSTOTAL_DOMAIN_ADD_RELATIONSHIPS=true # Whether or not to add IP resolution relationships
# URL specific config settings
- VIRUSTOTAL_URL_UPLOAD_UNSEEN=true # Whether to upload URLs that VirusTotal has no record of for analysis
- VIRUSTOTAL_URL_INDICATOR_CREATE_POSITIVES=10 # Create an indicator for Url based observables once this positive theshold is reached. Note: specify 0 to disable indicator creation
- VIRUSTOTAL_URL_INDICATOR_VALID_MINUTES=2880 # How long the indicator is valid for in minutes
- VIRUSTOTAL_URL_INDICATOR_DETECT=true # Whether or not to set detection for the indicator to true
deploy:
mode: replicated
replicas: 1
restart: always
depends_on:
opencti:
condition: service_healthy
connector-abuseipdb-enrichment:
image: opencti/connector-abuseipdb:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=9c5cd78e-8068-4a2a-9f50-b7d4deac75d3
- CONNECTOR_NAME=AbuseIPDB
- CONNECTOR_SCOPE=IPv4-Addr
- CONNECTOR_AUTO=true
- CONNECTOR_CONFIDENCE_LEVEL=15 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- ABUSEIPDB_API_KEY=${ABUSE_API_KEY}
- ABUSEIPDB_MAX_TLP=TLP:AMBER
restart: always
connector-attribution-tools:
image: opencti/connector-attribution-tools:6.4.1
environment:
- OPENCTI_URL=http://localhost:8080
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN}
- CONNECTOR_ID=8d05b314-16c3-427d-850f-5408d2670354
- CONNECTOR_NAME=attribution-tools
- CONNECTOR_SCOPE=Incident
- CONNECTOR_AUTO=true
- CONNECTOR_CONFIDENCE_LEVEL=3
- CONNECTOR_LOG_LEVEL=error
- ATTRIBUTIONTOOLS_MODEL_TRAINING_CRON_UTC=0 0 * * *
- ATTRIBUTIONTOOLS_N_TRAINING_QUERY_THREADS=1
- ATTRIBUTIONTOOLS_DEFAULT_RELATION_CONFIDENCE=50
- ATTRIBUTIONTOOLS_AUTOMATIC_RELATION_CREATION=false
- ATTRIBUTIONTOOLS_RELATION_CREATION_PROBABILITY_TRESHOLD=0.95
- ATTRIBUTIONTOOLS_CREATOR_ORG_IDENTITY_ID=identity--b0963901-cb74-56b2-9add-92c6d1a10332
restart: always
connector-crowdsec-enrichment:
image: opencti/connector-crowdsec:6.4.1
environment:
- OPENCTI_URL=http://opencti:8080 # OpenCTI API URL
- OPENCTI_TOKEN=${OPENCTI_ADMIN_TOKEN} # Add OpenCTI API token here
- CONNECTOR_ID=11596369-e763-47a5-9a59-b436da2a4444 # Add CrowdSec connector ID (any valid UUID v4)
- CONNECTOR_TYPE=INTERNAL_ENRICHMENT
- CONNECTOR_SCOPE=IPv4-Addr,IPv6-Addr # MIME type or Stix Object
- CONNECTOR_CONFIDENCE_LEVEL=100 # From 0 (Unknown) to 100 (Fully trusted)
- CONNECTOR_LOG_LEVEL=error
- CONNECTOR_UPDATE_EXISTING_DATA=false
- CONNECTOR_NAME=CrowdSec
- CROWDSEC_KEY=${CROWDSEC_API_KEY} # Add CrowdSec's CTI API Key
- CROWDSEC_API_VERSION=v2 #v2 is the only supported version for now
restart: always