Image-only adult themed spam

Lately there is a new batch of spam going out that tends to use adult themed subjects, but has no content in the body aside from a single image.

It has been reported that this SpamAssassin rule helps:

header __CTYPE_MULTIPART_MXD Content-Type =~ /multipart\/mixed/i
mimeheader __ANY_TEXT_ATTACH Content-Type =~ /text\/\w+/i
meta MIME_IMAGE_ONLY (__CTYPE_MULTIPART_MXD && __ANY_IMAGE_ATTACH && !__ANY_TEXT_ATTACH)
score MIME_IMAGE_ONLY 2.00
describe MIME_IMAGE_ONLY Image body part but no text body parts

To use it, copy these five lines into the bottom of your \Mdaemon\SpamAssassin\rules\local.cf file, then either restart Mdaemon or create a mdspamd.sem file in the \Mdaemon\App\ directory.

You may want to tweak the “Score”, but start with 2.0 as this rule hasn’t been aggressively tested so there is a higher risk of false positives then with the default SpamAssassin rules.

Lastly, it’s also worth mentioning that Outbreak Protection (part of SecurityPlus 4 and higher) is flagging these messages as spam.

UPDATE 2009/05/19: The above rule only works in Mdaemon 10 and higher, for earlier versions, you’ll need one more line:

mimeheader __ANY_IMAGE_ATTACH Content-Type =~ /image\/(?:gif|jpeg|png)/
(Thanks goes to “Greg Vancardo” for tracking this one down)

Mdaemon.com/~ff/EverythingMdaemon?a=aV4n2KIR3j8:Nc6DDfCzSfA:yIl2AUoC8zA”>Mdaemon?d=yIl2AUoC8zA” border=”0″> Mdaemon.com/~ff/EverythingMdaemon?a=aV4n2KIR3j8:Nc6DDfCzSfA:F7zBnMyn0Lo”>Mdaemon?i=aV4n2KIR3j8:Nc6DDfCzSfA:F7zBnMyn0Lo” border=”0″> Mdaemon.com/~ff/EverythingMdaemon?a=aV4n2KIR3j8:Nc6DDfCzSfA:V_sGLiPBpWU”>Mdaemon?i=aV4n2KIR3j8:Nc6DDfCzSfA:V_sGLiPBpWU” border=”0″> Mdaemon.com/~ff/EverythingMdaemon?a=aV4n2KIR3j8:Nc6DDfCzSfA:qj6IDK7rITs”>Mdaemon?d=qj6IDK7rITs” border=”0″> Mdaemon.com/~ff/EverythingMdaemon?a=aV4n2KIR3j8:Nc6DDfCzSfA:gIN9vFwOqvQ”>Mdaemon?i=aV4n2KIR3j8:Nc6DDfCzSfA:gIN9vFwOqvQ” border=”0″> Mdaemon.com/~ff/EverythingMdaemon?a=aV4n2KIR3j8:Nc6DDfCzSfA:dnMXMwOfBR0″>Mdaemon?d=dnMXMwOfBR0″ border=”0″>

Mdaemon/~4/aV4n2KIR3j8″ height=”1″ width=”1″ />

Related posts

Translate this post
    

Diseño Web Global Gi