ET MALWARE MagikPOS CnC Beacon


Query · suricata

flow:established,to_server;
http.method;
content:"POST";
http.uri;
content:"/api/?act=in"; fast_pattern;
pcre:"/\/api\/\?act=in$/";
http.request_body;
pcre:"/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/";
http.header_names;
content:!"User-Agent|0d 0a|";
content:!"Content-Type|0d 0a|";
content:!"Accept";
content:!"Referer|0d 0a|";
Raw source ET MALWARE MagikPOS CnC Beacon · 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 MagikPOS CnC Beacon";
    flow:established,to_server;
    http.method;
    content:"POST";
    http.uri;
    content:"/api/?act=in"; fast_pattern;
    pcre:"/\/api\/\?act=in$/";
    http.request_body;
    pcre:"/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/";
    http.header_names;
    content:!"User-Agent|0d 0a|";
    content:!"Content-Type|0d 0a|";
    content:!"Accept";
    content:!"Referer|0d 0a|";
    reference:md5,121c1008d54e91db66feaf67b3d4084e;
    reference:url,blog.trendmicro.com/trendlabs-security-intelligence/majikpos-combines-pos-malware-and-rats/;
    classtype:command-and-control;
    sid:2024067; rev:3;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2017_03_16, deployment Perimeter, malware_family MagikPOS, confidence High, signature_severity Major, tag POS, tag c2, updated_at 2020_10_08, 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.