recog 2.3.5 → 2.3.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa45c67f4a225e53c7652e9175945a943b73245c9552e50dbe8ba0681ec07722
4
- data.tar.gz: 80c8391cdb963c981cd3ebd170f2899a756811dbe1f92e4ac9542e2ed941e9c1
3
+ metadata.gz: b60833490c7a94f6c81513f721de1b34be245a5cd18989cbc9d7b3a35d57b871
4
+ data.tar.gz: abc5439affd22cad84be56ea210edda1bf0b83aa8f2a07f740486af1a1907efb
5
5
  SHA512:
6
- metadata.gz: cb5fbebf168eb99e8d83ceb5e3793e9a708f44a452478b23016aaeaed6da7b30e696a508f87052654a4dea7a90549e6b23c6b3b73343d3a98f7025cdc3b28c24
7
- data.tar.gz: a794f4f31c037afdbacf9bbbf0c137cc89e3ffa4a451d8ca75005b5f907d0ad282a98a8af0a73403be8ac574c1fd3054edf6f6a819655aac0b6728d7adb84a53
6
+ metadata.gz: dd678b1d9050b15c78fac56b505a2f425f9dfc4661115126ef2e111168d1d80ce21d2910211007262051259b002767158d7b473682e040e03d676bffdd798c04
7
+ data.tar.gz: e6115a9414c280e506c212e38b6ea65e5523e0ce6f7ba08ecc0aacc05a99200463edf1b884250e8b4110011b2fb718ab621e8adb1a4f5badb87391f509c7632b
@@ -7,6 +7,11 @@ rvm:
7
7
  - '2.5.3'
8
8
  - '2.6.1'
9
9
  - 'jruby-9.1.9.0'
10
+ jdk:
11
+ - openjdk8
12
+ matrix:
13
+ allow_failures:
14
+ - rvm: 'jruby-9.1.9.0'
10
15
  before_install:
11
16
  - "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
12
17
  - rake --version
@@ -2,7 +2,7 @@
2
2
  <fingerprints>
3
3
  <fingerprint pattern="^Cisco-SIPGateway/IOS-([\d\.x]+)$">
4
4
  <description>Cisco SIPGateway</description>
5
- <example>Cisco-SIPGateway/IOS-12.x</example>
5
+ <example os.version="12.x">Cisco-SIPGateway/IOS-12.x</example>
6
6
  <param pos="0" name="os.vendor" value="Cisco"/>
7
7
  <param pos="0" name="os.product" value="IOS"/>
8
8
  <param pos="1" name="os.version"/>
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0"?>
2
2
  <fingerprints>
3
3
  <fingerprint pattern="^-{10} Welcome to Pure-FTPd (.*)-{10}$">
4
- <example>---------- Welcome to Pure-FTPd ----------</example>
4
+ <example pureftpd.config="">---------- Welcome to Pure-FTPd ----------</example>
5
5
  <description>Pure-FTPd</description>
6
6
  <param pos="1" name="pureftpd.config"/>
7
7
  <param pos="0" name="service.family" value="Pure-FTPd"/>
@@ -18,9 +18,10 @@ Feature: Verify
18
18
  Then it should fail with:
19
19
  """
20
20
  WARN: 'Pure-FTPd' has no test cases
21
- SUMMARY: Test completed with 1 successful, 1 warnings, and 0 failures
21
+ WARN: 'Pure-FTPd' is missing an example that checks for parameter 'pureftpd.config' messsage which is derived from a capture group
22
+ SUMMARY: Test completed with 1 successful, 2 warnings, and 0 failures
22
23
  """
23
- And the exit status should be 1
24
+ And the exit status should be 2
24
25
 
25
26
  Scenario: Tests with warnings, warnings disabled
26
27
  When I run `recog_verify --no-warnings tests_with_warnings.xml`
@@ -40,5 +41,3 @@ Feature: Verify
40
41
  SUMMARY: Test completed with 0 successful, 0 warnings, and 4 failures
41
42
  """
42
43
  And the exit status should be 4
43
-
44
-
@@ -156,10 +156,13 @@ class Fingerprint
156
156
  # @yieldparam message [String] A human-readable string explaining the
157
157
  # `status`
158
158
  def verify_tests(&block)
159
+
160
+ # look for the presence of test cases
159
161
  if tests.size == 0
160
162
  yield :warn, "'#{@name}' has no test cases"
161
163
  end
162
164
 
165
+ # make sure each test case passes
163
166
  tests.each do |test|
164
167
  result = match(test.content)
165
168
  if result.nil?
@@ -181,6 +184,49 @@ class Fingerprint
181
184
  end
182
185
  yield status, message
183
186
  end
187
+
188
+ # make sure there are capture groups for all params that use them
189
+ verify_tests_have_capture_groups(&block)
190
+ end
191
+
192
+ # For fingerprints that specify parameters that are defined by
193
+ # capture groups, ensure that each parameter has at least one test
194
+ # that defines an attribute to test for the correct capture of that
195
+ # parameter.
196
+ #
197
+ # @yieldparam status [Symbol] One of `:warn`, `:fail`, or `:success` to
198
+ # indicate whether a test worked
199
+ # @yieldparam message [String] A human-readable string explaining the
200
+ # `status`
201
+ def verify_tests_have_capture_groups(&block)
202
+ capture_group_used = {}
203
+ if !params.empty?
204
+ # get a list of parameters that are defined by capture groups
205
+ params.each do |param_name, pos_value|
206
+ pos, value = pos_value
207
+ if pos > 0 && value.to_s.empty?
208
+ capture_group_used[param_name] = false
209
+ end
210
+ end
211
+ end
212
+
213
+ # match up the fingerprint parameters with test attributes
214
+ tests.each do |test|
215
+ test.attributes.each do |k,v|
216
+ if capture_group_used.has_key?(k)
217
+ capture_group_used[k] = true
218
+ end
219
+ end
220
+ end
221
+
222
+ # alert on untested parameters
223
+ capture_group_used.each do |param_name, param_used|
224
+ if !param_used
225
+ message = "'#{@name}' is missing an example that checks for parameter '#{param_name}' " +
226
+ "messsage which is derived from a capture group"
227
+ yield :warn, message
228
+ end
229
+ end
184
230
  end
185
231
 
186
232
  private
@@ -1,3 +1,3 @@
1
1
  module Recog
2
- VERSION = '2.3.5'
2
+ VERSION = '2.3.6'
3
3
  end
@@ -0,0 +1,86 @@
1
+ <fingerprints>
2
+
3
+ <fingerprint pattern="^[dD]ovecot (?:\((.*)\) )?(?:DA )?ready\.(?: &lt;.+@(.+)&gt;)?$">
4
+ <description>Dovecot Secure POP Server - no params</description>
5
+ <example>Dovecot ready.</example>
6
+ </fingerprint>
7
+
8
+ <fingerprint pattern="^[dD]ovecot (?:\((.*)\) )?(?:DA )?ready\.(?: &lt;.+@(.+)&gt;)?$">
9
+ <description>Dovecot Secure POP Server - no params defined by capture group</description>
10
+ <example>Dovecot ready.</example>
11
+ <param pos="0" name="service.family" value="Dovecot"/>
12
+ <param pos="0" name="service.product" value="Dovecot"/>
13
+ </fingerprint>
14
+
15
+ <fingerprint pattern="^[dD]ovecot (?:\((.*)\) )?(?:DA )?ready\.(?: &lt;.+@(.+)&gt;)?$">
16
+ <description>Dovecot Secure POP Server - no example</description>
17
+ <param pos="0" name="service.family" value="Dovecot"/>
18
+ <param pos="0" name="service.product" value="Dovecot"/>
19
+ </fingerprint>
20
+
21
+ <fingerprint pattern="^[dD]ovecot (?:\((.*)\) )?(?:DA )?ready\.(?: &lt;.+@(.+)&gt;)?$">
22
+ <description>Dovecot Secure POP Server - one parameter, one example</description>
23
+ <example host.name="domain">Dovecot ready. &lt;abc11.1.1234abcd.abdcabcdabcd@domain&gt;</example>
24
+ <param pos="0" name="service.family" value="Dovecot"/>
25
+ <param pos="0" name="service.product" value="Dovecot"/>
26
+ <param pos="2" name="host.name"/>
27
+ </fingerprint>
28
+
29
+ <fingerprint pattern="^[dD]ovecot (?:\((.*)\) )?(?:DA )?ready\.(?: &lt;.+@(.+)&gt;)?$">
30
+ <description>Dovecot Secure POP Server - two paremeters, one example</description>
31
+ <example host.name="domain" os.vendor="Ubuntu">Dovecot (Ubuntu) ready. &lt;abc11.1.1234abcd.abdcabcdabcd@domain&gt;</example>
32
+ <param pos="0" name="service.family" value="Dovecot"/>
33
+ <param pos="0" name="service.product" value="Dovecot"/>
34
+ <param pos="1" name="os.vendor"/>
35
+ <param pos="2" name="host.name"/>
36
+ </fingerprint>
37
+
38
+ <fingerprint pattern="^[dD]ovecot (?:\((.*)\) )?(?:DA )?ready\.(?: &lt;.+@(.+)&gt;)?$">
39
+ <description>Dovecot Secure POP Server - two parameters, two examples</description>
40
+ <example host.name="domain">Dovecot ready. &lt;abc11.1.1234abcd.abdcabcdabcd@domain&gt;</example>
41
+ <example os.vendor="Ubuntu">Dovecot (Ubuntu) ready.</example>
42
+ <param pos="0" name="service.family" value="Dovecot"/>
43
+ <param pos="0" name="service.product" value="Dovecot"/>
44
+ <param pos="1" name="os.vendor"/>
45
+ <param pos="2" name="host.name"/>
46
+ </fingerprint>
47
+
48
+ <fingerprint pattern="^[dD]ovecot (?:\((.*)\) )?(?:DA )?ready\.(?: &lt;.+@(.+)&gt;)?$">
49
+ <description>Dovecot Secure POP Server - two parameters, one example, one missing param</description>
50
+ <example host.name="domain">Dovecot ready. &lt;abc11.1.1234abcd.abdcabcdabcd@domain&gt;</example>
51
+ <param pos="0" name="service.family" value="Dovecot"/>
52
+ <param pos="0" name="service.product" value="Dovecot"/>
53
+ <param pos="1" name="os.vendor"/>
54
+ <param pos="2" name="host.name"/>
55
+ </fingerprint>
56
+
57
+ <fingerprint pattern="^[dD]ovecot (?:\((.*)\) )?(?:DA )?ready\.(?: &lt;.+@(.+)&gt;)?$">
58
+ <description>Dovecot Secure POP Server - two parameters, one example, two missing params</description>
59
+ <example>Dovecot ready. &lt;abc11.1.1234abcd.abdcabcdabcd@domain&gt;</example>
60
+ <param pos="0" name="service.family" value="Dovecot"/>
61
+ <param pos="0" name="service.product" value="Dovecot"/>
62
+ <param pos="1" name="os.vendor"/>
63
+ <param pos="2" name="host.name"/>
64
+ </fingerprint>
65
+
66
+ <fingerprint pattern="^[dD]ovecot (?:\((.*)\) )?(?:DA )?ready\.(?: &lt;.+@(.+)&gt;)?$">
67
+ <description>Dovecot Secure POP Server - two parameters, two examples, one missing param</description>
68
+ <example host.name="domain">Dovecot ready. &lt;abc11.1.1234abcd.abdcabcdabcd@domain&gt;</example>
69
+ <example>Dovecot (Ubuntu) ready.</example>
70
+ <param pos="0" name="service.family" value="Dovecot"/>
71
+ <param pos="0" name="service.product" value="Dovecot"/>
72
+ <param pos="1" name="os.vendor"/>
73
+ <param pos="2" name="host.name"/>
74
+ </fingerprint>
75
+
76
+ <fingerprint pattern="^[dD]ovecot (?:\((.*)\) )?(?:DA )?ready\.(?: &lt;.+@(.+)&gt;)?$">
77
+ <description>Dovecot Secure POP Server - two parameters, two examples, two missing params</description>
78
+ <example>Dovecot ready. &lt;abc11.1.1234abcd.abdcabcdabcd@domain&gt;</example>
79
+ <example>Dovecot (Ubuntu) ready.</example>
80
+ <param pos="0" name="service.family" value="Dovecot"/>
81
+ <param pos="0" name="service.product" value="Dovecot"/>
82
+ <param pos="1" name="os.vendor"/>
83
+ <param pos="2" name="host.name"/>
84
+ </fingerprint>
85
+
86
+ </fingerprints>
@@ -17,6 +17,95 @@ describe Recog::Fingerprint do
17
17
  end
18
18
  end
19
19
 
20
+ describe "#verification" do
21
+ let(:xml_file) { File.expand_path(File.join('spec', 'data', 'verification_fingerprints.xml')) }
22
+ let(:doc) { Nokogiri::XML(IO.read(xml_file)) }
23
+
24
+ context "0 params" do
25
+ let(:entry) { described_class.new(doc.xpath("//fingerprints/fingerprint")[0]) }
26
+
27
+ it "does not yield if a fingerprint has 0 parameters" do
28
+ expect { |unused| entry.verify_tests_have_capture_groups(&unused) }.not_to yield_control
29
+ end
30
+ end
31
+
32
+ context "0 capture groups" do
33
+ let(:entry) { described_class.new(doc.xpath("//fingerprints/fingerprint")[1]) }
34
+
35
+ it "does not yield if a fingerprint has parameters, but 0 are defined by a capture group " do
36
+ expect { |unused| entry.verify_tests_have_capture_groups(&unused) }.not_to yield_control
37
+ end
38
+ end
39
+
40
+ context "0 examples" do
41
+ let(:entry) { described_class.new(doc.xpath("//fingerprints/fingerprint")[2]) }
42
+
43
+ it "does not yield if a fingerprint has 0 examples" do
44
+ expect { |unused| entry.verify_tests_have_capture_groups(&unused) }.not_to yield_control
45
+ end
46
+ end
47
+
48
+ context "1 capture group, 1 example" do
49
+
50
+ let(:entry) { described_class.new(doc.xpath("//fingerprints/fingerprint")[3]) }
51
+
52
+ it "does not yield when one capture group parameter is tested for in one example" do
53
+ expect { |unused| entry.verify_tests_have_capture_groups(&unused) }.not_to yield_control
54
+ end
55
+ end
56
+
57
+ context "2 capture groups, 1 example" do
58
+ let(:entry) { described_class.new(doc.xpath("//fingerprints/fingerprint")[4]) }
59
+
60
+ it "does not yield when two capture group parameters are tested for in one example" do
61
+ expect { |unused| entry.verify_tests_have_capture_groups(&unused) }.not_to yield_control
62
+ end
63
+ end
64
+
65
+ context "2 capture groups, 2 examples, 1 in each" do
66
+ let(:entry) { described_class.new(doc.xpath("//fingerprints/fingerprint")[5]) }
67
+
68
+ it "does not yield when two capture group parameters are tested for in two examples, one parameter in each" do
69
+ expect { |unused| entry.verify_tests_have_capture_groups(&unused) }.not_to yield_control
70
+ end
71
+ end
72
+
73
+ context "1 missing capture group, 1 example" do
74
+
75
+ let(:entry) { described_class.new(doc.xpath("//fingerprints/fingerprint")[6]) }
76
+
77
+ it "identifies when a parameter defined by a capture group is not included in one example" do
78
+ expect { |unused| entry.verify_tests_have_capture_groups(&unused) }.to yield_successive_args([:warn, String])
79
+ end
80
+ end
81
+
82
+ context "2 missing capture groups, 1 example" do
83
+ let(:entry) { described_class.new(doc.xpath("//fingerprints/fingerprint")[7]) }
84
+
85
+ it "identifies when two parameters defined by a capture groups are not included in one example" do
86
+ expect { |unused| entry.verify_tests_have_capture_groups(&unused) }.to yield_successive_args([:warn, String], [:warn, String])
87
+ end
88
+ end
89
+
90
+ context "1 missing capture group, 2 examples" do
91
+
92
+ let(:entry) { described_class.new(doc.xpath("//fingerprints/fingerprint")[8]) }
93
+
94
+ it "identifies when a parameter defined by a capture group is not included in one example" do
95
+ expect { |unused| entry.verify_tests_have_capture_groups(&unused) }.to yield_successive_args([:warn, String])
96
+ end
97
+ end
98
+
99
+ context "2 missing capture groups, 2 examples" do
100
+ let(:entry) { described_class.new(doc.xpath("//fingerprints/fingerprint")[9]) }
101
+
102
+ it "identifies when two parameters defined by a capture groups are not included in one example" do
103
+ expect { |unused| entry.verify_tests_have_capture_groups(&unused) }.to yield_successive_args([:warn, String], [:warn, String])
104
+ end
105
+ end
106
+
107
+ end
108
+
20
109
  skip "value interpolation" do
21
110
  # TODO
22
111
  end
@@ -265,6 +265,18 @@ example.com FTP server (Version: Mac OS X Server) ready.</example>
265
265
  <param pos="0" name="service.product" value="ProFTPD"/>
266
266
  <param pos="0" name="service.cpe23" value="cpe:/a:proftpd:proftpd:-"/>
267
267
  </fingerprint>
268
+ <fingerprint pattern="^ProFTPD Server \(.*\) \[([a-f\d.:]+)\]$">
269
+ <description>ProFTPD with no version info, parenthetical form</description>
270
+ <example host.ip="1.2.3.4">ProFTPD Server (ProFTPD) [1.2.3.4]</example>
271
+ <example host.ip="1.2.3.4">ProFTPD Server (ProFTPD Default Installation) [1.2.3.4]</example>
272
+ <example host.ip="1.2.3.4">ProFTPD Server (pair Networks, Inc FTP server) [1.2.3.4]</example>
273
+ <example host.ip="::ffff:192.168.1.1">ProFTPD Server (ProFTPD) [::ffff:192.168.1.1]</example>
274
+ <param pos="0" name="service.family" value="ProFTPD"/>
275
+ <param pos="0" name="service.vendor" value="ProFTPD Project"/>
276
+ <param pos="0" name="service.product" value="ProFTPD"/>
277
+ <param pos="0" name="service.cpe23" value="cpe:/a:proftpd:proftpd:-"/>
278
+ <param pos="1" name="host.ip"/>
279
+ </fingerprint>
268
280
  <fingerprint pattern="^ProFTPD Server$">
269
281
  <description>ProFTPD with no version info, short form</description>
270
282
  <example>ProFTPD Server</example>
@@ -273,6 +285,15 @@ example.com FTP server (Version: Mac OS X Server) ready.</example>
273
285
  <param pos="0" name="service.product" value="ProFTPD"/>
274
286
  <param pos="0" name="service.cpe23" value="cpe:/a:proftpd:proftpd:-"/>
275
287
  </fingerprint>
288
+ <fingerprint pattern="^ProFTPD\s*$">
289
+ <description>ProFTPD with no version info, super short form</description>
290
+ <example>ProFTPD</example>
291
+ <example>ProFTPD </example>
292
+ <param pos="0" name="service.family" value="ProFTPD"/>
293
+ <param pos="0" name="service.vendor" value="ProFTPD Project"/>
294
+ <param pos="0" name="service.product" value="ProFTPD"/>
295
+ <param pos="0" name="service.cpe23" value="cpe:/a:proftpd:proftpd:-"/>
296
+ </fingerprint>
276
297
  <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">
277
298
  <description>ProFTPD no valid servers configured</description>
278
299
  <example host.name="ftp.host.com">ftp.host.com proftpd[40312]: error: no valid servers configured\n</example>
@@ -295,6 +316,15 @@ example.com FTP server (Version: Mac OS X Server) ready.</example>
295
316
  <param pos="0" name="service.cpe23" value="cpe:/a:proftpd:proftpd:{service.version}"/>
296
317
  <param pos="2" name="proftpd.server.name"/>
297
318
  </fingerprint>
319
+ <fingerprint pattern="^ProFTPD (\d+\.[^\s]+) Server ([\w.-]+)$">
320
+ <description>ProFTPD with version info but no obvious OS info, take 2</description>
321
+ <example service.version="1.3.2d" host.name="localhost">ProFTPD 1.3.2d Server localhost</example>
322
+ <param pos="0" name="service.family" value="ProFTPD"/>
323
+ <param pos="0" name="service.vendor" value="ProFTPD Project"/>
324
+ <param pos="0" name="service.product" value="ProFTPD"/>
325
+ <param pos="1" name="service.version"/>
326
+ <param pos="2" name="host.name"/>
327
+ </fingerprint>
298
328
  <fingerprint pattern="^=\(&lt;\*&gt;\)=-\.:\. \(\( Welcome to Pure-FTPd ([\d.]+) \)\) \.:\.-=\(&lt;\*&gt;\)=-" flags="REG_MULTILINE">
299
329
  <description>Pure-FTPd versions &lt;= 1.0.13 (at least as far back as 1.0.11)</description>
300
330
  <example service.version="1.0.11">=(&lt;*&gt;)=-.:. (( Welcome to Pure-FTPd 1.0.11 )) .:.-=(&lt;*&gt;)=-</example>
@@ -629,7 +659,7 @@ more text</example>
629
659
  <param pos="0" name="hw.vendor" value="Xerox"/>
630
660
  <param pos="0" name="hw.family" value="WorkCentre"/>
631
661
  <param pos="0" name="hw.device" value="Printer"/>
632
- <param pos="1" name="hw.product"/>
662
+ <param pos="1" name="hw.product"/>
633
663
  </fingerprint>
634
664
  <fingerprint pattern="^Xerox Phaser (\S+)$" certainty="1.0">
635
665
  <description>Xerox Phaser Laser Printer</description>
@@ -739,7 +769,6 @@ more text</example>
739
769
  <param pos="1" name="os.version"/>
740
770
  <param pos="0" name="os.cpe23" value="cpe:/o:windriver:vxworks:-{os.version}"/>
741
771
  </fingerprint>
742
-
743
772
  <fingerprint pattern="^ADC iScale$">
744
773
  <description>ADC iScale</description>
745
774
  <example>ADC iScale</example>
@@ -1021,7 +1050,7 @@ more text</example>
1021
1050
  <param pos="0" name="os.product" value="Fastmark M5"/>
1022
1051
  <param pos="0" name="os.device" value="Printer"/>
1023
1052
  <param pos="1" name="os.version"/>
1024
- <param pos="0" name="system.time.format" value="MMM dd HH:mm::ss"/>
1053
+ <param pos="0" name="system.time.format" value="MMM dd HH:mm:ss"/>
1025
1054
  <param pos="2" name="system.time"/>
1026
1055
  <param pos="0" name="hw.vendor" value="AMTDatasouth"/>
1027
1056
  <param pos="0" name="hw.product" value="Fastmark M5"/>
@@ -1348,6 +1377,13 @@ more text</example>
1348
1377
  <example>Welcome to TP-LINK FTP server</example>
1349
1378
  <param pos="0" name="hw.vendor" value="TP-LINK"/>
1350
1379
  </fingerprint>
1380
+ <fingerprint pattern="^TP-LINK FTP version ([\d\.]+)">
1381
+ <description>FTPD on a TP-LINK device with version, but no host info</description>
1382
+ <example service.version="1.0">TP-LINK FTP version 1.0 ready at Wed May 1 20:51:49 2019</example>
1383
+ <param pos="0" name="hw.vendor" value="TP-LINK"/>
1384
+ <param pos="0" name="service.product" value="FTPD"/>
1385
+ <param pos="1" name="service.version"/>
1386
+ </fingerprint>
1351
1387
  <fingerprint pattern="^ucftpd\((\w{3}\s+\d{1,2} \d{4}-\d\d:\d\d:\d\d)\) FTP server ready\.$">
1352
1388
  <description>ucftpd with version</description>
1353
1389
  <example service.version="Jul 2 2012-22:13:49">ucftpd(Jul 2 2012-22:13:49) FTP server ready.</example>
@@ -1375,7 +1411,7 @@ more text</example>
1375
1411
  <param pos="0" name="hw.family" value="S500 Range"/>
1376
1412
  <param pos="1" name="hw.product"/>
1377
1413
  <param pos="2" name="host.id"/>
1378
- <param pos="0" name="system.time.format" value="HH:mm::ss dd/MM/yy"/>
1414
+ <param pos="0" name="system.time.format" value="HH:mm:ss dd/MM/yy"/>
1379
1415
  <param pos="3" name="system.time"/>
1380
1416
  </fingerprint>
1381
1417
  <fingerprint pattern="^TiMOS-[CB]-([\S]+) cpm\/[\w]+ ALCATEL (SR [\S]+) Copyright .{1,4}$">
@@ -1449,4 +1485,28 @@ more text</example>
1449
1485
  <param pos="0" name="os.product" value="Linux AMI"/>
1450
1486
  <param pos="1" name="os.version"/>
1451
1487
  </fingerprint>
1488
+ <!-- Below are banners for FTP service providers, not necessarily
1489
+ specific FTP servers-->
1490
+ <fingerprint pattern="^Idea FTP Server ([\d\.]+) \((.*)\) \[(.+)\]$">
1491
+ <description>Idea FTP Server</description>
1492
+ <example service.version="0.83.213" host.name="localhost" host.ip="1.2.3.4">Idea FTP Server 0.83.213 (localhost) [1.2.3.4]</example>
1493
+ <example service.version="0.80" host.name="subdomain.home.pl" host.ip="1.2.3.4">Idea FTP Server 0.80 (subdomain.home.pl) [1.2.3.4]</example>
1494
+ <param pos="0" name="service.vendor" value="Idea"/>
1495
+ <param pos="0" name="service.product" value="FTP Server"/>
1496
+ <param pos="1" name="service.version"/>
1497
+ <param pos="2" name="host.name"/>
1498
+ <param pos="3" name="host.ip"/>
1499
+ </fingerprint>
1500
+ <fingerprint pattern="^Amazon Ftp$">
1501
+ <description>Amazon FTP endpoint</description>
1502
+ <example>Amazon Ftp</example>
1503
+ <param pos="0" name="service.vendor" value="Amazon"/>
1504
+ <param pos="0" name="service.product" value="FTP Server"/>
1505
+ </fingerprint>
1506
+ <fingerprint pattern="^Dreamhost FTP Server$">
1507
+ <description>Dreamhost FTP endpoint</description>
1508
+ <example>Dreamhost FTP Server</example>
1509
+ <param pos="0" name="service.vendor" value="Dreamhost"/>
1510
+ <param pos="0" name="service.product" value="FTP Server"/>
1511
+ </fingerprint>
1452
1512
  </fingerprints>
@@ -24,7 +24,7 @@
24
24
  </fingerprint>
25
25
  <fingerprint pattern="^mpSSH_([\d\.]+)$">
26
26
  <description>HP Integrated Lights Out (iLO) usually bundled with HP servers</description>
27
- <example>mpSSH_0.0.1</example>
27
+ <example service.version="0.0.1">mpSSH_0.0.1</example>
28
28
  <param pos="0" name="service.vendor" value="HP"/>
29
29
  <param pos="0" name="service.product" value="iLO"/>
30
30
  <param pos="0" name="service.family" value="iLO"/>
@@ -60,38 +60,795 @@
60
60
  <param pos="1" name="os.version"/>
61
61
  <param pos="0" name="os.cpe23" value="cpe:/o:windriver:vxworks:{os.version}"/>
62
62
  </fingerprint>
63
+ <!-- FreeBSD -->
64
+ <fingerprint pattern="^OpenSSH_(2\.3\.0) (green@FreeBSD.org 20010321)$">
65
+ <description>OpenSSH running on FreeBSD 4.3</description>
66
+ <example service.version="2.3.0" openssh.comment="green@FreeBSD.org 20010321">OpenSSH_2.3.0 green@FreeBSD.org 20010321</example>
67
+ <param pos="1" name="service.version"/>
68
+ <param pos="2" name="openssh.comment"/>
69
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
70
+ <param pos="0" name="service.family" value="OpenSSH"/>
71
+ <param pos="0" name="service.product" value="OpenSSH"/>
72
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
73
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
74
+ <param pos="0" name="os.family" value="FreeBSD"/>
75
+ <param pos="0" name="os.product" value="FreeBSD"/>
76
+ <param pos="0" name="os.version" value="4.3"/>
77
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
78
+ </fingerprint>
79
+ <fingerprint pattern="^OpenSSH_(2\.3\.0) (FreeBSD localisations 20010713)$">
80
+ <description>OpenSSH running on FreeBSD 4.4</description>
81
+ <example service.version="2.3.0" openssh.comment="FreeBSD localisations 20010713">OpenSSH_2.3.0 FreeBSD localisations 20010713</example>
82
+ <param pos="1" name="service.version"/>
83
+ <param pos="2" name="openssh.comment"/>
84
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
85
+ <param pos="0" name="service.family" value="OpenSSH"/>
86
+ <param pos="0" name="service.product" value="OpenSSH"/>
87
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
88
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
89
+ <param pos="0" name="os.family" value="FreeBSD"/>
90
+ <param pos="0" name="os.product" value="FreeBSD"/>
91
+ <param pos="0" name="os.version" value="4.4"/>
92
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
93
+ </fingerprint>
94
+ <fingerprint pattern="^OpenSSH_(2\.9) (FreeBSD localisations 20011202)$">
95
+ <description>OpenSSH running on FreeBSD 4.5</description>
96
+ <example service.version="2.9" openssh.comment="FreeBSD localisations 20011202">OpenSSH_2.9 FreeBSD localisations 20011202</example>
97
+ <param pos="1" name="service.version"/>
98
+ <param pos="2" name="openssh.comment"/>
99
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
100
+ <param pos="0" name="service.family" value="OpenSSH"/>
101
+ <param pos="0" name="service.product" value="OpenSSH"/>
102
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
103
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
104
+ <param pos="0" name="os.family" value="FreeBSD"/>
105
+ <param pos="0" name="os.product" value="FreeBSD"/>
106
+ <param pos="0" name="os.version" value="4.5"/>
107
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
108
+ </fingerprint>
109
+ <fingerprint pattern="^OpenSSH_(3\.4p1) (FreeBSD 20020702)$">
110
+ <description>OpenSSH running on FreeBSD 4.6.2</description>
111
+ <example service.version="3.4p1" openssh.comment="FreeBSD 20020702">OpenSSH_3.4p1 FreeBSD 20020702</example>
112
+ <param pos="1" name="service.version"/>
113
+ <param pos="2" name="openssh.comment"/>
114
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
115
+ <param pos="0" name="service.family" value="OpenSSH"/>
116
+ <param pos="0" name="service.product" value="OpenSSH"/>
117
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
118
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
119
+ <param pos="0" name="os.family" value="FreeBSD"/>
120
+ <param pos="0" name="os.product" value="FreeBSD"/>
121
+ <param pos="0" name="os.version" value="4.6.2"/>
122
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
123
+ </fingerprint>
124
+ <fingerprint pattern="^OpenSSH_(2\.9) (FreeBSD localisations 20020307)$">
125
+ <description>OpenSSH running on FreeBSD 4.6</description>
126
+ <example service.version="2.9" openssh.comment="FreeBSD localisations 20020307">OpenSSH_2.9 FreeBSD localisations 20020307</example>
127
+ <param pos="1" name="service.version"/>
128
+ <param pos="2" name="openssh.comment"/>
129
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
130
+ <param pos="0" name="service.family" value="OpenSSH"/>
131
+ <param pos="0" name="service.product" value="OpenSSH"/>
132
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
133
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
134
+ <param pos="0" name="os.family" value="FreeBSD"/>
135
+ <param pos="0" name="os.product" value="FreeBSD"/>
136
+ <param pos="0" name="os.version" value="4.6"/>
137
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
138
+ </fingerprint>
139
+ <fingerprint pattern="^OpenSSH_(3\.4p1) (FreeBSD-20020702)$">
140
+ <description>OpenSSH running on FreeBSD 4.7</description>
141
+ <example service.version="3.4p1" openssh.comment="FreeBSD-20020702">OpenSSH_3.4p1 FreeBSD-20020702</example>
142
+ <param pos="1" name="service.version"/>
143
+ <param pos="2" name="openssh.comment"/>
144
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
145
+ <param pos="0" name="service.family" value="OpenSSH"/>
146
+ <param pos="0" name="service.product" value="OpenSSH"/>
147
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
148
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
149
+ <param pos="0" name="os.family" value="FreeBSD"/>
150
+ <param pos="0" name="os.product" value="FreeBSD"/>
151
+ <param pos="0" name="os.version" value="4.7"/>
152
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
153
+ </fingerprint>
154
+ <fingerprint pattern="^OpenSSH_(3\.5p1) (FreeBSD-20030201)$">
155
+ <description>OpenSSH running on FreeBSD 4.8</description>
156
+ <example service.version="3.5p1" openssh.comment="FreeBSD-20030201">OpenSSH_3.5p1 FreeBSD-20030201</example>
157
+ <param pos="1" name="service.version"/>
158
+ <param pos="2" name="openssh.comment"/>
159
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
160
+ <param pos="0" name="service.family" value="OpenSSH"/>
161
+ <param pos="0" name="service.product" value="OpenSSH"/>
162
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
163
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
164
+ <param pos="0" name="os.family" value="FreeBSD"/>
165
+ <param pos="0" name="os.product" value="FreeBSD"/>
166
+ <param pos="0" name="os.version" value="4.8"/>
167
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
168
+ </fingerprint>
169
+ <!-- Multiple minor version match, assert the oldest version -->
170
+ <fingerprint pattern="^OpenSSH_(3\.5p1) (FreeBSD-20030924)$">
171
+ <description>OpenSSH running on FreeBSD 4.9/4.10 (sometimes 4.11)</description>
172
+ <example service.version="3.5p1" openssh.comment="FreeBSD-20030924">OpenSSH_3.5p1 FreeBSD-20030924</example>
173
+ <param pos="1" name="service.version"/>
174
+ <param pos="2" name="openssh.comment"/>
175
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
176
+ <param pos="0" name="service.family" value="OpenSSH"/>
177
+ <param pos="0" name="service.product" value="OpenSSH"/>
178
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
179
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
180
+ <param pos="0" name="os.family" value="FreeBSD"/>
181
+ <param pos="0" name="os.product" value="FreeBSD"/>
182
+ <param pos="0" name="os.version" value="4.9"/>
183
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
184
+ </fingerprint>
185
+ <fingerprint pattern="^OpenSSH_(3\.5p1) (FreeBSD-20060930)$">
186
+ <description>OpenSSH running on FreeBSD 4.11</description>
187
+ <example service.version="3.5p1" openssh.comment="FreeBSD-20060930">OpenSSH_3.5p1 FreeBSD-20060930</example>
188
+ <param pos="1" name="service.version"/>
189
+ <param pos="2" name="openssh.comment"/>
190
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
191
+ <param pos="0" name="service.family" value="OpenSSH"/>
192
+ <param pos="0" name="service.product" value="OpenSSH"/>
193
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
194
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
195
+ <param pos="0" name="os.family" value="FreeBSD"/>
196
+ <param pos="0" name="os.product" value="FreeBSD"/>
197
+ <param pos="0" name="os.version" value="4.11"/>
198
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
199
+ </fingerprint>
200
+ <fingerprint pattern="^OpenSSH_(3\.5p1) (FreeBSD-20021029)$">
201
+ <description>OpenSSH running on FreeBSD 5.0</description>
202
+ <example service.version="3.5p1" openssh.comment="FreeBSD-20021029">OpenSSH_3.5p1 FreeBSD-20021029</example>
203
+ <param pos="1" name="service.version"/>
204
+ <param pos="2" name="openssh.comment"/>
205
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
206
+ <param pos="0" name="service.family" value="OpenSSH"/>
207
+ <param pos="0" name="service.product" value="OpenSSH"/>
208
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
209
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
210
+ <param pos="0" name="os.family" value="FreeBSD"/>
211
+ <param pos="0" name="os.product" value="FreeBSD"/>
212
+ <param pos="0" name="os.version" value="5.0"/>
213
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
214
+ </fingerprint>
215
+ <fingerprint pattern="^OpenSSH_(3\.6\.1p1) (FreeBSD-20030423)$">
216
+ <description>OpenSSH running on FreeBSD 5.1</description>
217
+ <example service.version="3.6.1p1" openssh.comment="FreeBSD-20030423">OpenSSH_3.6.1p1 FreeBSD-20030423</example>
218
+ <param pos="1" name="service.version"/>
219
+ <param pos="2" name="openssh.comment"/>
220
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
221
+ <param pos="0" name="service.family" value="OpenSSH"/>
222
+ <param pos="0" name="service.product" value="OpenSSH"/>
223
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
224
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
225
+ <param pos="0" name="os.family" value="FreeBSD"/>
226
+ <param pos="0" name="os.product" value="FreeBSD"/>
227
+ <param pos="0" name="os.version" value="5.1"/>
228
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
229
+ </fingerprint>
230
+ <fingerprint pattern="^OpenSSH_(3\.6\.1p1) (FreeBSD-20030924)$">
231
+ <description>OpenSSH running on FreeBSD 5.2</description>
232
+ <example service.version="3.6.1p1" openssh.comment="FreeBSD-20030924">OpenSSH_3.6.1p1 FreeBSD-20030924</example>
233
+ <param pos="1" name="service.version"/>
234
+ <param pos="2" name="openssh.comment"/>
235
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
236
+ <param pos="0" name="service.family" value="OpenSSH"/>
237
+ <param pos="0" name="service.product" value="OpenSSH"/>
238
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
239
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
240
+ <param pos="0" name="os.family" value="FreeBSD"/>
241
+ <param pos="0" name="os.product" value="FreeBSD"/>
242
+ <param pos="0" name="os.version" value="5.2"/>
243
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
244
+ </fingerprint>
245
+ <!-- Multiple minor version match, assert the oldest version -->
246
+ <fingerprint pattern="^OpenSSH_(3\.8\.1p1) (FreeBSD-20040419)$">
247
+ <description>OpenSSH running on FreeBSD 5.3/5.4</description>
248
+ <example service.version="3.8.1p1" openssh.comment="FreeBSD-20040419">OpenSSH_3.8.1p1 FreeBSD-20040419</example>
249
+ <param pos="1" name="service.version"/>
250
+ <param pos="2" name="openssh.comment"/>
251
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
252
+ <param pos="0" name="service.family" value="OpenSSH"/>
253
+ <param pos="0" name="service.product" value="OpenSSH"/>
254
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
255
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
256
+ <param pos="0" name="os.family" value="FreeBSD"/>
257
+ <param pos="0" name="os.product" value="FreeBSD"/>
258
+ <param pos="0" name="os.version" value="5.3"/>
259
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
260
+ </fingerprint>
261
+ <fingerprint pattern="^OpenSSH_(3\.8\.1p1) (FreeBSD-20060123)$">
262
+ <description>OpenSSH running on FreeBSD 5.5</description>
263
+ <example service.version="3.8.1p1" openssh.comment="FreeBSD-20060123">OpenSSH_3.8.1p1 FreeBSD-20060123</example>
264
+ <param pos="1" name="service.version"/>
265
+ <param pos="2" name="openssh.comment"/>
266
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
267
+ <param pos="0" name="service.family" value="OpenSSH"/>
268
+ <param pos="0" name="service.product" value="OpenSSH"/>
269
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
270
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
271
+ <param pos="0" name="os.family" value="FreeBSD"/>
272
+ <param pos="0" name="os.product" value="FreeBSD"/>
273
+ <param pos="0" name="os.version" value="5.5"/>
274
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
275
+ </fingerprint>
276
+ <!-- Multiple minor version match, assert the oldest version -->
277
+ <fingerprint pattern="^OpenSSH_(4\.2p1) (FreeBSD-20050903)$">
278
+ <description>OpenSSH running on FreeBSD 6.0/6.1</description>
279
+ <example service.version="4.2p1" openssh.comment="FreeBSD-20050903">OpenSSH_4.2p1 FreeBSD-20050903</example>
280
+ <param pos="1" name="service.version"/>
281
+ <param pos="2" name="openssh.comment"/>
282
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
283
+ <param pos="0" name="service.family" value="OpenSSH"/>
284
+ <param pos="0" name="service.product" value="OpenSSH"/>
285
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
286
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
287
+ <param pos="0" name="os.family" value="FreeBSD"/>
288
+ <param pos="0" name="os.product" value="FreeBSD"/>
289
+ <param pos="0" name="os.version" value="6.0"/>
290
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
291
+ </fingerprint>
292
+ <!-- Spans major versions, do not assert a version number -->
293
+ <fingerprint pattern="^OpenSSH_(4\.5p1) (FreeBSD-20061110)$">
294
+ <description>OpenSSH running on FreeBSD 6.2/6.3/6.4/7.0</description>
295
+ <example service.version="4.5p1" openssh.comment="FreeBSD-20061110">OpenSSH_4.5p1 FreeBSD-20061110</example>
296
+ <param pos="1" name="service.version"/>
297
+ <param pos="2" name="openssh.comment"/>
298
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
299
+ <param pos="0" name="service.family" value="OpenSSH"/>
300
+ <param pos="0" name="service.product" value="OpenSSH"/>
301
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
302
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
303
+ <param pos="0" name="os.family" value="FreeBSD"/>
304
+ <param pos="0" name="os.product" value="FreeBSD"/>
305
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:-"/>
306
+ </fingerprint>
307
+ <!-- Multiple minor version match, assert the oldest version -->
308
+ <fingerprint pattern="^OpenSSH_(5\.1p1) (FreeBSD-20080901)$">
309
+ <description>OpenSSH running on FreeBSD 7.1/7.2/7.3/7.4</description>
310
+ <example service.version="5.1p1" openssh.comment="FreeBSD-20080901">OpenSSH_5.1p1 FreeBSD-20080901</example>
311
+ <param pos="1" name="service.version"/>
312
+ <param pos="2" name="openssh.comment"/>
313
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
314
+ <param pos="0" name="service.family" value="OpenSSH"/>
315
+ <param pos="0" name="service.product" value="OpenSSH"/>
316
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
317
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
318
+ <param pos="0" name="os.family" value="FreeBSD"/>
319
+ <param pos="0" name="os.product" value="FreeBSD"/>
320
+ <param pos="0" name="os.version" value="7.1"/>
321
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
322
+ </fingerprint>
323
+ <fingerprint pattern="^OpenSSH_(5\.2p1) (FreeBSD-20090522)$">
324
+ <description>OpenSSH running on FreeBSD 8.0</description>
325
+ <example service.version="5.2p1" openssh.comment="FreeBSD-20090522">OpenSSH_5.2p1 FreeBSD-20090522</example>
326
+ <param pos="1" name="service.version"/>
327
+ <param pos="2" name="openssh.comment"/>
328
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
329
+ <param pos="0" name="service.family" value="OpenSSH"/>
330
+ <param pos="0" name="service.product" value="OpenSSH"/>
331
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
332
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
333
+ <param pos="0" name="os.family" value="FreeBSD"/>
334
+ <param pos="0" name="os.product" value="FreeBSD"/>
335
+ <param pos="0" name="os.version" value="8.0"/>
336
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
337
+ </fingerprint>
338
+ <!-- Multiple minor version match, assert the oldest version -->
339
+ <fingerprint pattern="^OpenSSH_(5\.4p1) (FreeBSD-20100308)$">
340
+ <description>OpenSSH running on FreeBSD 8.1/8.2</description>
341
+ <example service.version="5.4p1" openssh.comment="FreeBSD-20100308">OpenSSH_5.4p1 FreeBSD-20100308</example>
342
+ <param pos="1" name="service.version"/>
343
+ <param pos="2" name="openssh.comment"/>
344
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
345
+ <param pos="0" name="service.family" value="OpenSSH"/>
346
+ <param pos="0" name="service.product" value="OpenSSH"/>
347
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
348
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
349
+ <param pos="0" name="os.family" value="FreeBSD"/>
350
+ <param pos="0" name="os.product" value="FreeBSD"/>
351
+ <param pos="0" name="os.version" value="8.1"/>
352
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
353
+ </fingerprint>
354
+ <fingerprint pattern="^OpenSSH_(5\.4p1_hpn13v11) (FreeBSD-20100308)$">
355
+ <description>OpenSSH running on FreeBSD 8.3</description>
356
+ <example service.version="5.4p1_hpn13v11" openssh.comment="FreeBSD-20100308">OpenSSH_5.4p1_hpn13v11 FreeBSD-20100308</example>
357
+ <param pos="1" name="service.version"/>
358
+ <param pos="2" name="openssh.comment"/>
359
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
360
+ <param pos="0" name="service.family" value="OpenSSH"/>
361
+ <param pos="0" name="service.product" value="OpenSSH"/>
362
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
363
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
364
+ <param pos="0" name="os.family" value="FreeBSD"/>
365
+ <param pos="0" name="os.product" value="FreeBSD"/>
366
+ <param pos="0" name="os.version" value="8.3"/>
367
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
368
+ </fingerprint>
369
+ <fingerprint pattern="^OpenSSH_(6\.1_hpn13v11) (FreeBSD-20120901)$">
370
+ <description>OpenSSH running on FreeBSD 8.4</description>
371
+ <example service.version="6.1_hpn13v11" openssh.comment="FreeBSD-20120901">OpenSSH_6.1_hpn13v11 FreeBSD-20120901</example>
372
+ <param pos="1" name="service.version"/>
373
+ <param pos="2" name="openssh.comment"/>
374
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
375
+ <param pos="0" name="service.family" value="OpenSSH"/>
376
+ <param pos="0" name="service.product" value="OpenSSH"/>
377
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
378
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
379
+ <param pos="0" name="os.family" value="FreeBSD"/>
380
+ <param pos="0" name="os.product" value="FreeBSD"/>
381
+ <param pos="0" name="os.version" value="8.4"/>
382
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
383
+ </fingerprint>
384
+ <!-- Multiple minor version match, assert the oldest version -->
385
+ <fingerprint pattern="^OpenSSH_(5\.8p2_hpn13v11) (FreeBSD-20110503)$">
386
+ <description>OpenSSH running on FreeBSD 9.0/9.1</description>
387
+ <example service.version="5.8p2_hpn13v11" openssh.comment="FreeBSD-20110503">OpenSSH_5.8p2_hpn13v11 FreeBSD-20110503</example>
388
+ <param pos="1" name="service.version"/>
389
+ <param pos="2" name="openssh.comment"/>
390
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
391
+ <param pos="0" name="service.family" value="OpenSSH"/>
392
+ <param pos="0" name="service.product" value="OpenSSH"/>
393
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
394
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
395
+ <param pos="0" name="os.family" value="FreeBSD"/>
396
+ <param pos="0" name="os.product" value="FreeBSD"/>
397
+ <param pos="0" name="os.version" value="9.0"/>
398
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
399
+ </fingerprint>
400
+ <fingerprint pattern="^OpenSSH_(6\.2_hpn13v11) (FreeBSD-20130515)$">
401
+ <description>OpenSSH running on FreeBSD 9.2</description>
402
+ <example service.version="6.2_hpn13v11" openssh.comment="FreeBSD-20130515">OpenSSH_6.2_hpn13v11 FreeBSD-20130515</example>
403
+ <param pos="1" name="service.version"/>
404
+ <param pos="2" name="openssh.comment"/>
405
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
406
+ <param pos="0" name="service.family" value="OpenSSH"/>
407
+ <param pos="0" name="service.product" value="OpenSSH"/>
408
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
409
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
410
+ <param pos="0" name="os.family" value="FreeBSD"/>
411
+ <param pos="0" name="os.product" value="FreeBSD"/>
412
+ <param pos="0" name="os.version" value="9.2"/>
413
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
414
+ </fingerprint>
415
+ <!-- Spans major versions, do not assert a version number -->
416
+ <fingerprint pattern="^OpenSSH_(6\.6\.1_hpn13v11) (FreeBSD-20140420)$">
417
+ <description>OpenSSH running on FreeBSD 9.3/10.1/10.2</description>
418
+ <example service.version="6.6.1_hpn13v11" openssh.comment="FreeBSD-20140420">OpenSSH_6.6.1_hpn13v11 FreeBSD-20140420</example>
419
+ <param pos="1" name="service.version"/>
420
+ <param pos="2" name="openssh.comment"/>
421
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
422
+ <param pos="0" name="service.family" value="OpenSSH"/>
423
+ <param pos="0" name="service.product" value="OpenSSH"/>
424
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
425
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
426
+ <param pos="0" name="os.family" value="FreeBSD"/>
427
+ <param pos="0" name="os.product" value="FreeBSD"/>
428
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:-"/>
429
+ </fingerprint>
430
+ <fingerprint pattern="^OpenSSH_(6\.4_hpn13v11) (FreeBSD-20131111)$">
431
+ <description>OpenSSH running on FreeBSD 10.0</description>
432
+ <example service.version="6.4_hpn13v11" openssh.comment="FreeBSD-20131111">OpenSSH_6.4_hpn13v11 FreeBSD-20131111</example>
433
+ <param pos="1" name="service.version"/>
434
+ <param pos="2" name="openssh.comment"/>
435
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
436
+ <param pos="0" name="service.family" value="OpenSSH"/>
437
+ <param pos="0" name="service.product" value="OpenSSH"/>
438
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
439
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
440
+ <param pos="0" name="os.family" value="FreeBSD"/>
441
+ <param pos="0" name="os.product" value="FreeBSD"/>
442
+ <param pos="0" name="os.version" value="10.0"/>
443
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
444
+ </fingerprint>
445
+ <!-- Spans major versions, do not assert a version number -->
446
+ <fingerprint pattern="^OpenSSH_(7\.2) (FreeBSD-20160310)$">
447
+ <description>OpenSSH running on FreeBSD 10.3/11.0</description>
448
+ <example service.version="7.2" openssh.comment="FreeBSD-20160310">OpenSSH_7.2 FreeBSD-20160310</example>
449
+ <param pos="1" name="service.version"/>
450
+ <param pos="2" name="openssh.comment"/>
451
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
452
+ <param pos="0" name="service.family" value="OpenSSH"/>
453
+ <param pos="0" name="service.product" value="OpenSSH"/>
454
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
455
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
456
+ <param pos="0" name="os.family" value="FreeBSD"/>
457
+ <param pos="0" name="os.product" value="FreeBSD"/>
458
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:-"/>
459
+ </fingerprint>
460
+ <fingerprint pattern="^OpenSSH_(7\.3) (FreeBSD-20170902)$">
461
+ <description>OpenSSH running on FreeBSD 10.4</description>
462
+ <example service.version="7.3" openssh.comment="FreeBSD-20170902">OpenSSH_7.3 FreeBSD-20170902</example>
463
+ <param pos="1" name="service.version"/>
464
+ <param pos="2" name="openssh.comment"/>
465
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
466
+ <param pos="0" name="service.family" value="OpenSSH"/>
467
+ <param pos="0" name="service.product" value="OpenSSH"/>
468
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
469
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
470
+ <param pos="0" name="os.family" value="FreeBSD"/>
471
+ <param pos="0" name="os.product" value="FreeBSD"/>
472
+ <param pos="0" name="os.version" value="10.4"/>
473
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
474
+ </fingerprint>
475
+ <fingerprint pattern="^OpenSSH_(7\.2) (FreeBSD-20161230)$">
476
+ <description>OpenSSH running on FreeBSD 11.1</description>
477
+ <example service.version="7.2" openssh.comment="FreeBSD-20161230">OpenSSH_7.2 FreeBSD-20161230</example>
478
+ <param pos="1" name="service.version"/>
479
+ <param pos="2" name="openssh.comment"/>
480
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
481
+ <param pos="0" name="service.family" value="OpenSSH"/>
482
+ <param pos="0" name="service.product" value="OpenSSH"/>
483
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
484
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
485
+ <param pos="0" name="os.family" value="FreeBSD"/>
486
+ <param pos="0" name="os.product" value="FreeBSD"/>
487
+ <param pos="0" name="os.version" value="11.1"/>
488
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
489
+ </fingerprint>
490
+ <!-- Multiple minor version match, assert the oldest version -->
491
+ <fingerprint pattern="^OpenSSH_(7\.5) (FreeBSD-20170903)$">
492
+ <description>OpenSSH running on FreeBSD 11.2/11.3</description>
493
+ <example service.version="7.5" openssh.comment="FreeBSD-20170903">OpenSSH_7.5 FreeBSD-20170903</example>
494
+ <param pos="1" name="service.version"/>
495
+ <param pos="2" name="openssh.comment"/>
496
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
497
+ <param pos="0" name="service.family" value="OpenSSH"/>
498
+ <param pos="0" name="service.product" value="OpenSSH"/>
499
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
500
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
501
+ <param pos="0" name="os.family" value="FreeBSD"/>
502
+ <param pos="0" name="os.product" value="FreeBSD"/>
503
+ <param pos="0" name="os.version" value="11.2"/>
504
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
505
+ </fingerprint>
506
+ <fingerprint pattern="^OpenSSH_(7\.8) (FreeBSD-20180909)$">
507
+ <description>OpenSSH running on FreeBSD 12.0</description>
508
+ <example service.version="7.8" openssh.comment="FreeBSD-20180909">OpenSSH_7.8 FreeBSD-20180909</example>
509
+ <param pos="1" name="service.version"/>
510
+ <param pos="2" name="openssh.comment"/>
511
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
512
+ <param pos="0" name="service.family" value="OpenSSH"/>
513
+ <param pos="0" name="service.product" value="OpenSSH"/>
514
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
515
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
516
+ <param pos="0" name="os.family" value="FreeBSD"/>
517
+ <param pos="0" name="os.product" value="FreeBSD"/>
518
+ <param pos="0" name="os.version" value="12.0"/>
519
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:{os.version}"/>
520
+ </fingerprint>
63
521
  <fingerprint pattern="^OpenSSH_([^\s]+)\s+(FreeBSD[ -].*)$">
64
522
  <description>OpenSSH running on FreeBSD</description>
65
- <example service.version="7.2" openssh.comment="FreeBSD-20160310">OpenSSH_7.2 FreeBSD-20160310</example>
523
+ <example service.version="7.2" openssh.comment="FreeBSD-20160311">OpenSSH_7.2 FreeBSD-20160311</example>
524
+ <param pos="1" name="service.version"/>
525
+ <param pos="2" name="openssh.comment"/>
526
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
527
+ <param pos="0" name="service.family" value="OpenSSH"/>
528
+ <param pos="0" name="service.product" value="OpenSSH"/>
529
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
530
+ <param pos="0" name="os.vendor" value="FreeBSD"/>
531
+ <param pos="0" name="os.family" value="FreeBSD"/>
532
+ <param pos="0" name="os.product" value="FreeBSD"/>
533
+ <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:-"/>
534
+ </fingerprint>
535
+ <!-- NetBSD -->
536
+ <fingerprint pattern="^OpenSSH_([^\s]+)\s+(NetBSD(?:_Secure_Shell)?[ -].*)$">
537
+ <description>OpenSSH running on NetBSD</description>
538
+ <example service.version="7.2" openssh.comment="NetBSD-20100308">OpenSSH_7.2 NetBSD-20100308</example>
539
+ <example service.version="4.4" openssh.comment="NetBSD_Secure_Shell-20061114">OpenSSH_4.4 NetBSD_Secure_Shell-20061114</example>
540
+ <param pos="1" name="service.version"/>
541
+ <param pos="2" name="openssh.comment"/>
542
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
543
+ <param pos="0" name="service.family" value="OpenSSH"/>
544
+ <param pos="0" name="service.product" value="OpenSSH"/>
545
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
546
+ <param pos="0" name="os.vendor" value="NetBSD"/>
547
+ <param pos="0" name="os.family" value="NetBSD"/>
548
+ <param pos="0" name="os.product" value="NetBSD"/>
549
+ <param pos="0" name="os.cpe23" value="cpe:/o:netbsd:netbsd:-"/>
550
+ </fingerprint>
551
+ <!-- Ubuntu -->
552
+ <fingerprint pattern="^OpenSSH_(3\.8\.1p1) (Debian-11ubuntu\d+(?:\.\d+)?)$">
553
+ <description>OpenSSH running on Ubuntu 4.10</description>
554
+ <example service.version="3.8.1p1" openssh.comment="Debian-11ubuntu3">OpenSSH_3.8.1p1 Debian-11ubuntu3</example>
555
+ <param pos="1" name="service.version"/>
556
+ <param pos="2" name="openssh.comment"/>
557
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
558
+ <param pos="0" name="service.family" value="OpenSSH"/>
559
+ <param pos="0" name="service.product" value="OpenSSH"/>
560
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
561
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
562
+ <param pos="0" name="os.family" value="Linux"/>
563
+ <param pos="0" name="os.product" value="Linux"/>
564
+ <param pos="0" name="os.version" value="4.10"/>
565
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
566
+ </fingerprint>
567
+ <fingerprint pattern="^OpenSSH_(3\.9p1) (Debian-1ubuntu\d+(?:\.\d+)?)$">
568
+ <description>OpenSSH running on Ubuntu 5.04</description>
569
+ <example service.version="3.9p1" openssh.comment="Debian-1ubuntu2">OpenSSH_3.9p1 Debian-1ubuntu2</example>
570
+ <param pos="1" name="service.version"/>
571
+ <param pos="2" name="openssh.comment"/>
572
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
573
+ <param pos="0" name="service.family" value="OpenSSH"/>
574
+ <param pos="0" name="service.product" value="OpenSSH"/>
575
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
576
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
577
+ <param pos="0" name="os.family" value="Linux"/>
578
+ <param pos="0" name="os.product" value="Linux"/>
579
+ <param pos="0" name="os.version" value="5.04"/>
580
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
581
+ </fingerprint>
582
+ <fingerprint pattern="^OpenSSH_(4\.1p1) (Debian-7ubuntu\d+(?:\.\d+)?)$">
583
+ <description>OpenSSH running on Ubuntu 5.10</description>
584
+ <example service.version="4.1p1" openssh.comment="Debian-7ubuntu4">OpenSSH_4.1p1 Debian-7ubuntu4</example>
585
+ <param pos="1" name="service.version"/>
586
+ <param pos="2" name="openssh.comment"/>
587
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
588
+ <param pos="0" name="service.family" value="OpenSSH"/>
589
+ <param pos="0" name="service.product" value="OpenSSH"/>
590
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
591
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
592
+ <param pos="0" name="os.family" value="Linux"/>
593
+ <param pos="0" name="os.product" value="Linux"/>
594
+ <param pos="0" name="os.version" value="5.10"/>
595
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
596
+ </fingerprint>
597
+ <fingerprint pattern="^OpenSSH_(4\.2p1) (Debian-7ubuntu\d+(?:\.\d+)?)$">
598
+ <description>OpenSSH running on Ubuntu 6.04</description>
599
+ <example service.version="4.2p1" openssh.comment="Debian-7ubuntu3.1">OpenSSH_4.2p1 Debian-7ubuntu3.1</example>
600
+ <example>OpenSSH_4.2p1 Debian-7ubuntu3.2</example>
601
+ <param pos="1" name="service.version"/>
602
+ <param pos="2" name="openssh.comment"/>
603
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
604
+ <param pos="0" name="service.family" value="OpenSSH"/>
605
+ <param pos="0" name="service.product" value="OpenSSH"/>
606
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
607
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
608
+ <param pos="0" name="os.family" value="Linux"/>
609
+ <param pos="0" name="os.product" value="Linux"/>
610
+ <param pos="0" name="os.version" value="6.04"/>
611
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
612
+ </fingerprint>
613
+ <fingerprint pattern="^OpenSSH_(4\.3p2) (Debian-8ubuntu\d+(?:\.\d+)?)$">
614
+ <description>OpenSSH running on Ubuntu 7.04</description>
615
+ <example service.version="4.3p2" openssh.comment="Debian-8ubuntu1.4">OpenSSH_4.3p2 Debian-8ubuntu1.4</example>
616
+ <param pos="1" name="service.version"/>
617
+ <param pos="2" name="openssh.comment"/>
618
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
619
+ <param pos="0" name="service.family" value="OpenSSH"/>
620
+ <param pos="0" name="service.product" value="OpenSSH"/>
621
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
622
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
623
+ <param pos="0" name="os.family" value="Linux"/>
624
+ <param pos="0" name="os.product" value="Linux"/>
625
+ <param pos="0" name="os.version" value="7.04"/>
626
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
627
+ </fingerprint>
628
+ <fingerprint pattern="^OpenSSH_(4\.6p1) (Debian-5ubuntu\d+(?:\.\d+)?)$">
629
+ <description>OpenSSH running on Ubuntu 7.10</description>
630
+ <example service.version="4.6p1" openssh.comment="Debian-5ubuntu0.2">OpenSSH_4.6p1 Debian-5ubuntu0.2</example>
631
+ <example>OpenSSH_4.6p1 Debian-5ubuntu0.5</example>
632
+ <example>OpenSSH_4.6p1 Debian-5ubuntu0.6</example>
633
+ <example>OpenSSH_4.6p1 Debian-5ubuntu0</example>
634
+ <param pos="1" name="service.version"/>
635
+ <param pos="2" name="openssh.comment"/>
636
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
637
+ <param pos="0" name="service.family" value="OpenSSH"/>
638
+ <param pos="0" name="service.product" value="OpenSSH"/>
639
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
640
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
641
+ <param pos="0" name="os.family" value="Linux"/>
642
+ <param pos="0" name="os.product" value="Linux"/>
643
+ <param pos="0" name="os.version" value="7.10"/>
644
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
645
+ </fingerprint>
646
+ <fingerprint pattern="^OpenSSH_(4\.7p1) (Debian-8ubuntu\d+(?:\.\d+)?)$">
647
+ <description>OpenSSH running on Ubuntu 8.04</description>
648
+ <example service.version="4.7p1" openssh.comment="Debian-8ubuntu1.2">OpenSSH_4.7p1 Debian-8ubuntu1.2</example>
649
+ <example service.version="4.7p1" openssh.comment="Debian-8ubuntu3">OpenSSH_4.7p1 Debian-8ubuntu3</example>
650
+ <param pos="1" name="service.version"/>
651
+ <param pos="2" name="openssh.comment"/>
652
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
653
+ <param pos="0" name="service.family" value="OpenSSH"/>
654
+ <param pos="0" name="service.product" value="OpenSSH"/>
655
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
656
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
657
+ <param pos="0" name="os.family" value="Linux"/>
658
+ <param pos="0" name="os.product" value="Linux"/>
659
+ <param pos="0" name="os.version" value="8.04"/>
660
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
661
+ </fingerprint>
662
+ <fingerprint pattern="^OpenSSH_(5\.1p1) (Debian-3ubuntu\d+(?:\.\d+)?)$">
663
+ <description>OpenSSH running on Ubuntu 8.10</description>
664
+ <example service.version="5.1p1" openssh.comment="Debian-3ubuntu1">OpenSSH_5.1p1 Debian-3ubuntu1</example>
665
+ <param pos="1" name="service.version"/>
666
+ <param pos="2" name="openssh.comment"/>
667
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
668
+ <param pos="0" name="service.family" value="OpenSSH"/>
669
+ <param pos="0" name="service.product" value="OpenSSH"/>
670
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
671
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
672
+ <param pos="0" name="os.family" value="Linux"/>
673
+ <param pos="0" name="os.product" value="Linux"/>
674
+ <param pos="0" name="os.version" value="8.10"/>
675
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
676
+ </fingerprint>
677
+ <fingerprint pattern="^OpenSSH_(5\.1p1) (Debian-5ubuntu\d+(?:\.\d+)?)$">
678
+ <description>OpenSSH running on Ubuntu 9.04</description>
679
+ <example service.version="5.1p1" openssh.comment="Debian-5ubuntu1">OpenSSH_5.1p1 Debian-5ubuntu1</example>
680
+ <param pos="1" name="service.version"/>
681
+ <param pos="2" name="openssh.comment"/>
682
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
683
+ <param pos="0" name="service.family" value="OpenSSH"/>
684
+ <param pos="0" name="service.product" value="OpenSSH"/>
685
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
686
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
687
+ <param pos="0" name="os.family" value="Linux"/>
688
+ <param pos="0" name="os.product" value="Linux"/>
689
+ <param pos="0" name="os.version" value="9.04"/>
690
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
691
+ </fingerprint>
692
+ <fingerprint pattern="^OpenSSH_(5\.1p1) (Debian-6ubuntu\d+(?:\.\d+)?)$">
693
+ <description>OpenSSH running on Ubuntu 9.10</description>
694
+ <example service.version="5.1p1" openssh.comment="Debian-6ubuntu2">OpenSSH_5.1p1 Debian-6ubuntu2</example>
695
+ <param pos="1" name="service.version"/>
696
+ <param pos="2" name="openssh.comment"/>
697
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
698
+ <param pos="0" name="service.family" value="OpenSSH"/>
699
+ <param pos="0" name="service.product" value="OpenSSH"/>
700
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
701
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
702
+ <param pos="0" name="os.family" value="Linux"/>
703
+ <param pos="0" name="os.product" value="Linux"/>
704
+ <param pos="0" name="os.version" value="9.10"/>
705
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
706
+ </fingerprint>
707
+ <fingerprint pattern="^OpenSSH_(5\.3p1) (Debian-3ubuntu\d+(?:\.\d+)?)$">
708
+ <description>OpenSSH running on Ubuntu 10.04 (lucid)</description>
709
+ <example service.version="5.3p1" openssh.comment="Debian-3ubuntu3">OpenSSH_5.3p1 Debian-3ubuntu3</example>
710
+ <example service.version="5.3p1" openssh.comment="Debian-3ubuntu4">OpenSSH_5.3p1 Debian-3ubuntu4</example>
711
+ <example service.version="5.3p1" openssh.comment="Debian-3ubuntu5">OpenSSH_5.3p1 Debian-3ubuntu5</example>
712
+ <example service.version="5.3p1" openssh.comment="Debian-3ubuntu6">OpenSSH_5.3p1 Debian-3ubuntu6</example>
713
+ <example service.version="5.3p1" openssh.comment="Debian-3ubuntu7">OpenSSH_5.3p1 Debian-3ubuntu7</example>
714
+ <example service.version="5.3p1" openssh.comment="Debian-3ubuntu7.1">OpenSSH_5.3p1 Debian-3ubuntu7.1</example>
715
+ <param pos="1" name="service.version"/>
716
+ <param pos="2" name="openssh.comment"/>
717
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
718
+ <param pos="0" name="service.family" value="OpenSSH"/>
719
+ <param pos="0" name="service.product" value="OpenSSH"/>
720
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
721
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
722
+ <param pos="0" name="os.family" value="Linux"/>
723
+ <param pos="0" name="os.product" value="Linux"/>
724
+ <param pos="0" name="os.version" value="10.04"/>
725
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
726
+ </fingerprint>
727
+ <fingerprint pattern="^OpenSSH_(5\.5p1) (Debian-4ubuntu\d+(?:\.\d+)?)$">
728
+ <description>OpenSSH running on Ubuntu 10.10</description>
729
+ <example service.version="5.5p1" openssh.comment="Debian-4ubuntu4">OpenSSH_5.5p1 Debian-4ubuntu4</example>
730
+ <example service.version="5.5p1" openssh.comment="Debian-4ubuntu5">OpenSSH_5.5p1 Debian-4ubuntu5</example>
731
+ <example service.version="5.5p1" openssh.comment="Debian-4ubuntu6">OpenSSH_5.5p1 Debian-4ubuntu6</example>
732
+ <param pos="1" name="service.version"/>
733
+ <param pos="2" name="openssh.comment"/>
734
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
735
+ <param pos="0" name="service.family" value="OpenSSH"/>
736
+ <param pos="0" name="service.product" value="OpenSSH"/>
737
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
738
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
739
+ <param pos="0" name="os.family" value="Linux"/>
740
+ <param pos="0" name="os.product" value="Linux"/>
741
+ <param pos="0" name="os.version" value="10.10"/>
742
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
743
+ </fingerprint>
744
+ <fingerprint pattern="^OpenSSH_(5\.8p1) (Debian-1ubuntu\d(?:\.\d)?)$">
745
+ <description>OpenSSH running on Ubuntu 11.04</description>
746
+ <example service.version="5.8p1" openssh.comment="Debian-1ubuntu3">OpenSSH_5.8p1 Debian-1ubuntu3</example>
747
+ <param pos="1" name="service.version"/>
748
+ <param pos="2" name="openssh.comment"/>
749
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
750
+ <param pos="0" name="service.family" value="OpenSSH"/>
751
+ <param pos="0" name="service.product" value="OpenSSH"/>
752
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
753
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
754
+ <param pos="0" name="os.family" value="Linux"/>
755
+ <param pos="0" name="os.product" value="Linux"/>
756
+ <param pos="0" name="os.version" value="11.04"/>
757
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
758
+ </fingerprint>
759
+ <fingerprint pattern="^OpenSSH_(5\.8p1) (Debian-7ubuntu\d(?:\.\d)?)$">
760
+ <description>OpenSSH running on Ubuntu 11.10</description>
761
+ <example service.version="5.8p1" openssh.comment="Debian-7ubuntu1">OpenSSH_5.8p1 Debian-7ubuntu1</example>
762
+ <param pos="1" name="service.version"/>
763
+ <param pos="2" name="openssh.comment"/>
764
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
765
+ <param pos="0" name="service.family" value="OpenSSH"/>
766
+ <param pos="0" name="service.product" value="OpenSSH"/>
767
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
768
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
769
+ <param pos="0" name="os.family" value="Linux"/>
770
+ <param pos="0" name="os.product" value="Linux"/>
771
+ <param pos="0" name="os.version" value="11.10"/>
772
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
773
+ </fingerprint>
774
+ <fingerprint pattern="^OpenSSH_(5\.9p1) (Debian-5ubuntu\d(?:\.\d)?)$">
775
+ <description>OpenSSH running on Ubuntu 12.04</description>
776
+ <example service.version="5.9p1" openssh.comment="Debian-5ubuntu1">OpenSSH_5.9p1 Debian-5ubuntu1</example>
777
+ <example service.version="5.9p1" openssh.comment="Debian-5ubuntu1.4">OpenSSH_5.9p1 Debian-5ubuntu1.4</example>
778
+ <param pos="1" name="service.version"/>
779
+ <param pos="2" name="openssh.comment"/>
780
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
781
+ <param pos="0" name="service.family" value="OpenSSH"/>
782
+ <param pos="0" name="service.product" value="OpenSSH"/>
783
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
784
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
785
+ <param pos="0" name="os.family" value="Linux"/>
786
+ <param pos="0" name="os.product" value="Linux"/>
787
+ <param pos="0" name="os.version" value="12.04"/>
788
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
789
+ </fingerprint>
790
+ <fingerprint pattern="^OpenSSH_(6\.0p1) (Debian-3ubuntu\d(?:\.\d)?)$">
791
+ <description>OpenSSH running on Ubuntu 12.10</description>
792
+ <example service.version="6.0p1" openssh.comment="Debian-3ubuntu1">OpenSSH_6.0p1 Debian-3ubuntu1</example>
793
+ <example>OpenSSH_6.0p1 Debian-3ubuntu1.2</example>
794
+ <param pos="1" name="service.version"/>
795
+ <param pos="2" name="openssh.comment"/>
796
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
797
+ <param pos="0" name="service.family" value="OpenSSH"/>
798
+ <param pos="0" name="service.product" value="OpenSSH"/>
799
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
800
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
801
+ <param pos="0" name="os.family" value="Linux"/>
802
+ <param pos="0" name="os.product" value="Linux"/>
803
+ <param pos="0" name="os.version" value="12.10"/>
804
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
805
+ </fingerprint>
806
+ <fingerprint pattern="^OpenSSH_(6\.1p1) (Debian-4)$">
807
+ <description>OpenSSH running on Ubuntu 13.04</description>
808
+ <example service.version="6.1p1" openssh.comment="Debian-4">OpenSSH_6.1p1 Debian-4</example>
66
809
  <param pos="1" name="service.version"/>
67
810
  <param pos="2" name="openssh.comment"/>
68
811
  <param pos="0" name="service.vendor" value="OpenBSD"/>
69
812
  <param pos="0" name="service.family" value="OpenSSH"/>
70
813
  <param pos="0" name="service.product" value="OpenSSH"/>
71
814
  <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
72
- <param pos="0" name="os.vendor" value="FreeBSD"/>
73
- <param pos="0" name="os.family" value="FreeBSD"/>
74
- <param pos="0" name="os.product" value="FreeBSD"/>
75
- <param pos="0" name="os.cpe23" value="cpe:/o:freebsd:freebsd:-"/>
815
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
816
+ <param pos="0" name="os.family" value="Linux"/>
817
+ <param pos="0" name="os.product" value="Linux"/>
818
+ <param pos="0" name="os.version" value="13.04"/>
819
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
76
820
  </fingerprint>
77
- <fingerprint pattern="^OpenSSH_([^\s]+)\s+(NetBSD(?:_Secure_Shell)?[ -].*)$">
78
- <description>OpenSSH running on NetBSD</description>
79
- <example service.version="7.2" openssh.comment="NetBSD-20100308">OpenSSH_7.2 NetBSD-20100308</example>
80
- <example service.version="4.4" openssh.comment="NetBSD_Secure_Shell-20061114">OpenSSH_4.4 NetBSD_Secure_Shell-20061114</example>
821
+ <fingerprint pattern="^OpenSSH_(6\.2p2) (Ubuntu-6unbuntu\d(?:\.\d)?)$">
822
+ <description>OpenSSH running on Ubuntu 13.10</description>
823
+ <example service.version="6.2p2" openssh.comment="Ubuntu-6unbuntu0.4">OpenSSH_6.2p2 Ubuntu-6unbuntu0.4</example>
81
824
  <param pos="1" name="service.version"/>
82
825
  <param pos="2" name="openssh.comment"/>
83
826
  <param pos="0" name="service.vendor" value="OpenBSD"/>
84
827
  <param pos="0" name="service.family" value="OpenSSH"/>
85
828
  <param pos="0" name="service.product" value="OpenSSH"/>
86
829
  <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
87
- <param pos="0" name="os.vendor" value="NetBSD"/>
88
- <param pos="0" name="os.family" value="NetBSD"/>
89
- <param pos="0" name="os.product" value="NetBSD"/>
90
- <param pos="0" name="os.cpe23" value="cpe:/o:netbsd:netbsd:-"/>
830
+ <param pos="0" name="os.vendor" value="Ubuntu"/>
831
+ <param pos="0" name="os.family" value="Linux"/>
832
+ <param pos="0" name="os.product" value="Linux"/>
833
+ <param pos="0" name="os.version" value="13.10"/>
834
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
91
835
  </fingerprint>
92
- <fingerprint pattern="^OpenSSH_(4\.1p1) (Debian-7ubuntu\d+(?:\.\d+)?)$">
93
- <description>OpenSSH running on Ubuntu 5.10</description>
94
- <example>OpenSSH_4.1p1 Debian-7ubuntu4</example>
836
+ <fingerprint pattern="^OpenSSH_(\d+\.\d+(?:\.\d+)?(?:p\d+)?)[_|-](hpn\d+v\d+)$">
837
+ <description>OpenSSH with HPN patches</description>
838
+ <example service.version="6.1" openssh.comment="hpn13v11">OpenSSH_6.1_hpn13v11</example>
839
+ <example service.version="5.8p1" openssh.comment="hpn13v11">OpenSSH_5.8p1-hpn13v11</example>
840
+ <example service.version="5.8p1" openssh.comment="hpn14v9">OpenSSH_5.8p1-hpn14v9</example>
841
+ <param pos="1" name="service.version"/>
842
+ <param pos="2" name="openssh.comment"/>
843
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
844
+ <param pos="0" name="service.family" value="OpenSSH"/>
845
+ <param pos="0" name="service.product" value="OpenSSH"/>
846
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
847
+ </fingerprint>
848
+ <fingerprint pattern="^OpenSSH_(6\.6(?:\.\d)?p1) (Ubuntu-2ubuntu\d+(?:\.\d+)?)$">
849
+ <description>OpenSSH running on Ubuntu 14.04</description>
850
+ <example service.version="6.6p1" openssh.comment="Ubuntu-2ubuntu1">OpenSSH_6.6p1 Ubuntu-2ubuntu1</example>
851
+ <example service.version="6.6.1p1" openssh.comment="Ubuntu-2ubuntu2">OpenSSH_6.6.1p1 Ubuntu-2ubuntu2</example>
95
852
  <param pos="1" name="service.version"/>
96
853
  <param pos="2" name="openssh.comment"/>
97
854
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -101,13 +858,12 @@
101
858
  <param pos="0" name="os.vendor" value="Ubuntu"/>
102
859
  <param pos="0" name="os.family" value="Linux"/>
103
860
  <param pos="0" name="os.product" value="Linux"/>
104
- <param pos="0" name="os.version" value="5.10"/>
105
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:5.10"/>
861
+ <param pos="0" name="os.version" value="14.04"/>
862
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
106
863
  </fingerprint>
107
- <fingerprint pattern="^OpenSSH_(4\.2p1) (Debian-7ubuntu\d+(?:\.\d+)?)$">
108
- <description>OpenSSH running on Ubuntu 6.04</description>
109
- <example>OpenSSH_4.2p1 Debian-7ubuntu3.1</example>
110
- <example>OpenSSH_4.2p1 Debian-7ubuntu3.2</example>
864
+ <fingerprint pattern="^OpenSSH_(6\.6\.1p1) (Ubuntu-8)$">
865
+ <description>OpenSSH running on Ubuntu 14.10</description>
866
+ <example service.version="6.6.1p1" openssh.comment="Ubuntu-8">OpenSSH_6.6.1p1 Ubuntu-8</example>
111
867
  <param pos="1" name="service.version"/>
112
868
  <param pos="2" name="openssh.comment"/>
113
869
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -117,12 +873,12 @@
117
873
  <param pos="0" name="os.vendor" value="Ubuntu"/>
118
874
  <param pos="0" name="os.family" value="Linux"/>
119
875
  <param pos="0" name="os.product" value="Linux"/>
120
- <param pos="0" name="os.version" value="6.04"/>
121
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:6.04"/>
876
+ <param pos="0" name="os.version" value="14.10"/>
877
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
122
878
  </fingerprint>
123
- <fingerprint pattern="^OpenSSH_(4\.3p2) (Debian-8ubuntu\d+(?:\.\d+)?)$">
124
- <description>OpenSSH running on Ubuntu 7.04</description>
125
- <example>OpenSSH_4.3p2 Debian-8ubuntu1.4</example>
879
+ <fingerprint pattern="^OpenSSH_(6\.7p1) (Ubuntu-5ubuntu\d(?:\.\d)?)$">
880
+ <description>OpenSSH running on Ubuntu 15.04 (vivid)</description>
881
+ <example service.version="6.7p1" openssh.comment="Ubuntu-5ubuntu1">OpenSSH_6.7p1 Ubuntu-5ubuntu1</example>
126
882
  <param pos="1" name="service.version"/>
127
883
  <param pos="2" name="openssh.comment"/>
128
884
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -132,14 +888,12 @@
132
888
  <param pos="0" name="os.vendor" value="Ubuntu"/>
133
889
  <param pos="0" name="os.family" value="Linux"/>
134
890
  <param pos="0" name="os.product" value="Linux"/>
135
- <param pos="0" name="os.version" value="7.04"/>
136
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:7.04"/>
891
+ <param pos="0" name="os.version" value="15.04"/>
892
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
137
893
  </fingerprint>
138
- <fingerprint pattern="^OpenSSH_(4\.6p1) (Debian-5ubuntu\d+(?:\.\d+)?)$">
139
- <description>OpenSSH running on Ubuntu 7.10</description>
140
- <example>OpenSSH_4.6p1 Debian-5ubuntu0.2</example>
141
- <example>OpenSSH_4.6p1 Debian-5ubuntu0.5</example>
142
- <example>OpenSSH_4.6p1 Debian-5ubuntu0.6</example>
894
+ <fingerprint pattern="^OpenSSH_(6\.9p1) (Ubuntu-2)$">
895
+ <description>OpenSSH running on Ubuntu 15.10</description>
896
+ <example service.version="6.9p1" openssh.comment="Ubuntu-2">OpenSSH_6.9p1 Ubuntu-2</example>
143
897
  <param pos="1" name="service.version"/>
144
898
  <param pos="2" name="openssh.comment"/>
145
899
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -149,12 +903,12 @@
149
903
  <param pos="0" name="os.vendor" value="Ubuntu"/>
150
904
  <param pos="0" name="os.family" value="Linux"/>
151
905
  <param pos="0" name="os.product" value="Linux"/>
152
- <param pos="0" name="os.version" value="7.10"/>
153
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:7.10"/>
906
+ <param pos="0" name="os.version" value="15.10"/>
907
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
154
908
  </fingerprint>
155
- <fingerprint pattern="^OpenSSH_(4\.6p1) (Debian-5build1)$">
156
- <description>OpenSSH running on very early versions of Ubuntu 7.10</description>
157
- <example service.version="4.6p1" openssh.comment="Debian-5build1">OpenSSH_4.6p1 Debian-5build1</example>
909
+ <fingerprint pattern="^OpenSSH_(7\.2p2) (Ubuntu-4ubuntu\d(?:\.\d)?)$">
910
+ <description>OpenSSH running on Ubuntu 16.04 (vivid)</description>
911
+ <example service.version="7.2p2" openssh.comment="Ubuntu-4ubuntu2.7">OpenSSH_7.2p2 Ubuntu-4ubuntu2.7</example>
158
912
  <param pos="1" name="service.version"/>
159
913
  <param pos="2" name="openssh.comment"/>
160
914
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -164,13 +918,12 @@
164
918
  <param pos="0" name="os.vendor" value="Ubuntu"/>
165
919
  <param pos="0" name="os.family" value="Linux"/>
166
920
  <param pos="0" name="os.product" value="Linux"/>
167
- <param pos="0" name="os.version" value="7.10"/>
168
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:7.10"/>
921
+ <param pos="0" name="os.version" value="16.04"/>
922
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
169
923
  </fingerprint>
170
- <fingerprint pattern="^OpenSSH_(4\.7p1) (Debian-8ubuntu\d+(?:\.\d+)?)$">
171
- <description>OpenSSH running on Ubuntu 8.04</description>
172
- <example service.version="4.7p1" openssh.comment="Debian-8ubuntu1.2">OpenSSH_4.7p1 Debian-8ubuntu1.2</example>
173
- <example service.version="4.7p1" openssh.comment="Debian-8ubuntu3">OpenSSH_4.7p1 Debian-8ubuntu3</example>
924
+ <fingerprint pattern="^OpenSSH_(7\.3p1) (Ubuntu-1)$">
925
+ <description>OpenSSH running on Ubuntu 16.10</description>
926
+ <example service.version="7.3p1" openssh.comment="Ubuntu-1">OpenSSH_7.3p1 Ubuntu-1</example>
174
927
  <param pos="1" name="service.version"/>
175
928
  <param pos="2" name="openssh.comment"/>
176
929
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -180,12 +933,12 @@
180
933
  <param pos="0" name="os.vendor" value="Ubuntu"/>
181
934
  <param pos="0" name="os.family" value="Linux"/>
182
935
  <param pos="0" name="os.product" value="Linux"/>
183
- <param pos="0" name="os.version" value="8.04"/>
184
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:8.04"/>
936
+ <param pos="0" name="os.version" value="16.10"/>
937
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
185
938
  </fingerprint>
186
- <fingerprint pattern="^OpenSSH_(5\.1p1) (Debian-3ubuntu\d+(?:\.\d+)?)$">
187
- <description>OpenSSH running on Ubuntu 8.10</description>
188
- <example>OpenSSH_5.1p1 Debian-3ubuntu1</example>
939
+ <fingerprint pattern="^OpenSSH_(7\.4p1) (Ubuntu-10)$">
940
+ <description>OpenSSH running on Ubuntu 17.04</description>
941
+ <example service.version="7.4p1" openssh.comment="Ubuntu-10">OpenSSH_7.4p1 Ubuntu-10</example>
189
942
  <param pos="1" name="service.version"/>
190
943
  <param pos="2" name="openssh.comment"/>
191
944
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -195,12 +948,12 @@
195
948
  <param pos="0" name="os.vendor" value="Ubuntu"/>
196
949
  <param pos="0" name="os.family" value="Linux"/>
197
950
  <param pos="0" name="os.product" value="Linux"/>
198
- <param pos="0" name="os.version" value="8.10"/>
199
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:8.10"/>
951
+ <param pos="0" name="os.version" value="17.04"/>
952
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
200
953
  </fingerprint>
201
- <fingerprint pattern="^OpenSSH_(5\.1p1) (Debian-5ubuntu\d+(?:\.\d+)?)$">
202
- <description>OpenSSH running on Ubuntu 9.04</description>
203
- <example>OpenSSH_5.1p1 Debian-5ubuntu1</example>
954
+ <fingerprint pattern="^OpenSSH_(7\.5p1) (Ubuntu-10ubuntu\d(?:\.\d)?)$">
955
+ <description>OpenSSH running on Ubuntu 17.10</description>
956
+ <example service.version="7.5p1" openssh.comment="Ubuntu-10ubuntu0.1">OpenSSH_7.5p1 Ubuntu-10ubuntu0.1</example>
204
957
  <param pos="1" name="service.version"/>
205
958
  <param pos="2" name="openssh.comment"/>
206
959
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -210,12 +963,12 @@
210
963
  <param pos="0" name="os.vendor" value="Ubuntu"/>
211
964
  <param pos="0" name="os.family" value="Linux"/>
212
965
  <param pos="0" name="os.product" value="Linux"/>
213
- <param pos="0" name="os.version" value="9.04"/>
214
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:9.04"/>
966
+ <param pos="0" name="os.version" value="17.10"/>
967
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
215
968
  </fingerprint>
216
- <fingerprint pattern="^OpenSSH_(5\.1p1) (Debian-6ubuntu\d+(?:\.\d+)?)$">
217
- <description>OpenSSH running on Ubuntu 9.10</description>
218
- <example>OpenSSH_5.1p1 Debian-6ubuntu2</example>
969
+ <fingerprint pattern="^OpenSSH_(7\.6p1) (Ubuntu-4ubuntu\d(?:\.\d)?)$">
970
+ <description>OpenSSH running on Ubuntu 18.04</description>
971
+ <example service.version="7.6p1" openssh.comment="Ubuntu-4ubuntu0.3">OpenSSH_7.6p1 Ubuntu-4ubuntu0.3</example>
219
972
  <param pos="1" name="service.version"/>
220
973
  <param pos="2" name="openssh.comment"/>
221
974
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -225,17 +978,12 @@
225
978
  <param pos="0" name="os.vendor" value="Ubuntu"/>
226
979
  <param pos="0" name="os.family" value="Linux"/>
227
980
  <param pos="0" name="os.product" value="Linux"/>
228
- <param pos="0" name="os.version" value="9.10"/>
229
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:9.10"/>
981
+ <param pos="0" name="os.version" value="18.04"/>
982
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
230
983
  </fingerprint>
231
- <fingerprint pattern="^OpenSSH_(5\.3p1) (Debian-3ubuntu\d+(?:\.\d+)?)$">
232
- <description>OpenSSH running on Ubuntu 10.04 (lucid)</description>
233
- <example service.version="5.3p1" openssh.comment="Debian-3ubuntu3">OpenSSH_5.3p1 Debian-3ubuntu3</example>
234
- <example service.version="5.3p1" openssh.comment="Debian-3ubuntu4">OpenSSH_5.3p1 Debian-3ubuntu4</example>
235
- <example service.version="5.3p1" openssh.comment="Debian-3ubuntu5">OpenSSH_5.3p1 Debian-3ubuntu5</example>
236
- <example service.version="5.3p1" openssh.comment="Debian-3ubuntu6">OpenSSH_5.3p1 Debian-3ubuntu6</example>
237
- <example service.version="5.3p1" openssh.comment="Debian-3ubuntu7">OpenSSH_5.3p1 Debian-3ubuntu7</example>
238
- <example service.version="5.3p1" openssh.comment="Debian-3ubuntu7.1">OpenSSH_5.3p1 Debian-3ubuntu7.1</example>
984
+ <fingerprint pattern="^OpenSSH_(7\.7p1) (Ubuntu-4)$">
985
+ <description>OpenSSH running on Ubuntu 18.10</description>
986
+ <example service.version="7.7p1" openssh.comment="Ubuntu-4">OpenSSH_7.7p1 Ubuntu-4</example>
239
987
  <param pos="1" name="service.version"/>
240
988
  <param pos="2" name="openssh.comment"/>
241
989
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -245,14 +993,12 @@
245
993
  <param pos="0" name="os.vendor" value="Ubuntu"/>
246
994
  <param pos="0" name="os.family" value="Linux"/>
247
995
  <param pos="0" name="os.product" value="Linux"/>
248
- <param pos="0" name="os.version" value="10.04"/>
249
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:10.04"/>
996
+ <param pos="0" name="os.version" value="18.10"/>
997
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
250
998
  </fingerprint>
251
- <fingerprint pattern="^OpenSSH_(5\.5p1) (Debian-4ubuntu\d+(?:\.\d+)?)$">
252
- <description>OpenSSH running on Ubuntu 10.10</description>
253
- <example service.version="5.5p1" openssh.comment="Debian-4ubuntu4">OpenSSH_5.5p1 Debian-4ubuntu4</example>
254
- <example service.version="5.5p1" openssh.comment="Debian-4ubuntu5">OpenSSH_5.5p1 Debian-4ubuntu5</example>
255
- <example service.version="5.5p1" openssh.comment="Debian-4ubuntu6">OpenSSH_5.5p1 Debian-4ubuntu6</example>
999
+ <fingerprint pattern="^OpenSSH_(7\.9p1) (Ubuntu-10)$">
1000
+ <description>OpenSSH running on Ubuntu 19.04</description>
1001
+ <example service.version="7.9p1" openssh.comment="Ubuntu-10">OpenSSH_7.9p1 Ubuntu-10</example>
256
1002
  <param pos="1" name="service.version"/>
257
1003
  <param pos="2" name="openssh.comment"/>
258
1004
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -262,12 +1008,12 @@
262
1008
  <param pos="0" name="os.vendor" value="Ubuntu"/>
263
1009
  <param pos="0" name="os.family" value="Linux"/>
264
1010
  <param pos="0" name="os.product" value="Linux"/>
265
- <param pos="0" name="os.version" value="10.10"/>
266
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:10.10"/>
1011
+ <param pos="0" name="os.version" value="19.04"/>
1012
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
267
1013
  </fingerprint>
268
- <fingerprint pattern="^OpenSSH_(5\.8p1) (Debian-1ubuntu\d(?:\.\d)?)$">
269
- <description>OpenSSH running on Ubuntu 11.04</description>
270
- <example>OpenSSH_5.8p1 Debian-1ubuntu3</example>
1014
+ <fingerprint pattern="^OpenSSH_(8\.0p1) (Ubuntu-6build1)$">
1015
+ <description>OpenSSH running on Ubuntu 19.10</description>
1016
+ <example service.version="8.0p1" openssh.comment="Ubuntu-6build1">OpenSSH_8.0p1 Ubuntu-6build1</example>
271
1017
  <param pos="1" name="service.version"/>
272
1018
  <param pos="2" name="openssh.comment"/>
273
1019
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -277,12 +1023,12 @@
277
1023
  <param pos="0" name="os.vendor" value="Ubuntu"/>
278
1024
  <param pos="0" name="os.family" value="Linux"/>
279
1025
  <param pos="0" name="os.product" value="Linux"/>
280
- <param pos="0" name="os.version" value="11.04"/>
281
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:11.04"/>
1026
+ <param pos="0" name="os.version" value="19.10"/>
1027
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:{os.version}"/>
282
1028
  </fingerprint>
283
- <fingerprint pattern="^OpenSSH_(5\.8p1) (Debian-7ubuntu\d(?:\.\d)?)$">
284
- <description>OpenSSH running on Ubuntu 11.10</description>
285
- <example>OpenSSH_5.8p1 Debian-7ubuntu1</example>
1029
+ <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Ubuntu-\d\d?)$">
1030
+ <description>OpenSSH running on Ubuntu (unknown release)</description>
1031
+ <example service.version="7.6p1" openssh.comment="Ubuntu-2">OpenSSH_7.6p1 Ubuntu-2</example>
286
1032
  <param pos="1" name="service.version"/>
287
1033
  <param pos="2" name="openssh.comment"/>
288
1034
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -292,13 +1038,11 @@
292
1038
  <param pos="0" name="os.vendor" value="Ubuntu"/>
293
1039
  <param pos="0" name="os.family" value="Linux"/>
294
1040
  <param pos="0" name="os.product" value="Linux"/>
295
- <param pos="0" name="os.version" value="11.10"/>
296
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:11.10"/>
1041
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:-"/>
297
1042
  </fingerprint>
298
- <fingerprint pattern="^OpenSSH_(5\.9p1) (Debian-5ubuntu\d(?:\.\d)?)$">
299
- <description>OpenSSH running on Ubuntu 12.04</description>
300
- <example service.version="5.9p1" openssh.comment="Debian-5ubuntu1">OpenSSH_5.9p1 Debian-5ubuntu1</example>
301
- <example service.version="5.9p1" openssh.comment="Debian-5ubuntu1.4">OpenSSH_5.9p1 Debian-5ubuntu1.4</example>
1043
+ <fingerprint pattern="^OpenSSH_([^\s]+)\s+((?:Debian|Ubuntu).+ubuntu.*)$">
1044
+ <description>OpenSSH running on Ubuntu</description>
1045
+ <example service.version="7.2p3" openssh.comment="Ubuntu-4ubuntu2.2">OpenSSH_7.2p3 Ubuntu-4ubuntu2.2</example>
302
1046
  <param pos="1" name="service.version"/>
303
1047
  <param pos="2" name="openssh.comment"/>
304
1048
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -308,102 +1052,123 @@
308
1052
  <param pos="0" name="os.vendor" value="Ubuntu"/>
309
1053
  <param pos="0" name="os.family" value="Linux"/>
310
1054
  <param pos="0" name="os.product" value="Linux"/>
311
- <param pos="0" name="os.version" value="12.04"/>
312
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:12.04"/>
1055
+ <param pos="0" name="os.certainty" value="0.75"/>
1056
+ <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:-"/>
313
1057
  </fingerprint>
314
- <fingerprint pattern="^OpenSSH_(6\.0p1) (Debian-3ubuntu\d(?:\.\d)?)$">
315
- <description>OpenSSH running on Ubuntu 12.10</description>
316
- <example>OpenSSH_6.0p1 Debian-3ubuntu1</example>
1058
+ <!-- Debian -->
1059
+ <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian.+woody.*)$">
1060
+ <description>OpenSSH running on Debian 3.0 (woody)</description>
1061
+ <example service.version="3.4p1" openssh.comment="Debian 1:3.4p1-1.woody.3">OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3</example>
317
1062
  <param pos="1" name="service.version"/>
318
1063
  <param pos="2" name="openssh.comment"/>
319
1064
  <param pos="0" name="service.vendor" value="OpenBSD"/>
320
1065
  <param pos="0" name="service.family" value="OpenSSH"/>
321
1066
  <param pos="0" name="service.product" value="OpenSSH"/>
322
1067
  <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
323
- <param pos="0" name="os.vendor" value="Ubuntu"/>
1068
+ <param pos="0" name="os.vendor" value="Debian"/>
324
1069
  <param pos="0" name="os.family" value="Linux"/>
325
1070
  <param pos="0" name="os.product" value="Linux"/>
326
- <param pos="0" name="os.version" value="12.10"/>
327
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:12.10"/>
1071
+ <param pos="0" name="os.version" value="3.0"/>
1072
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
328
1073
  </fingerprint>
329
- <fingerprint pattern="^OpenSSH_(6\.1p1) (Debian-4)$">
330
- <description>OpenSSH running on Ubuntu 13.04</description>
331
- <example>OpenSSH_6.1p1 Debian-4</example>
1074
+ <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian.+sarge.*)$">
1075
+ <description>OpenSSH running on Debian 3.1 (sarge)</description>
1076
+ <example service.version="3.8.1p1" openssh.comment="Debian-8.sarge.4">OpenSSH_3.8.1p1 Debian-8.sarge.4</example>
332
1077
  <param pos="1" name="service.version"/>
333
1078
  <param pos="2" name="openssh.comment"/>
334
1079
  <param pos="0" name="service.vendor" value="OpenBSD"/>
335
1080
  <param pos="0" name="service.family" value="OpenSSH"/>
336
1081
  <param pos="0" name="service.product" value="OpenSSH"/>
337
1082
  <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
338
- <param pos="0" name="os.vendor" value="Ubuntu"/>
1083
+ <param pos="0" name="os.vendor" value="Debian"/>
339
1084
  <param pos="0" name="os.family" value="Linux"/>
340
1085
  <param pos="0" name="os.product" value="Linux"/>
341
- <param pos="0" name="os.version" value="13.04"/>
342
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:13.04"/>
1086
+ <param pos="0" name="os.version" value="3.1"/>
1087
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
343
1088
  </fingerprint>
344
- <fingerprint pattern="^OpenSSH_(\d+\.\d+(?:\.\d+)?(?:p\d+)?)[_|-](hpn\d+v\d+)$">
345
- <description>OpenSSH with HPN patches</description>
346
- <example service.version="6.1" openssh.comment="hpn13v11">OpenSSH_6.1_hpn13v11</example>
347
- <example service.version="5.8p1" openssh.comment="hpn13v11">OpenSSH_5.8p1-hpn13v11</example>
348
- <example service.version="5.8p1" openssh.comment="hpn14v9">OpenSSH_5.8p1-hpn14v9</example>
1089
+ <fingerprint pattern="^OpenSSH_(4\.3p2) (Debian-9.*)$">
1090
+ <description>OpenSSH running on Debian 4.0 (etch)</description>
1091
+ <example service.version="4.3p2" openssh.comment="Debian-9">OpenSSH_4.3p2 Debian-9</example>
1092
+ <example service.version="4.3p2" openssh.comment="Debian-9etch3">OpenSSH_4.3p2 Debian-9etch3</example>
349
1093
  <param pos="1" name="service.version"/>
350
1094
  <param pos="2" name="openssh.comment"/>
351
1095
  <param pos="0" name="service.vendor" value="OpenBSD"/>
352
1096
  <param pos="0" name="service.family" value="OpenSSH"/>
353
1097
  <param pos="0" name="service.product" value="OpenSSH"/>
354
1098
  <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
1099
+ <param pos="0" name="os.vendor" value="Debian"/>
1100
+ <param pos="0" name="os.family" value="Linux"/>
1101
+ <param pos="0" name="os.product" value="Linux"/>
1102
+ <param pos="0" name="os.version" value="4.0"/>
1103
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
355
1104
  </fingerprint>
356
- <fingerprint pattern="^OpenSSH_(6\.6(?:\.\d)?p1) (Ubuntu-2ubuntu\d+(?:\.\d+)?)$">
357
- <description>OpenSSH running on Ubuntu 14.04</description>
358
- <example service.version="6.6p1" openssh.comment="Ubuntu-2ubuntu1">OpenSSH_6.6p1 Ubuntu-2ubuntu1</example>
359
- <example service.version="6.6.1p1" openssh.comment="Ubuntu-2ubuntu2">OpenSSH_6.6.1p1 Ubuntu-2ubuntu2</example>
1105
+ <fingerprint pattern="^OpenSSH_(5\.1p1) (Debian-5)$">
1106
+ <description>OpenSSH running on Debian 5.0 (also 5.10)</description>
1107
+ <example service.version="5.1p1" openssh.comment="Debian-5">OpenSSH_5.1p1 Debian-5</example>
360
1108
  <param pos="1" name="service.version"/>
361
1109
  <param pos="2" name="openssh.comment"/>
362
1110
  <param pos="0" name="service.vendor" value="OpenBSD"/>
363
1111
  <param pos="0" name="service.family" value="OpenSSH"/>
364
1112
  <param pos="0" name="service.product" value="OpenSSH"/>
365
1113
  <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
366
- <param pos="0" name="os.vendor" value="Ubuntu"/>
1114
+ <param pos="0" name="os.vendor" value="Debian"/>
367
1115
  <param pos="0" name="os.family" value="Linux"/>
368
1116
  <param pos="0" name="os.product" value="Linux"/>
369
- <param pos="0" name="os.version" value="14.04"/>
370
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:14.04"/>
1117
+ <param pos="0" name="os.version" value="5.0"/>
1118
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
371
1119
  </fingerprint>
372
- <fingerprint pattern="^OpenSSH_(6\.7p1) (Ubuntu-5ubuntu\d(?:\.\d)?)$">
373
- <description>OpenSSH running on Ubuntu 15.04 (vivid)</description>
374
- <example service.version="6.7p1" openssh.comment="Ubuntu-5ubuntu1">OpenSSH_6.7p1 Ubuntu-5ubuntu1</example>
1120
+ <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian-\d+[+~]squeeze.*)$">
1121
+ <description>OpenSSH running on Debian 6.0 (squeeze)</description>
1122
+ <example service.version="5.5p1" openssh.comment="Debian-6+squeeze4">OpenSSH_5.5p1 Debian-6+squeeze4</example>
1123
+ <example service.version="5.5p1" openssh.comment="Debian-26+squeeze7">OpenSSH_5.5p1 Debian-26+squeeze7</example>
1124
+ <example service.version="5.8p1" openssh.comment="Debian-4~squeeze+1">OpenSSH_5.8p1 Debian-4~squeeze+1</example>
375
1125
  <param pos="1" name="service.version"/>
376
1126
  <param pos="2" name="openssh.comment"/>
377
1127
  <param pos="0" name="service.vendor" value="OpenBSD"/>
378
1128
  <param pos="0" name="service.family" value="OpenSSH"/>
379
1129
  <param pos="0" name="service.product" value="OpenSSH"/>
380
1130
  <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
381
- <param pos="0" name="os.vendor" value="Ubuntu"/>
1131
+ <param pos="0" name="os.vendor" value="Debian"/>
382
1132
  <param pos="0" name="os.family" value="Linux"/>
383
1133
  <param pos="0" name="os.product" value="Linux"/>
384
- <param pos="0" name="os.version" value="15.04"/>
385
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:15.04"/>
1134
+ <param pos="0" name="os.version" value="6.0"/>
1135
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
386
1136
  </fingerprint>
387
- <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Ubuntu-\d\d?)$">
388
- <description>OpenSSH running on Ubuntu (unknown release)</description>
389
- <example service.version="7.4p1" openssh.comment="Ubuntu-10">OpenSSH_7.4p1 Ubuntu-10</example>
390
- <example service.version="7.6p1" openssh.comment="Ubuntu-2">OpenSSH_7.6p1 Ubuntu-2</example>
1137
+ <fingerprint pattern="^OpenSSH_(5\.5p1) (Debian-6)$">
1138
+ <description>OpenSSH running on Debian 6.0 (w/o squeeze in banner)</description>
1139
+ <example service.version="5.5p1" openssh.comment="Debian-6">OpenSSH_5.5p1 Debian-6</example>
391
1140
  <param pos="1" name="service.version"/>
392
1141
  <param pos="2" name="openssh.comment"/>
393
1142
  <param pos="0" name="service.vendor" value="OpenBSD"/>
394
1143
  <param pos="0" name="service.family" value="OpenSSH"/>
395
1144
  <param pos="0" name="service.product" value="OpenSSH"/>
396
1145
  <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
397
- <param pos="0" name="os.vendor" value="Ubuntu"/>
1146
+ <param pos="0" name="os.vendor" value="Debian"/>
398
1147
  <param pos="0" name="os.family" value="Linux"/>
399
1148
  <param pos="0" name="os.product" value="Linux"/>
400
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:-"/>
1149
+ <param pos="0" name="os.version" value="6.0"/>
1150
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
1151
+ </fingerprint>
1152
+ <!-- More specific than and should preceed the 7.0 match -->
1153
+ <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian-4\+deb7u2)$">
1154
+ <description>OpenSSH running on Debian 7.8 (wheezy)</description>
1155
+ <example service.version="6.0p1" openssh.comment="Debian-4+deb7u2">OpenSSH_6.0p1 Debian-4+deb7u2</example>
1156
+ <param pos="1" name="service.version"/>
1157
+ <param pos="2" name="openssh.comment"/>
1158
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
1159
+ <param pos="0" name="service.family" value="OpenSSH"/>
1160
+ <param pos="0" name="service.product" value="OpenSSH"/>
1161
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
1162
+ <param pos="0" name="os.vendor" value="Debian"/>
1163
+ <param pos="0" name="os.family" value="Linux"/>
1164
+ <param pos="0" name="os.product" value="Linux"/>
1165
+ <param pos="0" name="os.version" value="7.8"/>
1166
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
401
1167
  </fingerprint>
402
1168
  <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian-4(?:\+deb7u\d+)?)$">
403
1169
  <description>OpenSSH running on Debian 7.x (wheezy)</description>
404
1170
  <example service.version="6.0p1" openssh.comment="Debian-4">OpenSSH_6.0p1 Debian-4</example>
405
1171
  <example service.version="6.0p1" openssh.comment="Debian-4+deb7u1">OpenSSH_6.0p1 Debian-4+deb7u1</example>
406
- <example service.version="6.0p1" openssh.comment="Debian-4+deb7u2">OpenSSH_6.0p1 Debian-4+deb7u2</example>
407
1172
  <param pos="1" name="service.version"/>
408
1173
  <param pos="2" name="openssh.comment"/>
409
1174
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -414,7 +1179,7 @@
414
1179
  <param pos="0" name="os.family" value="Linux"/>
415
1180
  <param pos="0" name="os.product" value="Linux"/>
416
1181
  <param pos="0" name="os.version" value="7.0"/>
417
- <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:7.0"/>
1182
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
418
1183
  </fingerprint>
419
1184
  <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian-\d~bpo7\d?\+\d+)$">
420
1185
  <description>OpenSSH backport running on Debian 7.x (wheezy)</description>
@@ -430,12 +1195,13 @@
430
1195
  <param pos="0" name="os.family" value="Linux"/>
431
1196
  <param pos="0" name="os.product" value="Linux"/>
432
1197
  <param pos="0" name="os.version" value="7.0"/>
433
- <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:7.0"/>
1198
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
434
1199
  </fingerprint>
435
1200
  <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian-5\+deb8u\d+.*)$">
436
1201
  <description>OpenSSH running on Debian 8.x (jessie)</description>
437
1202
  <example service.version="6.7p1" openssh.comment="Debian-5+deb8u2">OpenSSH_6.7p1 Debian-5+deb8u2</example>
438
1203
  <example service.version="6.7p1" openssh.comment="Debian-5+deb8u1~ui80+7">OpenSSH_6.7p1 Debian-5+deb8u1~ui80+7</example>
1204
+ <example service.version="6.7p1" openssh.comment="Debian-5+deb8u8">OpenSSH_6.7p1 Debian-5+deb8u8</example>
439
1205
  <param pos="1" name="service.version"/>
440
1206
  <param pos="2" name="openssh.comment"/>
441
1207
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -446,7 +1212,7 @@
446
1212
  <param pos="0" name="os.family" value="Linux"/>
447
1213
  <param pos="0" name="os.product" value="Linux"/>
448
1214
  <param pos="0" name="os.version" value="8.0"/>
449
- <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:8.0"/>
1215
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
450
1216
  </fingerprint>
451
1217
  <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian-\d\d?\+deb9u\d+)$">
452
1218
  <description>OpenSSH running on Debian 9.x (stretch)</description>
@@ -462,13 +1228,12 @@
462
1228
  <param pos="0" name="os.family" value="Linux"/>
463
1229
  <param pos="0" name="os.product" value="Linux"/>
464
1230
  <param pos="0" name="os.version" value="9.0"/>
465
- <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:9.0"/>
1231
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
466
1232
  </fingerprint>
467
- <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian-\d+[+~]squeeze.*)$">
468
- <description>OpenSSH running on Debian 6.0 (squeeze)</description>
469
- <example service.version="5.5p1" openssh.comment="Debian-6+squeeze4">OpenSSH_5.5p1 Debian-6+squeeze4</example>
470
- <example service.version="5.5p1" openssh.comment="Debian-26+squeeze7">OpenSSH_5.5p1 Debian-26+squeeze7</example>
471
- <example service.version="5.8p1" openssh.comment="Debian-4~squeeze+1">OpenSSH_5.8p1 Debian-4~squeeze+1</example>
1233
+ <fingerprint pattern="^OpenSSH_(7\.9p1) (Debian-10|Debian-\d\d?\+deb10u\d+)$">
1234
+ <description>OpenSSH running on Debian 10.x (buster)</description>
1235
+ <example service.version="7.9p1" openssh.comment="Debian-10">OpenSSH_7.9p1 Debian-10</example>
1236
+ <example service.version="7.9p1" openssh.comment="Debian-10+deb10u6">OpenSSH_7.9p1 Debian-10+deb10u6</example>
472
1237
  <param pos="1" name="service.version"/>
473
1238
  <param pos="2" name="openssh.comment"/>
474
1239
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -478,27 +1243,13 @@
478
1243
  <param pos="0" name="os.vendor" value="Debian"/>
479
1244
  <param pos="0" name="os.family" value="Linux"/>
480
1245
  <param pos="0" name="os.product" value="Linux"/>
481
- <param pos="0" name="os.version" value="6.0"/>
482
- <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:6.0"/>
483
- </fingerprint>
484
- <fingerprint pattern="^OpenSSH_([^\s]+)\s+((?:Debian|Ubuntu).+ubuntu.*)$">
485
- <description>OpenSSH running on Ubuntu</description>
486
- <example service.version="7.2p2" openssh.comment="Ubuntu-4ubuntu2.2">OpenSSH_7.2p2 Ubuntu-4ubuntu2.2</example>
487
- <param pos="1" name="service.version"/>
488
- <param pos="2" name="openssh.comment"/>
489
- <param pos="0" name="service.vendor" value="OpenBSD"/>
490
- <param pos="0" name="service.family" value="OpenSSH"/>
491
- <param pos="0" name="service.product" value="OpenSSH"/>
492
- <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
493
- <param pos="0" name="os.vendor" value="Ubuntu"/>
494
- <param pos="0" name="os.family" value="Linux"/>
495
- <param pos="0" name="os.product" value="Linux"/>
496
- <param pos="0" name="os.certainty" value="0.75"/>
497
- <param pos="0" name="os.cpe23" value="cpe:/o:canonical:ubuntu_linux:-"/>
1246
+ <param pos="0" name="os.version" value="10.0"/>
1247
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
498
1248
  </fingerprint>
499
- <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian.+etch.*)$">
500
- <description>OpenSSH running on Debian 4.0 (etch)</description>
501
- <example service.version="4.3p2" openssh.comment="Debian-9etch3">OpenSSH_4.3p2 Debian-9etch3</example>
1249
+ <fingerprint pattern="^OpenSSH_(8\.1p1) (Debian-1|Debian-\d\d?\+deb11u\d+)$">
1250
+ <description>OpenSSH running on Debian 11.x (bullseye)</description>
1251
+ <example service.version="8.1p1" openssh.comment="Debian-1">OpenSSH_8.1p1 Debian-1</example>
1252
+ <example service.version="8.1p1" openssh.comment="Debian-1+deb11u1">OpenSSH_8.1p1 Debian-1+deb11u1</example>
502
1253
  <param pos="1" name="service.version"/>
503
1254
  <param pos="2" name="openssh.comment"/>
504
1255
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -508,12 +1259,14 @@
508
1259
  <param pos="0" name="os.vendor" value="Debian"/>
509
1260
  <param pos="0" name="os.family" value="Linux"/>
510
1261
  <param pos="0" name="os.product" value="Linux"/>
511
- <param pos="0" name="os.version" value="4.0"/>
512
- <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:4.0"/>
1262
+ <param pos="0" name="os.version" value="11.0"/>
1263
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:{os.version}"/>
513
1264
  </fingerprint>
514
- <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian.+sarge.*)$">
515
- <description>OpenSSH running on Debian 3.1 (sarge)</description>
516
- <example service.version="3.8.1p1" openssh.comment="Debian-8.sarge.4">OpenSSH_3.8.1p1 Debian-8.sarge.4</example>
1265
+ <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian-\d+(?:[~]?bpo[.]?\d+)?)$">
1266
+ <description>OpenSSH running on Debian (unknown release)</description>
1267
+ <example service.version="4.3p2" openssh.comment="Debian-5~bpo.1">OpenSSH_4.3p2 Debian-5~bpo.1</example>
1268
+ <example service.version="4.2p1" openssh.comment="Debian-4bpo1">OpenSSH_4.2p1 Debian-4bpo1</example>
1269
+ <example service.version="7.4p1" openssh.comment="Debian-10">OpenSSH_7.4p1 Debian-10</example>
517
1270
  <param pos="1" name="service.version"/>
518
1271
  <param pos="2" name="openssh.comment"/>
519
1272
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -523,45 +1276,43 @@
523
1276
  <param pos="0" name="os.vendor" value="Debian"/>
524
1277
  <param pos="0" name="os.family" value="Linux"/>
525
1278
  <param pos="0" name="os.product" value="Linux"/>
526
- <param pos="0" name="os.version" value="3.1"/>
527
- <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:3.1"/>
1279
+ <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:-"/>
528
1280
  </fingerprint>
529
- <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian.+woody.*)$">
530
- <description>OpenSSH running on Debian 3.0 (woody)</description>
531
- <example service.version="3.4p1" openssh.comment="Debian 1:3.4p1-1.woody.3">OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3</example>
1281
+ <!-- Raspbian -->
1282
+ <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Raspbian-5\+deb8u\d+)$">
1283
+ <description>OpenSSH running on Raspbian (Debian 8 "Jessie" based)</description>
1284
+ <example service.version="6.7p1" openssh.comment="Raspbian-5+deb8u1">OpenSSH_6.7p1 Raspbian-5+deb8u1</example>
1285
+ <example service.version="6.7p1" openssh.comment="Raspbian-5+deb8u2">OpenSSH_6.7p1 Raspbian-5+deb8u2</example>
532
1286
  <param pos="1" name="service.version"/>
533
1287
  <param pos="2" name="openssh.comment"/>
534
1288
  <param pos="0" name="service.vendor" value="OpenBSD"/>
535
1289
  <param pos="0" name="service.family" value="OpenSSH"/>
536
1290
  <param pos="0" name="service.product" value="OpenSSH"/>
537
1291
  <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
538
- <param pos="0" name="os.vendor" value="Debian"/>
1292
+ <param pos="0" name="os.vendor" value="Raspbian"/>
539
1293
  <param pos="0" name="os.family" value="Linux"/>
540
1294
  <param pos="0" name="os.product" value="Linux"/>
541
- <param pos="0" name="os.version" value="3.0"/>
542
- <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:3.0"/>
1295
+ <param pos="0" name="os.version" value="8.0"/>
543
1296
  </fingerprint>
544
- <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Debian-\d+(?:[~]?bpo[.]?\d+)?)$">
545
- <description>OpenSSH running on Debian (unknown release)</description>
546
- <example service.version="5.5p1" openssh.comment="Debian-6">OpenSSH_5.5p1 Debian-6</example>
547
- <example service.version="4.3p2" openssh.comment="Debian-5~bpo.1">OpenSSH_4.3p2 Debian-5~bpo.1</example>
548
- <example service.version="4.2p1" openssh.comment="Debian-4bpo1">OpenSSH_4.2p1 Debian-4bpo1</example>
549
- <example service.version="7.4p1" openssh.comment="Debian-10">OpenSSH_7.4p1 Debian-10</example>
1297
+ <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Raspbian-\d\d?\+deb9u\d+)$">
1298
+ <description>OpenSSH running on Raspbian (Debian 9 "Stretch" based)</description>
1299
+ <example service.version="7.4p1" openssh.comment="Raspbian-10+deb9u1">OpenSSH_7.4p1 Raspbian-10+deb9u1</example>
1300
+ <example service.version="7.4p1" openssh.comment="Raspbian-9+deb9u1">OpenSSH_7.4p1 Raspbian-9+deb9u1</example>
550
1301
  <param pos="1" name="service.version"/>
551
1302
  <param pos="2" name="openssh.comment"/>
552
1303
  <param pos="0" name="service.vendor" value="OpenBSD"/>
553
1304
  <param pos="0" name="service.family" value="OpenSSH"/>
554
1305
  <param pos="0" name="service.product" value="OpenSSH"/>
555
1306
  <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
556
- <param pos="0" name="os.vendor" value="Debian"/>
1307
+ <param pos="0" name="os.vendor" value="Raspbian"/>
557
1308
  <param pos="0" name="os.family" value="Linux"/>
558
1309
  <param pos="0" name="os.product" value="Linux"/>
559
- <param pos="0" name="os.cpe23" value="cpe:/o:debian:debian_linux:-"/>
1310
+ <param pos="0" name="os.version" value="9.0"/>
560
1311
  </fingerprint>
561
- <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Raspbian-\d\d?\+deb9u\d+)$">
562
- <description>OpenSSH running on Raspbian (Debian 9 "Stretch" based)</description>
563
- <example service.version="7.4p1" openssh.comment="Raspbian-10+deb9u1">OpenSSH_7.4p1 Raspbian-10+deb9u1</example>
564
- <example service.version="7.4p1" openssh.comment="Raspbian-9+deb9u1">OpenSSH_7.4p1 Raspbian-9+deb9u1</example>
1312
+ <fingerprint pattern="^OpenSSH_(7\.9p1)\s+(Raspbian-(?:10|\d\d?\+deb10u\d+))$">
1313
+ <description>OpenSSH running on Raspbian (Debian 10 "Buster" based)</description>
1314
+ <example service.version="7.9p1" openssh.comment="Raspbian-10">OpenSSH_7.9p1 Raspbian-10</example>
1315
+ <example service.version="7.9p1" openssh.comment="Raspbian-10+deb10u1">OpenSSH_7.9p1 Raspbian-10+deb10u1</example>
565
1316
  <param pos="1" name="service.version"/>
566
1317
  <param pos="2" name="openssh.comment"/>
567
1318
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -571,12 +1322,12 @@
571
1322
  <param pos="0" name="os.vendor" value="Raspbian"/>
572
1323
  <param pos="0" name="os.family" value="Linux"/>
573
1324
  <param pos="0" name="os.product" value="Linux"/>
574
- <param pos="0" name="os.version" value="9.0"/>
1325
+ <param pos="0" name="os.version" value="10.0"/>
575
1326
  </fingerprint>
576
- <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Raspbian-5\+deb8u\d+)$">
577
- <description>OpenSSH running on Raspbian (Debian 8 "Jessie" based)</description>
578
- <example service.version="6.7p1" openssh.comment="Raspbian-5+deb8u1">OpenSSH_6.7p1 Raspbian-5+deb8u1</example>
579
- <example service.version="6.7p1" openssh.comment="Raspbian-5+deb8u2">OpenSSH_6.7p1 Raspbian-5+deb8u2</example>
1327
+ <fingerprint pattern="^OpenSSH_(8\.1p1)\s+(Raspbian-(?:1|\d\d?\+deb11u\d+))$">
1328
+ <description>OpenSSH running on Raspbian (Debian 11 "Bullseye" based)</description>
1329
+ <example service.version="8.1p1" openssh.comment="Raspbian-1">OpenSSH_8.1p1 Raspbian-1</example>
1330
+ <example service.version="8.1p1" openssh.comment="Raspbian-1+deb11u1">OpenSSH_8.1p1 Raspbian-1+deb11u1</example>
580
1331
  <param pos="1" name="service.version"/>
581
1332
  <param pos="2" name="openssh.comment"/>
582
1333
  <param pos="0" name="service.vendor" value="OpenBSD"/>
@@ -586,7 +1337,7 @@
586
1337
  <param pos="0" name="os.vendor" value="Raspbian"/>
587
1338
  <param pos="0" name="os.family" value="Linux"/>
588
1339
  <param pos="0" name="os.product" value="Linux"/>
589
- <param pos="0" name="os.version" value="8.0"/>
1340
+ <param pos="0" name="os.version" value="11.0"/>
590
1341
  </fingerprint>
591
1342
  <fingerprint pattern="^OpenSSH_([^\s]+)\s+(Raspbian-\d\d?)$">
592
1343
  <description>OpenSSH running on Raspbian (Debian, unknown release)</description>
@@ -602,6 +1353,7 @@
602
1353
  <param pos="0" name="os.family" value="Linux"/>
603
1354
  <param pos="0" name="os.product" value="Linux"/>
604
1355
  </fingerprint>
1356
+ <!-- Miscellaneous -->
605
1357
  <fingerprint pattern="^OpenSSH_(.*)\+(CAN-[0-9]{4}-[0-9]{4})$">
606
1358
  <description>OpenSSH with CVE patch, as seen in Mac OS X</description>
607
1359
  <example service.version="3.4p1" openssh.cvepatch="CAN-2004-0175">OpenSSH_3.4p1+CAN-2004-0175</example>
@@ -644,6 +1396,18 @@
644
1396
  <param pos="0" name="os.family" value="Linux"/>
645
1397
  <param pos="0" name="os.product" value="HipServ"/>
646
1398
  </fingerprint>
1399
+ <fingerprint pattern="^OpenSSH_for_Windows_([\d.]+)$">
1400
+ <description>OpenSSH running on Windows</description>
1401
+ <example service.version="7.7">OpenSSH_for_Windows_7.7</example>
1402
+ <param pos="1" name="service.version"/>
1403
+ <param pos="0" name="service.vendor" value="OpenBSD"/>
1404
+ <param pos="0" name="service.family" value="OpenSSH"/>
1405
+ <param pos="0" name="service.product" value="OpenSSH"/>
1406
+ <param pos="0" name="service.cpe23" value="cpe:/a:openbsd:openssh:{service.version}"/>
1407
+ <param pos="0" name="os.vendor" value="Microsoft"/>
1408
+ <param pos="0" name="os.family" value="Windows"/>
1409
+ <param pos="0" name="os.product" value="Windows"/>
1410
+ </fingerprint>
647
1411
  <fingerprint pattern="^OpenSSH_(.*) in DesktopAuthority (?:.*)$">
648
1412
  <description>DesktopAuthority SSH</description>
649
1413
  <example service.version="3.8">OpenSSH_3.8 in DesktopAuthority 7.1.091</example>
@@ -1129,17 +1893,18 @@
1129
1893
  <param pos="0" name="os.product" value="Tru64 Unix"/>
1130
1894
  <param pos="0" name="os.cpe23" value="cpe:/o:hp:tru64:-"/>
1131
1895
  </fingerprint>
1132
- <fingerprint pattern="^(?:SSH-(\d\.\d)-)?ROSSSH$">
1896
+ <fingerprint pattern="^ROSSSH$">
1133
1897
  <description>MikroTik RouterOS sshd</description>
1134
1898
  <example>ROSSSH</example>
1135
- <example service.version="2.0">SSH-2.0-ROSSSH</example>
1136
- <param pos="1" name="service.version"/>
1137
1899
  <param pos="0" name="os.vendor" value="MikroTik"/>
1138
1900
  <param pos="0" name="os.device" value="Router"/>
1139
1901
  <param pos="0" name="os.family" value="RouterOS"/>
1140
1902
  <param pos="0" name="os.product" value="RouterOS"/>
1141
1903
  <param pos="0" name="os.cpe23" value="cpe:/o:mikrotik:routeros:-"/>
1142
1904
  </fingerprint>
1905
+ <!-- xlightftpd is an ftp server that also supports SFTP. The SFTP
1906
+ server appears in ssh studies, thus this banner is here, and
1907
+ not in ftp_banners.xml-->
1143
1908
  <fingerprint pattern="^xlightftpd_release_([\d.]+)$">
1144
1909
  <description>Xlight FTP Server</description>
1145
1910
  <example service.version="3.8.3.6.1">xlightftpd_release_3.8.3.6.1</example>
@@ -1162,6 +1927,27 @@
1162
1927
  <param pos="0" name="service.vendor" value="libssh"/>
1163
1928
  <param pos="0" name="service.cpe23" value="cpe:/a:libssh:libssh:{service.version}"/>
1164
1929
  </fingerprint>
1930
+ <fingerprint pattern="^WeOnlyDo ([\d.]+)$">
1931
+ <description>WeOnlyDo with version</description>
1932
+ <example service.version="1.2.7">WeOnlyDo 1.2.7</example>
1933
+ <example service.version="2.0.1">WeOnlyDo 2.0.1</example>
1934
+ <example service.version="2.5.4">WeOnlyDo 2.5.4</example>
1935
+ <param pos="1" name="service.version"/>
1936
+ <param pos="0" name="service.family" value="WeOnlyDo"/>
1937
+ <param pos="0" name="service.vendor" value="WeOnlyDo"/>
1938
+ <param pos="0" name="service.product" value="WeOnlyDo SSH Server"/>
1939
+ <param pos="0" name="service.cpe23" value="cpe:/a:weonlydo:weonlydo:{service.version}"/>
1940
+ </fingerprint>
1941
+ <fingerprint pattern="^WeOnlyDo ([\d.]+) \(FIPS\)$">
1942
+ <description>WeOnlyDo with version with FIPS mode enabled</description>
1943
+ <example service.version="2.2.9">WeOnlyDo 2.2.9 (FIPS)</example>
1944
+ <example service.version="2.4.3">WeOnlyDo 2.4.3 (FIPS)</example>
1945
+ <param pos="1" name="service.version"/>
1946
+ <param pos="0" name="service.family" value="WeOnlyDo"/>
1947
+ <param pos="0" name="service.vendor" value="WeOnlyDo"/>
1948
+ <param pos="0" name="service.product" value="WeOnlyDo SSH Server"/>
1949
+ <param pos="0" name="service.cpe23" value="cpe:/a:weonlydo:weonlydo:{service.version}"/>
1950
+ </fingerprint>
1165
1951
  <!--
1166
1952
  1.2.22j4rad
1167
1953
  2.40