ET SHELLCODE Unescape Variable Unicode Shellcode


Query · suricata

flow:established,to_client;
content:"= unescape|28|"; nocase;
content:"|5C|u"; nocase; within:3;
content:"|5C|u"; nocase; within:6;
pcre:"/var\x20[a-z,0-9]{1,30}\x20\x3D\x20unescape\x28.\x5Cu[a-f,0-9]{2,4}\x5Cu[a-f,0-9]{2,4}/i";
Raw source ET SHELLCODE Unescape Variable Unicode Shellcode · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $EXTERNAL_NET any -> $HOME_NET any (
    msg:"ET SHELLCODE Unescape Variable Unicode Shellcode";
    flow:established,to_client;
    content:"= unescape|28|"; nocase;
    content:"|5C|u"; nocase; within:3;
    content:"|5C|u"; nocase; within:6;
    pcre:"/var\x20[a-z,0-9]{1,30}\x20\x3D\x20unescape\x28.\x5Cu[a-f,0-9]{2,4}\x5Cu[a-f,0-9]{2,4}/i";
    reference:url,www.symantec.com/avcenter/reference/evolving.shell.code.pdf;
    classtype:shellcode-detect;
    sid:2012535; rev:3;
    metadata:created_at 2011_03_22, performance_impact Significant, confidence High, signature_severity Major, updated_at 2024_04_09;
)

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.