alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET MALWARE OtterCookie Host Profile Exfil";
flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"|2f|socket|2e|io|2f 3f|EIO|3d|"; startswith;
http.user_agent;
content:"node-XMLHttpRequest";
http.request_body;
content:"|7b 22|OS|22 3a 22|"; depth:22;
content:"|22 2c 22|platform|22 3a 22|"; distance:0;
content:"|22 2c 22|userInfo|22 3a 7b 22|uid|22 3a|"; distance:0; fast_pattern;
content:"|22 2c 22|homedir|22 3a 22|"; distance:0;
content:"|22 2c 22|shell|22 3a|"; distance:0;
reference:url,jp.security.ntt/tech_blog/en-contagious-interview-ottercookie;
classtype:command-and-control;
sid:2060631; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, tls_state plaintext, created_at 2025_03_05, deployment Perimeter, malware_family OtterCookie, confidence High, signature_severity Critical, tag c2, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2025_03_05, mitre_tactic_id TA0011, mitre_tactic_name Command_And_Control, mitre_technique_id T1071, mitre_technique_name Application_Layer_Protocol;
)