[BACK]Return to pf.os CVS log [TXT][DIR] Up to [local] / src / etc

Annotation of src/etc/pf.os, Revision 1.12

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