alert http any any -> $HOME_NET any (
msg:"ET HUNTING Symbolic Link (SLK) Excel XLM Macro";
flow:established,to_client;
http.response_body;
content:"ID|3b|P|0a|O|3b|E|0a|"; fast_pattern;
content:"NN|3b|NAuto_open|3b|"; distance:0;
content:"C|3b|"; distance:0;
pcre:"/^(?:X\d+\x3b)?Y\d+\x3b(?:N\x3b)?(?:K(?:TRUE|FALSE|\d+)\x3b)?E[A-Z]+(?:\x28|\x2e[A-Z]+\x28)/R";
reference:url,www.outflank.nl/blog/2019/10/30/abusing-the-sylk-file-format/;
classtype:misc-activity;
sid:2057162; rev:1;
metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, affected_product Mac_OSX, affected_product Windows_11, attack_target Client_Endpoint, tls_state plaintext, created_at 2024_10_31, deployment Perimeter, confidence High, signature_severity Major, updated_at 2024_10_31;
target:dest_ip;
)