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
- CTU-13 scenario 9 (Neris, 10 bots): Wed 2011-08-17 12:54-13:09 (UTC)
by archive · 157,478 packets · 24d ago
7 alertsOpen in viewer - CTU-13 scenario 9 (Neris, 10 bots): Wed 2011-08-17 12:24-12:39 (UTC)
by archive · 19,660 packets · 24d ago
1 alertOpen in viewer - CTU-13 scenario 9 (Neris, 10 bots): Wed 2011-08-17 12:39-12:54 (UTC)
by archive · 31,213 packets · 24d ago
2 alertsOpen in viewer - CTU-13 scenario 2: Neris botnet (botnet traffic only)
by archive · 176,064 packets · 24d ago
1 alertOpen in viewer - CTU-13 scenario 1: Neris botnet (botnet traffic only)
by archive · 323,154 packets · 24d ago
2 alertsOpen in viewer - CTU-13 scenario 8: Murlo botnet (botnet traffic only)
by archive · 85,735 packets · 24d ago
1 alertOpen in viewer - CTU-13 scenario 13: Virut botnet (botnet traffic only)
by archive · 440,625 packets · 24d ago
2 alertsOpen in viewer - CTU-13 scenario 5: Virut botnet (botnet traffic only)
by archive · 45,853 packets · 24d ago
1 alertOpen in viewer
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.