GPL NETBIOS SMB OpenKey little endian overflow attempt


Query · suricata

flow:established,to_server;
flowbits:isset,smb.tree.bind.winreg;
content:"|00|"; depth:1;
content:"|FF|SMB%"; within:5; distance:3;
byte_test:1,!&,128,6,relative;
content:"&|00|"; within:2; distance:56;
content:"|5C|PIPE|5C 00|"; distance:4; nocase;
byte_jump:2,-17,relative,from_beginning,little;
isdataat:4,relative;
content:"|05|";
byte_test:1,&,16,3,relative;
content:"|00|"; within:1; distance:1;
content:"|0F 00|"; within:2; distance:19;
byte_test:2,>,1024,20,relative,little;

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

  • correlates · Suricata flowbits smb.tree.bind.winreg
    24 rules · view all
Raw source GPL NETBIOS SMB OpenKey little endian overflow 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 OpenKey little endian overflow attempt";
    flow:established,to_server;
    flowbits:isset,smb.tree.bind.winreg;
    content:"|00|"; depth:1;
    content:"|FF|SMB%"; within:5; distance:3;
    byte_test:1,!&,128,6,relative;
    content:"&|00|"; within:2; distance:56;
    content:"|5C|PIPE|5C 00|"; distance:4; nocase;
    byte_jump:2,-17,relative,from_beginning,little;
    isdataat:4,relative;
    content:"|05|";
    byte_test:1,&,16,3,relative;
    content:"|00|"; within:1; distance:1;
    content:"|0F 00|"; within:2; distance:19;
    byte_test:2,>,1024,20,relative,little;
    reference:bugtraq,1331;
    reference:cve,2000-0377;
    classtype:attempted-admin;
    sid:2103219; rev:4;
    metadata:created_at 2010_09_23, cve CVE_2000_0377, 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.