ET MALWARE PunkeyPOS HTTP CnC Beacon 9


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:".php";
http.request_body;
content:"action="; depth:7;
content:"&uid="; distance:0;
content:"key="; distance:0; fast_pattern;
pcre:"/&(?:un)?key=[A-Z]+$/";
http.header_names;
content:!"Accept-";
content:!"Referer|0d 0a|";
Raw source ET MALWARE PunkeyPOS HTTP CnC Beacon 9 · Suricata
Esc
Published by Emerging Threats Open ↗, licensed under BSD 3-Clause ↗. Line breaks added for readability; the rule is otherwise unchanged.
alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"ET MALWARE PunkeyPOS HTTP CnC Beacon 9";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.uri;
    content:".php";
    http.request_body;
    content:"action="; depth:7;
    content:"&uid="; distance:0;
    content:"key="; distance:0; fast_pattern;
    pcre:"/&(?:un)?key=[A-Z]+$/";
    http.header_names;
    content:!"Accept-";
    content:!"Referer|0d 0a|";
    reference:url,trustwave.com/Resources/SpiderLabs-Blog/New-POS-Malware-Emerges---Punkey/;
    reference:md5,aa87ab0c51887b86b48c009931dcc410;
    classtype:command-and-control;
    sid:2021168; rev:3;
    metadata:attack_target Client_Endpoint, created_at 2015_05_29, deployment Perimeter, signature_severity Major, tag c2, updated_at 2020_05_22, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;
)

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.