GPL NETBIOS SMB-DS winreg andx bind attempt


Query · suricata

flow:established,to_server;
flowbits:isset,smb.tree.create.winreg;
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|PIPE|5C 00|"; distance:4; nocase;
byte_jump:2,-10,relative,from_beginning;
pcre:"/^.{4}/R";
content:"|05|"; within:1;
content:"|0B|"; within:1; distance:1;
content:"|01 D0 8C|3D|22 F1|1|AA AA 90 00|8|00 10 03|"; within:16; distance:29;
flowbits:set,smb.tree.bind.winreg;

Rule dependencies

Higher-order rule. It fires on other rules' alerts, not on raw events, so it cannot fire on its own. Deploy the rules it depends on too.

Depends on

Feeds into

  • 32 rules read smb.tree.bind.winreg · view all
Raw source GPL NETBIOS SMB-DS winreg 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 445 (
    msg:"GPL NETBIOS SMB-DS winreg andx bind attempt";
    flow:established,to_server;
    flowbits:isset,smb.tree.create.winreg;
    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|PIPE|5C 00|"; distance:4; nocase;
    byte_jump:2,-10,relative,from_beginning;
    pcre:"/^.{4}/R";
    content:"|05|"; within:1;
    content:"|0B|"; within:1; distance:1;
    content:"|01 D0 8C|3D|22 F1|1|AA AA 90 00|8|00 10 03|"; within:16; distance:29;
    flowbits:set,smb.tree.bind.winreg;
    classtype:protocol-command-decode;
    sid:2102990; rev:5;
    metadata:created_at 2010_09_23, confidence Medium, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, 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.