alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_CLIENT The Browser Exploitation Framework (BeEF) Related JS Activity (css history)";
flow:established,to_client;
file.data;
content:"var|20|_ec_history|20 3d 20|"; fast_pattern;
content:"var|20|_ec_tests|20 3d 20|"; distance:0;
content:"var|20|_ec_debug|20 3d 20|"; distance:0;
reference:url,beefproject.com/;
classtype:attempted-user;
sid:2052505; rev:1;
metadata:attack_target Client_Endpoint, created_at 2024_05_08, deployment Perimeter, performance_impact Low, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_05_08, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1189, mitre_technique_name Drive_by_Compromise;
target:dest_ip;
)