ET EXPLOIT_KIT Possible PurpleFox EK Redirect M2


Query · suricata

flow:established,to_client;
http.stat_code;
content:"302";
http.location;
content:"?key="; fast_pattern;
content:"&id="; distance:16; within:4;
content:"&gid=";
pcre:"/key=[A-F0-9]{16}&id=\d+&gid=[A-F0-9\-]+$/";
file.data;
content:"<body>";
content:"<a HREF=|22|http"; distance:0;
content:"?key="; within:400;
pcre:"/^[A-F0-9]{16}(?:&|&amp\x3b)id=\d+(?:&|&amp\x3b)gid=[A-F0-9\-]+\x22>/R";
content:!"<html>";
Raw source ET EXPLOIT_KIT Possible PurpleFox EK Redirect M2 · 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 EXPLOIT_KIT Possible PurpleFox EK Redirect M2";
    flow:established,to_client;
    http.stat_code;
    content:"302";
    http.location;
    content:"?key="; fast_pattern;
    content:"&id="; distance:16; within:4;
    content:"&gid=";
    pcre:"/key=[A-F0-9]{16}&id=\d+&gid=[A-F0-9\-]+$/";
    file.data;
    content:"<body>";
    content:"<a HREF=|22|http"; distance:0;
    content:"?key="; within:400;
    pcre:"/^[A-F0-9]{16}(?:&|&amp\x3b)id=\d+(?:&|&amp\x3b)gid=[A-F0-9\-]+\x22>/R";
    content:!"<html>";
    reference:url,twitter.com/nao_sec/status/1378546891349106692;
    classtype:exploit-kit;
    sid:2032480; rev:1;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2021_04_05, deployment Perimeter, malware_family PurpleFox, confidence Medium, signature_severity Major, tag Exploit_Kit, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2021_04_05;
)

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.