@@ -5,10 +5,11 @@ name: FalconIntel
5
5
display : CrowdStrike Falcon Intel
6
6
category : Data Enrichment & Threat Intelligence
7
7
image: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAATCAYAAABbV8lLAAALzElEQVRo3u1YeVgV5RdWMQpFKDJMVBRNJQGRfQlZFRRUFHEXs0gjQwRKAbPABZcEk9wwQzMFLVcUREEEAbdExSVMRQgURYF7Z+69c+fO3aZ3BrhyA63H3z+/fJjnmQdm7jfn+77znvOe93yd5EVnbDt1XK/uRW9cG0unrFvT8qy8efWdDq+8Qpf6Ua0J4Wkhkq6JT+CexZ/OzJGfPB7c4ZlXKYtT1q4UWL/FUl9FpjDZRycKHfrKZBk/TevwzCtySROXJYnmTjovdOxHi2aPL6C+/iJV6NyflMQu3CwvLjDq8NB//FJV3htK+No/FM0Nyhf6jKghRg6tF4dOySNGmjcQ7ubV1PLYOHlBXu8OT/2HL/nZ/ABksIQM8roqmuZ3SejUnyJ87R4DbFYw3JAl3AYLxPNn/ExvXj+BOZnVs8Nj/0WQzxfZEwGuZRy4ZKB7FeFlxRKuZiyymBXa92a5Oi0Y0ZMlRg4RiGaMzaWWx4QzWYfNXmYu2bbv/KjYiJXUkvDVsq0bpir/uPWa5rcTmb2Y/XtCmYyfFtJbksLpb5cHqOoedf67De4beuOaYGrx52uo+MXfMAfTnbWY6c/7JvLD+0NUT+p0NXssyPNVXL1srxlTV2fIHN4/R1V134B7Zg7t88e8YczPPy7E/uYx+3Y7teurglxzKmbhMklk6Hp628YQVcUfemop1VX2w6Z59PqV0fSGxCh6w+rmOzGaXhsfrSy7YiHPOdaZTk6cjzuK/m5NNJW47DPmQLqDlu3c7A9QNqNUlRWDeH9sT+kBm5FY15SWMczJ4wHShCVLVLfKzPlvftkzhV63PKp53mjYj5ZtTfZqs3Dl72W60nUJkYSHxWMAzSKLWcJjGCt0HcQK7XqzQoc++PsugH6bB1zoPEAKaj8G5e36r1S7iDQUzZ6QS3zwXoNo1rgsUciET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0Ih20lnidrl4bkCE6VQktonA0GON8ItYuxnq3HCl0GQGR5xdPfr+kt25VqJkvbNh1nAY3QH9u53zmFjvP6fOxfSsUtWg06XQUxpeJKl6q6UsNaTNYhR74T8LL8QQvgYG8jjKdQcq7wAVJ+0wJ+U5KBHrfVEgkflBBtqzn6h56Y2KxJTIVIHDBqEW/7+KEQXrlHzjvaugZz3Q2+3ShNiFkt/ebL1Sitn7wU2MqbZdZCp35yTiW2gAsApOJ504/QG1ZNQd32x4TF6AnD2hUgaakL4LQ6KMc6UNwj0HGjZGlkMsSdQdOGnL3QNt1TNAPMZ+HcyWepZdE7NWwgkXTBZpLxbT1vw2PYE2RLJbIiqG1/X2yJ9UmQVeM0oCetSuDbjKoKLZGEoDkNxY76aFWPNTagpNSgJ/2KZWQ8/aopSRdZ2tYQjKvmGQ2ikxxtW6G4dlmrX4aStoMil4LuN2lR6ayAt/D+qWjW+BLNUfGK2O2gXQWTsZtX79SKuASURqmiuIBfLznZsx/hZEqJmts7VqnoLA6blQe2lCuKCnixKJk/MxdBR3Mg8wzLKXj3YcUvndHMqayxqCNyXlXbwpjrIIlopv8pKEHr5n5XH3XY4Llt2Pmi7nC4jWxvmj1saZ2MQRC9AeXaRy19VtPUJKGPute/zTpOHDXCQYG9/Mh+K/mFoq7tzcUqFJ1hr69a1tTmNNvTg1B5t43ArK40xgHDABxcmIGx+oKK27WpuHKxG/NruiWz7yer1q2axj4UPoLHFPa0zvJVD6q74H1fVe0Dzdxo+3RV9/4wxW+9m0rAU0NVxR1TNUXpNan4Kh3eVu1D41b2u0EM9295p35ci3XfM+XHtdzVVcb/08kX8+ue8RA833NtCbI3i4pduBHUG9ZxJviqHXHm5XigjVgLdWrd4Y3/r+svksqca07dD2oAAAAASUVORK5CYII=
8
- description : Actors, indicators and reports intelligence
8
+ description : Actors, indicators and reports intelligence with indicator V2 api support
9
9
detaileddescription : |-
10
10
Please provide the API id and key for the CrowsStrike Falcon Intelligence.
11
11
API Key Pairs can be generated by accessing the CrowdStrike API tab located in the user settings on the Intelligence Portal.
12
+ Indicator API v2 is supported.
12
13
configuration :
13
14
- display : Server URL (e.g. https://192.168.0.1)
14
15
name : url
@@ -35,8 +36,16 @@ configuration:
35
36
defaultvalue : " false"
36
37
type : 8
37
38
required : false
39
+ - display : Support indicator API V2
40
+ name : version
41
+ defaultvalue : " true"
42
+ type : 8
43
+ required : false
38
44
script :
39
45
script : |
46
+ // determine api version for api calls
47
+ var version = (params.version ? "v2" : "v1");
48
+
40
49
var serverUrl = params.url;
41
50
if (serverUrl[serverUrl.length - 1] !== '/') {
42
51
serverUrl += '/';
@@ -50,7 +59,8 @@ script:
50
59
'X-CSIX-CUSTID': [params.id],
51
60
'X-CSIX-CUSTKEY': [params.key],
52
61
'Content-Type': ['application/json'],
53
- 'Accept': ['application/json']
62
+ 'Accept': ['application/json'],
63
+ 'X-INTEGRATION' : ['Demisto_demisto_3.6']
54
64
},
55
65
Method: method,
56
66
Body: body ? JSON.stringify(body) : ''
@@ -237,7 +247,7 @@ script:
237
247
a.order = parts[1];
238
248
}
239
249
}
240
- var res = doReq('GET', 'indicator/v1 /search/' + args.parameter, a);
250
+ var res = doReq('GET', 'indicator/'+ version +' /search/' + args.parameter, a);
241
251
var md = '## Falcon Intel Indicator Search for: ' + args.value + '\n';
242
252
var found = false;
243
253
var ec = {};
@@ -289,7 +299,7 @@ script:
289
299
290
300
var doIndicator = function(ind, type, title, appendContextFunc) {
291
301
var a = {equal: ind};
292
- var res = doReq('GET', 'indicator/v1 /search/indicator', a);
302
+ var res = doReq('GET', 'indicator/'+ version +' /search/indicator', a);
293
303
var md = '## ' + title + ': ' + ind + '\n';
294
304
var ec = {};
295
305
var found = false;
@@ -431,8 +441,13 @@ script:
431
441
432
442
switch (command) {
433
443
case 'test-module':
434
- doReq('GET', 'actors/queries/actors/v1', {q: 'panda'});
435
- return true;
444
+ if(version === 'v2') {
445
+ doReq('GET', 'indicator/'+ version +'/search/indicator', {equal: '4.4.4.4'});
446
+ return true;
447
+ } else {
448
+ doReq('GET', 'actors/queries/actors/v1', {q: 'panda'});
449
+ return true;
450
+ }
436
451
case 'file':
437
452
return doFile(args.file);
438
453
case 'ip':
@@ -455,11 +470,9 @@ script:
455
470
type : javascript
456
471
commands :
457
472
- name : file
458
- deprecated : false
459
473
arguments :
460
474
- name : file
461
475
required : true
462
- deprecated : false
463
476
default : true
464
477
description : The file hash md5/sha1/sha256 to check
465
478
outputs :
@@ -483,11 +496,9 @@ script:
483
496
description : The actual score
484
497
description : Check file reputation
485
498
- name : url
486
- deprecated : false
487
499
arguments :
488
500
- name : url
489
501
required : true
490
- deprecated : false
491
502
default : true
492
503
description : URL to be checked
493
504
outputs :
@@ -507,11 +518,9 @@ script:
507
518
description : The actual score
508
519
description : Check the given URL reputation
509
520
- name : domain
510
- deprecated : false
511
521
arguments :
512
522
- name : domain
513
523
required : true
514
- deprecated : false
515
524
default : true
516
525
description : Domain to be checked
517
526
outputs :
@@ -531,11 +540,9 @@ script:
531
540
description : The actual score
532
541
description : Check the given URL reputation
533
542
- name : ip
534
- deprecated : false
535
543
arguments :
536
544
- name : ip
537
545
required : true
538
- deprecated : false
539
546
default : true
540
547
description : IP to check
541
548
outputs :
@@ -555,74 +562,55 @@ script:
555
562
description : The actual score
556
563
description : Check IP reputation
557
564
- name : cs-actors
558
- deprecated : false
559
565
arguments :
560
566
- name : q
561
- deprecated : false
562
567
default : true
563
568
description : Search all fields for the given data
564
569
- name : name
565
- deprecated : false
566
570
description : Search based on actor name
567
571
- name : desc
568
- deprecated : false
569
572
description : Search based on description
570
573
- name : minLastModifiedDate
571
- deprecated : false
572
574
description : Search range from modified date. Dates are formatted as YYYY-MM-DD.
573
575
- name : maxLastModifiedDate
574
- deprecated : false
575
576
description : Search range to modified date. Dates are formatted as YYYY-MM-DD.
576
577
- name : minLastActivityDate
577
- deprecated : false
578
578
description : Search range from activity date. Dates are formatted as YYYY-MM-DD.
579
579
- name : maxLastActivityDate
580
- deprecated : false
581
580
description : Search range to activity date. Dates are formatted as YYYY-MM-DD.
582
581
- name : origins
583
- deprecated : false
584
582
description : Search by origins separated by ","
585
583
- name : targetCountries
586
- deprecated : false
587
584
description : Search by target countries separated by ","
588
585
- name : targetIndustries
589
- deprecated : false
590
586
description : Search by target industries separated by ","
591
587
- name : motivations
592
- deprecated : false
593
588
description : Search by motivations separated by ","
594
589
- name : offset
595
- deprecated : false
596
590
description : Which page of the results to retrieve. It is 0 based.
597
591
- name : limit
598
- deprecated : false
599
592
description : Number of results for the page
600
593
- name : sort
601
- deprecated : false
602
594
description : Sort is field_name.order, field_name.order where order is either
603
595
asc or desc
604
596
- name : slug
605
- deprecated : false
606
597
description : ' Search by '' slug'' or short descriptive name. Ex: "anchor-panda"'
607
598
description : Search known actors based on the given parameters. Dates are formatted
608
599
as YYYY-MM-DD. Max date is taken automatically looking at end-of-day time. Origins,
609
600
targetCountries, targetIndustries and motivations can all receive multiple values
610
601
separated by ",". Offset is 0 based. Sort is field_name.order, field_name.order
611
602
where order is either asc or desc.
612
603
- name : cs-indicators
613
- deprecated : false
614
604
arguments :
615
605
- name : parameter
616
606
required : true
617
- deprecated : false
618
607
description : Based on what parameter to search. See CrowdStrike documentation
619
608
for details. Can be one of indicator, type, report, actor, malicious_confidence,
620
609
published_date, last_updated, malware_family, kill_chain, labels, DomainType,
621
610
EmailAddressType, IntelNews, IPAddressType, Malware, Status, Target, ThreatType,
622
611
Vulnerability
623
612
- name : filter
624
613
required : true
625
- deprecated : false
626
614
auto : PREDEFINED
627
615
predefined :
628
616
- match
@@ -634,18 +622,14 @@ script:
634
622
description : Can be either match, equal, gt(e), lt(e)
635
623
- name : value
636
624
required : true
637
- deprecated : false
638
625
description : The value for the given parameter
639
626
- name : sort
640
- deprecated : false
641
627
description : Sort by a field. Should be field_name.order where order is either
642
628
asc or desc. Fields are indicator, type, report, actor, malicious_confidence,
643
629
published_date, last_updated.
644
630
- name : page
645
- deprecated : false
646
631
description : The page to retrieve - 1 based
647
632
- name : pageSize
648
- deprecated : false
649
633
description : The size of the page to retrieve
650
634
outputs :
651
635
- contextPath : File.MD5
@@ -718,35 +702,25 @@ script:
718
702
description : The actual score
719
703
description : Search known indicators based on the given parameters
720
704
- name : cs-reports
721
- deprecated : false
722
705
arguments :
723
706
- name : q
724
- deprecated : false
725
707
description : Perform a generic substring search across all fields in a report
726
708
- name : name
727
- deprecated : false
728
709
description : Search for keywords across report names (i.e. the report’s title)
729
710
- name : actor
730
- deprecated : false
731
711
description : Search for a report related to a particular actor. For a list of
732
712
actors, refer to the Intel Actors API
733
713
- name : targetCountries
734
- deprecated : false
735
714
description : Search reports by targeted country/countries
736
715
- name : targetIndustries
737
- deprecated : false
738
716
description : Search reports by targeted industry/industries
739
717
- name : motivations
740
- deprecated : false
741
718
description : Search by motivation
742
719
- name : slug
743
- deprecated : false
744
720
description : Search by report 'slug' or short descriptive name
745
721
- name : description
746
- deprecated : false
747
722
description : Search the body of the report
748
723
- name : type
749
- deprecated : false
750
724
auto : PREDEFINED
751
725
predefined :
752
726
- intelligence report
@@ -755,7 +729,6 @@ script:
755
729
- tipper
756
730
description : The type of object to search for.
757
731
- name : subType
758
- deprecated : false
759
732
auto : PREDEFINED
760
733
predefined :
761
734
- weekly
@@ -764,38 +737,30 @@ script:
764
737
- annual
765
738
description : The sub-type to search for.
766
739
- name : tags
767
- deprecated : false
768
740
description : Tags associated with a report (managed internally by CS)
769
741
- name : minLastModifiedDate
770
- deprecated : false
771
742
description : Constrain results to those modified on or after a certain date
772
743
- format YYYY-MM-DD
773
744
- name : maxLastModifiedDate
774
- deprecated : false
775
745
description : Constrain results to those modified on or before a certain date
776
746
- format YYYY-MM-DD
777
747
- name : offset
778
- deprecated : false
779
748
description : Used to paginate the response. You can then use limit to set the
780
749
number of results for the next page.
781
750
- name : limit
782
- deprecated : false
783
751
description : Limits the number of results to return
784
752
- name : sort
785
- deprecated : false
786
753
description : ' The field and direction to sort results on in the format of: <field>.<asc>
787
754
or <field>.<desc>. Valid values include: name, target_countries, target_industries,
788
755
type, created_date, last_modified_date'
789
756
description : The Falcon Intel Reports API allows to query CrowdStrike intelligence
790
757
publications.
791
758
- name : cs-report-pdf
792
- deprecated : false
793
759
arguments :
794
760
- name : id
795
761
required : true
796
- deprecated : false
797
762
default : true
798
763
description : The ID of the report to retrieve
799
764
description : Retrieve the Falcon Intel Report PDF
800
- hidden : false
801
- fromversion : 3.5.0
765
+ runonce : false
766
+ releaseNotes : " Added support for v2 indicator API "
0 commit comments