ET MALWARE Possible Magecart Credit Card Information JS Script


Query · suricata

flow:established,to_client;
http.stat_code;
content:"200";
http.content_type;
content:"application/javascript"; depth:22; endswith;
file.data;
content:"|20|Sxml_cc_cid"; nocase;
content:"Sxml_cc_number"; nocase; distance:0;
content:"Sxml_expiration_yr"; nocase; distance:0;
content:"ccnum+|22 3b 22|+exp_m+|22 3b 22|+exp_y+|22 3b 22|+cvv"; distance:0; fast_pattern; nocase;
Raw source ET MALWARE Possible Magecart Credit Card Information JS Script · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $EXTERNAL_NET any -> $HOME_NET any (
    msg:"ET MALWARE Possible Magecart Credit Card Information JS Script";
    flow:established,to_client;
    http.stat_code;
    content:"200";
    http.content_type;
    content:"application/javascript"; depth:22; endswith;
    file.data;
    content:"|20|Sxml_cc_cid"; nocase;
    content:"Sxml_cc_number"; nocase; distance:0;
    content:"Sxml_expiration_yr"; nocase; distance:0;
    content:"ccnum+|22 3b 22|+exp_m+|22 3b 22|+exp_y+|22 3b 22|+cvv"; distance:0; fast_pattern; nocase;
    classtype:credential-theft;
    sid:2029073; rev:2;
    metadata:affected_product Web_Browsers, attack_target Client_Endpoint, created_at 2019_11_27, deployment Perimeter, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2020_10_23;
)

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.