alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE X-Files Stealer CnC Exfil Activity M2";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php?Chatid=";
http.content_type;
content:"multipart/form-data|3b 20|boundary=|22|"; startswith;
content:"|2d|"; distance:8; within:1;
content:"|2d|4"; distance:4; within:2;
content:"|2d|"; distance:3; within:1;
content:"|2d|"; distance:4; within:1;
content:"|22|"; distance:12; within:1; bsize:68;
http.header_names;
content:!"|0d 0a|User-Agent|0d 0a|";
content:!"|0d 0a|Referer|0d 0a|";
http.request_body;
content:"|0d 0a|Content|2d|Disposition|3a 20|form|2d|data|3b 20|name|3d|file|3b 20|filename|3d|q|3b 20|filename|2a 3d|utf|2d|8|27 27|q|0d 0a 0d 0a|PK|03 04|"; fast_pattern;
reference:md5,c128193024853118bd07d4a4e89200bf;
classtype:command-and-control;
sid:2037743; rev:1;
metadata:created_at 2022_07_12, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2022_07_12;
)