]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/pf.os
This commit was generated by cvs2svn to compensate for changes in r133543,
[FreeBSD/FreeBSD.git] / etc / pf.os
1 # $FreeBSD$
2 # $OpenBSD: pf.os,v 1.10 2003/09/06 01:37:07 frantzen Exp $
3 # passive OS fingerprinting
4 # -------------------------
5 #
6 # SYN signatures. Those signatures work for SYN packets only (duh!).
7 #
8 # (C) Copyright 2000-2003 by Michal Zalewski <lcamtuf@coredump.cx>
9 # (C) Copyright 2003 by Mike Frantzen <frantzen@w4g.org>
10 #
11 #  Permission to use, copy, modify, and distribute this software for any
12 #  purpose with or without fee is hereby granted, provided that the above
13 #  copyright notice and this permission notice appear in all copies.
14 #
15 #  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
16 #  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
17 #  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
18 #  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
19 #  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
20 #  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
21 #  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 #
23 #
24 # This fingerprint database is adapted from Michal Zalewski's p0f passive
25 # operating system package.
26 #
27 #
28 # Each line in this file specifies a single fingerprint. Please read the
29 # information below carefully before attempting to append any signatures
30 # reported as UNKNOWN to this file to avoid mistakes.
31 #
32 # We use the following set metrics for fingerprinting:
33 #
34 # - Window size (WSS) - a highly OS dependent setting used for TCP/IP
35 #   performance control (max. amount of data to be sent without ACK).
36 #   Some systems use a fixed value for initial packets. On other
37 #   systems, it is a multiple of MSS or MTU (MSS+40). In some rare
38 #   cases, the value is just arbitrary.
39 #
40 #   NEW SIGNATURE: if p0f reported a special value of 'Snn', the number
41 #   appears to be a multiple of MSS (MSS*nn); a special value of 'Tnn'
42 #   means it is a multiple of MTU ((MSS+40)*nn). Unless you notice the
43 #   value of nn is not fixed (unlikely), just copy the Snn or Tnn token
44 #   literally. If you know this device has a simple stack and a fixed
45 #   MTU, you can however multiply S value by MSS, or T value by MSS+40,
46 #   and put it instead of Snn or Tnn.
47 #
48 #   If WSS otherwise looks like a fixed value (for example a multiple
49 #   of two), or if you can confirm the value is fixed, please quote
50 #   it literally. If there's no apparent pattern in WSS chosen, you
51 #   should consider wildcarding this value.
52 #
53 # - Overall packet size - a function of all IP and TCP options and bugs.
54 #
55 #   NEW SIGNATURE: Copy this value literally.
56 #
57 # - Initial TTL - We check the actual TTL of a received packet. It can't
58 #   be higher than the initial TTL, and also shouldn't be dramatically
59 #   lower (maximum distance is defined as 40 hops).
60 #
61 #   NEW SIGNATURE: *Never* copy TTL from a p0f-reported signature literally.
62 #   You need to determine the initial TTL. The best way to do it is to
63 #   check the documentation for a remote system, or check its settings.
64 #   A fairly good method is to simply round the observed TTL up to
65 #   32, 64, 128, or 255, but it should be noted that some obscure devices
66 #   might not use round TTLs (in particular, some shoddy appliances use
67 #   "original" initial TTL settings). If not sure, you can see how many
68 #   hops you're away from the remote party with traceroute or mtr.
69 #
70 # - Don't fragment flag (DF) - some modern OSes set this to implement PMTU
71 #   discovery. Others do not bother.
72 #
73 #   NEW SIGNATURE: Copy this value literally.
74 #
75 # - Maximum segment size (MSS) - this setting is usually link-dependent. P0f
76 #   uses it to determine link type of the remote host.
77 #
78 #   NEW SIGNATURE: Always wildcard this value, except for rare cases when
79 #   you have an appliance with a fixed value, know the system supports only
80 #   a very limited number of network interface types, or know the system
81 #   is using a value it pulled out of nowhere.  Specific unique MSS
82 #   can be used to tell Google crawlbots from the rest of the population.
83 #
84 # - Window scaling (WSCALE) - this feature is used to scale WSS.
85 #   It extends the size of a TCP/IP window to 32 bits. Some modern
86 #   systems implement this feature.
87 #
88 #   NEW SIGNATURE: Observe several signatures. Initial WSCALE is often set
89 #   to zero or other low value. There's usually no need to wildcard this
90 #   parameter.
91 #
92 # - Timestamp - some systems that implement timestamps set them to
93 #   zero in the initial SYN. This case is detected and handled appropriately.
94 #
95 # - Selective ACK permitted - a flag set by systems that implement
96 #   selective ACK functionality.
97 #
98 # - The sequence of TCP all options (MSS, window scaling, selective ACK
99 #   permitted, timestamp, NOP). Other than the options previously
100 #   discussed, p0f also checks for timestamp option (a silly
101 #   extension to broadcast your uptime ;-), NOP options (used for
102 #   header padding) and sackOK option (selective ACK feature).
103 #
104 #   NEW SIGNATURE: Copy the sequence literally.
105 #
106 # To wildcard any value (except for initial TTL or TCP options), replace
107 # it with '*'. You can also use a modulo operator to match any values
108 # that divide by nnn - '%nnn'.
109 #
110 # Fingerprint entry format:
111 #
112 # wwww:ttt:D:ss:OOO...:OS:Version:Subtype:Details
113 #
114 # wwww     - window size (can be *, %nnn, Snn or Tnn).  The special values
115 #            "S" and "T" which are a multiple of MSS or a multiple of MTU
116 #            respectively.
117 # ttt      - initial TTL
118 # D        - don't fragment bit (0 - not set, 1 - set)
119 # ss       - overall SYN packet size
120 # OOO      - option value and order specification (see below)
121 # OS       - OS genre (Linux, Solaris, Windows)
122 # Version  - OS Version (2.0.27 on x86, etc)
123 # Subtype  - OS subtype or patchlevel (SP3, lo0)
124 # details  - Generic OS details
125 #
126 # If OS genre starts with '*', p0f will not show distance, link type
127 # and timestamp data. It is useful for userland TCP/IP stacks of
128 # network scanners and so on, where many settings are randomized or
129 # bogus.
130 #
131 # If OS genre starts with @, it denotes an approximate hit for a group
132 # of operating systems (signature reporting still enabled in this case).
133 # Use this feature at the end of this file to catch cases for which
134 # you don't have a precise match, but can tell it's Windows or FreeBSD
135 # or whatnot by looking at, say, flag layout alone.
136 #
137 # Option block description is a list of comma or space separated
138 # options in the order they appear in the packet:
139 #
140 # N        - NOP option
141 # Wnnn     - window scaling option, value nnn (or * or %nnn)
142 # Mnnn     - maximum segment size option, value nnn (or * or %nnn)
143 # S        - selective ACK OK
144 # T        - timestamp
145 # T0       - timestamp with a zero value
146 #
147 # To denote no TCP options, use a single '.'.
148 #
149 # Please report any additions to this file, or any inaccuracies or
150 # problems spotted, to the maintainers: lcamtuf@coredump.cx,
151 # frantzen@openbsd.org and bugs@openbsd.org with a tcpdump packet
152 # capture of the relevant SYN packet(s)
153 #
154 # WARNING WARNING WARNING
155 # -----------------------
156 #
157 # Do not add a system X as OS Y just because NMAP says so. It is often
158 # the case that X is a NAT firewall. While nmap is talking to the
159 # device itself, p0f is fingerprinting the guy behind the firewall
160 # instead.
161 #
162 # When in doubt, use common sense, don't add something that looks like
163 # a completely different system as Linux or FreeBSD or LinkSys router.
164 # Check DNS name, establish a connection to the remote host and look
165 # at SYN+ACK - does it look similar?
166 #
167 # Some users tweak their TCP/IP settings - enable or disable RFC1323
168 # functionality, enable or disable timestamps or selective ACK,
169 # disable PMTU discovery, change MTU and so on. Always compare a new rule
170 # to other fingerprints for this system, and verify the system isn't
171 # "customized" before adding it. It is OK to add signature variants
172 # caused by a commonly used software (personal firewalls, security
173 # packages, etc), but it makes no sense to try to add every single
174 # possible /proc/sys/net/ipv4 tweak on Linux or so.
175 #
176 # KEEP IN MIND: Some packet firewalls configured to normalize outgoing
177 # traffic (OpenBSD pf with "scrub" enabled, for example) will, well,
178 # normalize packets. Signatures will not correspond to the originating
179 # system (and probably not quite to the firewall either).
180 #
181 # NOTE: Try to keep this file in some reasonable order, from most to
182 # least likely systems. This will speed up operation. Also keep most
183 # generic and broad rules near the end.
184 #
185
186 ##########################
187 # Standard OS signatures #
188 ##########################
189
190 # ----------------- AIX ---------------------
191
192 # AIX is first because its signatures are close to NetBSD, MacOS X and
193 # Linux 2.0, but it uses a fairly rare MSSes, at least sometimes...
194 # This is a shoddy hack, though.
195
196 16384:64:0:44:M512:             AIX:4.3:2-3:AIX 4.3.2 and earlier
197
198 16384:64:0:60:M512,N,W%2,N,N,T:         AIX:4.3:3:AIX 4.3.3-5.2
199 16384:64:0:60:M512,N,W%2,N,N,T:         AIX:5.1-5.2::AIX 4.3.3-5.2
200 32768:64:0:60:M512,N,W%2,N,N,T:         AIX:4.3:3:AIX 4.3.3-5.2
201 32768:64:0:60:M512,N,W%2,N,N,T:         AIX:5.1-5.2::AIX 4.3.3-5.2
202 65535:64:0:60:M512,N,W%2,N,N,T:         AIX:4.3:3:AIX 4.3.3-5.2
203 65535:64:0:60:M512,N,W%2,N,N,T:         AIX:5.1-5.2::AIX 4.3.3-5.2
204 65535:64:0:64:M*,N,W1,N,N,T,N,N,S:      AIX:5.3:ML1:AIX 5.3 ML1
205
206 # ----------------- Linux -------------------
207
208 512:64:0:44:M*:                 Linux:2.0:3x:Linux 2.0.3x
209 16384:64:0:44:M*:               Linux:2.0:3x:Linux 2.0.3x
210
211 # Endian snafu! Nelson says "ha-ha":
212 2:64:0:44:M*:                   Linux:2.0:3x:Linux 2.0.3x (MkLinux) on Mac
213 64:64:0:44:M*:                  Linux:2.0:3x:Linux 2.0.3x (MkLinux) on Mac
214
215
216 S4:64:1:60:M1360,S,T,N,W0:      Linux:google::Linux (Google crawlbot)
217
218 S2:64:1:60:M*,S,T,N,W0:         Linux:2.4::Linux 2.4 (big boy)
219 S3:64:1:60:M*,S,T,N,W0:         Linux:2.4:18-21:Linux 2.4.18 and newer
220 S4:64:1:60:M*,S,T,N,W0:         Linux:2.4::Linux 2.4/2.6
221 S4:64:1:60:M*,S,T,N,W0:         Linux:2.6::Linux 2.4/2.6
222
223 S3:64:1:60:M*,S,T,N,W1:         Linux:2.5::Linux 2.5
224 S4:64:1:60:M*,S,T,N,W1:         Linux:2.5-2.6::Linux 2.5/2.6
225
226 S20:64:1:60:M*,S,T,N,W0:        Linux:2.2:20-25:Linux 2.2.20 and newer
227 S22:64:1:60:M*,S,T,N,W0:        Linux:2.2::Linux 2.2
228 S11:64:1:60:M*,S,T,N,W0:        Linux:2.2::Linux 2.2
229
230 # Popular cluster config scripts disable timestamps and
231 # selective ACK:
232 S4:64:1:48:M1460,N,W0:          Linux:2.4:cluster:Linux 2.4 in cluster
233
234 # This needs to be investigated. On some systems, WSS
235 # is selected as a multiple of MTU instead of MSS. I got
236 # many submissions for this for many late versions of 2.4:
237 T4:64:1:60:M1412,S,T,N,W0:      Linux:2.4::Linux 2.4 (late, uncommon)
238
239 # This happens only over loopback, but let's make folks happy:
240 32767:64:1:60:M16396,S,T,N,W0:  Linux:2.4:lo0:Linux 2.4 (local)
241 S8:64:1:60:M3884,S,T,N,W0:      Linux:2.2:lo0:Linux 2.2 (local)
242
243 # Opera visitors:
244 16384:64:1:60:M*,S,T,N,W0:      Linux:2.2:Opera:Linux 2.2 (Opera?)
245 32767:64:1:60:M*,S,T,N,W0:      Linux:2.4:Opera:Linux 2.4 (Opera?)
246
247 # Some fairly common mods:
248 S4:64:1:52:M*,N,N,S,N,W0:       Linux:2.4:ts:Linux 2.4 w/o timestamps
249 S22:64:1:52:M*,N,N,S,N,W0:      Linux:2.2:ts:Linux 2.2 w/o timestamps
250
251
252 # ----------------- FreeBSD -----------------
253
254 16384:64:1:44:M*:               FreeBSD:2.0-2.2::FreeBSD 2.0-4.1
255 16384:64:1:44:M*:               FreeBSD:3.0-3.5::FreeBSD 2.0-4.1
256 16384:64:1:44:M*:               FreeBSD:4.0-4.1::FreeBSD 2.0-4.1
257 16384:64:1:60:M*,N,W0,N,N,T:    FreeBSD:4.4::FreeBSD 4.4
258
259 1024:64:1:60:M*,N,W0,N,N,T:     FreeBSD:4.4::FreeBSD 4.4
260
261 57344:64:1:44:M*:               FreeBSD:4.6-4.8:noRFC1323:FreeBSD 4.6-4.8 (no RFC1323)
262 57344:64:1:60:M*,N,W0,N,N,T:    FreeBSD:4.6-4.8::FreeBSD 4.6-4.8
263
264 32768:64:1:60:M*,N,W0,N,N,T:    FreeBSD:4.8-4.9::FreeBSD 4.8-5.1 (or MacOS X)
265 32768:64:1:60:M*,N,W0,N,N,T:    FreeBSD:5.0-5.1::FreeBSD 4.8-5.1 (or MacOS X)
266 65535:64:1:60:M*,N,W0,N,N,T:    FreeBSD:4.8-4.9::FreeBSD 4.8-5.1 (or MacOS X)
267 65535:64:1:60:M*,N,W0,N,N,T:    FreeBSD:5.0-5.1::FreeBSD 4.8-5.1 (or MacOS X)
268 65535:64:1:60:M*,N,W1,N,N,T:    FreeBSD:4.7-4.9::FreeBSD 4.7-5.1
269 65535:64:1:60:M*,N,W1,N,N,T:    FreeBSD:5.0-5.1::FreeBSD 4.7-5.1
270
271 # 16384:64:1:60:M*,N,N,N,N,N,N,T:FreeBSD:4.4:noTS:FreeBSD 4.4 (w/o timestamps)
272
273 # ----------------- NetBSD ------------------
274
275 65535:64:0:60:M*,N,W0,N,N,T0:   NetBSD:1.6:opera:NetBSD 1.6 (Opera)
276 16384:64:0:60:M*,N,W0,N,N,T0:   NetBSD:1.6::NetBSD 1.6
277 16384:64:1:60:M*,N,W0,N,N,T0:   NetBSD:1.6:df:NetBSD 1.6 (DF)
278 16384:64:0:60:M*,N,W0,N,N,T:    NetBSD:1.3::NetBSD 1.3
279 65535:64:1:60:M*,N,W1,N,N,T0:   NetBSD:1.6::NetBSD 1.6W-current (DF)
280
281 # ----------------- OpenBSD -----------------
282
283 16384:64:0:60:M*,N,W0,N,N,T:            OpenBSD:2.6::NetBSD 1.3 (or OpenBSD 2.6)
284 16384:64:1:64:M*,N,N,S,N,W0,N,N,T:      OpenBSD:3.0-3.4::OpenBSD 3.0-3.4
285 16384:64:0:64:M*,N,N,S,N,W0,N,N,T:      OpenBSD:3.0-3.4:no-df:OpenBSD 3.0-3.4 (scrub no-df)
286 57344:64:1:64:M*,N,N,S,N,W0,N,N,T:      OpenBSD:3.3-3.4::OpenBSD 3.3-3.4
287 57344:64:0:64:M*,N,N,S,N,W0,N,N,T:      OpenBSD:3.3-3.4:no-df:OpenBSD 3.3-3.4 (scrub no-df)
288
289 65535:64:1:64:M*,N,N,S,N,W0,N,N,T:      OpenBSD:3.0-3.4:opera:OpenBSD 3.0-3.4 (Opera)
290
291 # ----------------- Solaris -----------------
292
293 S17:64:1:64:N,W3,N,N,T0,N,N,S,M*:       Solaris:8:RFC1323:Solaris 8 RFC1323
294 S17:64:1:48:N,N,S,M*:                   Solaris:8::Solaris 8
295 S17:255:1:44:M*:                        Solaris:2.5-2.7::Solaris 2.5 to 7
296
297 S6:255:1:44:M*:                         Solaris:2.6-2.7::Solaris 2.6 to 7
298 S23:255:1:44:M*:                        Solaris:2.5:1:Solaris 2.5.1
299 S34:64:1:48:M*,N,N,S:                   Solaris:2.9::Solaris 9
300 S44:255:1:44:M*:                        Solaris:2.7::Solaris 7
301
302 # ----------------- IRIX --------------------
303
304 49152:64:0:44:M*:                       IRIX:6.4::IRIX 6.4
305 61440:64:0:44:M*:                       IRIX:6.2-6.5::IRIX 6.2-6.5
306 49152:64:0:52:M*,N,W2,N,N,S:            IRIX:6.5:RFC1323:IRIX 6.5 (RFC1323)
307 49152:64:0:52:M*,N,W3,N,N,S:            IRIX:6.5:RFC1323:IRIX 6.5 (RFC1323)
308
309 61440:64:0:48:M*,N,N,S:                 IRIX:6.5:12-21:IRIX 6.5.12 - 6.5.21
310 49152:64:0:48:M*,N,N,S:                 IRIX:6.5:15-21:IRIX 6.5.15 - 6.5.21
311
312 # ----------------- Tru64 -------------------
313
314 32768:64:1:48:M*,N,W0:                  Tru64:4.0::Tru64 4.0
315 32768:64:0:48:M*,N,W0:                  Tru64:5.0::Tru64 5.0
316 8192:64:0:44:M1460:                     Tru64:5.1:noRFC1323:Tru64 6.1 (no RFC1323) (or QNX 6)
317
318 # This looks awfully Linuxish :/
319 # S22:64:0:60:M*,S,T,N,W0:              Tru64:5.0:a:Tru64 5.0a
320
321 61440:64:0:48:M*,N,W0:                  Tru64:5.1a:JP4:Tru64 v5.1a JP4 (or OpenVMS 7.x on Compaq 5.x stack)
322
323
324 # ----------------- OpenVMS -----------------
325
326 6144:64:1:60:M*,N,W0,N,N,T:             OpenVMS:7.2::OpenVMS 7.2 (Multinet 4.4 stack)
327
328 # ----------------- MacOS -------------------
329
330 16616:255:1:48:M*,W0:                   MacOS:7.3-7.6:OTTCP:MacOS 7.3-8.6 (OTTCP)
331 16616:255:1:48:M*,W0:                   MacOS:8.0-8.6:OTTCP:MacOS 7.3-8.6 (OTTCP)
332 32768:255:1:48:M*,W0,N:                 MacOS:9.1-9.2::MacOS 9.1/9.2
333 32768:64:0:60:M*,N,W0,N,N,T:            MacOS:X:10.2:MacOS X 10.2
334
335 # ----------------- Windows -----------------
336
337 # Windows 95 - need more:
338
339 8192:32:1:44:M*:                        Windows:95::Windows 95 (low TTL)
340
341 # Windows 98 - plenty of silly signatures:
342 S44:32:1:48:M*,N,N,S:                   Windows:98::Windows 98 (low TTL)
343 8192:32:1:48:M*,N,N,S:                  Windows:98::Windows 98 (low TTL)
344
345 %8192:64:1:48:M*,N,N,S:                 Windows:98::Windows 98 (or newer XP/2000 with tweaked TTL)
346 S4:64:1:48:M*,N,N,S:                    Windows:98::Windows 98
347 S6:64:1:48:M*,N,N,S:                    Windows:98::Windows 98
348 S12:64:1:48:M*,N,N,S:                   Windows:98::Windows 98
349 32767:64:1:48:M*,N,N,S:                 Windows:98::Windows 98
350 37300:64:1:48:M*,N,N,S:                 Windows:98::Windows 98
351 46080:64:1:52:M*,N,W3,N,N,S:            Windows:98:RFC1323:Windows 98 (RFC1323)
352 65535:64:1:44:M*:                       Windows:98:noSACK:Windows 98 (no sack)
353
354 S16:128:1:48:M*,N,N,S:                  Windows:98::Windows 98
355 S16:128:1:64:M*,N,W0,N,N,T0,N,N,S:      Windows:98::Windows 98
356 S26:128:1:48:M*,N,N,S:                  Windows:98::Windows 98
357 T30:128:1:48:M*,N,N,S:                  Windows:98::Windows 98
358 32767:128:1:52:M*,N,W0,N,N,S:           Windows:98::Windows 98
359 60352:128:1:48:M*,N,N,S:                Windows:98::Windows 98
360 60352:128:1:64:M*,N,W2,N,N,T0,N,N,S:    Windows:98::Windows 98
361
362 # Windows NT 4.0 - need more:
363
364 64512:128:1:44:M1414:                   Windows:NT:4.0:Windows NT 4.0 SP6a
365 8192:128:1:44:M*:                       Windows:NT:4.0:Windows NT 4.0 (older)
366 6144:128:1:52:M*,W0,N,S,N,N:            Windows:NT:4.0:Windows NT 4.0 (RFC1323)
367
368 # Windows XP and 2000. Most of the signatures that were
369 # either dubious or non-specific (no service pack data)
370 # were deleted and replaced with generics at the end.
371
372 65535:128:1:48:M*,N,N,S:                Windows:2000:SP4:Windows 2000 SP4, XP SP1
373 %8192:128:1:48:M*,N,N,S:                Windows:2000:SP4:Windows 2000 SP4, XP SP1
374 S45:128:1:48:M*,N,N,S:                  Windows:2000:SP4:Windows 2000 SP4
375 S6:128:1:48:M*,N,N,S:                   Windows:2000:SP4:Windows XP SP1, 2000 SP4
376 S44:128:1:48:M*,N,N,S:                  Windows:2000:SP3:Windows XP Pro SP1, 2000 SP3
377
378 S6:128:1:48:M*,N,N,S:                   Windows:XP:SP1:Windows XP SP1, 2000 SP4
379 S44:128:1:48:M*,N,N,S:                  Windows:XP:SP1:Windows XP Pro SP1, 2000 SP3
380 64512:128:1:48:M*,N,N,S:                Windows:XP:SP1:Windows XP SP1
381 32767:128:1:48:M1452,N,N,S:             Windows:XP:SP1:Windows XP SP1
382 65535:128:1:48:M*,N,N,S:                Windows:XP:SP1:Windows 2000 SP4, XP SP1
383 %8192:128:1:48:M*,N,N,S:                Windows:XP:SP1:Windows 2000 SP4, XP SP1
384
385 # Odds, ends, mods:
386
387 S52:128:1:48:M1260,N,N,S:               Windows:XP:Cisco:Windows XP/2000 via Cisco
388 S52:128:1:48:M1260,N,N,S:               Windows:2000:Cisco:Windows XP/2000 via Cisco
389
390 # HUNT DOWN:
391 # *:128:1:48:M*,N,N,S:U:@Windows:XP (leak) (PLEASE REPORT)
392
393 # ----------------- HP/UX -------------------
394
395 32768:64:1:44:M*:                       HP-UX:B.10.20::HP-UX B.10.20
396 32768:64:0:48:M*,W0,N:                  HP-UX:11.0::HP-UX 11.0
397 32768:64:1:48:M*,W0,N:                  HP-UX:11.10::HP-UX 11.0 or 11.11
398 32768:64:1:48:M*,W0,N:                  HP-UX:11.11::HP-UX 11.0 or 11.11
399
400 # Whoa. Hardcore WSS.
401 0:64:0:48:M*,W0,N:                      HP-UX:B.11.00:A:HP-UX B.11.00 A (RFC1323)
402
403
404 # ----------------- RiscOS ------------------
405
406 # We don't yet support the ?12 TCP option
407 #16384:64:1:68:M1460,N,W0,N,N,T,N,N,?12:        RISCOS:3.70-4.36::RISC OS 3.70-4.36
408
409 # ----------------- BSD/OS ------------------
410
411 # Once again, power of two WSS is also shared by MacOS X with DF set
412 8192:64:1:60:M1460,N,W0,N,N,T:          BSD/OS:3.1::BSD/OS 3.1-4.3 (or MacOS X 10.2 w/DF)
413 8192:64:1:60:M1460,N,W0,N,N,T:          BSD/OS:4.0-4.3::BSD/OS 3.1-4.3 (or MacOS X 10.2)
414
415
416 # ---------------- NewtonOS -----------------
417
418 4096:64:0:44:M1420:             NewtonOS:2.1::NewtonOS 2.1
419
420 # ---------------- NeXTSTEP -----------------
421
422 S8:64:0:44:M512:                NeXTSTEP:3.3::NeXTSTEP 3.3
423
424 # ------------------ BeOS -------------------
425
426 1024:255:0:48:M*,N,W0:          BeOS:5.0-5.1::BeOS 5.0-5.1
427 12288:255:0:44:M1402:           BeOS:5.0::BeOS 5.0.x
428
429 # ------------------ OS/400 -----------------
430
431 8192:64:1:60:M1440,N,W0,N,N,T:  OS/400:VR4::OS/400 VR4/R5
432 8192:64:1:60:M1440,N,W0,N,N,T:  OS/400:VR5::OS/400 VR4/R5
433 4096:64:1:60:M1440,N,W0,N,N,T:  OS/400:V4R5:CF67032:OS/400 V4R5 + CF67032
434
435
436 # ------------------ ULTRIX -----------------
437
438 16384:64:0:40:.:                ULTRIX:4.5::ULTRIX 4.5
439
440 # ------------------- QNX -------------------
441
442 S16:64:0:44:M512:               QNX:::QNX demodisk
443
444 # ------------------ Novell -----------------
445
446 16384:128:1:44:M1460:           Novell:NetWare:5.0:Novel Netware 5.0
447 6144:128:1:44:M1460:            Novell:IntranetWare:4.11:Novell IntranetWare 4.11
448
449 # ----------------- SCO ------------------
450 S17:64:1:44:M1460:                      SCO:Unixware:7.0:SCO Unixware 7.0.0 or OpenServer 5.0.4-5.06
451 S17:64:1:44:M1460:                      SCO:OpenServer:5.0:SCO Unixware 7.0.0 or OpenServer 5.0.4-5.06
452 S3:64:1:60:M1460,N,W0,N,N,T:            SCO:UnixWare:7.1:SCO UnixWare 7.1
453
454 # ------------------- DOS -------------------
455
456 2048:255:0:44:M536:             DOS:WATTCP:1.05:DOS Arachne via WATTCP/1.05
457
458 ###########################################
459 # Appliance / embedded / other signatures #
460 ###########################################
461
462 # ---------- Firewalls / routers ------------
463
464 S12:64:1:44:M1460:                      @Checkpoint:::Checkpoint (unknown 1)
465 S12:64:1:48:N,N,S,M1460:                @Checkpoint:::Checkpoint (unknown 2)
466 4096:32:0:44:M1460:                     ExtremeWare:4.x::ExtremeWare 4.x
467 60352:64:0:52:M1460,N,W2,N,N,S:         Clavister:7::Clavister firewall 7.x
468
469 # ------- Switches and other stuff ----------
470
471 4128:255:0:44:M*:                       Cisco:::Cisco Catalyst 3500, 7500 etc
472 S8:255:0:44:M*:                         Cisco:12008::Cisco 12008
473 60352:128:1:64:M1460,N,W2,N,N,T,N,N,S:  Alteon:ACEswitch::Alteon ACEswitch
474 64512:128:1:44:M1370:                   Nortel:Contivity Client::Nortel Conectivity Client
475
476
477 # ---------- Caches and whatnots ------------
478
479 S4:64:1:52:M1460,N,N,S,N,W0:            AOL:web cache::AOL web cache
480
481 32850:64:1:64:N,W1,N,N,T,N,N,S,M*:      NetApp:5.x::NetApp Data OnTap 5.x
482 16384:64:1:64:M1460,N,N,S,N,W0,N:       NetApp:5.3:1:NetApp 5.3.1
483 65535:64:0:64:M1460,N,N,S,N,W3,N,N,T:   NetApp:5.3:1:NetApp 5.3.1
484 65535:64:0:60:M1460,N,W0,N,N,T:         NetApp:CacheFlow::NetApp CacheFlow
485 8192:64:1:64:M1460,N,N,S,N,W0,N,N,T:    NetApp:5.2:1:NetApp NetCache 5.2.1
486
487 S4:64:0:48:M1460,N,N,S:                 Cisco:Content Engine::Cisco Content Engine
488
489 27085:128:0:40:.:                       Dell:PowerApp cache::Dell PowerApp (Linux-based)
490
491 65535:255:1:48:N,W1,M1460:              Inktomi:crawler::Inktomi crawler
492 S1:255:1:60:M1460,S,T,N,W0:             LookSmart:ZyBorg::LookSmart ZyBorg
493
494
495 16384:255:0:40:.:                       Proxyblocker:::Proxyblocker (what's this?)
496
497 # ----------- Embedded systems --------------
498
499 S9:255:0:44:M536:                       PalmOS:Tungsten:C:PalmOS Tungsten C
500 S5:255:0:44:M536:                       PalmOS:3::PalmOS 3/4
501 S5:255:0:44:M536:                       PalmOS:4::PalmOS 3/4
502 S4:255:0:44:M536:                       PalmOS:3:5:PalmOS 3.5
503 2948:255:0:44:M536:                     PalmOS:3:5:PalmOS 3.5.3 (Handera)
504
505 S23:64:1:64:N,W1,N,N,T,N,N,S,M1460:     SymbianOS:7::SymbianOS 7
506 8192:255:0:44:M1460:                    SymbianOS:6048::SymbianOS 6048 (on Nokia 7650?)
507 8192:255:0:44:M536:                     SymbianOS:::SymbianOS (on Nokia 9210?)
508
509
510 # Perhaps S4?
511 5840:64:1:60:M1452,S,T,N,W1:            Zaurus:3.10::Zaurus 3.10
512
513 32768:128:1:64:M1460,N,W0,N,N,T0,N,N,S: PocketPC:2002::PocketPC 2002
514
515 S1:255:0:44:M346:                       Contiki:1.1:rc0:Contiki 1.1-rc0
516
517 4096:128:0:44:M1460:                    Sega:Dreamcast:3.0:Sega Dreamcast Dreamkey 3.0
518
519 S12:64:0:44:M1452:                      AXIS:5600:v5.64:AXIS Printer Server 5600 v5.64
520
521
522
523 ####################
524 # Fancy signatures #
525 ####################
526
527 1024:64:0:40:.:                         *NMAP:syn scan:1:NMAP syn scan (1)
528 2048:64:0:40:.:                         *NMAP:syn scan:2:NMAP syn scan (2)
529 3072:64:0:40:.:                         *NMAP:syn scan:3:NMAP syn scan (3)
530 4096:64:0:40:.:                         *NMAP:syn scan:4:NMAP syn scan (4)
531
532 1024:64:0:60:W10,N,M265,T:              *NMAP:OS:1:NMAP OS detection probe (1)
533 2048:64:0:60:W10,N,M265,T:              *NMAP:OS:2:NMAP OS detection probe (2)
534 3072:64:0:60:W10,N,M265,T:              *NMAP:OS:3:NMAP OS detection probe (3)
535 4096:64:0:60:W10,N,M265,T:              *NMAP:OS:4:NMAP OS detection probe (4)
536
537 #####################################
538 # Generic signatures - just in case #
539 #####################################
540
541 #*:64:1:60:M*,N,W*,N,N,T:               @FreeBSD:4.0-4.9::FreeBSD 4.x/5.x
542 #*:64:1:60:M*,N,W*,N,N,T:               @FreeBSD:5.0-5.1::FreeBSD 4.x/5.x
543
544 *:128:1:52:M*,N,W0,N,N,S:               @Windows:XP:RFC1323:Windows XP/2000 (RFC1323 no tstamp)
545 *:128:1:52:M*,N,W0,N,N,S:               @Windows:2000:RFC1323:Windows XP/2000 (RFC1323 no tstamp)
546 *:128:1:64:M*,N,W0,N,N,T0,N,N,S:        @Windows:XP:RFC1323:Windows XP/2000 (RFC1323)
547 *:128:1:64:M*,N,W0,N,N,T0,N,N,S:        @Windows:2000:RFC1323:Windows XP/2000 (RFC1323)
548 *:128:1:64:M*,N,W*,N,N,T0,N,N,S:        @Windows:XP:RFC1323:Windows XP (RFC1323, w+)
549 *:128:1:48:M*,N,N,S:                    @Windows:XP::Windows XP/2000
550 *:128:1:48:M*,N,N,S:                    @Windows:2000::Windows XP/2000