[Esd-l] Badtrans worm signature trap for local-rules.procmail

John D. Hardin jhardin at impsec.org
Mon Nov 26 10:16:01 PST 2001

Poking through all of the badtrans samples in my quarantine (sheesh!)
I've picked out what may be a rule for detecting it. It doesn't have
any base64 strings (any volunteers?), but the attachment does appear
to have a good signature in the boundary and Content-ID header, which
is consistent across all samples I have.

Comments solicited.

# Trap BadTrans? (signature as of 11/26/2001)
* > 40000
* < 50000
* ^Subject:.*Re:
* ^Content-Type:.*multipart/related;
* ^Content-Type:.*multipart/alternative; boundary="====_ABC0987654321DEF_===="
        :0 B hfi
        * ^Content-Type: audio/x-wav;
        * ^Content-ID: <EA4DMGBP9p>
        * ^Content-Transfer-Encoding: base64
        | formail -A "X-Content-Security: [$HOST] NOTIFY" \
                  -A "X-Content-Security: [$HOST] QUARANTINE" \
                  -A "X-Content-Security: [$HOST] REPORT: Trapped
BadTrans worm - see

 John Hardin KA7OHZ    ICQ#15735746    http://www.impsec.org/~jhardin/
 jhardin at impsec.org                       pgpk -a jhardin at wolfenet.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.
   1072 days until the Presidential Election

More information about the esd-l mailing list