ET MALWARE Win32/Amadey Bot Activity (POST) M2


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php"; endswith;
http.content_type;
content:"application|2f|x|2d|www|2d|form|2d|urlencoded";
http.host;
pcre:"/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/";
http.request_body;
content:"id="; startswith;
pcre:"/^(?:[0-9]{12})/R";
content:"&vs="; within:4; fast_pattern;
pcre:"/(?:\d\x2e\d\d)/R";
content:"&sd="; within:4;
pcre:"/^(?:[a-z0-9]{6})/R";
content:"&os="; within:4;
content:"&bi="; distance:1; within:4;
content:"&ar="; distance:1; within:4;
content:"&pc="; distance:1; within:4;
content:"&un=";
content:"&av=";
content:"&lv=";
content:"&og=";
isdataat:!2,relative;
Raw source ET MALWARE Win32/Amadey Bot Activity (POST) M2 · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"ET MALWARE Win32/Amadey Bot Activity (POST) M2";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.uri;
    content:".php"; endswith;
    http.content_type;
    content:"application|2f|x|2d|www|2d|form|2d|urlencoded";
    http.host;
    pcre:"/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/";
    http.request_body;
    content:"id="; startswith;
    pcre:"/^(?:[0-9]{12})/R";
    content:"&vs="; within:4; fast_pattern;
    pcre:"/(?:\d\x2e\d\d)/R";
    content:"&sd="; within:4;
    pcre:"/^(?:[a-z0-9]{6})/R";
    content:"&os="; within:4;
    content:"&bi="; distance:1; within:4;
    content:"&ar="; distance:1; within:4;
    content:"&pc="; distance:1; within:4;
    content:"&un=";
    content:"&av=";
    content:"&lv=";
    content:"&og=";
    isdataat:!2,relative;
    reference:md5,994d25b3209fa062f133ffaefac6da71;
    reference:url,twitter.com/phage_nz/status/1658627716915273733;
    classtype:trojan-activity;
    sid:2045751; rev:1;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2023_05_17, deployment Perimeter, malware_family Amadey, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2023_05_17;
)

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.