procmail nimda e-mail filter

Bryan Bradsby Bryan.Bradsby at capnet.state.tx.us
Wed Sep 19 06:37:47 UTC 2001


# Detect W32.nimda worm and move to /var/tmp/nimda.DATE.username
# w32.nimda.amm
#
:0 i
* ^Content-Type: multipart/related
* ^Content-Disposition: Multipart message
* ^Subject: .*Software\\Microsoft\\Windo.*$
{
        :0
        { DATE_=`date "+%Y%m%d"` }
        :0 B
        * ^Content-Type: audio/x-wav
        /var/tmp/nimda.$DATE_.$LOGNAME
}

recycled electrons from sircam...

-bryan bradsby

NOC: 512-475-2432
Texas State Government Net
--
Any technology distinguishable from magic is insufficiently advanced.




More information about the NANOG mailing list