The Spammers' CompendiumBeing a public exposition of tricks,secret ploys, ruses and techniques employed by those that send many scurrilous messages through the ether using the mysteries of electronics and other modern marvels to dazzle the eye, lighten the wallet and clog the recipient. | ||||||||
BackgroundI gave a talk entitled The Spammers' Compendium at the MIT Spam Conference and decided to keep it updated in a non-Powerpoint form. Hence this page was born.I last updated it on September 15, 2003 Each entry consists of five items: What: Simple description of the entry The TricksThe Big PictureWhat: The entire email consists of a small HTML page consisting of an image enclosed in a single hyperlink.Popularity: Common Complexity: Simple Date added: January 17, 2003 Example from the wild: April 29, 2003: Scott Schram points out that some instances of this are being sent with valid but unrelated text before and after the image. Invisible InkWhat: Use of white text on a white background containing words designed to confuse a filter.Popularity: Common Complexity: Clever Date added: January 17, 2003 Example from the wild: search words: suspensory obscurearistocratical meningorachidian unafeared brahmachari The Daily NewsWhat: Insert a piece of current news in a bogus HTML tag.Popularity: Rare Complexity: Clever Date added: January 17, 2003 Example from the wild:
Hypertextus InterruptusWhat: Split words using HTML comments, pairs of zero width tags, or bogus tagsPopularity: Common Complexity: Clever Date added: January 17, 2003 Examples from the wild: milli
onaireFind New FriendsViagraF
r
ee
September 15, 2003: Another example comes from Tim Peters, this uses a Microsoft-only HTML tag
to insert ignored text into the word Viagra: Via
6q5r7
gra
Slice and DiceWhat: Use a table to send words through as individual letters arranged top to bottom but read left to rightPopularity: Rare Complexity: Dastardly Date added: January 17, 2003 Example from the wild: (picture)
|
those rearing lands
Northumbria- diamond sleep |
And In The Right Corner
What: Adding a legitimate but odd word at the far right of the subject line (typically preceded with lots of spaces and tabs). The word is design to poison a Bayesian filter and alter the spam's hash value.Popularity: Rare
Complexity: Clever
Date added: June 18, 2003
Example from the wild: (Thanks for Gary Robinson for pointing this one out)
Subject: FEATURED IN MAJOR MAGAZINES algorithmic
A Form of Desperation
What: Hiding text by placing it in the name of a hidden form fieldPopularity: Rare
Complexity: Clever
Date added: June 24, 2003
Example from the wild:
Get The LOWEST PR
ICE
On Your New CarSeptember 15, 2003: Another example came in from Darren J. Young that uses the value tag and fills it with a phrase from current events:
It's Mini Marquee!
What: Using the tag the spammer can hide text in a tiny unobtrusive square.Popularity: Rare
Complexity: Fairly Clever
Date added: July 9, 2003
Example from the wild:
Did you ever play that gamewhen you were a kid where the little plastic hippo tries to gobble up allyour marbles?
You've been framed
What: Using the ctionsControl Freak
What: Use of non-printing characters, especially in the Subject and especially NUL to mess up filters that use 0 terminated strings.Popularity: Rare
Complexity: Clever
Date added: September 15, 2003
Don't Cramp My Style
What: Enclose text within tags to hide it from user but confuse filters.Popularity: Very Rare
Complexity: Fairly Clever
Date added: September 15, 2003
Example from the wild:
Common Encodings
Many spam emails use quoted printable and base64 encoding on top of the tricks outlined on the right. Any spam filter needs to be able to understand both of these and MIME nested encoding (e.g. base64 on top of quoted printable). A quoted printable example from the wild (used the Black Hole trick): V i a
g r&nbs=p;aA base64 example from the wild (note that this used very long base64 lines that do not meet the standard): ------=_NextPart_000_60BF_00005753.000048CCContent-Type: text/html; charset="iso-8859-1"Content-Transfer-Encoding: base64PEhUTUw+PEJPRFkgQkdDT0xPUj0iIzAwMDAwMCI+PC9QPjxQIEFMSUdOPUNFTlRFUj48Rk9OVCAgQ09MT1I9IiNmZjAwMDAiIEJBQ0s9IiMwMDAwMDAiIHN0eWxlPSJCQUNLR1JPVU5ELUNPTE9SOiAjMDAwMDAwIiBTSVpFPTYgUFRTSVpFPTI0PlRoZSBob3R0ZXN0IEdpcmxzIE9ubGluZSE8QlI+DQpTdG9wIHdhc3RpbmcgeW91ciB0aW1lIHdpdGggNSBzZWM8QlI+DQp2aWRlbyBjbGlwcyEgQ29tZSB0byBvdXIgc2l0ZSBmb3I8QlI+DQpGcmVlIEZ1bGwgTGVuZ3RoIE1vdmllcyE8QlI+DQo8QSBIUkVGPSJodHRwOi8vd2NhbWF0ZXVycy5jb20vbC9ibCI+V2h5IHdhaXQsIHNlZSBmb3IgRnJlZTwvQT48L0ZPTlQ+PEZPTlQgIENPTE9SPSIjZmYwMDAwIiBCQUNLPSIjMDAwMDAwIiBzdHlsZT0iQkFDS0dST1VORC1DT0xPUjogIzAwMDAwMCIgU0laRT02IFBUU0laRT0yNCBGQU1JTFk9IlNBTlNTRVJJRiIgRkFDRT0iQXJpYWwiIExBTkc9IjAiPjxCUj4NCjwvUD48UCBBTElHTj1MRUZUPjwvRk9OVD48Rk9OVCAgQ09MT1I9IiNmZjAwMDAiIEJBQ0s9IiMwMDAwMDAiIHN0eWxlPSJCQUNLR1JPVU5ELUNPTE9SOiAjMDAwMDAwIiBTSVpFPTMgUFRTSVpFPTExIEZBTUlMWT0iU0FOU1NFUklGIiBGQUNFPSJBcmlhbCIgTEFORz0iMCI+PEJSPg0KPC9GT05UPjxGT05UICBDT0xPUj0iIzAwMDBmZiIgQkFDSz0iIzAwMDAwMCIgc3R5bGU9IkJBQ0tHUk9VTkQtQ09MT1I6ICMwMDAwMDAiIFNJWkU9NiBQVFNJWkU9MjQgR! kFNSUxZPSJTQU5TU0VSSUYiIEZBQ0U9IkFyaWFsIiBMQU5HPSIwIj48QSBIUkVGPSJodHRwOi8vd2NhbWF0ZXVycy5jb20vbC9yIj5ObyBtb3JlIG1haWwgaGVyZTwvQT48L0ZPTlQ+PC9IVE1MPg0K------=_NextPart_000_60BF_00005753.000048CC--
A Complex Example
This is an example of a real email that uses multiple techniques to disguise its contents: PGh0bWw+DQo8YSBocmVmPSJodHRwOi8vJTc3JTc3dy5wJTYxJTczJTczNCU2NiU3MmUlNjUlMkVuZXQvcGIzLyIgVDhJPjxGT05UIFNJWkU9NT48Qj4mIzg3OyYjOTc7PCFLND50PCE0YTQ1PmMmIzEwNDs8IVBKMHV1PiAmIzY4OzwhT1UxMGRRPm88IWgzMj5nPCFOWDc4PnM8IUY0NzZ0PiAmIzExNTsmIzEwODs8IXkweDY+dSYjMTE0OzwhV1ZRPnAmIzMyOzwhMW0+eTwhS1NrUD5vPCFvMzVBZT51JiMxMTA7JiMxMDM7PCE0N2ViVTM+ICYjMTAzOyYjMTA1OyY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
o
re!
Cl
ic
k
Her
e
Emai
l
Bad
?
no more
The email uses bad HTML tags to split words (Hypertextus Interruptus), URL encoding to hide the URLs used (Enigma), HTML entities to hide letters (A Numbers Game) and spaces (Lost in Space). Removing the bad HTML used to split words (Hypertextus Interruptus) reveals: WatchDogs slurp young girls pussy's as they scream for more!
Cl ic k Her e
Emai l Bad?
no more
Removing the URL encoding (Enigma) reveals: Watch Dogs slurp young girls pussy's as they scream for more!
Clic k Her e
Emai l Bad?
no more Click Here
aPq82MOd cMJ
Then removing the HTML entities (A Numbers Game) reveals the true message: Watch dogs slurp young girls pussy抯 as they scream for more!
Cl i c k Her e
Email Bad?
no moreClick Here
aPq82MOd cMJ
webmaster@jgc.org, Copyright (c) 1999-2003 John Graham-Cumming
Trackback: http://tb.blog.youkuaiyun.com/TrackBack.aspx?PostId=12733

881



被折叠的 条评论
为什么被折叠?



