ET HUNTING Suspicious EXE Download Content-Type image/jpeg


Query · suricata

flow:established,to_client;
flowbits:isnotset,ET.http.binary;
flowbits:isnotset,ET.INFO.WindowsUpdate;
flowbits:set,ET.http.binary;
http.content_type;
content:"image/jpeg"; depth:10; endswith;
file.data;
content:"MZ"; within:2;
byte_jump:4,58,relative,little;
content:"PE|00 00|"; distance:-64; within:4; fast_pattern;

Rule dependencies

Excludes

  • ET.http.binary — excluded, not a dependency
  • ET.INFO.WindowsUpdate — excluded, not a dependency

Feeds into

  • 28 rules read ET.http.binary · view all
Raw source ET HUNTING Suspicious EXE Download Content-Type image/jpeg · 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 HUNTING Suspicious EXE Download Content-Type image/jpeg";
    flow:established,to_client;
    flowbits:isnotset,ET.http.binary;
    flowbits:isnotset,ET.INFO.WindowsUpdate;
    flowbits:set,ET.http.binary;
    http.content_type;
    content:"image/jpeg"; depth:10; endswith;
    file.data;
    content:"MZ"; within:2;
    byte_jump:4,58,relative,little;
    content:"PE|00 00|"; distance:-64; within:4; fast_pattern;
    classtype:policy-violation;
    sid:2026537; rev:3;
    metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2018_10_23, deployment Perimeter, performance_impact Moderate, confidence Medium, signature_severity Major, updated_at 2020_09_16;
)

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.