/etc/prads/tcp-clients.sig is in prads 0.3.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | ############################################################################
#
# PRADS - Passive Real-time Asset Detection System
# - TCP client signature list
#
# This contains a database of device signatures to be used with
# Passive Real-time Asset Detection System.
#
# Format:
# <service>,<version info>,<signature>
#
# Service: This describes the service name used by the signature.
# Examples would include SSH, HTTP, SMTP, etc.
#
# Version Info: This contains a NMAP-like template for the service
# discovered by the signature. The field follows this format:
# v/vendorproductname/version/info/
#
# Signature: This is a PCRE compatable regular expression without the
# surrounding /'s. The signature should have one or two sets of ()'s
# depending on the Version Info field.
#
# Matching: The matching rutine starts with the first signature in this
# file and ends with the last signature in this file. If a match is
# found, no more signatures will be checked.
# The signatures that you think will match the most in your environment,
# should be on top in this file. Wildcards/Fallback (.* etc) signatures
# should be the last signatures in a match signature group.
#
############################################################################
####### OFTEN USED CLIENTS #################################################
############################################################################
####### User-Agent Section START ###########################################
# From tests 28 jan 2010: Seems like fallback sigs does better overall
# performance vs detection. Fallback would get close to 100% agents, while
# spesific agents would just match for single agents. Though performace
# showing that 6 spesific sigs uses 22% time in client_tcp4() while using
# the 3 fallback sigs, uses 24 % on my test pcaps in client_tcp4().
# Conclusion: Higher detection rate and a small increase in resources
### Often used User-Agents
# Mozilla
#http,v/Mozilla Browser/$1/$2/,User-Agent\x3a Mozilla\/(.*)\r\n
### Moderate used User-Agents
# Opera
#http,v/Opera/$1/$2/,User-Agent\x3a Opera\/(.*)\r\n
### Little used User-Agents
## CUPS
#http,v/Cups Client/$1//,User-Agent\x3a CUPS\/(.*)\r\n
## Perl
#http,v/Perl LWP/$1/$2,lwp-request\/([.\d]+) libwww-perl/([.\d]+)
#http,v/Perl LWP/$1//,User-Agent\x3a lwp-request\/([.\d]+)
## Mozilla
#http,v/Mozilla/$1/$2/,User-Agent: (Mozilla-)?Thunderbird (.*)
### User-Agent fallbacks
#http,v/User-Agent: /$1//,User-Agent\x3A (.*)[\0x1F\r\n]
#http,v/User-Agent: /$1//,User-Agent\x3A (.*)\0x1F
#http,v/User-Agent: /$1//,User-Agent\x3a (.*)\r
#http,v/User-Agent: /$1//,User-Agent\x3a (.*)\n
# After some testing today, I propose new sigs:
#http,v/User-Agent1:/$1//,User-Agent\x3A ([.+-]+)\0x1F
#http,v/User-Agent2:/$1/$2/,User-Agent\x3A (.*)[+-](.*)\r
#http,v/User-Agent3:/$1/$2/,User-Agent\x3A (.*)[+-](.*)\n
#http,v/User-Agent4:/$1//,User-Agent\x3a (.*)\r
#http,v/User-Agent5:/$1//,User-Agent\x3a (.*)\n
http,v/$1///,User-Agent\x3A ([.+-]+)\0x1F
http,v/$1//$2/,User-Agent\x3A (.*)[+-](.*)\r
http,v/$1//$2/,User-Agent\x3A (.*)[+-](.*)\n
http,v/$1///,User-Agent\x3a (.*)\r
http,v/$1///,User-Agent\x3a (.*)\n
####### User-Agent Section END #############################################
####### MODERATE USED CLIENTS ##############################################
############################################################################
####### SSH Section START ##################################################
# SSH
ssh,v/OpenSSH/$2/Protocol $1/,SSH-([.\d]+)-OpenSSH[_-](\S+)
ssh,v/libssh/$2/Protocol $1/,SSH-([.\d]+)-libssh-(\S+)
ssh,v/PuTTY/$2/Protocol $1/,SSH-([.\d]+)-PuTTY_(\S+)
####### SSH Section END ####################################################
####### TLS/SSL Section START ##############################################
ssl,v/TLS 1.0 Client Hello///,^\x16\x03\x01..\x01...\x03\x01
ssl,v/TLS 1.0 Client Key Exchange///,^\x16\x03\x01..\x10...\x14\x03\x01..
ssl,v/SSL 2.0 Client Hello///,^..\x01\x03\x01..\0\0
#ssl,v/OpenSSL///,^\x16\x03\0\0J\x02\0\0F\x03\0
####### TLS/SSL Section END ################################################
####### LITTLE USED CLIENTS ################################################
############################################################################
####### SMTP Section START #################################################
#smtp,v/X-Mailer/$1//,X-Mailer: (.*)[\r\n]
####### SMTP Section END #################################################
#mysql,v/MySQL Login Request(Char:latin1)///,^..\x00\x01\..[\x03\x01]\x00\x00\x00\x00.\x08
#mysql,v/MySQL Request Query (SET NAMES)///,^.\x00\x00\x00\x03SET NAMES utf8$
#mysql,v/MySQL Request Query (SELECT)///,^..\x00\x00\x03\x53\x45\x4c\x45\x43\x54\x20\x60
#ldap,v/LDAP_START_TLS_OID///,^\x30\x1d\x02\x01\x01\x77\x18\x80\x16\x31\x2e\x33\x2e\x36\x2e\x31\x2e\x34\x2e\x31\x34\x36\x36\x2e\x32\x30\x30\x33\x37
############################################################################
|