alert http $HOME_NET any -> $EXTERNAL_NET any (
msg:"ET WEB_CLIENT XHR POST Request - Possible Form Grabber Activity";
flow:established,to_server;
http.method;
content:"POST";
http.request_body;
content:"info="; depth:5;
pcre:"/^(?:[A-Z0-9+/]{4})*(?:[A-Z0-9+/]{2}==|[A-Z0-9+/]{3}=|[A-Z0-9+/]{4})/Ri";
content:"&hostname="; distance:0; fast_pattern;
content:"&key="; distance:0;
http.content_type;
content:"application|2f|x-www-form-urlencoded";
reference:url,www.symantec.com/content/dam/symantec/docs/security-center/white-papers/istr-formjacking-deep-dive-en.pdf;
classtype:trojan-activity;
sid:2027818; rev:3;
metadata:affected_product Web_Browsers, attack_target Client_Endpoint, created_at 2019_08_07, deployment Perimeter, deployment SSLDecrypt, performance_impact Low, confidence Medium, signature_severity Major, tag CardSkimmer, updated_at 2020_08_31;
)