alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT Possible CVE-2017-0199 HTA Inbound M2";
flow:established,from_server;
http.content_type;
content:"application/hta"; bsize:15;
file.data;
content:"|2e 65 78 70 61 6e 64 45 6e 76 69 72 6f 6e 6d 65 6e 74 53 74 72 69 6e 67 73 28 22 25 41 50 50 44 41 54 41 25 22 29 20|";
content:"|4d 65 6e 75 5c 50 72 6f 67 72 61 6d 73 5c 53 74 61 72 74 75 70 5c|";
classtype:trojan-activity;
sid:2024193; rev:4;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product MS_Office, attack_target Client_Endpoint, created_at 2017_04_10, cve CVE_2017_0199, deployment Perimeter, performance_impact Low, confidence Medium, signature_severity Major, tag CISA_KEV, updated_at 2020_08_11;
)