alert http $EXTERNAL_NET any -> $HOME_NET any (
msg:"ET WEB_CLIENT PWNJS JS Constructs";
flow:established,from_server;
file_data;
content:"base_lo";
content:"base_hi";
content:"fake_object"; fast_pattern;
pcre:"/^\s*?\[\s*?\d/Rs";
content:"i32";
pcre:"/^\s*?\[\s*?\d/Rs";
content:"f64";
pcre:"/^\s*?\[\s*?\d/Rs";
content:"array_addr";
reference:url,raw.githubusercontent.com/theori-io/pwnjs/;
classtype:attempted-user;
sid:2024994; rev:1;
metadata:affected_product Web_Browsers, attack_target Client_Endpoint, created_at 2017_11_15, deployment Perimeter, performance_impact Moderate, signature_severity Major, updated_at 2019_07_26;
)