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

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

1.11    ! deraadt     1: # $OpenBSD: pf.os,v 1.10 2003/09/06 01:37:07 frantzen 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)
                    152: #
                    153: # WARNING WARNING WARNING
                    154: # -----------------------
                    155: #
                    156: # Do not add a system X as OS Y just because NMAP says so. It is often
1.7       david     157: # the case that X is a NAT firewall. While nmap is talking to the
1.1       frantzen  158: # device itself, p0f is fingerprinting the guy behind the firewall
                    159: # instead.
                    160: #
                    161: # When in doubt, use common sense, don't add something that looks like
                    162: # a completely different system as Linux or FreeBSD or LinkSys router.
                    163: # Check DNS name, establish a connection to the remote host and look
                    164: # at SYN+ACK - does it look similar?
                    165: #
                    166: # Some users tweak their TCP/IP settings - enable or disable RFC1323
                    167: # functionality, enable or disable timestamps or selective ACK,
                    168: # disable PMTU discovery, change MTU and so on. Always compare a new rule
                    169: # to other fingerprints for this system, and verify the system isn't
                    170: # "customized" before adding it. It is OK to add signature variants
                    171: # caused by a commonly used software (personal firewalls, security
                    172: # packages, etc), but it makes no sense to try to add every single
                    173: # possible /proc/sys/net/ipv4 tweak on Linux or so.
                    174: #
                    175: # KEEP IN MIND: Some packet firewalls configured to normalize outgoing
                    176: # traffic (OpenBSD pf with "scrub" enabled, for example) will, well,
                    177: # normalize packets. Signatures will not correspond to the originating
                    178: # system (and probably not quite to the firewall either).
                    179: #
                    180: # NOTE: Try to keep this file in some reasonable order, from most to
                    181: # least likely systems. This will speed up operation. Also keep most
                    182: # generic and broad rules near the end.
                    183: #
                    184:
                    185: ##########################
                    186: # Standard OS signatures #
                    187: ##########################
                    188:
1.4       frantzen  189: # ----------------- AIX ---------------------
                    190:
                    191: # AIX is first because its signatures are close to NetBSD, MacOS X and
                    192: # Linux 2.0, but it uses a fairly rare MSSes, at least sometimes...
                    193: # This is a shoddy hack, though.
                    194:
                    195: 16384:64:0:44:M512:            AIX:4.3:2-3:AIX 4.3.2 and earlier
                    196:
1.9       frantzen  197: 16384:64:0:60:M512,N,W%2,N,N,T:                AIX:4.3:3:AIX 4.3.3-5.2
                    198: 16384:64:0:60:M512,N,W%2,N,N,T:                AIX:5.1-5.2::AIX 4.3.3-5.2
                    199: 32768:64:0:60:M512,N,W%2,N,N,T:                AIX:4.3:3:AIX 4.3.3-5.2
                    200: 32768:64:0:60:M512,N,W%2,N,N,T:                AIX:5.1-5.2::AIX 4.3.3-5.2
                    201: 65535:64:0:60:M512,N,W%2,N,N,T:                AIX:4.3:3:AIX 4.3.3-5.2
                    202: 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  203: 65535:64:0:64:M*,N,W1,N,N,T,N,N,S:     AIX:5.3:ML1:AIX 5.3 ML1
1.4       frantzen  204:
1.1       frantzen  205: # ----------------- Linux -------------------
                    206:
                    207: 512:64:0:44:M*:                        Linux:2.0:3x:Linux 2.0.3x
                    208: 16384:64:0:44:M*:              Linux:2.0:3x:Linux 2.0.3x
                    209:
1.10      frantzen  210: # Endian snafu! Nelson says "ha-ha":
                    211: 2:64:0:44:M*:                  Linux:2.0:3x:Linux 2.0.3x (MkLinux) on Mac
                    212: 64:64:0:44:M*:                 Linux:2.0:3x:Linux 2.0.3x (MkLinux) on Mac
                    213:
                    214:
1.4       frantzen  215: S4:64:1:60:M1360,S,T,N,W0:     Linux:google::Linux (Google crawlbot)
1.1       frantzen  216:
1.10      frantzen  217: S2:64:1:60:M*,S,T,N,W0:                Linux:2.4::Linux 2.4 (big boy)
1.1       frantzen  218: S3:64:1:60:M*,S,T,N,W0:                Linux:2.4:18-21:Linux 2.4.18 and newer
1.10      frantzen  219: S4:64:1:60:M*,S,T,N,W0:                Linux:2.4::Linux 2.4/2.6
                    220: S4:64:1:60:M*,S,T,N,W0:                Linux:2.6::Linux 2.4/2.6
                    221:
1.4       frantzen  222: S3:64:1:60:M*,S,T,N,W1:                Linux:2.5::Linux 2.5
1.10      frantzen  223: S4:64:1:60:M*,S,T,N,W1:                Linux:2.5-2.6::Linux 2.5/2.6
1.1       frantzen  224:
                    225: S20:64:1:60:M*,S,T,N,W0:       Linux:2.2:20-25:Linux 2.2.20 and newer
                    226: S22:64:1:60:M*,S,T,N,W0:       Linux:2.2::Linux 2.2
1.4       frantzen  227: S11:64:1:60:M*,S,T,N,W0:       Linux:2.2::Linux 2.2
                    228:
                    229: # Popular cluster config scripts disable timestamps and
                    230: # selective ACK:
                    231: S4:64:1:48:M1460,N,W0:         Linux:2.4:cluster:Linux 2.4 in cluster
                    232:
                    233: # This needs to be investigated. On some systems, WSS
                    234: # is selected as a multiple of MTU instead of MSS. I got
                    235: # many submissions for this for many late versions of 2.4:
                    236: T4:64:1:60:M1412,S,T,N,W0:     Linux:2.4::Linux 2.4 (late, uncommon)
                    237:
                    238: # This happens only over loopback, but let's make folks happy:
                    239: 32767:64:1:60:M16396,S,T,N,W0: Linux:2.4:lo0:Linux 2.4 (local)
                    240: S8:64:1:60:M3884,S,T,N,W0:     Linux:2.2:lo0:Linux 2.2 (local)
                    241:
                    242: # Opera visitors:
                    243: 16384:64:1:60:M*,S,T,N,W0:     Linux:2.2:Opera:Linux 2.2 (Opera?)
                    244: 32767:64:1:60:M*,S,T,N,W0:     Linux:2.4:Opera:Linux 2.4 (Opera?)
1.1       frantzen  245:
                    246: # Some fairly common mods:
1.10      frantzen  247: S4:64:1:52:M*,N,N,S,N,W0:      Linux:2.4:ts:Linux 2.4 w/o timestamps
                    248: S22:64:1:52:M*,N,N,S,N,W0:     Linux:2.2:ts:Linux 2.2 w/o timestamps
                    249:
1.1       frantzen  250:
                    251: # ----------------- FreeBSD -----------------
                    252:
                    253: 16384:64:1:44:M*:              FreeBSD:2.0-2.2::FreeBSD 2.0-4.1
                    254: 16384:64:1:44:M*:              FreeBSD:3.0-3.5::FreeBSD 2.0-4.1
                    255: 16384:64:1:44:M*:              FreeBSD:4.0-4.1::FreeBSD 2.0-4.1
1.4       frantzen  256: 16384:64:1:60:M*,N,W0,N,N,T:   FreeBSD:4.4::FreeBSD 4.4
1.10      frantzen  257:
1.1       frantzen  258: 1024:64:1:60:M*,N,W0,N,N,T:    FreeBSD:4.4::FreeBSD 4.4
                    259:
                    260: 57344:64:1:44:M*:              FreeBSD:4.6-4.8:noRFC1323:FreeBSD 4.6-4.8 (no RFC1323)
                    261: 57344:64:1:60:M*,N,W0,N,N,T:   FreeBSD:4.6-4.8::FreeBSD 4.6-4.8
                    262:
1.10      frantzen  263: 32768:64:1:60:M*,N,W0,N,N,T:   FreeBSD:4.8-4.9::FreeBSD 4.8-5.1 (or MacOS X)
                    264: 32768:64:1:60:M*,N,W0,N,N,T:   FreeBSD:5.0-5.1::FreeBSD 4.8-5.1 (or MacOS X)
                    265: 65535:64:1:60:M*,N,W0,N,N,T:   FreeBSD:4.8-4.9::FreeBSD 4.8-5.1 (or MacOS X)
                    266: 65535:64:1:60:M*,N,W0,N,N,T:   FreeBSD:5.0-5.1::FreeBSD 4.8-5.1 (or MacOS X)
                    267: 65535:64:1:60:M*,N,W1,N,N,T:   FreeBSD:4.7-4.9::FreeBSD 4.7-5.1
                    268: 65535:64:1:60:M*,N,W1,N,N,T:   FreeBSD:5.0-5.1::FreeBSD 4.7-5.1
1.4       frantzen  269:
                    270: # 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  271:
                    272: # ----------------- NetBSD ------------------
                    273:
1.4       frantzen  274: 65535:64:0:60:M*,N,W0,N,N,T0:  NetBSD:1.6:opera:NetBSD 1.6 (Opera)
1.1       frantzen  275: 16384:64:0:60:M*,N,W0,N,N,T0:  NetBSD:1.6::NetBSD 1.6
                    276: 16384:64:1:60:M*,N,W0,N,N,T0:  NetBSD:1.6:df:NetBSD 1.6 (DF)
1.4       frantzen  277: 16384:64:0:60:M*,N,W0,N,N,T:   NetBSD:1.3::NetBSD 1.3
                    278: 65535:64:1:60:M*,N,W1,N,N,T0:  NetBSD:1.6::NetBSD 1.6W-current (DF)
1.1       frantzen  279:
                    280: # ----------------- OpenBSD -----------------
                    281:
                    282: 16384:64:0:60:M*,N,W0,N,N,T:           OpenBSD:2.6::NetBSD 1.3 (or OpenBSD 2.6)
                    283: 16384:64:1:64:M*,N,N,S,N,W0,N,N,T:     OpenBSD:3.0-3.4::OpenBSD 3.0-3.4
                    284: 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)
                    285: 57344:64:1:64:M*,N,N,S,N,W0,N,N,T:     OpenBSD:3.3-3.4::OpenBSD 3.3-3.4
                    286: 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)
                    287:
1.4       frantzen  288: 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)
                    289:
1.1       frantzen  290: # ----------------- Solaris -----------------
                    291:
                    292: S17:64:1:64:N,W3,N,N,T0,N,N,S,M*:      Solaris:8:RFC1323:Solaris 8 RFC1323
                    293: S17:64:1:48:N,N,S,M*:                  Solaris:8::Solaris 8
1.10      frantzen  294: S17:255:1:44:M*:                       Solaris:2.5-2.7::Solaris 2.5 to 7
1.1       frantzen  295:
1.10      frantzen  296: S6:255:1:44:M*:                                Solaris:2.6-2.7::Solaris 2.6 to 7
1.8       frantzen  297: S23:255:1:44:M*:                       Solaris:2.5:1:Solaris 2.5.1
1.10      frantzen  298: S34:64:1:48:M*,N,N,S:                  Solaris:2.9::Solaris 9
                    299: S44:255:1:44:M*:                       Solaris:2.7::Solaris 7
1.1       frantzen  300:
                    301: # ----------------- IRIX --------------------
                    302:
1.4       frantzen  303: 49152:64:0:44:M*:                      IRIX:6.4::IRIX 6.4
1.1       frantzen  304: 61440:64:0:44:M*:                      IRIX:6.2-6.5::IRIX 6.2-6.5
                    305: 49152:64:0:52:M*,N,W2,N,N,S:           IRIX:6.5:RFC1323:IRIX 6.5 (RFC1323)
1.4       frantzen  306: 49152:64:0:52:M*,N,W3,N,N,S:           IRIX:6.5:RFC1323:IRIX 6.5 (RFC1323)
                    307:
1.10      frantzen  308: 61440:64:0:48:M*,N,N,S:                        IRIX:6.5:12-21:IRIX 6.5.12 - 6.5.21
1.4       frantzen  309: 49152:64:0:48:M*,N,N,S:                        IRIX:6.5:15-21:IRIX 6.5.15 - 6.5.21
1.1       frantzen  310:
                    311: # ----------------- Tru64 -------------------
                    312:
1.10      frantzen  313: 32768:64:1:48:M*,N,W0:                 Tru64:4.0::Tru64 4.0
1.4       frantzen  314: 32768:64:0:48:M*,N,W0:                 Tru64:5.0::Tru64 5.0
1.10      frantzen  315: 8192:64:0:44:M1460:                    Tru64:5.1:noRFC1323:Tru64 6.1 (no RFC1323) (or QNX 6)
                    316:
1.4       frantzen  317: # This looks awfully Linuxish :/
                    318: # S22:64:0:60:M*,S,T,N,W0:             Tru64:5.0:a:Tru64 5.0a
1.10      frantzen  319:
                    320: 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  321:
1.1       frantzen  322:
                    323: # ----------------- OpenVMS -----------------
                    324:
                    325: 6144:64:1:60:M*,N,W0,N,N,T:            OpenVMS:7.2::OpenVMS 7.2 (Multinet 4.4 stack)
                    326:
                    327: # ----------------- MacOS -------------------
                    328:
1.4       frantzen  329: 16616:255:1:48:M*,W0:                  MacOS:7.3-7.6:OTTCP:MacOS 7.3-8.6 (OTTCP)
                    330: 16616:255:1:48:M*,W0:                  MacOS:8.0-8.6:OTTCP:MacOS 7.3-8.6 (OTTCP)
1.1       frantzen  331: 32768:255:1:48:M*,W0,N:                        MacOS:9.1-9.2::MacOS 9.1/9.2
1.4       frantzen  332: 32768:64:0:60:M*,N,W0,N,N,T:           MacOS:X:10.2:MacOS X 10.2
1.1       frantzen  333:
                    334: # ----------------- Windows -----------------
                    335:
1.10      frantzen  336: # Windows 95 - need more:
                    337:
                    338: 8192:32:1:44:M*:                       Windows:95::Windows 95 (low TTL)
1.4       frantzen  339:
1.10      frantzen  340: # Windows 98 - plenty of silly signatures:
                    341: S44:32:1:48:M*,N,N,S:                  Windows:98::Windows 98 (low TTL)
                    342: 8192:32:1:48:M*,N,N,S:                 Windows:98::Windows 98 (low TTL)
                    343:
                    344: %8192:64:1:48:M*,N,N,S:                        Windows:98::Windows 98 (or newer XP/2000 with tweaked TTL)
                    345: S4:64:1:48:M*,N,N,S:                   Windows:98::Windows 98
                    346: S6:64:1:48:M*,N,N,S:                   Windows:98::Windows 98
                    347: S12:64:1:48:M*,N,N,S:                  Windows:98::Windows 98
                    348: 32767:64:1:48:M*,N,N,S:                        Windows:98::Windows 98
1.4       frantzen  349: 37300:64:1:48:M*,N,N,S:                        Windows:98::Windows 98
1.10      frantzen  350: 46080:64:1:52:M*,N,W3,N,N,S:           Windows:98:RFC1323:Windows 98 (RFC1323)
                    351: 65535:64:1:44:M*:                      Windows:98:noSACK:Windows 98 (no sack)
1.4       frantzen  352:
1.10      frantzen  353: S16:128:1:48:M*,N,N,S:                 Windows:98::Windows 98
                    354: S16:128:1:64:M*,N,W0,N,N,T0,N,N,S:     Windows:98::Windows 98
                    355: S26:128:1:48:M*,N,N,S:                 Windows:98::Windows 98
                    356: T30:128:1:48:M*,N,N,S:                 Windows:98::Windows 98
                    357: 32767:128:1:52:M*,N,W0,N,N,S:          Windows:98::Windows 98
                    358: 60352:128:1:48:M*,N,N,S:               Windows:98::Windows 98
                    359: 60352:128:1:64:M*,N,W2,N,N,T0,N,N,S:   Windows:98::Windows 98
                    360:
                    361: # Windows NT 4.0 - need more:
                    362:
                    363: 64512:128:1:44:M1414:                  Windows:NT:4.0:Windows NT 4.0 SP6a
                    364: 8192:128:1:44:M*:                      Windows:NT:4.0:Windows NT 4.0 (older)
                    365: 6144:128:1:52:M*,W0,N,S,N,N:           Windows:NT:4.0:Windows NT 4.0 (RFC1323)
1.11    ! deraadt   366:
1.10      frantzen  367: # Windows XP and 2000. Most of the signatures that were
                    368: # either dubious or non-specific (no service pack data)
                    369: # were deleted and replaced with generics at the end.
                    370:
                    371: 65535:128:1:48:M*,N,N,S:               Windows:2000:SP4:Windows 2000 SP4, XP SP1
                    372: %8192:128:1:48:M*,N,N,S:               Windows:2000:SP4:Windows 2000 SP4, XP SP1
                    373: S45:128:1:48:M*,N,N,S:                 Windows:2000:SP4:Windows 2000 SP4
                    374: S6:128:1:48:M*,N,N,S:                  Windows:2000:SP4:Windows XP SP1, 2000 SP4
                    375: S44:128:1:48:M*,N,N,S:                 Windows:2000:SP3:Windows XP Pro SP1, 2000 SP3
                    376:
                    377: S6:128:1:48:M*,N,N,S:                  Windows:XP:SP1:Windows XP SP1, 2000 SP4
                    378: S44:128:1:48:M*,N,N,S:                 Windows:XP:SP1:Windows XP Pro SP1, 2000 SP3
                    379: 64512:128:1:48:M*,N,N,S:               Windows:XP:SP1:Windows XP SP1
                    380: 32767:128:1:48:M1452,N,N,S:            Windows:XP:SP1:Windows XP SP1
                    381: 65535:128:1:48:M*,N,N,S:               Windows:XP:SP1:Windows 2000 SP4, XP SP1
                    382: %8192:128:1:48:M*,N,N,S:               Windows:XP:SP1:Windows 2000 SP4, XP SP1
1.1       frantzen  383:
1.10      frantzen  384: # Odds, ends, mods:
                    385:
                    386: S52:128:1:48:M1260,N,N,S:              Windows:XP:Cisco:Windows XP/2000 via Cisco
                    387: S52:128:1:48:M1260,N,N,S:              Windows:2000:Cisco:Windows XP/2000 via Cisco
                    388:
                    389: # HUNT DOWN:
                    390: # *:128:1:48:M*,N,N,S:U:@Windows:XP (leak) (PLEASE REPORT)
1.1       frantzen  391:
1.4       frantzen  392: # ----------------- HP/UX -------------------
1.1       frantzen  393:
1.4       frantzen  394: 32768:64:1:44:M*:                      HP-UX:B.10.20::HP-UX B.10.20
                    395: 32768:64:0:48:M*,W0,N:                 HP-UX:11.0::HP-UX 11.0
1.10      frantzen  396: 32768:64:1:48:M*,W0,N:                 HP-UX:11.10::HP-UX 11.0 or 11.11
                    397: 32768:64:1:48:M*,W0,N:                 HP-UX:11.11::HP-UX 11.0 or 11.11
1.1       frantzen  398:
1.4       frantzen  399: # Whoa. Hardcore WSS.
                    400: 0:64:0:48:M*,W0,N:                     HP-UX:B.11.00:A:HP-UX B.11.00 A (RFC1323)
1.1       frantzen  401:
                    402:
                    403: # ----------------- RiscOS ------------------
                    404:
                    405: # We don't yet support the ?12 TCP option
1.10      frantzen  406: #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  407:
                    408: # ----------------- BSD/OS ------------------
                    409:
1.4       frantzen  410: # Once again, power of two WSS is also shared by MacOS X with DF set
1.10      frantzen  411: 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)
                    412: 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  413:
                    414:
1.4       frantzen  415: # ---------------- NewtonOS -----------------
1.7       david     416:
1.4       frantzen  417: 4096:64:0:44:M1420:            NewtonOS:2.1::NewtonOS 2.1
                    418:
                    419: # ---------------- NeXTSTEP -----------------
                    420:
                    421: S8:64:0:44:M512:               NeXTSTEP:3.3::NeXTSTEP 3.3
                    422:
                    423: # ------------------ BeOS -------------------
                    424:
                    425: 1024:255:0:48:M*,N,W0:         BeOS:5.0-5.1::BeOS 5.0-5.1
1.10      frantzen  426: 12288:255:0:44:M1402:          BeOS:5.0::BeOS 5.0.x
1.4       frantzen  427:
                    428: # ------------------ OS/400 -----------------
                    429:
1.10      frantzen  430: 8192:64:1:60:M1440,N,W0,N,N,T: OS/400:VR4::OS/400 VR4/R5
                    431: 8192:64:1:60:M1440,N,W0,N,N,T: OS/400:VR5::OS/400 VR4/R5
                    432: 4096:64:1:60:M1440,N,W0,N,N,T: OS/400:V4R5:CF67032:OS/400 V4R5 + CF67032
                    433:
1.4       frantzen  434:
                    435: # ------------------ ULTRIX -----------------
                    436:
                    437: 16384:64:0:40:.:               ULTRIX:4.5::ULTRIX 4.5
                    438:
1.10      frantzen  439: # ------------------- QNX -------------------
                    440:
                    441: S16:64:0:44:M512:              QNX:::QNX demodisk
                    442:
                    443: # ------------------ Novell -----------------
                    444:
                    445: 16384:128:1:44:M1460:          Novell:NetWare:5.0:Novel Netware 5.0
                    446: 6144:128:1:44:M1460:           Novell:IntranetWare:4.11:Novell IntranetWare 4.11
                    447:
                    448: # ----------------- SCO ------------------
                    449: S17:64:1:44:M1460:                     SCO:Unixware:7.0:SCO Unixware 7.0.0 or OpenServer 5.0.4-5.06
                    450: S17:64:1:44:M1460:                     SCO:OpenServer:5.0:SCO Unixware 7.0.0 or OpenServer 5.0.4-5.06
                    451: S3:64:1:60:M1460,N,W0,N,N,T:           SCO:UnixWare:7.1:SCO UnixWare 7.1
                    452:
1.4       frantzen  453: # ------------------- DOS -------------------
                    454:
                    455: 2048:255:0:44:M536:            DOS:WATTCP:1.05:DOS Arachne via WATTCP/1.05
                    456:
                    457: ###########################################
                    458: # Appliance / embedded / other signatures #
                    459: ###########################################
1.1       frantzen  460:
                    461: # ---------- Firewalls / routers ------------
                    462:
1.7       david     463: S12:64:1:44:M1460:                     @Checkpoint:::Checkpoint (unknown 1)
1.1       frantzen  464: S12:64:1:48:N,N,S,M1460:               @Checkpoint:::Checkpoint (unknown 2)
1.4       frantzen  465: 4096:32:0:44:M1460:                    ExtremeWare:4.x::ExtremeWare 4.x
1.10      frantzen  466: 60352:64:0:52:M1460,N,W2,N,N,S:                Clavister:7::Clavister firewall 7.x
1.1       frantzen  467:
                    468: # ------- Switches and other stuff ----------
                    469:
                    470: 4128:255:0:44:M*:                      Cisco:::Cisco Catalyst 3500, 7500 etc
1.10      frantzen  471: S8:255:0:44:M*:                                Cisco:12008::Cisco 12008
1.4       frantzen  472: 60352:128:1:64:M1460,N,W2,N,N,T,N,N,S: Alteon:ACEswitch::Alteon ACEswitch
1.10      frantzen  473: 64512:128:1:44:M1370:                  Nortel:Contivity Client::Nortel Conectivity Client
                    474:
1.1       frantzen  475:
                    476: # ---------- Caches and whatnots ------------
                    477:
1.4       frantzen  478: S4:64:1:52:M1460,N,N,S,N,W0:           AOL:web cache::AOL web cache
1.1       frantzen  479:
                    480: 32850:64:1:64:N,W1,N,N,T,N,N,S,M*:     NetApp:5.x::NetApp Data OnTap 5.x
1.4       frantzen  481: 16384:64:1:64:M1460,N,N,S,N,W0,N:      NetApp:5.3:1:NetApp 5.3.1
                    482: 65535:64:0:64:M1460,N,N,S,N,W3,N,N,T:  NetApp:5.3:1:NetApp 5.3.1
1.1       frantzen  483: 65535:64:0:60:M1460,N,W0,N,N,T:                NetApp:CacheFlow::NetApp CacheFlow
1.2       avsm      484: 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  485:
1.4       frantzen  486: S4:64:0:48:M1460,N,N,S:                        Cisco:Content Engine::Cisco Content Engine
1.1       frantzen  487:
                    488: 27085:128:0:40:.:                      Dell:PowerApp cache::Dell PowerApp (Linux-based)
                    489:
                    490: 65535:255:1:48:N,W1,M1460:             Inktomi:crawler::Inktomi crawler
1.10      frantzen  491: S1:255:1:60:M1460,S,T,N,W0:            LookSmart:ZyBorg::LookSmart ZyBorg
                    492:
1.1       frantzen  493:
                    494: 16384:255:0:40:.:                      Proxyblocker:::Proxyblocker (what's this?)
                    495:
                    496: # ----------- Embedded systems --------------
                    497:
1.4       frantzen  498: S9:255:0:44:M536:                      PalmOS:Tungsten:C:PalmOS Tungsten C
                    499: S5:255:0:44:M536:                      PalmOS:3::PalmOS 3/4
                    500: S5:255:0:44:M536:                      PalmOS:4::PalmOS 3/4
                    501: S4:255:0:44:M536:                      PalmOS:3:5:PalmOS 3.5
1.10      frantzen  502: 2948:255:0:44:M536:                    PalmOS:3:5:PalmOS 3.5.3 (Handera)
1.4       frantzen  503:
                    504: S23:64:1:64:N,W1,N,N,T,N,N,S,M1460:    SymbianOS:7::SymbianOS 7
                    505: 8192:255:0:44:M1460:                   SymbianOS:6048::SymbianOS 6048 (on Nokia 7650?)
1.10      frantzen  506: 8192:255:0:44:M536:                    SymbianOS:::SymbianOS (on Nokia 9210?)
                    507:
1.4       frantzen  508:
                    509: # Perhaps S4?
                    510: 5840:64:1:60:M1452,S,T,N,W1:           Zaurus:3.10::Zaurus 3.10
                    511:
                    512: 32768:128:1:64:M1460,N,W0,N,N,T0,N,N,S:        PocketPC:2002::PocketPC 2002
                    513:
                    514: S1:255:0:44:M346:                      Contiki:1.1:rc0:Contiki 1.1-rc0
1.9       frantzen  515:
1.10      frantzen  516: 4096:128:0:44:M1460:                   Sega:Dreamcast:3.0:Sega Dreamcast Dreamkey 3.0
                    517:
1.9       frantzen  518: S12:64:0:44:M1452:                     AXIS:5600:v5.64:AXIS Printer Server 5600 v5.64
1.4       frantzen  519:
1.1       frantzen  520:
                    521:
                    522: ####################
                    523: # Fancy signatures #
                    524: ####################
                    525:
                    526: 1024:64:0:40:.:                                *NMAP:syn scan:1:NMAP syn scan (1)
                    527: 2048:64:0:40:.:                                *NMAP:syn scan:2:NMAP syn scan (2)
                    528: 3072:64:0:40:.:                                *NMAP:syn scan:3:NMAP syn scan (3)
                    529: 4096:64:0:40:.:                                *NMAP:syn scan:4:NMAP syn scan (4)
                    530:
                    531: 1024:64:0:60:W10,N,M265,T:             *NMAP:OS:1:NMAP OS detection probe (1)
                    532: 2048:64:0:60:W10,N,M265,T:             *NMAP:OS:2:NMAP OS detection probe (2)
                    533: 3072:64:0:60:W10,N,M265,T:             *NMAP:OS:3:NMAP OS detection probe (3)
                    534: 4096:64:0:60:W10,N,M265,T:             *NMAP:OS:4:NMAP OS detection probe (4)
                    535:
                    536: #####################################
                    537: # Generic signatures - just in case #
                    538: #####################################
                    539:
                    540: #*:64:1:60:M*,N,W*,N,N,T:              @FreeBSD:4.0-4.9::FreeBSD 4.x/5.x
                    541: #*:64:1:60:M*,N,W*,N,N,T:              @FreeBSD:5.0-5.1::FreeBSD 4.x/5.x
1.10      frantzen  542:
                    543: *:128:1:52:M*,N,W0,N,N,S:              @Windows:XP:RFC1323:Windows XP/2000 (RFC1323 no tstamp)
                    544: *:128:1:52:M*,N,W0,N,N,S:              @Windows:2000:RFC1323:Windows XP/2000 (RFC1323 no tstamp)
                    545: *:128:1:64:M*,N,W0,N,N,T0,N,N,S:       @Windows:XP:RFC1323:Windows XP/2000 (RFC1323)
                    546: *:128:1:64:M*,N,W0,N,N,T0,N,N,S:       @Windows:2000:RFC1323:Windows XP/2000 (RFC1323)
                    547: *:128:1:64:M*,N,W*,N,N,T0,N,N,S:       @Windows:XP:RFC1323:Windows XP (RFC1323, w+)
                    548: *:128:1:48:M*,N,N,S:                   @Windows:XP::Windows XP/2000
                    549: *:128:1:48:M*,N,N,S:                   @Windows:2000::Windows XP/2000
                    550:
1.1       frantzen  551: