1162485Sjulian# $FreeBSD$ 2162485Sjulian# passive OS fingerprinting 3162485Sjulian# ------------------------- 4162485Sjulian# 5162485Sjulian# SYN signatures. Those signatures work for SYN packets only (duh!). 6162485Sjulian# 7162485Sjulian# (C) Copyright 2000-2003 by Michal Zalewski <lcamtuf@coredump.cx> 8162485Sjulian# (C) Copyright 2003 by Mike Frantzen <frantzen@w4g.org> 9162485Sjulian# 10162485Sjulian# Permission to use, copy, modify, and distribute this software for any 11162485Sjulian# purpose with or without fee is hereby granted, provided that the above 12162485Sjulian# copyright notice and this permission notice appear in all copies. 13162485Sjulian# 14162485Sjulian# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 15162485Sjulian# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 16162485Sjulian# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 17162485Sjulian# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 18162485Sjulian# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 19162485Sjulian# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 20162485Sjulian# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 21162485Sjulian# 22162485Sjulian# 23162485Sjulian# This fingerprint database is adapted from Michal Zalewski's p0f passive 24162485Sjulian# operating system package. 25162485Sjulian# 26162485Sjulian# 27162485Sjulian# Each line in this file specifies a single fingerprint. Please read the 28162485Sjulian# information below carefully before attempting to append any signatures 29162485Sjulian# reported as UNKNOWN to this file to avoid mistakes. 30162485Sjulian# 31162485Sjulian# We use the following set metrics for fingerprinting: 32162485Sjulian# 33162485Sjulian# - Window size (WSS) - a highly OS dependent setting used for TCP/IP 34162485Sjulian# performance control (max. amount of data to be sent without ACK). 35162485Sjulian# Some systems use a fixed value for initial packets. On other 36162485Sjulian# systems, it is a multiple of MSS or MTU (MSS+40). In some rare 37162485Sjulian# cases, the value is just arbitrary. 38162485Sjulian# 39162485Sjulian# NEW SIGNATURE: if p0f reported a special value of 'Snn', the number 40162485Sjulian# appears to be a multiple of MSS (MSS*nn); a special value of 'Tnn' 41162485Sjulian# means it is a multiple of MTU ((MSS+40)*nn). Unless you notice the 42162485Sjulian# value of nn is not fixed (unlikely), just copy the Snn or Tnn token 43162485Sjulian# literally. If you know this device has a simple stack and a fixed 44162485Sjulian# MTU, you can however multiply S value by MSS, or T value by MSS+40, 45162485Sjulian# and put it instead of Snn or Tnn. 46162485Sjulian# 47162485Sjulian# If WSS otherwise looks like a fixed value (for example a multiple 48162485Sjulian# of two), or if you can confirm the value is fixed, please quote 49162485Sjulian# it literally. If there's no apparent pattern in WSS chosen, you 50162485Sjulian# should consider wildcarding this value. 51162485Sjulian# 52162485Sjulian# - Overall packet size - a function of all IP and TCP options and bugs. 53162485Sjulian# 54162485Sjulian# NEW SIGNATURE: Copy this value literally. 55162485Sjulian# 56162485Sjulian# - Initial TTL - We check the actual TTL of a received packet. It can't 57162485Sjulian# be higher than the initial TTL, and also shouldn't be dramatically 58162485Sjulian# lower (maximum distance is defined as 40 hops). 59162485Sjulian# 60162485Sjulian# NEW SIGNATURE: *Never* copy TTL from a p0f-reported signature literally. 61162485Sjulian# You need to determine the initial TTL. The best way to do it is to 62162485Sjulian# check the documentation for a remote system, or check its settings. 63162485Sjulian# A fairly good method is to simply round the observed TTL up to 64162485Sjulian# 32, 64, 128, or 255, but it should be noted that some obscure devices 65162485Sjulian# might not use round TTLs (in particular, some shoddy appliances use 66162485Sjulian# "original" initial TTL settings). If not sure, you can see how many 67162485Sjulian# hops you're away from the remote party with traceroute or mtr. 68162485Sjulian# 69162485Sjulian# - Don't fragment flag (DF) - some modern OSes set this to implement PMTU 70162485Sjulian# discovery. Others do not bother. 71162485Sjulian# 72162485Sjulian# NEW SIGNATURE: Copy this value literally. 73162485Sjulian# 74162485Sjulian# - Maximum segment size (MSS) - this setting is usually link-dependent. P0f 75162485Sjulian# uses it to determine link type of the remote host. 76162485Sjulian# 77162485Sjulian# NEW SIGNATURE: Always wildcard this value, except for rare cases when 78162485Sjulian# you have an appliance with a fixed value, know the system supports only 79162485Sjulian# a very limited number of network interface types, or know the system 80162485Sjulian# is using a value it pulled out of nowhere. Specific unique MSS 81162485Sjulian# can be used to tell Google crawlbots from the rest of the population. 82162485Sjulian# 83162485Sjulian# - Window scaling (WSCALE) - this feature is used to scale WSS. 84162485Sjulian# It extends the size of a TCP/IP window to 32 bits. Some modern 85162485Sjulian# systems implement this feature. 86162485Sjulian# 87162485Sjulian# NEW SIGNATURE: Observe several signatures. Initial WSCALE is often set 88162485Sjulian# to zero or other low value. There's usually no need to wildcard this 89162485Sjulian# parameter. 90162485Sjulian# 91162485Sjulian# - Timestamp - some systems that implement timestamps set them to 92162485Sjulian# zero in the initial SYN. This case is detected and handled appropriately. 93162485Sjulian# 94162485Sjulian# - Selective ACK permitted - a flag set by systems that implement 95162485Sjulian# selective ACK functionality. 96162485Sjulian# 97162485Sjulian# - The sequence of TCP all options (MSS, window scaling, selective ACK 98162485Sjulian# permitted, timestamp, NOP). Other than the options previously 99162485Sjulian# discussed, p0f also checks for timestamp option (a silly 100162485Sjulian# extension to broadcast your uptime ;-), NOP options (used for 101162485Sjulian# header padding) and sackOK option (selective ACK feature). 102162485Sjulian# 103162485Sjulian# NEW SIGNATURE: Copy the sequence literally. 104162485Sjulian# 105162485Sjulian# To wildcard any value (except for initial TTL or TCP options), replace 106162485Sjulian# it with '*'. You can also use a modulo operator to match any values 107162485Sjulian# that divide by nnn - '%nnn'. 108162485Sjulian# 109162485Sjulian# Fingerprint entry format: 110162485Sjulian# 111162485Sjulian# wwww:ttt:D:ss:OOO...:OS:Version:Subtype:Details 112162485Sjulian# 113162485Sjulian# wwww - window size (can be *, %nnn, Snn or Tnn). The special values 114162485Sjulian# "S" and "T" which are a multiple of MSS or a multiple of MTU 115162485Sjulian# respectively. 116162485Sjulian# ttt - initial TTL 117162485Sjulian# D - don't fragment bit (0 - not set, 1 - set) 118162485Sjulian# ss - overall SYN packet size 119162485Sjulian# OOO - option value and order specification (see below) 120162485Sjulian# OS - OS genre (Linux, Solaris, Windows) 121162485Sjulian# Version - OS Version (2.0.27 on x86, etc) 122162485Sjulian# Subtype - OS subtype or patchlevel (SP3, lo0) 123162485Sjulian# details - Generic OS details 124162485Sjulian# 125162485Sjulian# If OS genre starts with '*', p0f will not show distance, link type 126162485Sjulian# and timestamp data. It is useful for userland TCP/IP stacks of 127162485Sjulian# network scanners and so on, where many settings are randomized or 128162485Sjulian# bogus. 129162485Sjulian# 130162485Sjulian# If OS genre starts with @, it denotes an approximate hit for a group 131162485Sjulian# of operating systems (signature reporting still enabled in this case). 132162485Sjulian# Use this feature at the end of this file to catch cases for which 133162485Sjulian# you don't have a precise match, but can tell it's Windows or FreeBSD 134162485Sjulian# or whatnot by looking at, say, flag layout alone. 135162485Sjulian# 136162485Sjulian# Option block description is a list of comma or space separated 137162485Sjulian# options in the order they appear in the packet: 138162485Sjulian# 139162485Sjulian# N - NOP option 140162485Sjulian# Wnnn - window scaling option, value nnn (or * or %nnn) 141162485Sjulian# Mnnn - maximum segment size option, value nnn (or * or %nnn) 142162485Sjulian# S - selective ACK OK 143162485Sjulian# T - timestamp 144162485Sjulian# T0 - timestamp with a zero value 145162485Sjulian# 146162485Sjulian# To denote no TCP options, use a single '.'. 147162485Sjulian# 148162485Sjulian# Please report any additions to this file, or any inaccuracies or 149162485Sjulian# problems spotted, to the maintainers: lcamtuf@coredump.cx, 150162485Sjulian# frantzen@openbsd.org and bugs@openbsd.org with a tcpdump packet 151162485Sjulian# capture of the relevant SYN packet(s) 152162485Sjulian# 153162485Sjulian# WARNING WARNING WARNING 154162485Sjulian# ----------------------- 155162485Sjulian# 156162485Sjulian# Do not add a system X as OS Y just because NMAP says so. It is often 157162485Sjulian# the case that X is a NAT firewall. While nmap is talking to the 158162485Sjulian# device itself, p0f is fingerprinting the guy behind the firewall 159162485Sjulian# instead. 160162485Sjulian# 161162485Sjulian# When in doubt, use common sense, don't add something that looks like 162162485Sjulian# a completely different system as Linux or FreeBSD or LinkSys router. 163162485Sjulian# Check DNS name, establish a connection to the remote host and look 164162485Sjulian# at SYN+ACK - does it look similar? 165162485Sjulian# 166162485Sjulian# Some users tweak their TCP/IP settings - enable or disable RFC1323 167162485Sjulian# functionality, enable or disable timestamps or selective ACK, 168162485Sjulian# disable PMTU discovery, change MTU and so on. Always compare a new rule 169162485Sjulian# to other fingerprints for this system, and verify the system isn't 170162485Sjulian# "customized" before adding it. It is OK to add signature variants 171162485Sjulian# caused by a commonly used software (personal firewalls, security 172162485Sjulian# packages, etc), but it makes no sense to try to add every single 173162485Sjulian# possible /proc/sys/net/ipv4 tweak on Linux or so. 174162485Sjulian# 175162485Sjulian# KEEP IN MIND: Some packet firewalls configured to normalize outgoing 176162485Sjulian# traffic (OpenBSD pf with "scrub" enabled, for example) will, well, 177162485Sjulian# normalize packets. Signatures will not correspond to the originating 178162485Sjulian# system (and probably not quite to the firewall either). 179162485Sjulian# 180162485Sjulian# NOTE: Try to keep this file in some reasonable order, from most to 181162485Sjulian# least likely systems. This will speed up operation. Also keep most 182162485Sjulian# generic and broad rules near the end. 183162485Sjulian# 184162485Sjulian 185162485Sjulian########################## 186162485Sjulian# Standard OS signatures # 187162485Sjulian########################## 188162485Sjulian 189162485Sjulian# ----------------- AIX --------------------- 190162485Sjulian 191162485Sjulian# AIX is first because its signatures are close to NetBSD, MacOS X and 192162485Sjulian# Linux 2.0, but it uses a fairly rare MSSes, at least sometimes... 193162485Sjulian# This is a shoddy hack, though. 194162485Sjulian 195162485Sjulian16384:64:0:44:M512: AIX:4.3:2-3:AIX 4.3.2 and earlier 196162485Sjulian 197162485Sjulian16384:64:0:60:M512,N,W%2,N,N,T: AIX:4.3:3:AIX 4.3.3-5.2 198162485Sjulian16384:64:0:60:M512,N,W%2,N,N,T: AIX:5.1-5.2::AIX 4.3.3-5.2 199162485Sjulian32768:64:0:60:M512,N,W%2,N,N,T: AIX:4.3:3:AIX 4.3.3-5.2 200162485Sjulian32768:64:0:60:M512,N,W%2,N,N,T: AIX:5.1-5.2::AIX 4.3.3-5.2 201162485Sjulian65535:64:0:60:M512,N,W%2,N,N,T: AIX:4.3:3:AIX 4.3.3-5.2 202162485Sjulian65535:64:0:60:M512,N,W%2,N,N,T: AIX:5.1-5.2::AIX 4.3.3-5.2 203162485Sjulian65535:64:0:64:M*,N,W1,N,N,T,N,N,S: AIX:5.3:ML1:AIX 5.3 ML1 204162485Sjulian 205162485Sjulian# ----------------- Linux ------------------- 206162485Sjulian 207162485Sjulian512:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x 208162485Sjulian16384:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x 209162485Sjulian 210162485Sjulian# Endian snafu! Nelson says "ha-ha": 211162485Sjulian2:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x (MkLinux) on Mac 212162485Sjulian64:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x (MkLinux) on Mac 213162485Sjulian 214162485Sjulian 215162485SjulianS4:64:1:60:M1360,S,T,N,W0: Linux:google::Linux (Google crawlbot) 216162485Sjulian 217162485SjulianS2:64:1:60:M*,S,T,N,W0: Linux:2.4::Linux 2.4 (big boy) 218162485SjulianS3:64:1:60:M*,S,T,N,W0: Linux:2.4:18-21:Linux 2.4.18 and newer 219162485SjulianS4:64:1:60:M*,S,T,N,W0: Linux:2.4::Linux 2.4/2.6 220162485SjulianS4:64:1:60:M*,S,T,N,W0: Linux:2.6::Linux 2.4/2.6 221162485Sjulian 222162485SjulianS3:64:1:60:M*,S,T,N,W1: Linux:2.5::Linux 2.5 223162485SjulianS4:64:1:60:M*,S,T,N,W1: Linux:2.5-2.6::Linux 2.5/2.6 224162485Sjulian 225162485SjulianS20:64:1:60:M*,S,T,N,W0: Linux:2.2:20-25:Linux 2.2.20 and newer 226162485SjulianS22:64:1:60:M*,S,T,N,W0: Linux:2.2::Linux 2.2 227162485SjulianS11:64:1:60:M*,S,T,N,W0: Linux:2.2::Linux 2.2 228162485Sjulian 229162485Sjulian# Popular cluster config scripts disable timestamps and 230162485Sjulian# selective ACK: 231162485SjulianS4:64:1:48:M1460,N,W0: Linux:2.4:cluster:Linux 2.4 in cluster 232162485Sjulian 233162485Sjulian# This needs to be investigated. On some systems, WSS 234162485Sjulian# is selected as a multiple of MTU instead of MSS. I got 235162485Sjulian# many submissions for this for many late versions of 2.4: 236162485SjulianT4:64:1:60:M1412,S,T,N,W0: Linux:2.4::Linux 2.4 (late, uncommon) 237162485Sjulian 238162485Sjulian# This happens only over loopback, but let's make folks happy: 239162485Sjulian32767:64:1:60:M16396,S,T,N,W0: Linux:2.4:lo0:Linux 2.4 (local) 240162485SjulianS8:64:1:60:M3884,S,T,N,W0: Linux:2.2:lo0:Linux 2.2 (local) 241162485Sjulian 242162485Sjulian# Opera visitors: 243162485Sjulian16384:64:1:60:M*,S,T,N,W0: Linux:2.2:Opera:Linux 2.2 (Opera?) 244162485Sjulian32767:64:1:60:M*,S,T,N,W0: Linux:2.4:Opera:Linux 2.4 (Opera?) 245162485Sjulian 246162485Sjulian# Some fairly common mods: 247162485SjulianS4:64:1:52:M*,N,N,S,N,W0: Linux:2.4:ts:Linux 2.4 w/o timestamps 248162485SjulianS22:64:1:52:M*,N,N,S,N,W0: Linux:2.2:ts:Linux 2.2 w/o timestamps 249162485Sjulian 250162485Sjulian 251162485Sjulian# ----------------- FreeBSD ----------------- 252162485Sjulian 253162485Sjulian16384:64:1:44:M*: FreeBSD:2.0-2.2::FreeBSD 2.0-4.1 254162485Sjulian16384:64:1:44:M*: FreeBSD:3.0-3.5::FreeBSD 2.0-4.1 255162485Sjulian16384:64:1:44:M*: FreeBSD:4.0-4.1::FreeBSD 2.0-4.1 256162485Sjulian16384:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.4::FreeBSD 4.4 257162485Sjulian 258162485Sjulian1024:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.4::FreeBSD 4.4 259162485Sjulian 260162485Sjulian57344:64:1:44:M*: FreeBSD:4.6-4.8:noRFC1323:FreeBSD 4.6-4.8 (no RFC1323) 261162485Sjulian57344:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.6-4.8::FreeBSD 4.6-4.8 262162485Sjulian 263162485Sjulian32768:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.8-4.9::FreeBSD 4.8-5.1 (or MacOS X) 264162485Sjulian32768:64:1:60:M*,N,W0,N,N,T: FreeBSD:5.0-5.1::FreeBSD 4.8-5.1 (or MacOS X) 265162485Sjulian65535:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.8-4.9::FreeBSD 4.8-5.1 (or MacOS X) 266162485Sjulian65535:64:1:60:M*,N,W0,N,N,T: FreeBSD:5.0-5.1::FreeBSD 4.8-5.1 (or MacOS X) 267162485Sjulian65535:64:1:60:M*,N,W1,N,N,T: FreeBSD:4.7-4.9::FreeBSD 4.7-5.1 268162485Sjulian65535:64:1:60:M*,N,W1,N,N,T: FreeBSD:5.0-5.1::FreeBSD 4.7-5.1 269162485Sjulian 270162485Sjulian# 16384:64:1:60:M*,N,N,N,N,N,N,T:FreeBSD:4.4:noTS:FreeBSD 4.4 (w/o timestamps) 271162485Sjulian 272162485Sjulian# ----------------- NetBSD ------------------ 273162485Sjulian 274162485Sjulian65535:64:0:60:M*,N,W0,N,N,T0: NetBSD:1.6:opera:NetBSD 1.6 (Opera) 275162485Sjulian16384:64:0:60:M*,N,W0,N,N,T0: NetBSD:1.6::NetBSD 1.6 276162485Sjulian16384:64:1:60:M*,N,W0,N,N,T0: NetBSD:1.6:df:NetBSD 1.6 (DF) 277162485Sjulian16384:64:0:60:M*,N,W0,N,N,T: NetBSD:1.3::NetBSD 1.3 278162485Sjulian65535:64:1:60:M*,N,W1,N,N,T0: NetBSD:1.6::NetBSD 1.6W-current (DF) 279162485Sjulian 280162485Sjulian# ----------------- OpenBSD ----------------- 281162485Sjulian 282162485Sjulian16384:64:0:60:M*,N,W0,N,N,T: OpenBSD:2.6::NetBSD 1.3 (or OpenBSD 2.6) 283162485Sjulian16384:64:1:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.0-3.4::OpenBSD 3.0-3.4 284162485Sjulian16384: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) 285162485Sjulian57344:64:1:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.3-3.4::OpenBSD 3.3-3.4 286162485Sjulian57344: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) 287162485Sjulian 288162485Sjulian65535:64:1:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.0-3.4:opera:OpenBSD 3.0-3.4 (Opera) 289162485Sjulian 290162485Sjulian# ----------------- Solaris ----------------- 291162485Sjulian 292162485SjulianS17:64:1:64:N,W3,N,N,T0,N,N,S,M*: Solaris:8:RFC1323:Solaris 8 RFC1323 293162485SjulianS17:64:1:48:N,N,S,M*: Solaris:8::Solaris 8 294162485SjulianS17:255:1:44:M*: Solaris:2.5-2.7::Solaris 2.5 to 7 295162485Sjulian 296162485SjulianS6:255:1:44:M*: Solaris:2.6-2.7::Solaris 2.6 to 7 297162485SjulianS23:255:1:44:M*: Solaris:2.5:1:Solaris 2.5.1 298162485SjulianS34:64:1:48:M*,N,N,S: Solaris:2.9::Solaris 9 299162485SjulianS44:255:1:44:M*: Solaris:2.7::Solaris 7 300162485Sjulian 301162485Sjulian# ----------------- IRIX -------------------- 302162485Sjulian 303162485Sjulian49152:64:0:44:M*: IRIX:6.4::IRIX 6.4 304162485Sjulian61440:64:0:44:M*: IRIX:6.2-6.5::IRIX 6.2-6.5 305162485Sjulian49152:64:0:52:M*,N,W2,N,N,S: IRIX:6.5:RFC1323:IRIX 6.5 (RFC1323) 306162485Sjulian49152:64:0:52:M*,N,W3,N,N,S: IRIX:6.5:RFC1323:IRIX 6.5 (RFC1323) 307162485Sjulian 308162485Sjulian61440:64:0:48:M*,N,N,S: IRIX:6.5:12-21:IRIX 6.5.12 - 6.5.21 309162485Sjulian49152:64:0:48:M*,N,N,S: IRIX:6.5:15-21:IRIX 6.5.15 - 6.5.21 310162485Sjulian 311162485Sjulian# ----------------- Tru64 ------------------- 312162485Sjulian 313162485Sjulian32768:64:1:48:M*,N,W0: Tru64:4.0::Tru64 4.0 314162485Sjulian32768:64:0:48:M*,N,W0: Tru64:5.0::Tru64 5.0 315162485Sjulian8192:64:0:44:M1460: Tru64:5.1:noRFC1323:Tru64 6.1 (no RFC1323) (or QNX 6) 316162485Sjulian 317162485Sjulian# This looks awfully Linuxish :/ 318162485Sjulian# S22:64:0:60:M*,S,T,N,W0: Tru64:5.0:a:Tru64 5.0a 319162485Sjulian 320162485Sjulian61440:64:0:48:M*,N,W0: Tru64:5.1a:JP4:Tru64 v5.1a JP4 (or OpenVMS 7.x on Compaq 5.x stack) 321162485Sjulian 322162485Sjulian 323162485Sjulian# ----------------- OpenVMS ----------------- 324162485Sjulian 325162485Sjulian6144:64:1:60:M*,N,W0,N,N,T: OpenVMS:7.2::OpenVMS 7.2 (Multinet 4.4 stack) 326162485Sjulian 327162485Sjulian# ----------------- MacOS ------------------- 328162485Sjulian 329162485Sjulian16616:255:1:48:M*,W0: MacOS:7.3-7.6:OTTCP:MacOS 7.3-8.6 (OTTCP) 330162485Sjulian16616:255:1:48:M*,W0: MacOS:8.0-8.6:OTTCP:MacOS 7.3-8.6 (OTTCP) 331162485Sjulian32768:255:1:48:M*,W0,N: MacOS:9.1-9.2::MacOS 9.1/9.2 332162485Sjulian32768:64:0:60:M*,N,W0,N,N,T: MacOS:X:10.2:MacOS X 10.2 333162485Sjulian 334162485Sjulian# ----------------- Windows ----------------- 335162485Sjulian 336162485Sjulian# Windows 95 - need more: 337162485Sjulian 338162485Sjulian8192:32:1:44:M*: Windows:95::Windows 95 (low TTL) 339162485Sjulian 340162485Sjulian# Windows 98 - plenty of silly signatures: 341162485SjulianS44:32:1:48:M*,N,N,S: Windows:98::Windows 98 (low TTL) 342162485Sjulian8192:32:1:48:M*,N,N,S: Windows:98::Windows 98 (low TTL) 343162485Sjulian 344162485Sjulian%8192:64:1:48:M*,N,N,S: Windows:98::Windows 98 (or newer XP/2000 with tweaked TTL) 345162485SjulianS4:64:1:48:M*,N,N,S: Windows:98::Windows 98 346162485SjulianS6:64:1:48:M*,N,N,S: Windows:98::Windows 98 347162485SjulianS12:64:1:48:M*,N,N,S: Windows:98::Windows 98 348162485Sjulian32767:64:1:48:M*,N,N,S: Windows:98::Windows 98 349162485Sjulian37300:64:1:48:M*,N,N,S: Windows:98::Windows 98 350162485Sjulian46080:64:1:52:M*,N,W3,N,N,S: Windows:98:RFC1323:Windows 98 (RFC1323) 351162485Sjulian65535:64:1:44:M*: Windows:98:noSACK:Windows 98 (no sack) 352162485Sjulian 353162485SjulianS16:128:1:48:M*,N,N,S: Windows:98::Windows 98 354162485SjulianS16:128:1:64:M*,N,W0,N,N,T0,N,N,S: Windows:98::Windows 98 355162485SjulianS26:128:1:48:M*,N,N,S: Windows:98::Windows 98 356162485SjulianT30:128:1:48:M*,N,N,S: Windows:98::Windows 98 357162485Sjulian32767:128:1:52:M*,N,W0,N,N,S: Windows:98::Windows 98 358162485Sjulian60352:128:1:48:M*,N,N,S: Windows:98::Windows 98 359162485Sjulian60352:128:1:64:M*,N,W2,N,N,T0,N,N,S: Windows:98::Windows 98 360162485Sjulian 361162485Sjulian# Windows NT 4.0 - need more: 362162485Sjulian 363162485Sjulian64512:128:1:44:M1414: Windows:NT:4.0:Windows NT 4.0 SP6a 364162485Sjulian8192:128:1:44:M*: Windows:NT:4.0:Windows NT 4.0 (older) 365162485Sjulian6144:128:1:52:M*,W0,N,S,N,N: Windows:NT:4.0:Windows NT 4.0 (RFC1323) 366162485Sjulian 367162485Sjulian# Windows XP and 2000. Most of the signatures that were 368162485Sjulian# either dubious or non-specific (no service pack data) 369162485Sjulian# were deleted and replaced with generics at the end. 370162485Sjulian 371162485Sjulian65535:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows 2000 SP4, XP SP1 372162485Sjulian%8192:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows 2000 SP4, XP SP1 373162485SjulianS45:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows 2000 SP4 374162485SjulianS6:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows XP SP1, 2000 SP4 375162485SjulianS44:128:1:48:M*,N,N,S: Windows:2000:SP3:Windows XP Pro SP1, 2000 SP3 376162485Sjulian 377162485SjulianS6:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows XP SP1, 2000 SP4 378162485SjulianS44:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows XP Pro SP1, 2000 SP3 379162485Sjulian64512:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows XP SP1 380162485Sjulian32767:128:1:48:M1452,N,N,S: Windows:XP:SP1:Windows XP SP1 381162485Sjulian65535:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows 2000 SP4, XP SP1 382162485Sjulian%8192:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows 2000 SP4, XP SP1 383162485Sjulian 384162485Sjulian# Odds, ends, mods: 385162485Sjulian 386162485SjulianS52:128:1:48:M1260,N,N,S: Windows:XP:Cisco:Windows XP/2000 via Cisco 387162485SjulianS52:128:1:48:M1260,N,N,S: Windows:2000:Cisco:Windows XP/2000 via Cisco 388162485Sjulian 389162485Sjulian# HUNT DOWN: 390162485Sjulian# *:128:1:48:M*,N,N,S:U:@Windows:XP (leak) (PLEASE REPORT) 391162485Sjulian 392162485Sjulian# ----------------- HP/UX ------------------- 393162485Sjulian 394162485Sjulian32768:64:1:44:M*: HP-UX:B.10.20::HP-UX B.10.20 395162485Sjulian32768:64:0:48:M*,W0,N: HP-UX:11.0::HP-UX 11.0 396162485Sjulian32768:64:1:48:M*,W0,N: HP-UX:11.10::HP-UX 11.0 or 11.11 397162485Sjulian32768:64:1:48:M*,W0,N: HP-UX:11.11::HP-UX 11.0 or 11.11 398162485Sjulian 399162485Sjulian# Whoa. Hardcore WSS. 400162485Sjulian0:64:0:48:M*,W0,N: HP-UX:B.11.00:A:HP-UX B.11.00 A (RFC1323) 401162485Sjulian 402162485Sjulian 403162485Sjulian# ----------------- RiscOS ------------------ 404162485Sjulian 405162485Sjulian# We don't yet support the ?12 TCP option 406162485Sjulian#16384:64:1:68:M1460,N,W0,N,N,T,N,N,?12: RISCOS:3.70-4.36::RISC OS 3.70-4.36 407162485Sjulian 408162485Sjulian# ----------------- BSD/OS ------------------ 409162485Sjulian 410162485Sjulian# Once again, power of two WSS is also shared by MacOS X with DF set 411162485Sjulian8192: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) 412162485Sjulian8192: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) 413162485Sjulian 414162485Sjulian 415162485Sjulian# ---------------- NewtonOS ----------------- 416162485Sjulian 417162485Sjulian4096:64:0:44:M1420: NewtonOS:2.1::NewtonOS 2.1 418162485Sjulian 419162485Sjulian# ---------------- NeXTSTEP ----------------- 420162485Sjulian 421162485SjulianS8:64:0:44:M512: NeXTSTEP:3.3::NeXTSTEP 3.3 422162485Sjulian 423162485Sjulian# ------------------ BeOS ------------------- 424162485Sjulian 425162485Sjulian1024:255:0:48:M*,N,W0: BeOS:5.0-5.1::BeOS 5.0-5.1 426162485Sjulian12288:255:0:44:M1402: BeOS:5.0::BeOS 5.0.x 427162485Sjulian 428162485Sjulian# ------------------ OS/400 ----------------- 429162485Sjulian 430162485Sjulian8192:64:1:60:M1440,N,W0,N,N,T: OS/400:VR4::OS/400 VR4/R5 431162485Sjulian8192:64:1:60:M1440,N,W0,N,N,T: OS/400:VR5::OS/400 VR4/R5 432162485Sjulian4096:64:1:60:M1440,N,W0,N,N,T: OS/400:V4R5:CF67032:OS/400 V4R5 + CF67032 433162485Sjulian 434162485Sjulian 435162485Sjulian# ------------------ ULTRIX ----------------- 436162485Sjulian 437162485Sjulian16384:64:0:40:.: ULTRIX:4.5::ULTRIX 4.5 438162485Sjulian 439162485Sjulian# ------------------- QNX ------------------- 440162485Sjulian 441162485SjulianS16:64:0:44:M512: QNX:::QNX demodisk 442162485Sjulian 443162485Sjulian# ------------------ Novell ----------------- 444162485Sjulian 445162485Sjulian16384:128:1:44:M1460: Novell:NetWare:5.0:Novel Netware 5.0 446162485Sjulian6144:128:1:44:M1460: Novell:IntranetWare:4.11:Novell IntranetWare 4.11 447162485Sjulian 448162485Sjulian# ----------------- SCO ------------------ 449162485SjulianS17:64:1:44:M1460: SCO:Unixware:7.0:SCO Unixware 7.0.0 or OpenServer 5.0.4-5.06 450162485SjulianS17:64:1:44:M1460: SCO:OpenServer:5.0:SCO Unixware 7.0.0 or OpenServer 5.0.4-5.06 451162485SjulianS3:64:1:60:M1460,N,W0,N,N,T: SCO:UnixWare:7.1:SCO UnixWare 7.1 452162485Sjulian 453162485Sjulian# ------------------- DOS ------------------- 454162485Sjulian 455162485Sjulian2048:255:0:44:M536: DOS:WATTCP:1.05:DOS Arachne via WATTCP/1.05 456162485Sjulian 457162485Sjulian########################################### 458162485Sjulian# Appliance / embedded / other signatures # 459162485Sjulian########################################### 460162485Sjulian 461162485Sjulian# ---------- Firewalls / routers ------------ 462162485Sjulian 463162485SjulianS12:64:1:44:M1460: @Checkpoint:::Checkpoint (unknown 1) 464162485SjulianS12:64:1:48:N,N,S,M1460: @Checkpoint:::Checkpoint (unknown 2) 465162485Sjulian4096:32:0:44:M1460: ExtremeWare:4.x::ExtremeWare 4.x 466162485Sjulian60352:64:0:52:M1460,N,W2,N,N,S: Clavister:7::Clavister firewall 7.x 467162485Sjulian 468162485Sjulian# ------- Switches and other stuff ---------- 469162485Sjulian 470162485Sjulian4128:255:0:44:M*: Cisco:::Cisco Catalyst 3500, 7500 etc 471162485SjulianS8:255:0:44:M*: Cisco:12008::Cisco 12008 472162485Sjulian60352:128:1:64:M1460,N,W2,N,N,T,N,N,S: Alteon:ACEswitch::Alteon ACEswitch 473162485Sjulian64512:128:1:44:M1370: Nortel:Contivity Client::Nortel Conectivity Client 474162485Sjulian 475162485Sjulian 476162485Sjulian# ---------- Caches and whatnots ------------ 477162485Sjulian 478162485SjulianS4:64:1:52:M1460,N,N,S,N,W0: AOL:web cache::AOL web cache 479162485Sjulian 480162485Sjulian32850:64:1:64:N,W1,N,N,T,N,N,S,M*: NetApp:5.x::NetApp Data OnTap 5.x 481162485Sjulian16384:64:1:64:M1460,N,N,S,N,W0,N: NetApp:5.3:1:NetApp 5.3.1 482162485Sjulian65535:64:0:64:M1460,N,N,S,N,W3,N,N,T: NetApp:5.3:1:NetApp 5.3.1 483162485Sjulian65535:64:0:60:M1460,N,W0,N,N,T: NetApp:CacheFlow::NetApp CacheFlow 484162485Sjulian8192:64:1:64:M1460,N,N,S,N,W0,N,N,T: NetApp:5.2:1:NetApp NetCache 5.2.1 485162485Sjulian 486162485SjulianS4:64:0:48:M1460,N,N,S: Cisco:Content Engine::Cisco Content Engine 487162485Sjulian 488162485Sjulian27085:128:0:40:.: Dell:PowerApp cache::Dell PowerApp (Linux-based) 489162485Sjulian 490162485Sjulian65535:255:1:48:N,W1,M1460: Inktomi:crawler::Inktomi crawler 491162485SjulianS1:255:1:60:M1460,S,T,N,W0: LookSmart:ZyBorg::LookSmart ZyBorg 492162485Sjulian 493162485Sjulian 494162485Sjulian16384:255:0:40:.: Proxyblocker:::Proxyblocker (what's this?) 495162485Sjulian 496162485Sjulian# ----------- Embedded systems -------------- 497162485Sjulian 498162485SjulianS9:255:0:44:M536: PalmOS:Tungsten:C:PalmOS Tungsten C 499162485SjulianS5:255:0:44:M536: PalmOS:3::PalmOS 3/4 500162485SjulianS5:255:0:44:M536: PalmOS:4::PalmOS 3/4 501162485SjulianS4:255:0:44:M536: PalmOS:3:5:PalmOS 3.5 502162485Sjulian2948:255:0:44:M536: PalmOS:3:5:PalmOS 3.5.3 (Handera) 503162485Sjulian 504162485SjulianS23:64:1:64:N,W1,N,N,T,N,N,S,M1460: SymbianOS:7::SymbianOS 7 505162485Sjulian8192:255:0:44:M1460: SymbianOS:6048::SymbianOS 6048 (on Nokia 7650?) 506162485Sjulian8192:255:0:44:M536: SymbianOS:::SymbianOS (on Nokia 9210?) 507162485Sjulian 508162485Sjulian 509162485Sjulian# Perhaps S4? 510162485Sjulian5840:64:1:60:M1452,S,T,N,W1: Zaurus:3.10::Zaurus 3.10 511162485Sjulian 512162485Sjulian32768:128:1:64:M1460,N,W0,N,N,T0,N,N,S: PocketPC:2002::PocketPC 2002 513162485Sjulian 514162485SjulianS1:255:0:44:M346: Contiki:1.1:rc0:Contiki 1.1-rc0 515162485Sjulian 516162485Sjulian4096:128:0:44:M1460: Sega:Dreamcast:3.0:Sega Dreamcast Dreamkey 3.0 517162485Sjulian 518162485SjulianS12:64:0:44:M1452: AXIS:5600:v5.64:AXIS Printer Server 5600 v5.64 519162485Sjulian 520162485Sjulian 521162485Sjulian 522162485Sjulian#################### 523162485Sjulian# Fancy signatures # 524162485Sjulian#################### 525162485Sjulian 526162485Sjulian1024:64:0:40:.: *NMAP:syn scan:1:NMAP syn scan (1) 527162485Sjulian2048:64:0:40:.: *NMAP:syn scan:2:NMAP syn scan (2) 528162485Sjulian3072:64:0:40:.: *NMAP:syn scan:3:NMAP syn scan (3) 529162485Sjulian4096:64:0:40:.: *NMAP:syn scan:4:NMAP syn scan (4) 530162485Sjulian 531162485Sjulian1024:64:0:60:W10,N,M265,T: *NMAP:OS:1:NMAP OS detection probe (1) 532162485Sjulian2048:64:0:60:W10,N,M265,T: *NMAP:OS:2:NMAP OS detection probe (2) 533162485Sjulian3072:64:0:60:W10,N,M265,T: *NMAP:OS:3:NMAP OS detection probe (3) 534162485Sjulian4096:64:0:60:W10,N,M265,T: *NMAP:OS:4:NMAP OS detection probe (4) 535162485Sjulian 536162485Sjulian##################################### 537162485Sjulian# Generic signatures - just in case # 538162485Sjulian##################################### 539162485Sjulian 540162485Sjulian#*:64:1:60:M*,N,W*,N,N,T: @FreeBSD:4.0-4.9::FreeBSD 4.x/5.x 541162485Sjulian#*:64:1:60:M*,N,W*,N,N,T: @FreeBSD:5.0-5.1::FreeBSD 4.x/5.x 542162485Sjulian 543162485Sjulian*:128:1:52:M*,N,W0,N,N,S: @Windows:XP:RFC1323:Windows XP/2000 (RFC1323 no tstamp) 544162485Sjulian*:128:1:52:M*,N,W0,N,N,S: @Windows:2000:RFC1323:Windows XP/2000 (RFC1323 no tstamp) 545162485Sjulian*:128:1:64:M*,N,W0,N,N,T0,N,N,S: @Windows:XP:RFC1323:Windows XP/2000 (RFC1323) 546162485Sjulian*:128:1:64:M*,N,W0,N,N,T0,N,N,S: @Windows:2000:RFC1323:Windows XP/2000 (RFC1323) 547162485Sjulian*:128:1:64:M*,N,W*,N,N,T0,N,N,S: @Windows:XP:RFC1323:Windows XP (RFC1323, w+) 548162485Sjulian*:128:1:48:M*,N,N,S: @Windows:XP::Windows XP/2000 549162485Sjulian*:128:1:48:M*,N,N,S: @Windows:2000::Windows XP/2000 550