High severityET MALWAREActive in PcapHub scans

ET MALWARE Possible Windows executable sent when remote host claims to send a Text File

SID 2062740 · rev 26 · classtype trojan-activity

What this signature means

An HTTP response declared itself a text file in Content-Type but the body starts with MZ, the beginning of a Windows executable. Servers that lie about the type are hiding executables from filters that trust headers; this is a reliable malware delivery indicator. Look at the request and the host that received the file.

A malware rule: it flags traffic produced by a known malicious program, such as a check-in with its operator, a payload download or data being sent out.

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 Content-Type header starts with "text/plain" (case-insensitive)
  • 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 major with medium confidence.

Good to know

  • Only fires when no earlier rule in the flow set the flag ET.Adobe.Site.Download.
  • Only fires when no earlier rule in the flow set the flag ET.ZoneAlarm.Site.Download.
  • Only fires when no earlier rule in the flow set the flag ET.QuickenUpdater.
  • Only fires when no earlier rule in the flow set the flag ET.Symantec.Site.Download.
  • Only fires when no earlier rule in the flow set the flag ET.Maas.Site.Download.
  • Only fires when no earlier rule in the flow set the flag ET.Mcafee.Site.Download.
  • Active in PcapHub's scan set: every uploaded capture is checked against it.

Public captures that trigger it8

Rule

alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"ET MALWARE Possible Windows executable sent when remote host claims to send a Text File"; flow:established,to_client; flowbits:isnotset,ET.Adobe.Site.Download; flowbits:isnotset,ET.ZoneAlarm.Site.Download; flowbits:isnotset,ET.QuickenUpdater; flowbits:isnotset,ET.Symantec.Site.Download; flowbits:isnotset,ET.Maas.Site.Download; flowbits:isnotset,ET.Mcafee.Site.Download; http.content_type; content:"text/plain"; nocase; startswith; file.data; content:"MZ"; within:2; byte_jump:4,58,relative,little; content:"PE|00 00|"; fast_pattern; distance:-64; within:4; classtype:trojan-activity; sid:2062740; rev:26; metadata:created_at 2010_07_30, confidence Medium, signature_severity Major, updated_at 2025_06_04;)

Emerging Threats Open. Rule created Jul 30, 2010. Last revised by ET Jun 4, 2025. Text on PcapHub refreshed 7mo ago.