alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET RETIRED Patchwork APT BADNEWS Variant CnC Checkin M1";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php"; endswith;
http.user_agent;
content:"Mozilla/5.0"; bsize:11;
http.header_names;
content:"|0d 0a|Content-Type|0d 0a|User-Agent|0d 0a|Host|0d 0a|Content-Length|0d 0a 0d 0a|"; bsize:52;
http.request_body;
content:"qadc="; fast_pattern; startswith;
content:"&ghjk="; distance:0;
content:"&edcaa="; distance:0;
content:"&qcsnry="; distance:0;
content:"&zqxwce="; distance:0;
content:"&ghffh="; distance:0;
content:"&olmn="; distance:0;
threshold:type limit, track by_src, count 1, seconds 120;
reference:md5,26139754438dac37114fe4d273547078;
classtype:trojan-activity;
sid:2044111; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2023_02_03, deployment Perimeter, former_category MALWARE, malware_family Patchwork, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_09_30, reviewed_at 2024_09_30;
)