alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET RETIRED Win32/MagicRAT CnC Checkin M1";
flow:established,to_server;
http.method;
content:"POST";
http.uri.raw;
content:"/adm_bord/login_new_check.php|25 32 30|"; bsize:32; fast_pattern;
http.header_names;
content:!"Referer";
http.request_body;
content:"session=";
pcre:"/^[a-z0-9]{19}/R";
content:"type=";
reference:url,blog.talosintelligence.com/2022/09/lazarus-magicrat.html;
reference:md5,b4c9b903dfd18bd67a3824b0109f955b;
classtype:trojan-activity;
sid:2038765; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, 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;
)