alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET MALWARE JS/Comm100 Trojan Backdoor Inbound";
flow:established,to_client;
http.stat_code;
content:"200";
http.content_type;
content:"application/javascript";
http.response_body;
content:"|28 28 29 3d 3e 7b|var"; startswith; fast_pattern;
content:"|3d 5b 22 22 2c 22|split|22 2c 22|"; distance:0;
content:"indexOf|22 2c 22 22 2c 22 22 2c 22 2e 22 2c 22|pow|22 2c 22|reduce|22 2c 22|reverse|22 2c 22|0|22 5d|"; distance:0;
reference:url,crowdstrike.com/blog/new-supply-chain-attack-leverages-comm100-chat-installer;
classtype:trojan-activity;
sid:2039089; rev:2;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2022_10_04, deployment Perimeter, malware_family JS_Comm100, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2023_04_19, reviewed_at 2024_01_26;
)