1# $OpenBSD: pf.os,v 1.21 2006/07/28 21:51:12 david Exp $ 2# $DragonFly: src/etc/pf.os,v 1.2 2008/01/07 14:46:46 matthias Exp $ 3# 4# passive OS fingerprinting 5# ------------------------- 6# 7# SYN signatures. Those signatures work for SYN packets only (duh!). 8# 9# (C) Copyright 2000-2003 by Michal Zalewski <lcamtuf@coredump.cx> 10# (C) Copyright 2003 by Mike Frantzen <frantzen@w4g.org> 11# 12# Permission to use, copy, modify, and distribute this software for any 13# purpose with or without fee is hereby granted, provided that the above 14# copyright notice and this permission notice appear in all copies. 15# 16# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 17# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 18# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 19# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 20# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 21# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 22# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 23# 24# 25# This fingerprint database is adapted from Michal Zalewski's p0f passive 26# operating system package. The last database sync was from a Nov 3 2003 27# p0f.fp. 28# 29# 30# Each line in this file specifies a single fingerprint. Please read the 31# information below carefully before attempting to append any signatures 32# reported as UNKNOWN to this file to avoid mistakes. 33# 34# We use the following set metrics for fingerprinting: 35# 36# - Window size (WSS) - a highly OS dependent setting used for TCP/IP 37# performance control (max. amount of data to be sent without ACK). 38# Some systems use a fixed value for initial packets. On other 39# systems, it is a multiple of MSS or MTU (MSS+40). In some rare 40# cases, the value is just arbitrary. 41# 42# NEW SIGNATURE: if p0f reported a special value of 'Snn', the number 43# appears to be a multiple of MSS (MSS*nn); a special value of 'Tnn' 44# means it is a multiple of MTU ((MSS+40)*nn). Unless you notice the 45# value of nn is not fixed (unlikely), just copy the Snn or Tnn token 46# literally. If you know this device has a simple stack and a fixed 47# MTU, you can however multiply S value by MSS, or T value by MSS+40, 48# and put it instead of Snn or Tnn. 49# 50# If WSS otherwise looks like a fixed value (for example a multiple 51# of two), or if you can confirm the value is fixed, please quote 52# it literally. If there's no apparent pattern in WSS chosen, you 53# should consider wildcarding this value. 54# 55# - Overall packet size - a function of all IP and TCP options and bugs. 56# 57# NEW SIGNATURE: Copy this value literally. 58# 59# - Initial TTL - We check the actual TTL of a received packet. It can't 60# be higher than the initial TTL, and also shouldn't be dramatically 61# lower (maximum distance is defined as 40 hops). 62# 63# NEW SIGNATURE: *Never* copy TTL from a p0f-reported signature literally. 64# You need to determine the initial TTL. The best way to do it is to 65# check the documentation for a remote system, or check its settings. 66# A fairly good method is to simply round the observed TTL up to 67# 32, 64, 128, or 255, but it should be noted that some obscure devices 68# might not use round TTLs (in particular, some shoddy appliances use 69# "original" initial TTL settings). If not sure, you can see how many 70# hops you're away from the remote party with traceroute or mtr. 71# 72# - Don't fragment flag (DF) - some modern OSes set this to implement PMTU 73# discovery. Others do not bother. 74# 75# NEW SIGNATURE: Copy this value literally. 76# 77# - Maximum segment size (MSS) - this setting is usually link-dependent. P0f 78# uses it to determine link type of the remote host. 79# 80# NEW SIGNATURE: Always wildcard this value, except for rare cases when 81# you have an appliance with a fixed value, know the system supports only 82# a very limited number of network interface types, or know the system 83# is using a value it pulled out of nowhere. Specific unique MSS 84# can be used to tell Google crawlbots from the rest of the population. 85# 86# - Window scaling (WSCALE) - this feature is used to scale WSS. 87# It extends the size of a TCP/IP window to 32 bits. Some modern 88# systems implement this feature. 89# 90# NEW SIGNATURE: Observe several signatures. Initial WSCALE is often set 91# to zero or other low value. There's usually no need to wildcard this 92# parameter. 93# 94# - Timestamp - some systems that implement timestamps set them to 95# zero in the initial SYN. This case is detected and handled appropriately. 96# 97# - Selective ACK permitted - a flag set by systems that implement 98# selective ACK functionality. 99# 100# - The sequence of TCP all options (MSS, window scaling, selective ACK 101# permitted, timestamp, NOP). Other than the options previously 102# discussed, p0f also checks for timestamp option (a silly 103# extension to broadcast your uptime ;-), NOP options (used for 104# header padding) and sackOK option (selective ACK feature). 105# 106# NEW SIGNATURE: Copy the sequence literally. 107# 108# To wildcard any value (except for initial TTL or TCP options), replace 109# it with '*'. You can also use a modulo operator to match any values 110# that divide by nnn - '%nnn'. 111# 112# Fingerprint entry format: 113# 114# wwww:ttt:D:ss:OOO...:OS:Version:Subtype:Details 115# 116# wwww - window size (can be *, %nnn, Snn or Tnn). The special values 117# "S" and "T" which are a multiple of MSS or a multiple of MTU 118# respectively. 119# ttt - initial TTL 120# D - don't fragment bit (0 - not set, 1 - set) 121# ss - overall SYN packet size 122# OOO - option value and order specification (see below) 123# OS - OS genre (Linux, Solaris, Windows) 124# Version - OS Version (2.0.27 on x86, etc) 125# Subtype - OS subtype or patchlevel (SP3, lo0) 126# details - Generic OS details 127# 128# If OS genre starts with '*', p0f will not show distance, link type 129# and timestamp data. It is useful for userland TCP/IP stacks of 130# network scanners and so on, where many settings are randomized or 131# bogus. 132# 133# If OS genre starts with @, it denotes an approximate hit for a group 134# of operating systems (signature reporting still enabled in this case). 135# Use this feature at the end of this file to catch cases for which 136# you don't have a precise match, but can tell it's Windows or FreeBSD 137# or whatnot by looking at, say, flag layout alone. 138# 139# Option block description is a list of comma or space separated 140# options in the order they appear in the packet: 141# 142# N - NOP option 143# Wnnn - window scaling option, value nnn (or * or %nnn) 144# Mnnn - maximum segment size option, value nnn (or * or %nnn) 145# S - selective ACK OK 146# T - timestamp 147# T0 - timestamp with a zero value 148# 149# To denote no TCP options, use a single '.'. 150# 151# Please report any additions to this file, or any inaccuracies or 152# problems spotted, to the maintainers: lcamtuf@coredump.cx, 153# frantzen@openbsd.org and bugs@openbsd.org with a tcpdump packet 154# capture of the relevant SYN packet(s) 155# 156# A test and submission page is available at 157# http://lcamtuf.coredump.cx/p0f-help/ 158# 159# 160# WARNING WARNING WARNING 161# ----------------------- 162# 163# Do not add a system X as OS Y just because NMAP says so. It is often 164# the case that X is a NAT firewall. While nmap is talking to the 165# device itself, p0f is fingerprinting the guy behind the firewall 166# instead. 167# 168# When in doubt, use common sense, don't add something that looks like 169# a completely different system as Linux or FreeBSD or LinkSys router. 170# Check DNS name, establish a connection to the remote host and look 171# at SYN+ACK - does it look similar? 172# 173# Some users tweak their TCP/IP settings - enable or disable RFC1323 174# functionality, enable or disable timestamps or selective ACK, 175# disable PMTU discovery, change MTU and so on. Always compare a new rule 176# to other fingerprints for this system, and verify the system isn't 177# "customized" before adding it. It is OK to add signature variants 178# caused by a commonly used software (personal firewalls, security 179# packages, etc), but it makes no sense to try to add every single 180# possible /proc/sys/net/ipv4 tweak on Linux or so. 181# 182# KEEP IN MIND: Some packet firewalls configured to normalize outgoing 183# traffic (OpenBSD pf with "scrub" enabled, for example) will, well, 184# normalize packets. Signatures will not correspond to the originating 185# system (and probably not quite to the firewall either). 186# 187# NOTE: Try to keep this file in some reasonable order, from most to 188# least likely systems. This will speed up operation. Also keep most 189# generic and broad rules near the end. 190# 191 192########################## 193# Standard OS signatures # 194########################## 195 196# ----------------- AIX --------------------- 197 198# AIX is first because its signatures are close to NetBSD, MacOS X and 199# Linux 2.0, but it uses a fairly rare MSSes, at least sometimes... 200# This is a shoddy hack, though. 201 20245046:64:0:44:M*: AIX:4.3::AIX 4.3 20316384:64:0:44:M512: AIX:4.3:2-3:AIX 4.3.2 and earlier 204 20516384:64:0:60:M512,N,W%2,N,N,T: AIX:4.3:3:AIX 4.3.3-5.2 20616384:64:0:60:M512,N,W%2,N,N,T: AIX:5.1-5.2::AIX 4.3.3-5.2 20732768:64:0:60:M512,N,W%2,N,N,T: AIX:4.3:3:AIX 4.3.3-5.2 20832768:64:0:60:M512,N,W%2,N,N,T: AIX:5.1-5.2::AIX 4.3.3-5.2 20965535:64:0:60:M512,N,W%2,N,N,T: AIX:4.3:3:AIX 4.3.3-5.2 21065535:64:0:60:M512,N,W%2,N,N,T: AIX:5.1-5.2::AIX 4.3.3-5.2 21165535:64:0:64:M*,N,W1,N,N,T,N,N,S: AIX:5.3:ML1:AIX 5.3 ML1 212 213# ----------------- Linux ------------------- 214 215# S1:64:0:44:M*:A: Linux:1.2::Linux 1.2.x (XXX quirks support) 216512:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x 21716384:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x 218 219# Endian snafu! Nelson says "ha-ha": 2202:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x (MkLinux) on Mac 22164:64:0:44:M*: Linux:2.0:3x:Linux 2.0.3x (MkLinux) on Mac 222 223 224S4:64:1:60:M1360,S,T,N,W0: Linux:google::Linux (Google crawlbot) 225 226S2:64:1:60:M*,S,T,N,W0: Linux:2.4::Linux 2.4 (big boy) 227S3:64:1:60:M*,S,T,N,W0: Linux:2.4:.18-21:Linux 2.4.18 and newer 228S4:64:1:60:M*,S,T,N,W0: Linux:2.4::Linux 2.4/2.6 <= 2.6.7 229S4:64:1:60:M*,S,T,N,W0: Linux:2.6:.1-7:Linux 2.4/2.6 <= 2.6.7 230S4:64:1:60:M*,S,T,N,W7: Linux:2.6:8:Linux 2.6.8 and newer (?) 231 232S3:64:1:60:M*,S,T,N,W1: Linux:2.5::Linux 2.5 (sometimes 2.4) 233S4:64:1:60:M*,S,T,N,W1: Linux:2.5-2.6::Linux 2.5/2.6 234S3:64:1:60:M*,S,T,N,W2: Linux:2.5::Linux 2.5 (sometimes 2.4) 235S4:64:1:60:M*,S,T,N,W2: Linux:2.5::Linux 2.5 (sometimes 2.4) 236 237S20:64:1:60:M*,S,T,N,W0: Linux:2.2:20-25:Linux 2.2.20 and newer 238S22:64:1:60:M*,S,T,N,W0: Linux:2.2::Linux 2.2 239S11:64:1:60:M*,S,T,N,W0: Linux:2.2::Linux 2.2 240 241# Popular cluster config scripts disable timestamps and 242# selective ACK: 243S4:64:1:48:M1460,N,W0: Linux:2.4:cluster:Linux 2.4 in cluster 244 245# This needs to be investigated. On some systems, WSS 246# is selected as a multiple of MTU instead of MSS. I got 247# many submissions for this for many late versions of 2.4: 248T4:64:1:60:M1412,S,T,N,W0: Linux:2.4::Linux 2.4 (late, uncommon) 249 250# This happens only over loopback, but let's make folks happy: 25132767:64:1:60:M16396,S,T,N,W0: Linux:2.4:lo0:Linux 2.4 (local) 252S8:64:1:60:M3884,S,T,N,W0: Linux:2.2:lo0:Linux 2.2 (local) 253 254# Opera visitors: 25516384:64:1:60:M*,S,T,N,W0: Linux:2.2:Opera:Linux 2.2 (Opera?) 25632767:64:1:60:M*,S,T,N,W0: Linux:2.4:Opera:Linux 2.4 (Opera?) 257 258# Some fairly common mods: 259S4:64:1:52:M*,N,N,S,N,W0: Linux:2.4:ts:Linux 2.4 w/o timestamps 260S22:64:1:52:M*,N,N,S,N,W0: Linux:2.2:ts:Linux 2.2 w/o timestamps 261 262 263# ----------------- FreeBSD ----------------- 264 26516384:64:1:44:M*: FreeBSD:2.0-2.2::FreeBSD 2.0-4.2 26616384:64:1:44:M*: FreeBSD:3.0-3.5::FreeBSD 2.0-4.2 26716384:64:1:44:M*: FreeBSD:4.0-4.2::FreeBSD 2.0-4.2 26816384:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.4::FreeBSD 4.4 269 2701024:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.4::FreeBSD 4.4 271 27257344:64:1:44:M*: FreeBSD:4.6-4.8:noRFC1323:FreeBSD 4.6-4.8 (no RFC1323) 27357344:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.6-4.9::FreeBSD 4.6-4.9 274 27532768:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.8-4.11::FreeBSD 4.8-5.1 (or MacOS X) 27632768:64:1:60:M*,N,W0,N,N,T: FreeBSD:5.0-5.1::FreeBSD 4.8-5.1 (or MacOS X) 27765535:64:1:60:M*,N,W0,N,N,T: FreeBSD:4.8-4.11::FreeBSD 4.8-5.2 (or MacOS X) 27865535:64:1:60:M*,N,W0,N,N,T: FreeBSD:5.0-5.2::FreeBSD 4.8-5.2 (or MacOS X) 27965535:64:1:60:M*,N,W1,N,N,T: FreeBSD:4.7-4.11::FreeBSD 4.7-5.2 28065535:64:1:60:M*,N,W1,N,N,T: FreeBSD:5.0-5.2::FreeBSD 4.7-5.2 281 282# XXX need quirks support 283# 65535:64:1:60:M*,N,W0,N,N,T:Z:FreeBSD:5.1-5.4::5.1-current (1) 284# 65535:64:1:60:M*,N,W1,N,N,T:Z:FreeBSD:5.1-5.4::5.1-current (2) 285# 65535:64:1:60:M*,N,W2,N,N,T:Z:FreeBSD:5.1-5.4::5.1-current (3) 286# 65535:64:1:44:M*:Z:FreeBSD:5.2::FreeBSD 5.2 (no RFC1323) 287 288# 16384:64:1:60:M*,N,N,N,N,N,N,T:FreeBSD:4.4:noTS:FreeBSD 4.4 (w/o timestamps) 289 290# ----------------- NetBSD ------------------ 291 29216384:64:0:60:M*,N,W0,N,N,T: NetBSD:1.3::NetBSD 1.3 29365535:64:0:60:M*,N,W0,N,N,T0: NetBSD:1.6:opera:NetBSD 1.6 (Opera) 29416384:64:0:60:M*,N,W0,N,N,T0: NetBSD:1.6::NetBSD 1.6 29516384:64:1:60:M*,N,W0,N,N,T0: NetBSD:1.6:df:NetBSD 1.6 (DF) 29665535:64:1:60:M*,N,W1,N,N,T0: NetBSD:1.6::NetBSD 1.6W-current (DF) 29765535:64:1:60:M*,N,W0,N,N,T0: NetBSD:1.6::NetBSD 1.6X (DF) 29832768:64:1:60:M*,N,W0,N,N,T0: NetBSD:1.6:randomization:NetBSD 1.6ZH-current (w/ ip_id randomization) 299 300# ----------------- OpenBSD ----------------- 301 30216384:64:0:60:M*,N,W0,N,N,T: OpenBSD:2.6::NetBSD 1.3 (or OpenBSD 2.6) 30316384:64:1:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.0-4.0::OpenBSD 3.0-4.0 30416384:64:0:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.0-4.0:no-df:OpenBSD 3.0-4.0 (scrub no-df) 30557344:64:1:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.3-4.0::OpenBSD 3.3-4.0 30657344:64:0:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.3-4.0:no-df:OpenBSD 3.3-4.0 (scrub no-df) 307 30865535:64:1:64:M*,N,N,S,N,W0,N,N,T: OpenBSD:3.0-4.0:opera:OpenBSD 3.0-4.0 (Opera) 309 310# ----------------- Solaris ----------------- 311 312S17:64:1:64:N,W3,N,N,T0,N,N,S,M*: Solaris:8:RFC1323:Solaris 8 RFC1323 313S17:64:1:48:N,N,S,M*: Solaris:8::Solaris 8 314S17:255:1:44:M*: Solaris:2.5-2.7::Solaris 2.5 to 7 315 316S6:255:1:44:M*: Solaris:2.6-2.7::Solaris 2.6 to 7 317S23:255:1:44:M*: Solaris:2.5:1:Solaris 2.5.1 318S34:64:1:48:M*,N,N,S: Solaris:2.9::Solaris 9 319S44:255:1:44:M*: Solaris:2.7::Solaris 7 320 3214096:64:0:44:M1460: SunOS:4.1::SunOS 4.1.x 322 323S34:64:1:52:M*,N,W0,N,N,S: Solaris:10:beta:Solaris 10 (beta) 32432850:64:1:64:M*,N,N,T,N,W1,N,N,S: Solaris:10::Solaris 10 1203 325 326# ----------------- IRIX -------------------- 327 32849152:64:0:44:M*: IRIX:6.4::IRIX 6.4 32961440:64:0:44:M*: IRIX:6.2-6.5::IRIX 6.2-6.5 33049152:64:0:52:M*,N,W2,N,N,S: IRIX:6.5:RFC1323:IRIX 6.5 (RFC1323) 33149152:64:0:52:M*,N,W3,N,N,S: IRIX:6.5:RFC1323:IRIX 6.5 (RFC1323) 332 33361440:64:0:48:M*,N,N,S: IRIX:6.5:12-21:IRIX 6.5.12 - 6.5.21 33449152:64:0:48:M*,N,N,S: IRIX:6.5:15-21:IRIX 6.5.15 - 6.5.21 335 33649152:60:0:64:M*,N,W2,N,N,T,N,N,S: IRIX:6.5:IP27:IRIX 6.5 IP27 337 338 339# ----------------- Tru64 ------------------- 340 34132768:64:1:48:M*,N,W0: Tru64:4.0::Tru64 4.0 (or OS/2 Warp 4) 34232768:64:0:48:M*,N,W0: Tru64:5.0::Tru64 5.0 3438192:64:0:44:M1460: Tru64:5.1:noRFC1323:Tru64 6.1 (no RFC1323) (or QNX 6) 34461440:64:0:48:M*,N,W0: Tru64:5.1a:JP4:Tru64 v5.1a JP4 (or OpenVMS 7.x on Compaq 5.x stack) 345 346# ----------------- OpenVMS ----------------- 347 3486144:64:1:60:M*,N,W0,N,N,T: OpenVMS:7.2::OpenVMS 7.2 (Multinet 4.4 stack) 349 350# ----------------- MacOS ------------------- 351 352# XXX Need EOL tcp opt support 353# S2:255:1:48:M*,W0,E:.:MacOS:8.6 classic 354 355# XXX some of these use EOL too 35616616:255:1:48:M*,W0: MacOS:7.3-7.6:OTTCP:MacOS 7.3-8.6 (OTTCP) 35716616:255:1:48:M*,W0: MacOS:8.0-8.6:OTTCP:MacOS 7.3-8.6 (OTTCP) 35816616:255:1:48:M*,N,N,N: MacOS:8.1-8.6:OTTCP:MacOS 8.1-8.6 (OTTCP) 35932768:255:1:48:M*,W0,N: MacOS:9.0-9.2::MacOS 9.0-9.2 36065535:255:1:48:M*,N,N,N,N: MacOS:9.1::MacOS 9.1 (OT 2.7.4) 361 362 363# ----------------- Windows ----------------- 364 365# Windows TCP/IP stack is a mess. For most recent XP, 2000 and 366# even 98, the pathlevel, not the actual OS version, is more 367# relevant to the signature. They share the same code, so it would 368# seem. Luckily for us, almost all Windows 9x boxes have an 369# awkward MSS of 536, which I use to tell one from another 370# in most difficult cases. 371 3728192:32:1:44:M*: Windows:3.11::Windows 3.11 (Tucows) 373S44:64:1:64:M*,N,W0,N,N,T0,N,N,S: Windows:95::Windows 95 3748192:128:1:64:M*,N,W0,N,N,T0,N,N,S: Windows:95:b:Windows 95b 375 376# There were so many tweaking tools and so many stack versions for 377# Windows 98 it is no longer possible to tell them from each other 378# without some very serious research. Until then, there's an insane 379# number of signatures, for your amusement: 380 381S44:32:1:48:M*,N,N,S: Windows:98:lowTTL:Windows 98 (low TTL) 3828192:32:1:48:M*,N,N,S: Windows:98:lowTTL:Windows 98 (low TTL) 383%8192:64:1:48:M536,N,N,S: Windows:98::Windows 98 384%8192:128:1:48:M536,N,N,S: Windows:98::Windows 98 385S4:64:1:48:M*,N,N,S: Windows:98::Windows 98 386S6:64:1:48:M*,N,N,S: Windows:98::Windows 98 387S12:64:1:48:M*,N,N,S: Windows:98::Windows 98 388T30:64:1:64:M1460,N,W0,N,N,T0,N,N,S: Windows:98::Windows 98 38932767:64:1:48:M*,N,N,S: Windows:98::Windows 98 39037300:64:1:48:M*,N,N,S: Windows:98::Windows 98 39146080:64:1:52:M*,N,W3,N,N,S: Windows:98:RFC1323:Windows 98 (RFC1323) 39265535:64:1:44:M*: Windows:98:noSack:Windows 98 (no sack) 393S16:128:1:48:M*,N,N,S: Windows:98::Windows 98 394S16:128:1:64:M*,N,W0,N,N,T0,N,N,S: Windows:98::Windows 98 395S26:128:1:48:M*,N,N,S: Windows:98::Windows 98 396T30:128:1:48:M*,N,N,S: Windows:98::Windows 98 39732767:128:1:52:M*,N,W0,N,N,S: Windows:98::Windows 98 39860352:128:1:48:M*,N,N,S: Windows:98::Windows 98 39960352:128:1:64:M*,N,W2,N,N,T0,N,N,S: Windows:98::Windows 98 400 401# What's with 1414 on NT? 402T31:128:1:44:M1414: Windows:NT:4.0:Windows NT 4.0 SP6a 40364512:128:1:44:M1414: Windows:NT:4.0:Windows NT 4.0 SP6a 4048192:128:1:44:M*: Windows:NT:4.0:Windows NT 4.0 (older) 405 406# Windows XP and 2000. Most of the signatures that were 407# either dubious or non-specific (no service pack data) 408# were deleted and replaced with generics at the end. 409 41065535:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows 2000 SP4, XP SP1 41165535:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows 2000 SP4, XP SP1 412%8192:128:1:48:M*,N,N,S: Windows:2000:SP2+:Windows 2000 SP2, XP SP1 (seldom 98 4.10.2222) 413%8192:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows 2000 SP2, XP SP1 (seldom 98 4.10.2222) 414S20:128:1:48:M*,N,N,S: Windows:2000::Windows 2000/XP SP3 415S20:128:1:48:M*,N,N,S: Windows:XP:SP3:Windows 2000/XP SP3 416S45:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows 2000 SP4, XP SP 1 417S45:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows 2000 SP4, XP SP 1 41840320:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows 2000 SP4 419 420S6:128:1:48:M*,N,N,S: Windows:2000:SP2:Windows XP, 2000 SP2+ 421S6:128:1:48:M*,N,N,S: Windows:XP::Windows XP, 2000 SP2+ 422S12:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows XP SP1 423S44:128:1:48:M*,N,N,S: Windows:2000:SP3:Windows Pro SP1, 2000 SP3 424S44:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows Pro SP1, 2000 SP3 42564512:128:1:48:M*,N,N,S: Windows:2000:SP3:Windows SP1, 2000 SP3 42664512:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows SP1, 2000 SP3 42732767:128:1:48:M*,N,N,S: Windows:2000:SP4:Windows SP1, 2000 SP4 42832767:128:1:48:M*,N,N,S: Windows:XP:SP1:Windows SP1, 2000 SP4 429 430# Odds, ends, mods: 431 432S52:128:1:48:M1260,N,N,S: Windows:2000:cisco:Windows XP/2000 via Cisco 433S52:128:1:48:M1260,N,N,S: Windows:XP:cisco:Windows XP/2000 via Cisco 43465520:128:1:48:M*,N,N,S: Windows:XP::Windows XP bare-bone 43516384:128:1:52:M536,N,W0,N,N,S: Windows:2000:ZoneAlarm:Windows 2000 w/ZoneAlarm? 4362048:255:0:40:.: Windows:.NET::Windows .NET Enterprise Server 437 43844620:64:0:48:M*,N,N,S: Windows:ME::Windows ME no SP (?) 439S6:255:1:48:M536,N,N,S: Windows:95:winsock2:Windows 95 winsock 2 44032768:32:1:52:M1460,N,W0,N,N,S: Windows:2003:AS:Windows 2003 AS 441 442 443# No need to be more specific, it passes: 444# *:128:1:48:M*,N,N,S:U:-Windows:XP/2000 while downloading (leak!) XXX quirk 445# there is an equiv similar generic sig w/o the quirk 446 447# ----------------- HP/UX ------------------- 448 44932768:64:1:44:M*: HP-UX:B.10.20::HP-UX B.10.20 45032768:64:0:48:M*,W0,N: HP-UX:11.0::HP-UX 11.0 45132768:64:1:48:M*,W0,N: HP-UX:11.10::HP-UX 11.0 or 11.11 45232768:64:1:48:M*,W0,N: HP-UX:11.11::HP-UX 11.0 or 11.11 453 454# Whoa. Hardcore WSS. 4550:64:0:48:M*,W0,N: HP-UX:B.11.00:A:HP-UX B.11.00 A (RFC1323) 456 457# ----------------- RiscOS ------------------ 458 459# We don't yet support the ?12 TCP option 460#16384:64:1:68:M1460,N,W0,N,N,T,N,N,?12: RISCOS:3.70-4.36::RISC OS 3.70-4.36 46112288:32:0:44:M536: RISC OS:3.70:4.10:RISC OS 3.70 inet 4.10 462 463# XXX quirk 464# 4096:64:1:56:M1460,N,N,T:T: RISC OS:3.70:freenet:RISC OS 3.70 freenet 2.00 465 466 467 468# ----------------- BSD/OS ------------------ 469 470# Once again, power of two WSS is also shared by MacOS X with DF set 4718192: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) 4728192: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) 473 474 475# ---------------- NewtonOS ----------------- 476 4774096:64:0:44:M1420: NewtonOS:2.1::NewtonOS 2.1 478 479# ---------------- NeXTSTEP ----------------- 480 481S4:64:0:44:M1024: NeXTSTEP:3.3::NeXTSTEP 3.3 482S8:64:0:44:M512: NeXTSTEP:3.3::NeXTSTEP 3.3 483 484# ------------------ BeOS ------------------- 485 4861024:255:0:48:M*,N,W0: BeOS:5.0-5.1::BeOS 5.0-5.1 48712288:255:0:44:M1402: BeOS:5.0::BeOS 5.0.x 488 489# ------------------ OS/400 ----------------- 490 4918192:64:1:60:M1440,N,W0,N,N,T: OS/400:VR4::OS/400 VR4/R5 4928192:64:1:60:M1440,N,W0,N,N,T: OS/400:VR5::OS/400 VR4/R5 4934096:64:1:60:M1440,N,W0,N,N,T: OS/400:V4R5:CF67032:OS/400 V4R5 + CF67032 494 495# XXX quirk 496# 28672:64:0:44:M1460:A:OS/390:? 497 498# ------------------ ULTRIX ----------------- 499 50016384:64:0:40:.: ULTRIX:4.5::ULTRIX 4.5 501 502# ------------------- QNX ------------------- 503 504S16:64:0:44:M512: QNX:::QNX demodisk 505 506# ------------------ Novell ----------------- 507 50816384:128:1:44:M1460: Novell:NetWare:5.0:Novel Netware 5.0 5096144:128:1:44:M1460: Novell:IntranetWare:4.11:Novell IntranetWare 4.11 5106144:128:1:44:M1368: Novell:BorderManager::Novell BorderManager ? 511 5126144:128:1:52:M*,W0,N,S,N,N: Novell:Netware:6:Novell Netware 6 SP3 513 514 515# ----------------- SCO ------------------ 516S3:64:1:60:M1460,N,W0,N,N,T: SCO:UnixWare:7.1:SCO UnixWare 7.1 517S17:64:1:60:M1380,N,W0,N,N,T: SCO:UnixWare:7.1:SCO UnixWare 7.1.3 MP3 518S23:64:1:44:M1380: SCO:OpenServer:5.0:SCO OpenServer 5.0 519 520# ------------------- DOS ------------------- 521 5222048:255:0:44:M536: DOS:WATTCP:1.05:DOS Arachne via WATTCP/1.05 523T2:255:0:44:M984: DOS:WATTCP:1.05Arachne:Arachne via WATTCP/1.05 (eepro) 524 525# ------------------ OS/2 ------------------- 526 527S56:64:0:44:M512: OS/2:4::OS/2 4 52828672:64:0:44:M1460: OS/2:4::OS/2 Warp 4.0 529 530# ----------------- TOPS-20 ----------------- 531 532# Another hardcore MSS, one of the ACK leakers hunted down. 533# XXX QUIRK 0:64:0:44:M1460:A:TOPS-20:version 7 5340:64:0:44:M1460: TOPS-20:7::TOPS-20 version 7 535 536# ----------------- FreeMiNT ---------------- 537 538S44:255:0:44:M536: FreeMiNT:1:16A:FreeMiNT 1 patch 16A (Atari) 539 540# ------------------ AMIGA ------------------ 541 542# XXX TCP option 12 543# S32:64:1:56:M*,N,N,S,N,N,?12:.:AMIGA:3.9 BB2 with Miami stack 544 545# ------------------ Plan9 ------------------ 546 54765535:255:0:48:M1460,W0,N: Plan9:4::Plan9 edition 4 548 549# ----------------- AMIGAOS ----------------- 550 55116384:64:1:48:M1560,N,N,S: AMIGAOS:3.9::AMIGAOS 3.9 BB2 MiamiDX 552 553########################################### 554# Appliance / embedded / other signatures # 555########################################### 556 557# ---------- Firewalls / routers ------------ 558 559S12:64:1:44:M1460: @Checkpoint:::Checkpoint (unknown 1) 560S12:64:1:48:N,N,S,M1460: @Checkpoint:::Checkpoint (unknown 2) 5614096:32:0:44:M1460: ExtremeWare:4.x::ExtremeWare 4.x 562 563# XXX TCP option 12 564# S32:64:0:68:M512,N,W0,N,N,T,N,N,?12:.:Nokia:IPSO w/Checkpoint NG FP3 565# S16:64:0:68:M1024,N,W0,N,N,T,N,N,?12:.:Nokia:IPSO 3.7 build 026 566 567S4:64:1:60:W0,N,S,T,M1460: FortiNet:FortiGate:50:FortiNet FortiGate 50 568 5698192:64:1:44:M1460: Eagle:::Eagle Secure Gateway 570 571S52:128:1:48:M1260,N,N,N,N: LinkSys:WRV54G::LinkSys WRV54G VPN router 572 573 574 575# ------- Switches and other stuff ---------- 576 5774128:255:0:44:M*: Cisco:::Cisco Catalyst 3500, 7500 etc 578S8:255:0:44:M*: Cisco:12008::Cisco 12008 57960352:128:1:64:M1460,N,W2,N,N,T,N,N,S: Alteon:ACEswitch::Alteon ACEswitch 58064512:128:1:44:M1370: Nortel:Contivity Client::Nortel Conectivity Client 581 582 583# ---------- Caches and whatnots ------------ 584 585S4:64:1:52:M1460,N,N,S,N,W0: AOL:web cache::AOL web cache 586 58732850:64:1:64:N,W1,N,N,T,N,N,S,M*: NetApp:5.x::NetApp Data OnTap 5.x 58816384:64:1:64:M1460,N,N,S,N,W0,N: NetApp:5.3:1:NetApp 5.3.1 58965535:64:0:64:M1460,N,N,S,N,W*,N,N,T: NetApp:5.3-5.5::NetApp 5.3-5.5 59065535:64:0:60:M1460,N,W0,N,N,T: NetApp:CacheFlow::NetApp CacheFlow 5918192:64:1:64:M1460,N,N,S,N,W0,N,N,T: NetApp:5.2:1:NetApp NetCache 5.2.1 59220480:64:1:64:M1460,N,N,S,N,W0,N,N,T: NetApp:4.1::NetApp NetCache4.1 593 59465535:64:0:60:M1460,N,W0,N,N,T: CacheFlow:4.1::CacheFlow CacheOS 4.1 5958192:64:0:60:M1380,N,N,N,N,N,N,T: CacheFlow:1.1::CacheFlow CacheOS 1.1 596 597S4:64:0:48:M1460,N,N,S: Cisco:Content Engine::Cisco Content Engine 598 59927085:128:0:40:.: Dell:PowerApp cache::Dell PowerApp (Linux-based) 600 60165535:255:1:48:N,W1,M1460: Inktomi:crawler::Inktomi crawler 602S1:255:1:60:M1460,S,T,N,W0: LookSmart:ZyBorg::LookSmart ZyBorg 603 60416384:255:0:40:.: Proxyblocker:::Proxyblocker (what's this?) 605 60665535:255:0:48:M*,N,N,S: Redline:::Redline T|X 2200 607 60832696:128:0:40:M1460: Spirent:Avalanche::Spirent Web Avalanche HTTP benchmarking engine 609 610# ----------- Embedded systems -------------- 611 612S9:255:0:44:M536: PalmOS:Tungsten:C:PalmOS Tungsten C 613S5:255:0:44:M536: PalmOS:3::PalmOS 3/4 614S5:255:0:44:M536: PalmOS:4::PalmOS 3/4 615S4:255:0:44:M536: PalmOS:3:5:PalmOS 3.5 6162948:255:0:44:M536: PalmOS:3:5:PalmOS 3.5.3 (Handera) 617S29:255:0:44:M536: PalmOS:5::PalmOS 5.0 61816384:255:0:44:M1398: PalmOS:5.2:Clie:PalmOS 5.2 (Clie) 619S14:255:0:44:M1350: PalmOS:5.2:Treo:PalmOS 5.2.1 (Treo) 620 621S23:64:1:64:N,W1,N,N,T,N,N,S,M1460: SymbianOS:7::SymbianOS 7 622 6238192:255:0:44:M1460: SymbianOS:6048::Symbian OS 6048 (Nokia 7650?) 6248192:255:0:44:M536: SymbianOS:9210::Symbian OS (Nokia 9210?) 625S22:64:1:56:M1460,T,S: SymbianOS:P800::Symbian OS ? (SE P800?) 626S36:64:1:56:M1360,T,S: SymbianOS:6600::Symbian OS 60xx (Nokia 6600?) 627 628 629# Perhaps S4? 6305840:64:1:60:M1452,S,T,N,W1: Zaurus:3.10::Zaurus 3.10 631 63232768:128:1:64:M1460,N,W0,N,N,T0,N,N,S: PocketPC:2002::PocketPC 2002 633 634S1:255:0:44:M346: Contiki:1.1:rc0:Contiki 1.1-rc0 635 6364096:128:0:44:M1460: Sega:Dreamcast:3.0:Sega Dreamcast Dreamkey 3.0 637T5:64:0:44:M536: Sega:Dreamcast:HKT-3020:Sega Dreamcast HKT-3020 (browser disc 51027) 638S22:64:1:44:M1460: Sony:PS2::Sony Playstation 2 (SOCOM?) 639 640S12:64:0:44:M1452: AXIS:5600:v5.64:AXIS Printer Server 5600 v5.64 641 6423100:32:1:44:M1460: Windows:CE:2.0:Windows CE 2.0 643 644#################### 645# Fancy signatures # 646#################### 647 6481024:64:0:40:.: *NMAP:syn scan:1:NMAP syn scan (1) 6492048:64:0:40:.: *NMAP:syn scan:2:NMAP syn scan (2) 6503072:64:0:40:.: *NMAP:syn scan:3:NMAP syn scan (3) 6514096:64:0:40:.: *NMAP:syn scan:4:NMAP syn scan (4) 652 653# Requires quirks support 654# 1024:64:0:40:.:A:*NMAP:TCP sweep probe (1) 655# 2048:64:0:40:.:A:*NMAP:TCP sweep probe (2) 656# 3072:64:0:40:.:A:*NMAP:TCP sweep probe (3) 657# 4096:64:0:40:.:A:*NMAP:TCP sweep probe (4) 658 6591024:64:0:60:W10,N,M265,T: *NMAP:OS:1:NMAP OS detection probe (1) 6602048:64:0:60:W10,N,M265,T: *NMAP:OS:2:NMAP OS detection probe (2) 6613072:64:0:60:W10,N,M265,T: *NMAP:OS:3:NMAP OS detection probe (3) 6624096:64:0:60:W10,N,M265,T: *NMAP:OS:4:NMAP OS detection probe (4) 663 66432767:64:0:40:.: *NAST:::NASTsyn scan 665 666# Requires quirks support 667# 12345:255:0:40:.:A:-p0f:sendsyn utility 668 669 670##################################### 671# Generic signatures - just in case # 672##################################### 673 674#*:64:1:60:M*,N,W*,N,N,T: @FreeBSD:4.0-4.9::FreeBSD 4.x/5.x 675#*:64:1:60:M*,N,W*,N,N,T: @FreeBSD:5.0-5.1::FreeBSD 4.x/5.x 676 677*:128:1:52:M*,N,W0,N,N,S: @Windows:XP:RFC1323:Windows XP/2000 (RFC1323 no tstamp) 678*:128:1:52:M*,N,W0,N,N,S: @Windows:2000:RFC1323:Windows XP/2000 (RFC1323 no tstamp) 679*:128:1:52:M*,N,W*,N,N,S: @Windows:XP:RFC1323:Windows XP/2000 (RFC1323 no tstamp) 680*:128:1:52:M*,N,W*,N,N,S: @Windows:2000:RFC1323:Windows XP/2000 (RFC1323 no tstamp) 681*:128:1:64:M*,N,W0,N,N,T0,N,N,S: @Windows:XP:RFC1323:Windows XP/2000 (RFC1323) 682*:128:1:64:M*,N,W0,N,N,T0,N,N,S: @Windows:2000:RFC1323:Windows XP/2000 (RFC1323) 683*:128:1:64:M*,N,W*,N,N,T0,N,N,S: @Windows:XP:RFC1323:Windows XP (RFC1323, w+) 684*:128:1:48:M536,N,N,S: @Windows:98::Windows 98 685*:128:1:48:M*,N,N,S: @Windows:XP::Windows XP/2000 686*:128:1:48:M*,N,N,S: @Windows:2000::Windows XP/2000 687 688 689