ET RETIRED Win32/MagicRAT CnC Checkin M2


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.uri.raw;
content:"/adm_bord/login_new_check.php|25 32 30|"; bsize:32;
http.header_names;
content:!"Referer";
http.content_type;
content:"boundary|3d 22|boundary_.oOo._";
http.request_body;
content:"--boundary_.oOo._"; startswith;
content:"name|3d 22|type|22 3b|";
content:"name|3d 22|id|22 3b 0d 0a 0d 0a|";
pcre:"/^[a-f0-9]{32}/R";
content:"name|3d 22|session|22 3b 0d 0a 0d 0a|";
pcre:"/^[a-z0-9]{19}/R";
content:"name|3d 22|file|22 3b 20|filename|3d 22|";
pcre:"/^[a-f0-9]{32}\.gif\"/R";
content:"information|24 24 24|"; fast_pattern;
Raw source ET RETIRED Win32/MagicRAT CnC Checkin 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 RETIRED Win32/MagicRAT CnC Checkin M2";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.uri.raw;
    content:"/adm_bord/login_new_check.php|25 32 30|"; bsize:32;
    http.header_names;
    content:!"Referer";
    http.content_type;
    content:"boundary|3d 22|boundary_.oOo._";
    http.request_body;
    content:"--boundary_.oOo._"; startswith;
    content:"name|3d 22|type|22 3b|";
    content:"name|3d 22|id|22 3b 0d 0a 0d 0a|";
    pcre:"/^[a-f0-9]{32}/R";
    content:"name|3d 22|session|22 3b 0d 0a 0d 0a|";
    pcre:"/^[a-z0-9]{19}/R";
    content:"name|3d 22|file|22 3b 20|filename|3d 22|";
    pcre:"/^[a-f0-9]{32}\.gif\"/R";
    content:"information|24 24 24|"; fast_pattern;
    reference:url,blog.talosintelligence.com/2022/09/lazarus-magicrat.html;
    reference:md5,b4c9b903dfd18bd67a3824b0109f955b;
    classtype:trojan-activity;
    sid:2038766; rev:2;
    metadata:attack_target Client_Endpoint, created_at 2022_09_07, deployment Perimeter, former_category MALWARE, malware_family MagicRAT, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_09_17, reviewed_at 2024_09_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.