recog 2.3.20 → 2.3.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb4df95cbe1561c384b06be8c36fcea1e51df3c6cdb86a2a944715213d119ae8
4
- data.tar.gz: 751fa73b20c6fb9f1c372be5503c07302101b77d729cdce3befee2981651f1ca
3
+ metadata.gz: 972b7cc1ae69526b61f221eeefce61d192ccf4b1603342f94195bf6cd2ddba95
4
+ data.tar.gz: 807831da5cdfd3160bca893367c92f4b817514758b996968829253f548d19709
5
5
  SHA512:
6
- metadata.gz: 6612cf0d0c5f19cd1a913123fe3c4fce9772ac82b7a07f78ace94f51b1681210a8dfacde3624b2b54c7d66f2f1530771d9a592c3d5bda8bde897d4f9713c2ef9
7
- data.tar.gz: 7b935f573b7b4050b2b06e2b8965af9201bb385e2695f9859e6ecf233f93aadb9331d648b18a506528efbd97e2821d0b9816970bfd5df978262b05ec8aeb9f8e
6
+ metadata.gz: a923e57f1f34fb74358756372fc3d3d08c20f0a0b9b1088905f57f4b09a2a56b2d9d4940d39e609ff50c164d15e285c9e1707032864d55f969a7ed4d72e68de5
7
+ data.tar.gz: 62d17cd2cdf9c3a6d35b36e4ace9c20744d42cfd99a2e90f65e463540fceb551f35f7572179af261c8881116aeadc51986e371631dc451df31081d52d79a58c1
data/cpe-remap.yaml CHANGED
@@ -180,7 +180,7 @@ mappings:
180
180
  tor_project:
181
181
  vendor: torproject
182
182
  traefik_labs:
183
- vendor: containous
183
+ vendor: traefik
184
184
  products:
185
185
  traefik_proxy: traefik
186
186
  twistedmatrix:
@@ -208,6 +208,10 @@ mappings:
208
208
  apple:
209
209
  products:
210
210
  ios: iphone_os
211
+ brocade:
212
+ vendor: broadcom
213
+ products:
214
+ fabric_os: fabric_operating_system
211
215
  centos:
212
216
  products:
213
217
  linux: centos
@@ -297,6 +301,26 @@ mappings:
297
301
  # The following section contains CPE hardware or 'h' remappings. These will
298
302
  # ONLY be used for mapping Recog 'hw' attributes.
299
303
  h:
304
+ apple:
305
+ products:
306
+ imac_(retina_4k_21.5-inch_2019): imac
307
+ imac_(retina_5k_27-inch_2017): imac
308
+ imac_(retina_5k_27-inch_2019): imac
309
+ imac_(retina_5k_27-inch_2020): imac
310
+ macbook_air_(13-inch_2017): macbook_air
311
+ macbook_air_(m1_2020): macbook_air
312
+ macbook_air_(retina_13-inch_2018): macbook_air
313
+ macbook_air_(retina_13-inch_2019): macbook_air
314
+ macbook_air_(retina_13-inch_2020): macbook_air
315
+ macbook_pro_(13-inch_2018_four_thunderbolt_3_ports): macbook_pro
316
+ macbook_pro_(13-inch_2019_two_thunderbolt_3_ports): macbook_pro
317
+ macbook_pro_(13-inch_2020): macbook_pro
318
+ macbook_pro_(13-inch_m1_2020): macbook_pro
319
+ macbook_pro_(15-inch_2018): macbook_pro
320
+ macbook_pro_(15-inch_2019): macbook_pro
321
+ macbook_pro_(16-inch_2019): macbook_pro
322
+ macbook_pro_(retina_13-inch_early_2015): macbook_pro
323
+ macbook_pro_(retina_15-inch_mid_2015): macbook_pro
300
324
  cisco:
301
325
  products:
302
326
  nam: network_analysis_module
@@ -309,6 +333,10 @@ mappings:
309
333
  hp:
310
334
  products:
311
335
  ilo: integrated_lights-out
336
+ kace:
337
+ vendor: dell
338
+ products:
339
+ k1000: kace_k1000_systems_management_appliance
312
340
  tandberg:
313
341
  vendor: cisco
314
342
  ubiquiti:
@@ -12,7 +12,6 @@ dell.service_tag
12
12
  extron.model
13
13
  fortinet.serial_number
14
14
  host.domain
15
- host.id
16
15
  host.ip
17
16
  host.mac
18
17
  host.mac_eui64
@@ -25,6 +24,7 @@ hw.device
25
24
  hw.family
26
25
  hw.model
27
26
  hw.product
27
+ hw.serial_number
28
28
  hw.series
29
29
  hw.vendor
30
30
  hw.version
@@ -20,6 +20,7 @@ Apple TV (2nd generation)
20
20
  Apple TV (3rd generation)
21
21
  Apple TV (4th generation)
22
22
  Apple TV 4K
23
+ Apple TV 4K (2nd generation)
23
24
  Appliance
24
25
  ArchiveTeam Warrior
25
26
  Asset Management
@@ -116,7 +116,6 @@ IPReach
116
116
  IPSO
117
117
  IRIX
118
118
  Integrated Lights Out Manager
119
- Integrated Lights Out Manager firmware
120
119
  Irix
121
120
  Isilon OneFS OS
122
121
  JetDirect
data/lib/recog/nizer.rb CHANGED
@@ -8,13 +8,13 @@ class Nizer
8
8
  # Non-weighted host attributes that can be extracted from fingerprint matches
9
9
  HOST_ATTRIBUTES = %W{
10
10
  host.domain
11
- host.id
12
11
  host.ip
13
12
  host.mac
14
13
  host.name
15
14
  host.time
16
15
  hw.device
17
16
  hw.family
17
+ hw.serial_number
18
18
  hw.product
19
19
  hw.vendor
20
20
  }
@@ -264,84 +264,3 @@ class Nizer
264
264
 
265
265
  end
266
266
  end
267
-
268
- =begin
269
-
270
- Current key names:
271
-
272
- apache.info
273
- apache.variant
274
- apache.variant.version
275
- cookie
276
- host.domain
277
- host.id
278
- host.ip
279
- host.mac
280
- host.name
281
- host.time
282
- hw.device
283
- hw.family
284
- hw.product
285
- hw.vendor
286
- imail.eval
287
- jetty.info
288
- junction.cookie
289
- junction.name
290
- linux.kernel.version
291
- loadbalancer.poolname
292
- mdaemon.unregistered
293
- mercur.os.info
294
- metainfo.version
295
- metainfo.version.version
296
- ms.nttp.version
297
- notes.build.version
298
- notes.intl
299
- ntmail.id
300
- openssh.comment
301
- openssh.cvepatch
302
- os.arch
303
- os.build
304
- os.certainty
305
- os.device
306
- os.edition
307
- os.family
308
- os.product
309
- os.vendor
310
- os.version
311
- os.version.version
312
- os.version.version.version
313
- postfix.os.info
314
- postoffice.build
315
- postoffice.id
316
- proftpd.server.name
317
- pureftpd.config
318
- qpopper.version
319
- sendmail.config.version
320
- sendmail.hpux.phne.version
321
- sendmail.vendor.version
322
- service.certainty
323
- service.component.family
324
- service.component.product
325
- service.component.vendor
326
- service.component.version
327
- service.family
328
- service.product
329
- service.vendor
330
- service.version
331
- service.version.version
332
- service.version.version.version
333
- service.version.version.version.version
334
- service.version.version.version.version.version
335
- siemens.model
336
- snmp.fpmib.oid.1
337
- snmp.fpmib.oid.2
338
- system.time
339
- system.time.format
340
- system.time.micros
341
- system.time.millis
342
- thttpd.mx-patch
343
- timeout
344
- tomcat.info
345
- zmailer.ident
346
-
347
- =end
data/lib/recog/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Recog
2
- VERSION = '2.3.20'
2
+ VERSION = '2.3.21'
3
3
  end
data/xml/apache_os.xml CHANGED
@@ -82,7 +82,7 @@
82
82
  <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:-"/>
83
83
  </fingerprint>
84
84
 
85
- <fingerprint pattern=".*(?:Sun )?Cobalt \(Unix\)?.*">
85
+ <fingerprint pattern=".{0,512}(?:Sun )?Cobalt \(Unix\)?.*">
86
86
  <description>Sun Cobalt RaQ (Red Hat based Linux)</description>
87
87
  <param pos="0" name="os.vendor" value="Sun"/>
88
88
  <param pos="0" name="os.family" value="Linux"/>
@@ -17,30 +17,40 @@
17
17
  <fingerprint pattern="^$">
18
18
  <description>empty string -- assert nothing.</description>
19
19
  <example/>
20
+ <param pos="0" name="hw.certainty" value="0.0"/>
21
+ <param pos="0" name="os.certainty" value="0.0"/>
20
22
  <param pos="0" name="service.certainty" value="0.0"/>
21
23
  </fingerprint>
22
24
 
23
25
  <fingerprint pattern="^none$">
24
26
  <description>bare 'none' -- assert nothing.</description>
25
27
  <example>none</example>
28
+ <param pos="0" name="hw.certainty" value="0.0"/>
29
+ <param pos="0" name="os.certainty" value="0.0"/>
26
30
  <param pos="0" name="service.certainty" value="0.0"/>
27
31
  </fingerprint>
28
32
 
29
33
  <fingerprint pattern="^null$">
30
34
  <description>bare 'null' -- assert nothing.</description>
31
35
  <example>null</example>
36
+ <param pos="0" name="hw.certainty" value="0.0"/>
37
+ <param pos="0" name="os.certainty" value="0.0"/>
32
38
  <param pos="0" name="service.certainty" value="0.0"/>
33
39
  </fingerprint>
34
40
 
35
41
  <fingerprint pattern="(?i)^unknown$">
36
42
  <description>bare 'unknown' -- assert nothing.</description>
37
43
  <example>unknown</example>
44
+ <param pos="0" name="hw.certainty" value="0.0"/>
45
+ <param pos="0" name="os.certainty" value="0.0"/>
38
46
  <param pos="0" name="service.certainty" value="0.0"/>
39
47
  </fingerprint>
40
48
 
41
49
  <fingerprint pattern="^no version$">
42
50
  <description>bare 'no version' -- assert nothing.</description>
43
51
  <example>no version</example>
52
+ <param pos="0" name="hw.certainty" value="0.0"/>
53
+ <param pos="0" name="os.certainty" value="0.0"/>
44
54
  <param pos="0" name="service.certainty" value="0.0"/>
45
55
  </fingerprint>
46
56
 
data/xml/favicons.xml CHANGED
@@ -1105,6 +1105,7 @@
1105
1105
  <param pos="0" name="os.family" value="ILOM"/>
1106
1106
  <param pos="0" name="os.product" value="ILOM"/>
1107
1107
  <param pos="0" name="os.certainty" value="0.5"/>
1108
+ <param pos="0" name="os.cpe23" value="cpe:/o:oracle:integrated_lights_out_manager_firmware:-"/>
1108
1109
  </fingerprint>
1109
1110
 
1110
1111
  <fingerprint pattern="^665f96fcdcc9da0ab89312acc02fa815$">
data/xml/ftp_banners.xml CHANGED
@@ -5,9 +5,9 @@
5
5
  against these patterns to fingerprint FTP servers.
6
6
  -->
7
7
 
8
- <fingerprint pattern="^([^ ]+) Microsoft FTP Service \(Version ([1234]\.\d+)\)\.$">
8
+ <fingerprint pattern="^([^ ]{1,512}) Microsoft FTP Service \(Version ([1234]\.\d+)\)\.$">
9
9
  <description>Microsoft FTP Server on Windows NT</description>
10
- <example>xx Microsoft FTP Service (Version 3.0).</example>
10
+ <example host.name="foo.bar" service.version="3.0">foo.bar Microsoft FTP Service (Version 3.0).</example>
11
11
  <param pos="0" name="service.vendor" value="Microsoft"/>
12
12
  <param pos="0" name="service.product" value="IIS"/>
13
13
  <param pos="0" name="service.family" value="IIS"/>
@@ -20,9 +20,9 @@
20
20
  <param pos="1" name="host.name"/>
21
21
  </fingerprint>
22
22
 
23
- <fingerprint pattern="^([^ ]+) Microsoft FTP Service \(Version 5.0\)\.$">
23
+ <fingerprint pattern="^([^ ]{1,512}) Microsoft FTP Service \(Version 5.0\)\.$">
24
24
  <description>Microsoft FTP Server on Windows 2000</description>
25
- <example>xxx Microsoft FTP Service (Version 5.0).</example>
25
+ <example host.name="foo.bar">foo.bar Microsoft FTP Service (Version 5.0).</example>
26
26
  <param pos="0" name="service.vendor" value="Microsoft"/>
27
27
  <param pos="0" name="service.product" value="IIS"/>
28
28
  <param pos="0" name="service.family" value="IIS"/>
@@ -35,9 +35,9 @@
35
35
  <param pos="1" name="host.name"/>
36
36
  </fingerprint>
37
37
 
38
- <fingerprint pattern="^([^ ]+) Microsoft FTP Service \(Version 5.1\)\.$">
38
+ <fingerprint pattern="^([^ ]{1,512}) Microsoft FTP Service \(Version 5.1\)\.$">
39
39
  <description>Microsoft FTP Server on Windows XP, 2003 or later versions of 2000</description>
40
- <example>xxx Microsoft FTP Service (Version 5.1).</example>
40
+ <example host.name="foo.bar">foo.bar Microsoft FTP Service (Version 5.1).</example>
41
41
  <param pos="0" name="service.vendor" value="Microsoft"/>
42
42
  <param pos="0" name="service.product" value="IIS"/>
43
43
  <param pos="0" name="service.family" value="IIS"/>
@@ -49,9 +49,9 @@
49
49
  <param pos="1" name="host.name"/>
50
50
  </fingerprint>
51
51
 
52
- <fingerprint pattern="^([^ ]+) Microsoft FTP Service$">
52
+ <fingerprint pattern="^([^ ]{1,512}) Microsoft FTP Service$">
53
53
  <description>Microsoft FTP Server on Windows XP, 2003 or later without version</description>
54
- <example>hostname Microsoft FTP Service</example>
54
+ <example host.name="foo.bar">foo.bar Microsoft FTP Service</example>
55
55
  <param pos="0" name="service.vendor" value="Microsoft"/>
56
56
  <param pos="0" name="service.product" value="IIS"/>
57
57
  <param pos="0" name="service.family" value="IIS"/>
@@ -76,7 +76,7 @@
76
76
  <param pos="0" name="os.cpe23" value="cpe:/o:microsoft:windows:-"/>
77
77
  </fingerprint>
78
78
 
79
- <fingerprint pattern="^([^ ]+) +FTP +Server \(Version ([^\(]+)\(PHNE_\d+\) [^\)]+\) ready.?$" flags="REG_ICASE">
79
+ <fingerprint pattern="^([^ ]{1,512}) +FTP +Server \(Version ([^\(]+)\(PHNE_\d+\) [^\)]+\) ready.?$" flags="REG_ICASE">
80
80
  <description>FTP on HPUX with a PHNE (HP Networking patch) installed</description>
81
81
  <example>example.com FTP server (Version 1.1.214.4(PHNE_38458) Mon Feb 15 06:03:12 GMT 2010) ready.</example>
82
82
  <param pos="0" name="service.vendor" value="HP"/>
@@ -89,7 +89,7 @@
89
89
  <param pos="2" name="service.version"/>
90
90
  </fingerprint>
91
91
 
92
- <fingerprint pattern="^([^ ]+) +FTP +Server \(Revision \S+ Version wuftpd-([^\(]+)\(PHNE_\d+\) [^\)]+\) ready.?$" flags="REG_ICASE">
92
+ <fingerprint pattern="^([^ ]{1,512}) +FTP +Server \(Revision \S+ Version wuftpd-([^\(]+)\(PHNE_\d+\) [^\)]+\) ready.?$" flags="REG_ICASE">
93
93
  <description>WU-FTPD on HPUX with a PHNE (HP Networking patch) installed</description>
94
94
  <example>example.com FTP server (Revision 1.1 Version wuftpd-2.6.1(PHNE_38578) Fri Sep 5 12:10:54 GMT 2008) ready.</example>
95
95
  <param pos="0" name="service.vendor" value="Washington University"/>
@@ -102,7 +102,7 @@
102
102
  <param pos="2" name="service.version"/>
103
103
  </fingerprint>
104
104
 
105
- <fingerprint pattern="^(\S+)(?: \S+)? FTP Server \((?:Revision [\d\.]+ )?Version wu(?:ftpd)?-([\d\.]+).*\) ready.?$" flags="REG_ICASE">
105
+ <fingerprint pattern="^(\S{1,512})(?: \S{1,512})? FTP Server \((?:Revision [\d\.]+ )?Version wu(?:ftpd)?-([\d\.]+).*\) ready.?$" flags="REG_ICASE">
106
106
  <description>WU-FTPD on various OS</description>
107
107
  <example host.name="example.com" service.version="2.6.2">example.com FTP server (Version wu-2.6.2(1) Sat Jul 19 16:21:30 UTC 2008) ready.</example>
108
108
  <example host.name="example.com" service.version="2.6.2">example.com 192.168.0.1 FTP server (Version wu-2.6.2(1) Wed Sep 21 11:16:21 MEST 2005) ready.</example>
@@ -114,7 +114,7 @@
114
114
  <param pos="2" name="service.version"/>
115
115
  </fingerprint>
116
116
 
117
- <fingerprint pattern="^(\S+)\s+FTP Server \(Version:\s+Mac OS X Server\s+([\d\.]+).*\) ready\.?" flags="REG_ICASE,REG_MULTILINE">
117
+ <fingerprint pattern="^(\S{1,512})\s{1,8}FTP Server \(Version:\s+Mac OS X Server\s+([\d\.]+).*\) ready\.?" flags="REG_ICASE,REG_MULTILINE">
118
118
  <description>FTPD on Mac OS X Server with a version</description>
119
119
  <example host.name="example.com" os.version="10.3">example.com FTP server (Version: Mac OS X Server 10.3 - +GSSAPI) ready.</example>
120
120
  <example host.name="example.com" os.version="10.3">this is a banner. change it.&#13;
@@ -129,7 +129,7 @@ example.com FTP server (Version: Mac OS X Server 10.3 - +GSSAPI) ready.</exampl
129
129
  <param pos="0" name="os.cpe23" value="cpe:/o:apple:mac_os_x_server:{os.version}"/>
130
130
  </fingerprint>
131
131
 
132
- <fingerprint pattern="^(\S+)\s+FTP Server \(Version:\s+Mac OS X Server\) ready\.?" flags="REG_ICASE,REG_MULTILINE">
132
+ <fingerprint pattern="^(\S{1,512})\s{1,8}FTP Server \(Version:\s+Mac OS X Server\) ready\.?" flags="REG_ICASE,REG_MULTILINE">
133
133
  <description>FTPD on Mac OS X Server without a version</description>
134
134
  <example host.name="example.com">example.com FTP server (Version: Mac OS X Server) ready.</example>
135
135
  <example host.name="example.com">this is a banner. change it.&#13;
@@ -143,7 +143,7 @@ example.com FTP server (Version: Mac OS X Server) ready.</example>
143
143
  <param pos="1" name="host.name"/>
144
144
  </fingerprint>
145
145
 
146
- <fingerprint pattern="^(\S+)\s+FTP Server \(tnftpd (.*)\) ready\.?$" flags="REG_ICASE">
146
+ <fingerprint pattern="^(\S{1,512})\s{1,8}FTP Server \(tnftpd (.*)\) ready\.?$" flags="REG_ICASE">
147
147
  <description>Simple tnftpd banner with a version</description>
148
148
  <example host.name="example.com" service.version="20061217">example.com FTP server (tnftpd 20061217) ready.</example>
149
149
  <param pos="0" name="service.product" value="tnftpd"/>
@@ -151,7 +151,7 @@ example.com FTP server (Version: Mac OS X Server) ready.</example>
151
151
  <param pos="1" name="host.name"/>
152
152
  </fingerprint>
153
153
 
154
- <fingerprint pattern="^(\S+) FTP Server \(SunOS 5.(1[1-9])\) ready\.?$" flags="REG_ICASE">
154
+ <fingerprint pattern="^(\S{1,512}) FTP Server \(SunOS 5.(1[1-9])\) ready\.?$" flags="REG_ICASE">
155
155
  <description>SunOS/Solaris</description>
156
156
  <example host.name="example.com" os.version="11">example.com FTP server (SunOS 5.11) ready.</example>
157
157
  <param pos="0" name="os.vendor" value="Oracle"/>
@@ -162,7 +162,7 @@ example.com FTP server (Version: Mac OS X Server) ready.</example>
162
162
  <param pos="0" name="os.cpe23" value="cpe:/o:oracle:solaris:{os.version}"/>
163
163
  </fingerprint>
164
164
 
165
- <fingerprint pattern="^(\S+) FTP Server \(SunOS 5.([789]|10)\) ready\.?$" flags="REG_ICASE">
165
+ <fingerprint pattern="^(\S{1,512}) FTP Server \(SunOS 5.([789]|10)\) ready\.?$" flags="REG_ICASE">
166
166
  <description>SunOS/Solaris 5.7-5.10</description>
167
167
  <example host.name="example.com" os.version="7">example.com FTP server (SunOS 5.7) ready.</example>
168
168
  <example host.name="example.com" os.version="10">example.com FTP server (SunOS 5.10) ready.</example>
@@ -174,7 +174,7 @@ example.com FTP server (Version: Mac OS X Server) ready.</example>
174
174
  <param pos="0" name="os.cpe23" value="cpe:/o:sun:solaris:{os.version}"/>
175
175
  </fingerprint>
176
176
 
177
- <fingerprint pattern="^(\S+) FTP Server \(SunOS 5.6\) ready\." flags="REG_ICASE">
177
+ <fingerprint pattern="^(\S{1,512}) FTP Server \(SunOS 5.6\) ready\." flags="REG_ICASE">
178
178
  <description>SunOS 5.6 (Solaris 2.6)</description>
179
179
  <example host.name="example.com">example.com FTP Server (SunOS 5.6) ready.</example>
180
180
  <param pos="0" name="os.vendor" value="Sun"/>
@@ -320,7 +320,7 @@ example.com FTP server (Version: Mac OS X Server) ready.</example>
320
320
  <param pos="0" name="service.cpe23" value="cpe:/a:proftpd:proftpd:-"/>
321
321
  </fingerprint>
322
322
 
323
- <fingerprint pattern="^(?:\d{4}\-\d\d\-\d\d \d\d:\d\d:\d\d,\d\d\d )?(\S+) proftpd\[\d+\]: error: no valid servers configured">
323
+ <fingerprint pattern="^(?:\d{4}\-\d\d\-\d\d \d\d:\d\d:\d\d,\d\d\d )?(\S{1,512}) proftpd\[\d+\]: error: no valid servers configured">
324
324
  <description>ProFTPD no valid servers configured</description>
325
325
  <example host.name="ftp.host.com">ftp.host.com proftpd[40312]: error: no valid servers configured\n</example>
326
326
  <example host.name="hostname.com">2016-10-31 12:14:35,524 hostname.com proftpd[26992]: error: no valid servers configured\n</example>
@@ -443,6 +443,9 @@ more text</example>
443
443
  <fingerprint pattern="^Welcom to Serv-U FTP Server$">
444
444
  <description>Common FTP banner modification to look like Serv-U -- assert nothing.</description>
445
445
  <example>Welcom to Serv-U FTP Server</example>
446
+ <param pos="0" name="hw.certainty" value="0.0"/>
447
+ <param pos="0" name="os.certainty" value="0.0"/>
448
+ <param pos="0" name="service.certainty" value="0.0"/>
446
449
  </fingerprint>
447
450
 
448
451
  <fingerprint pattern="^zFTPServer v?(\S+), .*ready\.$" flags="REG_ICASE">
@@ -515,7 +518,7 @@ more text</example>
515
518
  <param pos="0" name="os.cpe23" value="cpe:/o:microsoft:windows:-"/>
516
519
  </fingerprint>
517
520
 
518
- <fingerprint pattern="^\s*APC FTP server ready\.$">
521
+ <fingerprint pattern="^\s{0,1024}APC FTP server ready\.$">
519
522
  <description>APC device</description>
520
523
  <example>APC FTP server ready.</example>
521
524
  <param pos="0" name="service.vendor" value="APC"/>
@@ -526,7 +529,7 @@ more text</example>
526
529
  <param pos="0" name="hw.device" value="Power Device"/>
527
530
  </fingerprint>
528
531
 
529
- <fingerprint pattern="^(\S+) Network Management Card AOS v(\d+\..+) FTP server ready\.$">
532
+ <fingerprint pattern="^(\S{1,64}) Network Management Card AOS v(\d+\..+) FTP server ready\.$">
530
533
  <description>APC power/cooling device</description>
531
534
  <example service.version="3.3.4">AP7932 Network Management Card AOS v3.3.4 FTP server ready.</example>
532
535
  <example os.version="3.6.1">ACRC103 Network Management Card AOS v3.6.1 FTP server ready.</example>
@@ -543,7 +546,7 @@ more text</example>
543
546
  <param pos="0" name="hw.device" value="Power Device"/>
544
547
  </fingerprint>
545
548
 
546
- <fingerprint pattern="^(\S+) FTP server \(EMC-SNAS: ([^\)]+)\)(?: \S+)?$">
549
+ <fingerprint pattern="^(\S{1,512}) FTP server \(EMC-SNAS: ([^\)]+)\)(?: \S+)?$">
547
550
  <description>EMC Celerra</description>
548
551
  <example service.version="5.6.47.11">foo2 FTP server (EMC-SNAS: 5.6.47.11)</example>
549
552
  <example service.version="5.6.50.203">foo2 FTP server (EMC-SNAS: 5.6.50.203) ready.</example>
@@ -612,7 +615,7 @@ more text</example>
612
615
  <param pos="0" name="service.product" value="Nepenthes"/>
613
616
  </fingerprint>
614
617
 
615
- <fingerprint pattern="^[^ ]+ IBM FTP CS (V1R\d+) at ([^,]*),.*">
618
+ <fingerprint pattern="^[^ ]{1,512} IBM FTP CS (V1R\d+) at ([^,]*),.*">
616
619
  <description>IBM z/OS FTP Service</description>
617
620
  <example>SFTPD1 IBM FTP CS V1R4 at x.y.z, 21:02:19 on 2007-12-15.</example>
618
621
  <param pos="0" name="service.vendor" value="IBM"/>
@@ -637,7 +640,7 @@ more text</example>
637
640
  <param pos="0" name="os.device" value="Point of Sale"/>
638
641
  </fingerprint>
639
642
 
640
- <fingerprint pattern="^([^ ]+) NcFTPd Server \(licensed copy\) ready\.$">
643
+ <fingerprint pattern="^([^ ]{1,512}) NcFTPd Server \(licensed copy\) ready\.$">
641
644
  <description>NcFTPd Server
642
645
  http://www.ncftp.com/ncftpd/</description>
643
646
  <example>ftp.example.com NcFTPd Server (licensed copy) ready.</example>
@@ -646,7 +649,7 @@ more text</example>
646
649
  <param pos="1" name="host.name"/>
647
650
  </fingerprint>
648
651
 
649
- <fingerprint pattern="^(\S+) DCS-2100 FTP server ready\.$">
652
+ <fingerprint pattern="^(\S{1,512}) DCS-2100 FTP server ready\.$">
650
653
  <description>D-Link DCS-2100 wireless internet camera</description>
651
654
  <example>hostname DCS-2100 FTP server ready.</example>
652
655
  <param pos="0" name="os.vendor" value="D-Link"/>
@@ -888,7 +891,7 @@ more text</example>
888
891
  <param pos="0" name="os.cpe23" value="cpe:/o:windriver:vxworks:-"/>
889
892
  </fingerprint>
890
893
 
891
- <fingerprint pattern="^[\w\-\.]* FTP server \((?:VxWorks\s?)+([\d\.]+)\) ready.$" flags="REG_ICASE">
894
+ <fingerprint pattern="^[\w\-\.]{0,128} FTP server \((?:VxWorks\s?)+([\d\.]+)\) ready.$" flags="REG_ICASE">
892
895
  <description>VxWorks 6 with version information</description>
893
896
  <example os.version="6.6">NanoDAC FTP server (VxWorks VxWorks 6.6) ready.</example>
894
897
  <example os.version="6.4">BVS-MR-BSC2 FTP server (VxWorks 6.4) ready.</example>
@@ -898,7 +901,7 @@ more text</example>
898
901
  <param pos="0" name="os.cpe23" value="cpe:/o:windriver:vxworks:{os.version}"/>
899
902
  </fingerprint>
900
903
 
901
- <fingerprint pattern="^[\w&lt;&gt;]+\s*Tenor Multipath Switch FTP server \(Version VxWorks([\d\.]+)\) ready\.$" flags="REG_ICASE">
904
+ <fingerprint pattern="^[\w&lt;&gt;]{1,32}\s{1,8}Tenor Multipath Switch FTP server \(Version VxWorks([\d\.]+)\) ready\.$" flags="REG_ICASE">
902
905
  <description>VxWorks on Tenor MultiPath with version information</description>
903
906
  <example os.version="5.4.2">&lt;38785ca0&gt; Tenor Multipath Switch FTP server (Version VxWorks5.4.2) ready.</example>
904
907
  <param pos="0" name="os.vendor" value="Wind River"/>
@@ -1044,7 +1047,7 @@ more text</example>
1044
1047
  <param pos="2" name="os.version"/>
1045
1048
  </fingerprint>
1046
1049
 
1047
- <fingerprint pattern="^ET(\S+) Source Technologies (ST-96\S+) FTP Server (\S+) ready\.?$">
1050
+ <fingerprint pattern="^ET(\S{1,12}) Source Technologies (ST-96\S+) FTP Server (\S+) ready\.?$">
1048
1051
  <description>Source Technologies ST9600 Series Secure Printer</description>
1049
1052
  <example>ET0021B730F70E Source Technologies ST-9620 FTP Server NJ.APS.N254e ready.</example>
1050
1053
  <example>ET0021B7549AF2 Source Technologies ST-9620 FTP Server NR.APS.N447b2 ready.</example>
@@ -1057,7 +1060,7 @@ more text</example>
1057
1060
  <param pos="3" name="os.version"/>
1058
1061
  </fingerprint>
1059
1062
 
1060
- <fingerprint pattern="^ET(\S+) (Pro\d+) Series FTP Server ready\.$" certainty="1.0">
1063
+ <fingerprint pattern="^ET(\S{1,12}) (Pro\d+) Series FTP Server ready\.$" certainty="1.0">
1061
1064
  <description>Lexmark ProXXX Series of Printers</description>
1062
1065
  <example host.mac="0020007E4D2A" hw.product="Pro700">ET0020007E4D2A Pro700 Series FTP Server ready.</example>
1063
1066
  <param pos="0" name="os.vendor" value="Lexmark"/>
@@ -1070,7 +1073,7 @@ more text</example>
1070
1073
  <param pos="2" name="hw.product"/>
1071
1074
  </fingerprint>
1072
1075
 
1073
- <fingerprint pattern="^ET(\S+) Lexmark Forms Printer (\d+) Ethernet FTP Server (\S+) ready\.$" certainty="1.0">
1076
+ <fingerprint pattern="^ET(\S{1,12}) Lexmark Forms Printer (\d+) Ethernet FTP Server (\S+) ready\.$" certainty="1.0">
1074
1077
  <description>Lexmark Forms Printer</description>
1075
1078
  <example os.product="2590">ET0020004F54EE Lexmark Forms Printer 2590 Ethernet FTP Server LCL.CU.P012c ready.</example>
1076
1079
  <param pos="0" name="os.vendor" value="Lexmark"/>
@@ -1085,7 +1088,7 @@ more text</example>
1085
1088
  <param pos="2" name="hw.product"/>
1086
1089
  </fingerprint>
1087
1090
 
1088
- <fingerprint pattern="^ET(\S+) TOSHIBA e-STUDIO500S FTP Server (\S+) ready\.$" certainty="1.0">
1091
+ <fingerprint pattern="^ET(\S{1,12}) TOSHIBA e-STUDIO500S FTP Server (\S+) ready\.$" certainty="1.0">
1089
1092
  <description>Toshiba e-STUDIO Printer with MAC address</description>
1090
1093
  <example os.version="NC2.NPS.N221">ET0004001E9C00 TOSHIBA e-STUDIO500S FTP Server NC2.NPS.N221 ready.</example>
1091
1094
  <example host.mac="00040089BE42">ET00040089BE42 TOSHIBA e-STUDIO500S FTP Server NC2.NPS.N211 ready.</example>
@@ -1099,7 +1102,7 @@ more text</example>
1099
1102
  <param pos="0" name="hw.product" value="e-STUDIO"/>
1100
1103
  </fingerprint>
1101
1104
 
1102
- <fingerprint pattern="^\S+ TOSHIBA e-STUDIO500S FTP Server (\S+) ready\.$" certainty="1.0">
1105
+ <fingerprint pattern="^\S{1,16} TOSHIBA e-STUDIO500S FTP Server (\S+) ready\.$" certainty="1.0">
1103
1106
  <description>Toshiba e-STUDIO Printer</description>
1104
1107
  <example os.version="NC2.NPS.N211">JHBPRN13 TOSHIBA e-STUDIO500S FTP Server NC2.NPS.N211 ready.</example>
1105
1108
  <param pos="0" name="os.vendor" value="Toshiba"/>
@@ -1297,7 +1300,7 @@ more text</example>
1297
1300
  <param pos="1" name="hw.product"/>
1298
1301
  </fingerprint>
1299
1302
 
1300
- <fingerprint pattern="^(ET(\S+)) Dell (\S+ Laser Printer) FTP Server">
1303
+ <fingerprint pattern="^(ET(\S{1,32})) Dell (\S+ Laser Printer) FTP Server">
1301
1304
  <description>Dell Laser Printer</description>
1302
1305
  <example host.name="ET0021B71A1111" host.mac="0021B71A1111" hw.product="2350dn Laser Printer">ET0021B71A1111 Dell 2350dn Laser Printer FTP Server NR.APS.N449 ready.</example>
1303
1306
  <param pos="0" name="os.vendor" value="Dell"/>
@@ -1309,11 +1312,14 @@ more text</example>
1309
1312
  <param pos="3" name="hw.product"/>
1310
1313
  </fingerprint>
1311
1314
 
1312
- <fingerprint pattern="^(\S+) FTP server \(Version \S+ \w+ \w+ \d{1,2} \d{1,2}:\d{1,2}:\d{1,2} [A-Z]+ (?:1|2)\d{3}\) ready\.?$">
1315
+ <fingerprint pattern="^(\S{1,512}) FTP server \(Version \S+ \w+ \w+ \d{1,2} \d{1,2}:\d{1,2}:\d{1,2} [A-Z]+ (?:1|2)\d{3}\) ready\.?$">
1313
1316
  <description>Generic/unknown FTP Server found on HP-UX and AIX systems</description>
1314
1317
  <example host.name="host.example.com">host.example.com FTP server (Version 4.1 Sat Sep 7 14:31:53 CDT 2002) ready.</example>
1315
1318
  <example host.name="host.example.com">host.example.com FTP server (Version 5.3 Sat Jan 10 14:01:03 CDT 2012) ready</example>
1316
1319
  <param pos="1" name="host.name"/>
1320
+ <param pos="0" name="hw.certainty" value="0.0"/>
1321
+ <param pos="0" name="os.certainty" value="0.0"/>
1322
+ <param pos="0" name="service.certainty" value="0.0"/>
1317
1323
  </fingerprint>
1318
1324
 
1319
1325
  <fingerprint pattern="^Welcome to the (?:Cisco )?(?:TelePresence) ([a-zA-Z\s]*?) ((?:MSE )?\d+), version (\d+.\d+\(\d+.\d+\)).*?" flags="REG_ICASE">
@@ -1332,7 +1338,7 @@ more text</example>
1332
1338
  <param pos="3" name="os.version"/>
1333
1339
  </fingerprint>
1334
1340
 
1335
- <fingerprint pattern="^(\S+) FTP server \((?:HP|Compaq) Tru64 UNIX Version (\S+)\) ready\.?$">
1341
+ <fingerprint pattern="^(\S{1,512}) FTP server \((?:HP|Compaq) Tru64 UNIX Version (\S+)\) ready\.?$">
1336
1342
  <description>Digital/Compaq/HP Tru64 Unix</description>
1337
1343
  <example host.name="example.com" os.version="5.60">example.com FTP server (Compaq Tru64 UNIX Version 5.60) ready.</example>
1338
1344
  <param pos="0" name="os.vendor" value="HP"/>
@@ -1343,7 +1349,7 @@ more text</example>
1343
1349
  <param pos="0" name="os.cpe23" value="cpe:/o:hp:tru64_unix:{os.version}"/>
1344
1350
  </fingerprint>
1345
1351
 
1346
- <fingerprint pattern="^(\S+) FTP server \(Digital UNIX Version (\S+)\) ready\.?$">
1352
+ <fingerprint pattern="^(\S{1,512}) FTP server \(Digital UNIX Version (\S+)\) ready\.?$">
1347
1353
  <description>Digital/Compaq/HP Tru64 Unix w/o branding</description>
1348
1354
  <example host.name="example.com" os.version="5.60">example.com FTP server (Digital UNIX Version 5.60) ready.</example>
1349
1355
  <param pos="0" name="os.vendor" value="HP"/>
@@ -1353,7 +1359,7 @@ more text</example>
1353
1359
  <param pos="2" name="os.version"/>
1354
1360
  </fingerprint>
1355
1361
 
1356
- <fingerprint pattern="^(\S+) FTP server \(MikroTik ([\d\.]+)\) ready\.?$">
1362
+ <fingerprint pattern="^(\S{1,512}) FTP server \(MikroTik ([\d\.]+)\) ready\.?$">
1357
1363
  <description>MikroTik</description>
1358
1364
  <example host.name="example.com" os.version="6.18">example.com FTP server (MikroTik 6.18) ready</example>
1359
1365
  <param pos="0" name="os.vendor" value="MikroTik"/>
@@ -1363,7 +1369,7 @@ more text</example>
1363
1369
  <param pos="0" name="os.cpe23" value="cpe:/o:mikrotik:routeros:{os.version}"/>
1364
1370
  </fingerprint>
1365
1371
 
1366
- <fingerprint pattern="^.* FTP server \(MikroTik (\d\.[\w\.]+)\) ready\.?$">
1372
+ <fingerprint pattern="^.{0,1024} FTP server \(MikroTik (\d\.[\w\.]+)\) ready\.?$">
1367
1373
  <description>MikroTik with description</description>
1368
1374
  <example os.version="6.43.16">Super Thing_Place- FTP server (MikroTik 6.43.16) ready</example>
1369
1375
  <example os.version="6.43.16beta2">Super Thing_Place- FTP server (MikroTik 6.43.16beta2) ready</example>
@@ -1541,7 +1547,7 @@ more text</example>
1541
1547
  <param pos="0" name="os.cpe23" value="cpe:/o:microsoft:windows:-"/>
1542
1548
  </fingerprint>
1543
1549
 
1544
- <fingerprint pattern="^([\w.-]+) X2 WS_FTP Server ([\d.]{3,6}\s?\(\d+\))$">
1550
+ <fingerprint pattern="^([\w.-]{1,512}) X2 WS_FTP Server ([\d.]{3,6}\s?\(\d+\))$">
1545
1551
  <description>WS_FTP FTP Server on Windows - X2 variant</description>
1546
1552
  <example service.version="7.7(50012467)" host.name="a.host.name.tld">a.host.name.tld X2 WS_FTP Server 7.7(50012467)</example>
1547
1553
  <example service.version="5.0.5 (1989540204)" host.name="a.host.name.tld">a.host.name.tld X2 WS_FTP Server 5.0.5 (1989540204)</example>
@@ -1624,11 +1630,11 @@ more text</example>
1624
1630
 
1625
1631
  <fingerprint pattern="^Sofrel (S5[\w]+) SN ([\d-]+) ready. Time is (\d{2}:\d{2}:\d{2} \d{2}\/\d{2}\/\d{2})\.$">
1626
1632
  <description>Sofrel Remote Terminal Unit</description>
1627
- <example hw.product="S500" host.id="01-499-00427" system.time="00:11:39 01/11/16">Sofrel S500 SN 01-499-00427 ready. Time is 00:11:39 01/11/16.</example>
1633
+ <example hw.product="S500" hw.serial_number="01-499-00427" system.time="00:11:39 01/11/16">Sofrel S500 SN 01-499-00427 ready. Time is 00:11:39 01/11/16.</example>
1628
1634
  <param pos="0" name="hw.vendor" value="Sofrel"/>
1629
1635
  <param pos="0" name="hw.family" value="S500 Range"/>
1630
1636
  <param pos="1" name="hw.product"/>
1631
- <param pos="2" name="host.id"/>
1637
+ <param pos="2" name="hw.serial_number"/>
1632
1638
  <param pos="0" name="system.time.format" value="HH:mm:ss dd/MM/yy"/>
1633
1639
  <param pos="3" name="system.time"/>
1634
1640
  </fingerprint>
@@ -1644,13 +1650,16 @@ more text</example>
1644
1650
  <param pos="2" name="hw.product"/>
1645
1651
  </fingerprint>
1646
1652
 
1647
- <fingerprint pattern="^(\S+) FTP server ready\.?$" flags="REG_ICASE">
1653
+ <fingerprint pattern="^(\S{1,512}) FTP server ready\.?$" flags="REG_ICASE">
1648
1654
  <description>Generic FTP fingerprint with a hostname</description>
1649
1655
  <example host.name="example.com">example.com FTP server ready.</example>
1650
1656
  <param pos="1" name="host.name"/>
1657
+ <param pos="0" name="hw.certainty" value="0.0"/>
1658
+ <param pos="0" name="os.certainty" value="0.0"/>
1659
+ <param pos="0" name="service.certainty" value="0.0"/>
1651
1660
  </fingerprint>
1652
1661
 
1653
- <fingerprint pattern="^(\S+) FTP server \(Version (\d.*)\) ready\.?$" flags="REG_ICASE">
1662
+ <fingerprint pattern="^(\S{1,512}) FTP server \(Version (\d.*)\) ready\.?$" flags="REG_ICASE">
1654
1663
  <description>Generic FTP fingerprint with a hostname and a version for a generic FTP implementation</description>
1655
1664
  <example host.name="example.com" service.version="6.00LS">example.com FTP server (Version 6.00LS) ready.</example>
1656
1665
  <example host.name="example.com" service.version="1.2">example.com FTP server (Version 1.2) ready.</example>
@@ -1666,6 +1675,9 @@ more text</example>
1666
1675
  <example>FTP-Server</example>
1667
1676
  <example>FTP Server</example>
1668
1677
  <example>FTP service ready.</example>
1678
+ <param pos="0" name="hw.certainty" value="0.0"/>
1679
+ <param pos="0" name="os.certainty" value="0.0"/>
1680
+ <param pos="0" name="service.certainty" value="0.0"/>
1669
1681
  </fingerprint>
1670
1682
 
1671
1683
  <fingerprint pattern="^Welcom to ProRat Ftp Server$">
@@ -1675,7 +1687,7 @@ more text</example>
1675
1687
  <param pos="0" name="service.product" value="ProRat"/>
1676
1688
  </fingerprint>
1677
1689
 
1678
- <fingerprint pattern="^(?:(\S+) )?FTP Server \(vftpd ([\d.]+)\) ready\.?$">
1690
+ <fingerprint pattern="^(?:(\S{1,512}) )?FTP Server \(vftpd ([\d.]+)\) ready\.?$">
1679
1691
  <description>Vermillion FTP Daemon</description>
1680
1692
  <example host.name="srv.name" service.version="1.23">srv.name FTP Server (vftpd 1.23) ready.</example>
1681
1693
  <example service.version="1.31">FTP Server (vftpd 1.31) ready.</example>
@@ -1689,7 +1701,7 @@ more text</example>
1689
1701
  <param pos="1" name="host.name"/>
1690
1702
  </fingerprint>
1691
1703
 
1692
- <fingerprint pattern="^(?:(\S+) )?FTP server \(QVT\/Net ([\d.]+)\) ready\.?$">
1704
+ <fingerprint pattern="^(?:(\S{1,512}) )?FTP server \(QVT\/Net ([\d.]+)\) ready\.?$">
1693
1705
  <description>QVT/Net FTP Server</description>
1694
1706
  <example host.name="siren" service.version="5.1">siren FTP server (QVT/Net 5.1) ready.</example>
1695
1707
  <example host.name="qpc-qvtnet" service.version="4.1">qpc-qvtnet FTP server (QVT/Net 4.1) ready.</example>