Project

General

Profile

Download (714 Bytes) Statistics
| Branch: | Tag: | Revision:
1
# Samba/SMB - Server Message Block - Microsoft Windows filesharing
2
# Pattern attributes: good fast notsofast
3
# Protocol groups: document_retrieval networking proprietary
4
# Wiki: http://www.protocolinfo.org/wiki/SMB
5
# Copyright (C) 2008 Matthew Strait, Ethan Sommer; See ../LICENSE
6
#
7
# "This protocol is sometimes also referred to as the Common Internet File 
8
# System (CIFS), LanManager or NetBIOS protocol." -- "man samba"
9
#
10
# Actually, SMB is a higher level protocol than NetBIOS.  However, the 
11
# NetBIOS header is only 4 bytes: not much to match on.
12
#
13
# http://www.ubiqx.org/cifs/SMB.html
14
#
15
# This pattern is lightly tested.
16

    
17
smb
18
# matches a NEGOTIATE PROTOCOL or TRANSACTION REQUEST command
19
\xffsmb[\x72\x25]
(112-112/149)