alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE HTA.BabyShark HTTP Exfil";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/upload.php";
http.request_body;
content:"filename=|22|ttmp1.log|22|"; fast_pattern;
content:"BEGIN|20|CERTIFICATE";
http.header_names;
content:!"Referer";
content:!"User-Agent";
reference:md5,94b60cf91e550e1d981aaf9962d52e18;
classtype:trojan-activity;
sid:2027377; rev:3;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_05_24, deployment Perimeter, malware_family BabyShark, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_08_31;
)