procmail
[Top] [All Lists]

Re: [Esd-l] X-Unsent: header as way of recognizing mass mailing worms

2001-11-29 08:18:54
On Wed, 28 Nov 2001, Brett Glass wrote:

I've recently noticed that only transmissions by worms (Badtrans.B
and Nimda.E) seem to contain an X-Unsent: header. Because it's
characteristic of several worms, it may be that worm writers are
re-using code that inserts it. It might be useful to have a local
recipe that checks for this header and quarantines.

Okay:


#
:0
* ^MIME-Version: 
* ^Content-Type:.*multipart/
* ^X-MSMail
* ^X-Unsent: 
| formail -A "X-Content-Security: [$HOST] NOTIFY" \
          -A "X-Content-Security: [$HOST] QUARANTINE" \
          -A "X-Content-Security: [$HOST] REPORT: Trapped mail with
suspicious X-Unsent: header"


I added the MSMail header to try to limit the scope of this a bit, as
the Unsent header may be used legitimately by non-MS mailers.

Again, if you're not using the Sanitizer, substitute your own
quarantine action code in place of the formail call.

--
 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 jhardin(_at_)impsec(_dot_)org                       pgpk -a 
jhardin(_at_)wolfenet(_dot_)com
  768: 0x41EA94F5 - A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
 1024: 0xB8732E79 - 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  In 1998 more than three times as many people in the US were killed
  by incompetent physicians than were killed by handguns, yet the
  President of the A.M.A. is adopting "gun safety" as his platform.
-----------------------------------------------------------------------
   1069 days until the Presidential Election


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>