alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET EXPLOIT_KIT Parrot TDS Check";
flow:established,to_client;
content:"|3b|if|28|ndsw|3d 3d 3d|undefined|29 7b|function|20|"; fast_pattern;
content:"var|20|ndsw|3d|true|2c|HttpClient|3d|function|28 29 7b|var|20|"; distance:0;
content:"|3d|new|20|XMLHttpRequest|28 29 3b|"; distance:0;
threshold:type limit, track by_src, seconds 60, count 1;
reference:url,decoded.avast.io/janrubin/parrot-tds-takes-over-web-servers-and-threatens-millions;
classtype:trojan-activity;
sid:2038550; rev:2;
metadata:attack_target Client_Endpoint, created_at 2022_08_17, deployment Perimeter, deployment SSLDecrypt, performance_impact Low, confidence High, signature_severity Major, tag TDS, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_04_03, reviewed_at 2024_12_24;
)