alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET RETIRED MSIL/PSW.Agent.STP Data Exfiltration Attempt";
flow:established,to_server;
http.method;
content:"POST";
http.content_type;
content:"multipart/form-data|3b 20|boundary|3d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d|";
pcre:"/^[a-f0-9]{15}/R";
http.request_body;
content:"|2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d|"; startswith;
pcre:"/^[a-f0-9]{15}/R";
content:"Content-Disposition|3a 20|form-data|3b 20|name|3d 22|file|22 3b 20|filename|3d 22|C|3a 5c|Users|5c|"; distance:0;
content:"|5c|AppData|5c|Roaming|5c|"; distance:0; within:100;
pcre:"/^\[[A-F0-9]{32}\]\x20\[\d{4}-\d{2}-\d{2}_\d{2}-\d{2}-\d{4}\]\x2ezip\x22/R";
content:"|0d 0a|Content-Type|3a 20|application/zip"; distance:0;
content:"|0d 0a 0d 0a|PK"; distance:0;
content:"Screen.jpg"; distance:0; within:200; fast_pattern;
reference:md5,34d48a426f395f40e12438cf2eea1c57;
classtype:trojan-activity;
sid:2044431; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2023_03_02, deployment Perimeter, former_category MALWARE, malware_family MSIL_PSW_Agent_STP, performance_impact Low, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_09_30, reviewed_at 2024_09_30;
)