GPL NETBIOS SMB msqueue unicode andx bind attempt


Query · suricata

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:"%"; depth:1; offset:39;
byte_jump:2,0,little,relative;
content:"&|00|"; within:2; distance:29;
content:"|5C 00|P|00|I|00|P|00|E|00 5C 00 00 00|"; distance:4; nocase;
byte_jump:2,-17,relative,from_beginning,little;
content:"|05|"; distance:4; within:1;
byte_test:1,!&,16,3,relative;
content:"|0B|"; within:1; distance:1;
content:"|B0 01|R|97 CA|Y|D0 11 A8 D5 00 A0 C9 0D 80|Q"; within:16; distance:29;
flowbits:set,smb.tree.bind.msqueue;
flowbits:noalert;

Rule dependencies

Feeds into

  • 18 rules read smb.tree.bind.msqueue · view all
Raw source GPL NETBIOS SMB msqueue unicode andx bind attempt · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert tcp $EXTERNAL_NET any -> $HOME_NET 139 (
    msg:"GPL NETBIOS SMB msqueue unicode andx bind 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:"%"; depth:1; offset:39;
    byte_jump:2,0,little,relative;
    content:"&|00|"; within:2; distance:29;
    content:"|5C 00|P|00|I|00|P|00|E|00 5C 00 00 00|"; distance:4; nocase;
    byte_jump:2,-17,relative,from_beginning,little;
    content:"|05|"; distance:4; within:1;
    byte_test:1,!&,16,3,relative;
    content:"|0B|"; within:1; distance:1;
    content:"|B0 01|R|97 CA|Y|D0 11 A8 D5 00 A0 C9 0D 80|Q"; within:16; distance:29;
    flowbits:set,smb.tree.bind.msqueue;
    flowbits:noalert;
    reference:cve,2003-0995;
    reference:url,www.eeye.com/html/Research/Advisories/AD20030910.html;
    reference:url,www.microsoft.com/technet/security/bulletin/MS03-026.mspx;
    classtype:protocol-command-decode;
    sid:2103166; rev:4;
    metadata:created_at 2010_09_23, cve CVE_2003_0995, confidence Medium, signature_severity Informational, updated_at 2019_07_26;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.