-
Notifications
You must be signed in to change notification settings - Fork 102
/
Copy pathmachinae.yml
1455 lines (1443 loc) · 38.3 KB
/
machinae.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
ipwhois:
name: IP Whois
otypes:
- ipv4
ipwhois:
results:
- key: '@'
multi_match:
keys:
- asn
- asn_cidr
- asn_date
- asn_registry
- asn_country_code
pretty_name: ASN Information
- key: nets
multi_match:
keys:
- cidr
- handle
- name
- range
pretty_name: Network Information
- key: nets
multi_match:
keys:
- description
- key: created
regex: '(\d+-\d+-\d+)T'
- key: updated
regex: '(\d+-\d+-\d+)T'
pretty_name: Registration Info
- key: nets
multi_match:
keys:
- city
- state
- postal_code
- country
pretty_name: Registration Locality
# For when we use RWS
- key: nets
multi_match:
keys:
- key: abuse_emails
split: "\n"
pretty_name: Abuse Email
- key: nets
multi_match:
keys:
- key: tech_emails
split: "\n"
pretty_name: Tech Email
# For when we fall back to regular whois
- key: nets
multi_match:
keys:
- key: emails
split: "\n"
pretty_name: Contacts
spamhaus_ip:
name: Spamhaus Zen BL
default: False
otypes:
- ipv4
webscraper:
request:
url: 'http://www.spamhaus.org/query/ip/{target}'
method: get
strip_comments: true
results:
- regex: '<b><font color="red">\S+ is (listed in the \w+)</FONT></B>'
values:
- spamhaus_zenbl
pretty_name: Spamhaus Zen BL
spamhaus_domain:
name: Spamhaus Domain BL
default: False
otypes:
- fqdn
webscraper:
request:
url: 'http://www.spamhaus.org/query/domain/{target}'
method: get
results:
- regex: '<b><font color="red">\S+ is (listed in the \w+)</FONT></B>'
values:
- spamhaus_dbl
pretty_name: Spamhaus DBL
ipvoid:
name: IPVoid
default: False
otypes:
- ipv4
json:
request:
url: 'https://endpoint.apivoid.com/iprep/v1/pay-as-you-go/'
params:
key:
ip: '{target}'
method: get
results:
- key: data.report.blacklists.detections
pretty_name: Number of detections
- key: data.report.blacklists.detection_rate
pretty_name: IP Void Detection Rate
- key: data.report.blacklists.engines
pretty_name: Engines
multi_match:
keys:
- engine
- reference
onlyif: detected
urlvoid:
name: URLVoid
otypes:
- fqdn
webscraper:
request:
url: 'http://www.urlvoid.com/scan/{target}'
method: get
results:
- regex: 'Analysis Date<\/td><td>(.+?)<\/td>'
values: urlvoid_analysis_date
pretty_name: Last Analysis
- regex: '(\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}).{5,30}Find\swebsites\shosted\shere'
values: urlvoid_ip
pretty_name: IP from URLVoid
- regex: '\/>(.+?)<\/td><td><i class="glyphicon glyphicon-alert text-danger"><\/i>'
values: urlvoid_blacklist
pretty_name: Blacklist from URL Void
- regex: 'Domain\s1st\sRegistered.+\<td\>(.+)\<\/td\>'
values: urlvoid_domain_age
pretty_name: Domain Age from URL Void
- regex: 'latitude\s/\slongitude.+\<td\>(.+)\<\/td\>'
values: urlvoid_location
pretty_name: Geo Coordinates from URLVoid
- regex: 'alt="flag"\s/>\s\(\w+\)\s+([\w\s]+)</td>'
values: urlvoid_country_code
pretty_name: Country from URLVoid
unshorten:
name: URL Unshorten
otypes:
- fqdn
- url
webscraper:
request:
url: http://www.toolsvoid.com/unshorten-url
method: post
data:
urladdr: '{target}'
results:
- regex: 'class="myarea">(.*?)</textarea'
values:
- unshorten_url
pretty_name: Unshortened URL
malc0de:
name: Malc0de
otypes:
- ipv4
- fqdn
- hash
webscraper:
request:
url: 'https://malc0de.com/database/index.php?search={target}'
method: get
results:
- regex: '(\d{4}\-\d{1,2}\-\d{1,2})'
values:
- malc0de_date
pretty_name: "MC Date"
- regex: 'search=(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})'
values:
- malc0de_ipaddr
pretty_name: MC IP
- regex: '(?!search=NA)search=([A-Z]{2})'
values:
- malc0de_country
pretty_name: MC Country
- regex: 'search=\d{4,5}..(\d{4,5})'
values:
- malc0de_asn
pretty_name: MC ASN
- regex: 'search=\d{4,5}..([A-Za-z]+)'
values:
- malc0de_asn_name
pretty_name: MC ASN Name
- regex: 'latest\-scan\/([A-Fa-f0-9]{32})'
values:
- malc0de_md5
pretty_name: MC MD5
AbuseIPDB:
name: AbuseIPDB
otypes:
- ipv4
webscraper:
request:
url: 'https://abuseipdb.com/check/{target}'
method: get
results:
- regex: '((?<=This\sIP\swas\sreported\s<b>)\d{1,3})'
values:
- AbuseIPReports
pretty_name: 'AbuseIPDB reports'
- regex: '((?<=most\srecent\sreport\swas\s<b>)\d{1,3}\s\w+\s\w+)'
values:
- Last_seen
pretty_name: 'Last seen'
RansomwareTracker:
name: RansomwareTracker
otypes:
- ipv4
webscraper:
request:
url: 'https://ransomwaretracker.abuse.ch/host/{target}'
method: get
results:
- regex: '((?<=Host\sStatus:</th><td\scolspan="2"><span\sclass="buttonoffline">)\w+)'
values:
- Active
pretty_name: 'Host Status'
- regex: '((?<=</td><td>\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}</td><td>)\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2})'
values:
- Last_seen
pretty_name: 'Last seen'
- regex: '((?<=Malware:</th><td\scolspan="2">)\w+)'
values:
- ransomwareType
pretty_name: 'Ransomware Type'
sans:
name: SANS
otypes:
- ipv4
webscraper:
request:
url: 'https://isc.sans.edu/api/ip/{target}'
method: get
results:
- regex: 'attacks>(\d+)<'
values:
- sans_attacks
pretty_name: SANS attacks
- regex: 'count>(\d+)<'
values:
- sans_count
pretty_name: SANS count
- regex: 'count>(\d+)<'
values:
- sans_count
pretty_name: SANS count
- regex: 'maxdate>(\d{4}-\d{2}-\d{2})<'
values:
- sans_maxdate
pretty_name: SANS maxdate
- regex: 'mindate>(\d{4}-\d{2}-\d{2})<'
values:
- sans_mindate
pretty_name: SANS mindate
telize:
name: Telize GeoIP
default: False
otypes:
- ipv4
json:
request:
url: 'https://telize-v1.p.rapidapi.com/location/{target}'
method: get
headers:
x-rapidapi-host: telize-v1.p.rapidapi.com
x-rapidapi-key:
Accept: application/json
results:
- key: continent_code
pretty_name: GeoIP Continent Code
- key: country_code
pretty_name: GeoIP Country Code
- key: country
pretty_name: GeoIP Country
- key: region_code
pretty_name: GeoIP Region Code
- key: region
pretty_name: GeoIP Region
- key: city
pretty_name: GeoIP City
- key: postal_code
pretty_name: GeoIP Zip Code
- key: latitude
pretty_name: GeoIP Latitude
- key: longitude
pretty_name: GeoIP Longitude
- key: timezone
pretty_name: GeoIP Timezone
- key: offset
pretty_name: GeoIP UTC Offset
- key: asn
pretty_name: GeoIP ASN
- key: isp
pretty_name: GeoIP ISP
maxmind:
name: MaxMind GeoIP2 Precision
default: False
otypes:
- ipv4
json:
request:
url: https://geoip.maxmind.com/geoip/v2.1/insights/{target}
auth: maxmind
results:
- key: country.iso_code
pretty_name: MaxMind Country Code
- key: country.names.en
pretty_name: MaxMind Country
- key: subdivisions
multi_match:
keys:
- iso_code
pretty_name: MaxMind Region Code
- key: subdivisions
multi_match:
keys:
- names.en
pretty_name: MaxMind Region
- key: city.names.en
pretty_name: MaxMind City
- key: postal.code
pretty_name: MaxMind Zip Code
- key: location.latitude
pretty_name: MaxMind Latitude
- key: location.longitude
pretty_name: MaxMind Longitude
- key: location.time_zone
pretty_name: MaxMind Timezone
freegeoip:
name: freegeoip.io
default: true
otypes:
- ipv4
# - fqdn
json:
request:
url: https://freegeoip.io/json/{target}
results:
- key: country_code
pretty_name: GeoIP Country Code
- key: country_name
pretty_name: GeoIP Country
# - key: region_code
# pretty_name: GeoIP Region Code
# - key: region_name
# pretty_name: GeoIP Region
- key: city
pretty_name: GeoIP City
# - key: zip_code
# pretty_name: GeoIP Zip Code
# - key: latitude
# pretty_name: GeoIP Latitude
# - key: longitude
# pretty_name: GeoIP Longitude
# - key: time_zone
# pretty_name: GeoIP Timezone
fortinet_classify:
name: Fortinet Category
default: True
otypes:
- ipv4
- fqdn
- url
webscraper:
request:
url: 'https://www.fortiguard.com/webfilter?q={target}'
method: get
results:
- regex: 'Category:\s(.+)<\/h4>\s'
values:
- fortinet_category
pretty_name: Fortinet URL Category
vt_ip:
name: VirusTotal pDNS
otypes:
- ipv4
json:
request:
url: https://www.virustotal.com/vtapi/v2/ip-address/report
params:
ip: '{target}'
apikey: 308211ef74a1044ea98134424b3d20769451d25beda0b808a8b61036badc0ea1
method: get
results:
- key: resolutions
multi_match:
keys:
- key: last_resolved
regex: '(\d{4}\-\d{1,2}\-\d{1,2})'
- hostname
onlyif:
key: last_resolved
maxage: '-30d'
pretty_name: pDNS data from VirusTotal
- key: detected_urls
multi_match:
keys:
- key: scan_date
regex: '(\d{4}\-\d{1,2}\-\d{1,2})'
- key: url
regex: '(http.{1,70}/)'
onlyif:
key: scan_date
maxage: '-30d'
pretty_name: pDNS malicious URLs from VirusTotal
# vt_ip:
# name: VirusTotal pDNS
# otypes:
# - ip
# webscraper:
# request:
# url: 'https://www.virustotal.com/en/ip-address/{target}/information/'
# method: get
# headers:
# Accept: 'text/html, application/xhtml+xml, */*'
# Accept-Language: 'en-US'
# Accept-Encoding: 'gzip, deflate'
# DNT: 1
# Connection: 'Keep-Alive'
# results:
# - regex: '(\d{4}\-\d{1,2}\-\d{1,2})\s+<.{30,70}/en/domain/(.{1,80})/information'
# values:
# - vt_pdns_date
# - vt_pdns_domain
# pretty_name: 'pDNS data from VirtusTotal'
# - regex: '(\d{4}\-\d{1,2}\-\d{1,2}).{1,20}\s+<.{10,80}/en/url/.{1,100}/analysis/.{1,5}\s+(http.{1,70}/)'
# values:
# - vt_pdns_date
# - vt_pdns_url
# pretty_name: 'pDNS malicious URLs from VirusTotal'
vt_domain:
name: VirusTotal pDNS
otypes:
- fqdn
json:
request:
url: https://www.virustotal.com/vtapi/v2/domain/report
params:
domain: '{target}'
apikey: 308211ef74a1044ea98134424b3d20769451d25beda0b808a8b61036badc0ea1
method: get
results:
- key: resolutions
multi_match:
keys:
- key: last_resolved
regex: '(\d{4}\-\d{1,2}\-\d{1,2})'
- ip_address
pretty_name: pDNS data from VirusTotal
- key: Websense ThreatSeeker category
pretty_name: Websense ThreatSeeker category
- key: Webutation domain info.Safety score
pretty_name: Webutation Safety score
# vt_domain:
# name: VirusTotal pDNS
# otypes:
# - fqdn
# webscraper:
# request:
# url: 'https://www.virustotal.com/en/domain/{target}/information/'
# method: get
# headers:
# Accept: 'text/html, application/xhtml+xml, */*'
# Accept-Language: 'en-US'
# Accept-Encoding: 'gzip, deflate'
# DNT: 1
# Connection: 'Keep-Alive'
# results:
# - regex: '(\d{4}\-\d{1,2}\-\d{1,2})\s+<.{30,70}/en/ip-address/(.{1,80})/information'
# values:
# - vt_pdns_date
# - vt_pdns_ip
# pretty_name: 'pDNS data from VirtusTotal'
# - regex: '(\d{4}\-\d{1,2}\-\d{1,2}).{1,20}\s+<.{10,80}/en/url/.{1,100}/analysis/.{1,5}\s+(http.{1,70}/)'
# values:
# - vt_pdns_date
# - vt_pdns_url
# pretty_name: 'pDNS malicious URLs from VirusTotal'
vt_url:
name: VirusTotal URL Report
otypes:
- url
json:
request:
url: https://www.virustotal.com/vtapi/v2/url/report
method: get
params:
apikey: 308211ef74a1044ea98134424b3d20769451d25beda0b808a8b61036badc0ea1
resource: '{target}'
results:
- key: scan_date
pretty_name: Date submitted
- key: positives
pretty_name: Detected scanners
- key: total
pretty_name: Total scanners
- key: scans
pretty_name: URL Scanner
multi_match:
keys:
- '@'
- result
onlyif: detected
vt_hash:
name: VirusTotal File Report
otypes:
- hash
- hash.sha1
- 'hash.sha256'
json:
request:
url: https://www.virustotal.com/vtapi/v2/file/report
method: get
params:
apikey: 308211ef74a1044ea98134424b3d20769451d25beda0b808a8b61036badc0ea1
resource: '{target}'
results:
- key: scan_date
pretty_name: Date submitted
- key: positives
pretty_name: Detected engines
- key: total
pretty_name: Total engines
- key: scans
pretty_name: Scans
multi_match:
keys:
- '@'
- result
onlyif: detected
reputation_authority:
name: Reputation Authority
otypes:
- fqdn
- ipv4
webscraper:
request:
url: 'http://www.reputationauthority.org/lookup.php?ip={target}'
method: get
results:
- regex: '>(\d{1,3}\/\d{1,3})'
values:
- ra_score
pretty_name: Reputation Authority Score
threatexpert:
name: ThreatExpert
otypes:
- hash
webscraper:
request:
url: 'http://www.threatexpert.com/report.aspx?md5={target}'
method: get
results:
- regex: 'Submission\sreceived.\s(.+)</li>'
values:
- threatexpert_date
pretty_name: Hash found at ThreatExpert
- regex: '1">(.{5,100})</td.{10,35}src\='
values:
- threatexpert_indicators
pretty_name: Malicious Indicators from ThreatExpert
vxvault:
name: VxVault
otypes:
- hash
webscraper:
request:
url: 'http://vxvault.net/ViriList.php?MD5={target}'
method: get
results:
# <tr>\s*<td.*?><a.*?>(\d+-\d+)</a></td>\s*<td.*?><a.*?>\[D\]</a>\s*<a.*?>(.*?)</a></td>\s*<td.*?></td>\s*<td.*?><a.*?>(.*?)</a>
- regex: '>(\d{2}\-\d{2})<'
values:
- vxvault_date
pretty_name: Date found at VXVault
- regex: '\[D\].{2,40}\Wphp\?id.{2,10}>(.{5,100})</a'
values:
- vxvault_url
pretty_name: URL found at VXVault
projecthoneypot:
name: ProjectHoneypot
default: False
otypes:
- ipv4
webscraper:
request:
url: 'https://www.projecthoneypot.org/ip_{target}'
method: get
results:
- regex: 'list_of_ips\.php\?t=[a-z]\">([a-zA-Z\s]+)</a></b>'
values:
- php_activity_type
pretty_name: ProjectHoneyPot activity type
- regex: '>First Received From.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])[a-zA-Z0-9><"&:,()=;\s\t/]+Number Received'
values:
- php_first_mail
pretty_name: ProjectHoneyPot first mail received
- regex: '>Last Received From.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])[a-zA-Z0-9><":,()=;\s\t/]+Number Received'
values:
- php_last_mail
pretty_name: ProjectHoneyPot last mail received
- regex: '>Number Received.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s\(\)]+[a-zA-Z\)])'
values:
- php_total_mail
pretty_name: ProjectHoneyPot total mail received
- regex: '>Spider First Seen.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])'
values:
- php_first_spider
pretty_name: ProjectHoneyPot spider first seen
- regex: '>Spider Last Seen.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s\(\)]+[a-zA-Z])'
values:
- php_last_spider
pretty_name: ProjectHoneyPot spider last seen
- regex: '>Spider Sightings.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s\(]+[a-zA-Z\)])'
values:
- php_spider_sightings
pretty_name: ProjectHoneyPot total spider sightings
- regex: '>User-Agents.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9\-\(\),\s]+[a-zA-Z\)])'
values:
- php_user_agents
pretty_name: ProjectHoneyPot user-agent sightings
- regex: '>First Post On.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])'
values:
- php_first_post
pretty_name: ProjectHoneyPot first form post
- regex: '>Last Post On.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])'
values:
- php_last_post
pretty_name: ProjectHoneyPot last form post
- regex: '>Form Posts.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s\(\)]+[a-zA-Z\)])'
values:
- php_form_posts
pretty_name: ProjectHoneyPot total form posts
- regex: '>First Rule-Break On.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])'
values:
- php_first_rulebreak
pretty_name: ProjectHoneyPot first rule break
- regex: '>Last Rule-Break On.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])'
values:
- php_last_rulebreak
pretty_name: ProjectHoneyPot last rule break
- regex: '>Rule Breaks.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s\(\)]+[a-zA-Z\)])'
values:
- php_total_rulebreaks
pretty_name: ProjectHoneyPot total rule breaks
- regex: 'Dictionary Attacks[a-zA-Z0-9><":,()=;\s\t/]+>First Received From.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])'
values:
- php_first_dictionary_attack
pretty_name: ProjectHoneyPot first dictionary attack
- regex: 'Dictionary Attacks[a-zA-Z0-9><"&:,()=;\s\t/]+>Last Received From.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])'
values:
- php_last_dictionary_attack
pretty_name: ProjectHoneyPot last dictionary attack
- regex: '>Dictionary Attacks.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s\(\)]+[a-zA-Z\)])'
values:
- php_total_dictionary_attacks
pretty_name: ProjectHoneyPot total dictionary attacks
- regex: '>First Bad Host Appearance.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])'
values:
- php_first_bad_host
pretty_name: ProjectHoneyPot first bad host
- regex: '>Last Bad Host Appearance.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])'
values:
- php_last_bad_host
pretty_name: ProjectHoneyPot last bad host
- regex: '>Bad Host Appearances.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s\(\)\-]+[a-zA-Z\)])'
values:
- php_total_bad_host
pretty_name: ProjectHoneyPot total bad hosts
- regex: '>Harvester First Seen.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s]+[a-zA-Z])'
values:
- php_first_harvester
pretty_name: ProjectHoneyPot harvester first seen
- regex: '>Harvester Last Seen.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\s\(\)]+[a-zA-Z])'
values:
- php_last_harvester
pretty_name: ProjectHoneyPot harvester last seen
- regex: '>Harvester Sightings.+[\n\r\t\s]+.+[\n\r\t\s]+([a-zA-Z0-9,\(\s]+[a-zA-Z\)])'
values:
- php_total_harvester
pretty_name: ProjectHoneyPot total harvester sightings
- regex: '(?:>Harvester Results(?:.+[\n\s].+[\n\s]+)\s{2,}|(?:<br\s/>))(?!\s)([0-9a-zA-Z.\s:,()-]+)\s{2,}'
values:
- php_harvester_results
pretty_name: ProjectHoneyPot harvester results
mcafee_threat_domain:
name: McAfee Threat
otypes:
- fqdn
webscraper:
request:
url: 'https://www.mcafee.com/threat-intelligence/domain/default.aspx?domain={target}'
method: get
results:
- regex: 'ctl00_breadcrumbContent_imgRisk"[^\r\n]+title="([A-Za-z]+)"'
values:
- mcafee_risk
pretty_name: McAfee Web Risk
- regex: '<li>[\n\s]*Web\sCategory:[\n\s]*([A-Z][A-Za-z\s/,]+?)[\n\s]*</li>'
values:
- mcafee_category
pretty_name: McAfee Web Category
- regex: '<li>[\n\s]*Last\sSeen:[\n\s]*([0-9\-]+)[\n\s]*</li>'
values:
- mcafee_last_seen
pretty_name: McAfee Last Seen
mcafee_threat_ip:
name: McAfee Threat
otypes:
- ipv4
webscraper:
request:
url: 'https://www.mcafee.com/threat-intelligence/ip/default.aspx?ip={target}'
method: get
results:
- regex: 'ctl00_breadcrumbContent_imgRisk"[^\r\n]+src="/img/Threat_IP/rep_([a-z]+)\.png"'
values:
- mcafee_risk
pretty_name: McAfee Web Risk
- regex: 'ctl00_breadcrumbContent_imgRisk1"[^\r\n]+src="/img/Threat_IP/rep_([a-z]+)\.png"'
values:
- mcafee_risk
pretty_name: McAfee Email Risk
- regex: 'ctl00_breadcrumbContent_imgRisk2"[^\r\n]+src="/img/Threat_IP/rep_([a-z]+)\.png"'
values:
- mcafee_risk
pretty_name: McAfee Network Risk
- regex: '<li>[\n\s]*Web\sCategory:[\n\s]*([A-Z][A-Za-z\s/,]+?)[\n\s]*</li>'
values:
- mcafee_category
pretty_name: McAfee Web Category
stopforumspam:
name: StopForumSpam
otypes:
- email
webscraper:
request:
url: 'http://www.stopforumspam.com/search/{target}'
method: get
results:
- regex: '>Found (0*[1-9]\d*) entries'
values:
- sfs_spam_count
pretty_name: Spam email count
cymru_mhr:
name: Cymru MHR
otypes:
- hash
- hash.sha1
webscraper:
request:
url: 'https://hash.cymru.com/cgi-bin/bulkmhr.cgi'
method: post
data:
action: do_whois
bulk_paste: '{target}'
submit_paste: Submit
results:
- regex: '[a-f0-9]+\s(\d+)\s(\d+)'
values:
- cymru_mhr_detect_time
- cymru_mhr_detect_pct
pretty_name: Cymru MHR Detection Percent
icsi_notary:
name: ICSI Certificate Notary
otypes:
- sslfp
dns:
request:
query: '{target_stripped}.notary.icsi.berkeley.edu'
rrtype: txt
results:
- regex: 'version=1 first_seen=(\d+) last_seen=(\d+) times_seen=(\d+) validated=(\d+)'
values:
- icsi_first_seen
- icsi_last_seen
- icsi_times_seen
- icsi_validated
pretty_name: ICSI Notary Results
totalhash_ip:
name: TotalHash
default: false
otypes:
- ip
webscraper:
request:
url: 'https://totalhash.com/network/dnsrr:*{target}*%20or%20ip:{target}'
method: get
results:
- regex: '/analysis/(\w{40}).+(\d{4}\-\d{1,2}\-\d{1,2}\s\d{1,2}:\d{1,2}:\d{1,2})'
values:
- thip_hash
- thip_date
pretty_name: Totalhash
domaintools_parsed_whois:
name: DomainTools Whois
default: false
otypes:
- fqdn
json:
request:
url: 'https://api.domaintools.com/v1/{target}/whois/parsed'
method: get
params:
api_username:
api_key:
results:
- key: response.parsed_whois.contacts
multi_match:
keys:
- '@'
- name
- country
- email
onlyif: name
pretty_name: Whois Contacts
- key: response.parsed_whois.created_date
pretty_name: Domain registered
regex: '(\d{4}\-\d{1,2}\-\d{1,2})'
- key: response.parsed_whois.updated_date
pretty_name: Whois updated
regex: '(\d{4}\-\d{1,2}\-\d{1,2})'
- key: response.parsed_whois.expired_date
pretty_name: Domain expiration
regex: '(\d{4}\-\d{1,2}\-\d{1,2})'
- key: response.parsed_whois.name_servers
pretty_name: Name Servers
#match_all: true
- key: response.parsed_whois.registrar
pretty_name: Registrar Info
multi_match:
keys:
- name
- abuse_contact_phone
- abuse_contact_email
- url
domaintools_reverse_whois:
name: DomainTools Reverse Whois
default: false
otypes:
- email
json:
request:
url: 'https://api.domaintools.com/v1/reverse-whois/'
method: get
params:
terms: '{target}'
mode: purchase
api_username:
api_key:
results:
- key: response.domains
match_all: true
pretty_name: Registered domain
- key: reponse.domain_count.current
pretty_name: Currently active registered domains
- key: response.domain_count.historic
pretty_name: All registered domains
domaintools_reputation:
name: DomainTools Reputation
default: false
otypes:
- fqdn
json:
request:
url: 'https://api.domaintools.com/v1/reputation/'
method: get
params:
domain: '{target}'
include_reasons: 'true'
api_username:
api_key:
results:
- key: response.risk_score
pretty_name: Risk Score
- key: response.reasons
pretty_name: Reasons
dnsdb_ip:
name: Farsight DNSDB
default: False
otypes:
- ipv4
- ipv6
json:
multi_json: true
request:
url: 'https://api.dnsdb.info/lookup/rdata/ip/{target}'
method: get
headers:
Accept: application/json
X-Api-Key:
results:
- key: '@'
multi_match:
keys:
- rrname
- rrtype
- key: time_first
format: as_time
- key: time_last
format: as_time
labels:
- Record Name
- Record Type
- First Seen
- Last Seen
dnsdb_fqdn:
name: Farsight DNSDB
default: False
otypes:
- fqdn
json:
multi_json: true
request:
url: 'https://api.dnsdb.info/lookup/rrset/name/{target}'
method: get
ignored_status_codes:
- 404
params:
time_last_after:
relatime: '-7d'
timezone: UTC
format: as_epoch
headers:
Accept: application/json
X-Api-Key:
results:
- key: '@'
multi_match:
keys:
- rrtype
- key: rdata
# format: as_list
- key: time_last
format: as_time
labels:
- Record Type
- Record Data
- Last Seen
onlyif:
key: rrtype
regex: "^(A|AAAA|MX|SPF|TXT)$"
cif:
name: Collective Intelligence Framework
default: false
otypes:
- ipv4
- fqdn
- email
- hash
json:
request:
url: 'https://cif/observables'
method: get
params:
nolog: 1
confidence: 75
observable: '{target}'
reporttime:
relatime: '-2d'
timezone: UTC
reporttimeend:
relatime: 'now'
timezone: UTC
headers:
Accept: application/vnd.cif.v2+json
Authorization: Token token=
verify_ssl: False
results:
- key: '@'
multi_match:
keys:
- asn
- cc
labels:
- AS Number
- Country Code
- key: '@'
multi_match:
keys:
- key: reporttime
regex: '^(\d+-\d+-\d+)T'
- confidence
- key: tags
format: as_list
- provider
- description
labels:
- Report Date
- Confidence