High severityET INFOActive in PcapHub scans

ET INFO PE EXE or DLL Windows file download HTTP

SID 2018959 · rev 6 · classtype policy-violation

What this signature means

An HTTP response delivered a Windows executable (an MZ header followed by a PE header). Downloading programs over plain HTTP is common and often fine, which is why this is informational, but it is the pivot point for most malware investigations: find the request that fetched it, the server, and what the host did next.

An informational rule: traffic worth knowing about that is not an attack by itself. Traffic that usually breaks an organisation's acceptable-use or security policy rather than indicating a compromise.

Written by the PcapHub team.

What it watches

HTTP traffic from an outside host to a monitored host, in an established connection, from server to client.

It fires when

  • the transferred file contents contains "MZ" (within 2 bytes of the previous match)
  • a byte-level check on the payload (byte_jump)
  • the transferred file contents contains "PE|00 00|" (bytes between | | are hexadecimal) (within 4 bytes of the previous match)

What Emerging Threats says

  • Emerging Threats rates it informational with high confidence.

Good to know

  • Only fires when no earlier rule in the flow set the flag ET.http.binary.
  • Only fires when no earlier rule in the flow set the flag ET.INFO.WindowsUpdate.
  • Active in PcapHub's scan set: every uploaded capture is checked against it.

Public captures that trigger it10

Rule

alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"ET INFO PE EXE or DLL Windows file download HTTP"; flow:established,to_client; flowbits:isnotset,ET.http.binary; flowbits:isnotset,ET.INFO.WindowsUpdate; flowbits:set,ET.http.binary; file.data; content:"MZ"; within:2; byte_jump:4,58,relative,little; content:"PE|00 00|"; distance:-64; within:4; classtype:policy-violation; sid:2018959; rev:6; metadata:created_at 2014_08_19, confidence High, signature_severity Informational, updated_at 2024_03_14;)

Emerging Threats Open. Rule created Aug 19, 2014. Last revised by ET Mar 14, 2024. Text on PcapHub refreshed 7mo ago.