alert tcp $EXTERNAL_NET any -> $HOME_NET 139 (
msg:"GPL NETBIOS SMB NT Trans NT CREATE unicode andx SACL overflow attempt";
flow:established,to_server;
content:"|00|"; depth:1;
content:"|FF|SMB"; within:4; distance:3;
pcre:"/^(\x75|\x2d|\x2f|\x73|\xa2|\x2e|\x24|\x74)/sR";
byte_test:1,&,128,6,relative;
content:"|A0|"; depth:1; offset:39;
byte_jump:2,0,little,relative;
content:"|01 00|"; within:2; distance:37;
byte_jump:4,-7,little,relative,from_beginning;
content:!"|00 00 00 00|"; within:4; distance:16;
byte_jump:4,16,relative,little;
byte_test:4,>,32,-16,relative,little;
reference:cve,2004-1154;
classtype:protocol-command-decode;
sid:2103029; rev:6;
metadata:created_at 2010_09_23, cve CVE_2004_1154, confidence Medium, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2019_07_26;
)