1 # Added some rules from Rule du Jour that I've been testing for a while
3 #Monotone (from airmax.cf)
4 body MONOTONE_WORDS_2_15 /^([a-z]{2,20}[\s\.]+){15}/
5 describe MONOTONE_WORDS_2_15 Lines with many (long) lowercase words (15+ words, 2+ letters)
6 body MONOTONE_WORDS_2_30 /^([a-z]{2,20}[\s\.]+){30}/
7 describe MONOTONE_WORDS_2_30 Lines with many (long) lowercase words (30+ words, 2+ letters)
8 body MONOTONE_WORDS_3_20 /^([a-z]{3,20}[\s\.]+){20}/
9 describe MONOTONE_WORDS_3_20 Lines with many (long) lowercase words (20+ words, 3+ letters)
10 body MONOTONE_WORDS_5_8 /^([a-z]{5,20}[\s\.]+){8}/
11 describe MONOTONE_WORDS_5_8 Lines with many (long) lowercase words (8+ words, 5+ letters)
12 body MONOTONE_WORDS_5_12 /^([a-z]{5,20}[\s\.]+){12}/
13 describe MONOTONE_WORDS_5_12 Lines with many (long) lowercase words (12+ words, 5+ letters)
14 body MONOTONE_WORDS_5_20 /^([a-z]{5,20}[\s\.]+){20}/
15 describe MONOTONE_WORDS_5_20 Lines with many (long) lowercase words (20+ words, 5+ letters)
17 # Lots of auto-responders seem to have this
18 body MDO_AUTORESP1 /online form/i
19 score MDO_AUTORESP1 0.1
21 body MDO_AUTORESP2 /large amount of (spam|virus)/i
22 score MDO_AUTORESP2 0.1
24 body MDO_AUTORESP3 /(electronically|automatically) (generated|created) (email|ack)/i
25 score MDO_AUTORESP3 0.1
27 body MDO_AUTORESP4 /(respond|answer) your enquiry/i
28 score MDO_AUTORESP4 0.1
30 body MDO_AUTORESP5 /(email|enquiry) has been received/i
31 score MDO_AUTORESP5 0.1
33 body MDO_AUTORESP6 /will be answered within/i
34 score MDO_AUTORESP6 0.1
36 body MDO_AUTORESP7 /the e-mail address to which you have written does not support incoming messages/i
37 score MDO_AUTORESP7 0.1
39 meta MDO_AUTORESP_META1 (MDO_AUTORESP1 + MDO_AUTORESP2 + MDO_AUTORESP3 + MDO_AUTORESP4 + MDO_AUTORESP5 + MDO_AUTORESP6 + MDO_AUTORESP7) > 1
40 score MDO_AUTORESP_META1 2.0
42 body MURPHY_DIPLOMA /Diploma/
43 describe MURPHY_DIPLOMA No Diploma
44 score MURPHY_DIPLOMA 1
46 body MURPHY_CALORIES /calories/
47 describe MURPHY_CALORIES No Calories
48 score MURPHY_CALORIES 1
50 header MURPHY_CONTENT_GIF Content-Type =~ /image\/gif/
51 describe MURPHY_CONTENT_GIF Content contains image/gif
52 score MURPHY_CONTENT_GIF 1
54 # cable tv spam -- pasc 04/05/11-12
55 body MDO_CABLE_TV1 /pay.?per.?view/i
56 score MDO_CABLE_TV1 0.5
58 body MDO_CABLE_TV2 /mature.?channel/i
59 score MDO_CABLE_TV2 0.5
61 body MDO_CABLE_TV3 /c(\@|a)ble/i
62 score MDO_CABLE_TV3 0.5
64 body MDO_CABLE_TV4 /rem(o|0)te.?control/i
65 score MDO_CABLE_TV4 0.5
67 meta MDO_CABLE_META1 (MDO_CABLE_TV1 || MDO_CABLE_TV2 || MDO_CABLE_TV4) && (MDO_CABLE_TV3)
68 describe MDO_CABLE_META1 Too much cable stuff
69 score MDO_CABLE_META1 3
71 header MDO_TAGSPAM1 Subject =~ /Unknown Tag *free* Please Fix/
74 body MDO_BAD_WORD1 /PORTFOLIO/i
75 score MDO_BAD_WORD1 2.8
77 # blarson, 2004-04-30 -> lists --pasc 04/05/11
78 body AFFILIATEID /affiliate.?id/i
79 describe AFFILIATEID affiliate id
82 # joy, 2003-08-30, 2003-09-21
83 header FW Subject =~ /^Fw: /
84 describe FW Sounds like a Fw: spam
88 header REFWD subject =~ /\b(?:RE|FWD)\:\s*$/i
89 describe REFWD re or fwd nothing
93 header ONEWORD subject =~ /^(?:Fw:|re:)?\s*\w+\s*$/i
94 describe ONEWORD one word subject
97 # robot101, 2003-09-22
98 header CROSSWALK X-UnityUser =~ /^Crosswalk.com, Inc/
99 describe CROSSWALK Crosswalk bible mailing list
102 header CROSSWALK_SPAM From =~ /Crosswalk/
103 describe CROSSWALK_SPAM Crosswalk Spam
104 score CROSSWALK_SPAM 1
107 header BOMDIA Subject =~ /Bom dia /
108 describe BOMDIA Bom dia, usually some Romanic language spam
111 header RCVD_FROM_UNCONF_HOST Received =~ /^from localhost.localdomain/
112 describe RCVD_FROM_UNCONF_HOST Mail comes from a host with unconfigured mailer daemon
113 score RCVD_FROM_UNCONF_HOST 2
116 body ECOSPAM /Corridas de Toros para los turistas Ingleses en Barcelona/
117 describe ECOSPAM Eco-spam all right
120 # cjwatson, 2003/02/24
121 body SPANISH_FORM_CGI /Este formulario fue enviado por/
122 describe SPANISH_FORM_CGI "Below is the result of your feedback form", eh?
123 score SPANISH_FORM_CGI 4.0
126 body TRAFFICMAGNET /Become a TrafficMagnet Reseller/
127 describe TRAFFICMAGNET SpamMagnet
128 score TRAFFICMAGNET 4
131 header BKR Subject =~ /^bkr/
132 describe BKR bkr spam
136 header RISEANDSHINE Subject =~ /^Rise and Shine in 15 minutes/
137 describe RISEANDSHINE Rise and Shine in 15 minutes spam
141 header UNIVDIP Subject =~ /U N I V E R S I T Y . D I P L O M A S/i
142 describe UNIVDIP university diplomas spam
146 header YOUTHERE Subject =~ /^(Re: )?You/i
147 describe YOUTHERE Who, me? Likely spam
150 # cjwatson, 2003-11-20
151 header HOUSECLEANING Subject =~ /^Affordable Housecleaning Service/
152 describe HOUSECLEANING let's clean out the spam instead
153 score HOUSECLEANING 3
155 # cjwatson, 2003-12-11
156 header OTC_FIRST Subject =~ /OTC FIRST ALERT/
157 describe OTC_FIRST OTC spam
161 body AVAILABLENOW /available now/i
162 describe AVAILABLENOW must be selling some shit
165 # cjwatson, 2004-01-16
166 body TEDIOUS_WITTER /If not i included it below so let me know if you like it/
167 describe TEDIOUS_WITTER annoying wittering spam, mypillsource.com I think
168 score TEDIOUS_WITTER 2
170 # cjwatson, 2004-03-12
172 header UNI_DIPLOMA Subject =~ /\b(university|college)\s+(diploma|cert|degree)/i
173 describe UNI_DIPLOMA Got one, thanks
177 body UNI2 /university\s+(diploma|cert|degree)/i
178 describe UNI2 Got one, thanks
181 # cjwatson, 2004-03-12
182 header JOB_CONFIRM Subject =~ /Job confirmation/
183 describe JOB_CONFIRM Got one of these too, thanks
187 header MESSAGESUB subject =~ /^\s*\(?message\s*(subject)?\)?$/i
188 describe MESSAGESUB really descriptive subject
192 header SENTMESSAGE subject =~ /(sent you a( personal|) message|would like to chat)/i
193 describe SENTMESSAGE Sent you a message (like duh?)
196 # blarson 2006-03-16 2007-09-18
197 body DEARDIGIT /^(?:well\s+)?(?:Dear|Hey|H[ea]y?ll?.?o|To|Attention|Hi+|Hey+a?|Bonjorno|(?:Yo\s*)+|(?:g[o0]+d\s*)?(?:d?ay|morning|evening?|afternoon|night)|what.?i?s\s+up|wa(?:s|z)+up|greetings?|Salutations|(Mail|News)\s+to|how(?:.?s|\s+is)?\s*(?:(?:it)?(?:\s+is)??\s*going|have\s+you\s+been|are you).?\s*(?:there|to\s+you)?|compliments|Regards|Adieu)\,?\s+(?:Account\s+\#?|\=?3d|)(?:bro|there|sir|Mr\.?)\s*?\d{3,}/i
198 describe DEARDIGIT Dear number
202 header SIZEMATTERS subject =~ /^S.ze matters$/i
203 describe SIZEMATTERS Size matters spammer
206 # cjwatson 2005-01-02
207 header RNDMX subject =~ /^<rndmx/
208 describe RNDMX weird empty spam
212 header VERIFYCAT subject =~ /verifycation mail/
213 describe VERIFYCAT verifycation spam
217 header D0WNLOAD subject =~ /\bd[o0]wn[l1][o0]ad.*(?:m[o0]v[i1]e|mp3|tune|music)/i
218 describe D0WNLOAD download spam
222 header REDUCESPAM subject =~ /Reduce Spam\b/i
223 describe REDUCESPAM reduce spam spam
227 body DIRT /\.(?:the|\d|)dirty?\d+\.info\//
228 describe DIRT dirty spammer
232 body RNDWORD /^RND_WORD\s*$/
233 describe RNDWORD RND_WORD
237 header D3GREE subject =~ /\bd(?:3gres?|esgre|eerge|eeerg|reege|egres)e?s?\b/i
238 describe D3GREE Want a used paper from someone who can't spell
242 body FINALNOTE /\bfinal\s+notif/i
243 describe FINALNOTE yet another final notification
247 header HIITS subject =~ /\bHi\! It\'s\b/i
248 describe HIITS hi its
252 header GOTONE subject =~ /\bgot one$/i
253 describe GOTONE got this spam already
257 body IMMEDIATEREV /^ATTENTION- For your immediate review:/
258 describe IMMEDIATEREV immediate discard
262 body CLIENTALERT /^(?:CLIENT ALERT|ATTENTION CLIENT)/i
263 describe CLIENTALERT client alert
266 # cjwatson 2005-10-20
267 header DEBIANTUX23 From =~ /DebianTux23|wieseltux23/i
268 describe DEBIANTUX23 Linux spammer, sigh
272 body SHITBRO /^\s*sh[i1]+t\s+bro/i
273 describe SHITBRO shitty spam
277 header POPPROG subject =~ /popular programs for everyday use/i
278 describe POPPROG unpopular spam
282 body GREET /^\%(?:GREET|EXIT)/
283 describe GREET broken spamware
287 header WROTE subject =~ /\bwrote\:\s*$/i
288 describe WROTE stock scam
291 body DEGREE_SPAM /earn.+degree.+transcripts/i
292 describe DEGREE_SPAM earn a degree with transcripts spam
293 score DEGREE_SPAM 2.5
296 body BLUEPILL /blue pill/i
297 describe BLUEPILL Blue pill spam
301 header PHOTOQUEST subject =~ /question about your photo/i
302 describe PHOTOQUEST questioning photo
306 body KBDP /Knowledge Based Degree Program/i
307 describe KBDP degree spam
311 body CRITERIAHAS /\bOur criteria has changed\b/i
312 describe CRITERIAHAS Diploma salesman with bad english
316 body TORA08 /\b\d{6} \d{7} \d{6} \d \d{7} \d{7}/
317 describe TORA08 TORA.08 spam
321 body SERIOUSBRO /^Seriously bro\b/i
322 describe SERIOUSBRO Seriously bro
326 body INSETET /\bwilson\@insitetcnologia\.com\.br\b/
327 describe INSETET please send spammer
331 body USUARIO /\bEl usuario destinatario no es un usuario valido/
332 describe USUARIO No such user -- sent in infinite loop
336 body NOMAILRECBI /no recibi tu mail/i
337 describe NOMAILRECBI No recbi of mail -- was closing way to many bugs
341 header URHELP subject =~ /\bi need ur help\b/
342 describe URHELP blank spam
346 header ACRO8PR0 subject =~ /\bAcr[0o]bat\s*[78]\s+(?:PR[0O]\b|\$?\d+\$?)/i
347 describe ACRO8PR0 sales spam
351 body WBRS /\b(WBRS|FPMC|ADYN|AFML|MISJ|HXPN|WHKA|CBFE|HSBC|PCAI|MPRG|HPRS|AUNI|TGVI|MHII|TAMG|GDKI|ACEN|CDYV|G7Q\.F|mbwc|CHFR|CDPN|DSDI|UTEV|P-S-U-D|GPSI|SGXI|CAON|SREA|ERMX|VPSN|SZSN|PAYI\.OB|LTDI|C\W\W?Y\W\W?T\W\W?V|E\WX\WM\WT|CYTV|VGPM|V\s?G\s?P\s?M(\.PK)?|wwng|WWNG|F\WD\WE\WG|FDEG|UTYW|M\s*I\s*H\s*I|O\W?N\W?C\W?O|P\W?P\W?Y\W?H|S\W?R\W?E\W?A|A\W?C\W?G\W?U|S\W?C\W?Y\W?F|C\W?H\W?V\W?C|D\W?M\W?X\W?C|F\W?R\W?L\W?E|M\W?A\W?K\W?U|C\W?W\W?T\W?E|F\W?R\W?L\W?E)\b/
352 describe WBRS stock spam
355 body FOURLA /\b([A-Z]\s?){4}\b/
356 describe FOURLA Four letter acronym (stock spam?)
359 full WORDMONEY /^\w+\s*:\s*(?:\$\s*[\d\.]+|[\d\.]+\s*USD)/mi
360 describe WORDMONEY Word Colon Money
363 meta STOCKLIKE (FOURLA && WORDMONEY)
364 describe STOCKLIKE Four letter acronyms with money; stock scam
368 header ACROBAT8 subject =~ /\badobe acr[o0]bat 8\b/i
369 describe ACROBAT8 more sales spam
373 header VLSTA subject =~ /VlSTA|0FFlCE|ACR0B8T/i
374 describe VLSTA misspelled microshit software
378 header ANGEKUEN subject =~ /\bTrauer angekuendigt\b/
379 describe ANGEKUEN german spam
383 body INTCAFE /\binternet caff?e\b/i
384 describe INTCAFE internet cafe spam
388 header VERIFIC subject =~ /Your email requires verification/
389 describe VERIFIC some people prefer you get their spam
393 header WHITELIST subject =~ /You have been added to .* whitelist/
394 describe WHITELIST whitelist spam
398 body CASNIO /^Please be advised that your casnio account is still inactive/
399 describe CASNIO casnio account
403 header AUTOREPLY subject =~ /\bauto(?:mated|matic|)[\s-]+re(?:spon[cs]e|ply)\b/i
404 describe AUTOREPLY Automatic reply
408 body CONFSERV /^Thanks for using our confidential service/
409 describe CONFSERV confidential service
413 body CONTENC /^Confirmation has been enclosed/
414 describe CONTENC more pdf spam
418 header PHONE subject =~ /\b(tele)?phone\b/i
419 describe PHONE phone spam
423 body ASPDF /^We send our messages as Portable Document Format/
424 describe ASPDF more pdf spam
428 body DELAFT /Please delete your private message after reading/
429 describe DELAFT more pdf spam
433 header OFF1CE subject =~ /\b[O0]ff[1i7l|]ce\s*\W?2[O0Qk]+7\b/i
434 describe OFF1CE off1ce spam
438 header SOFTSALE subject =~ /\bsoftware sales\b/i
439 describe SOFTSALE software spam
443 body SUPERMACHO /\bBe a supermacho/i
444 describe SUPERMACHO supermacho
448 body BIGINTER /\bBig international commercial organization\b/i
449 describe BIGINTER job spam
453 header HASSENT subject =~ /\b(?:sent you a (?:personal|confidential)?\s*(?:message|note)|would like to chat)\b/i
454 describe HASSENT sent a message
458 header ORDERNUM subject =~ /\b(?:Order|Recipet)\s*.?\d{3,}/i
459 describe ORDERNUM order number
463 header DICTIONARYSEQ subject =~ /\b(\w{3})\w*(?:\s+\1\w*){2}/i
464 describe DICTIONARYSEQ Ventricular Vents Venting Ventures
465 score DICTIONARYSEQ 3.5
468 header NOLET subject =~ /^\W{4,}$/
469 describe NOLET swearing subject
473 body SSIST /^ssistant Manager/
474 describe SSIST ssistant Manager
478 body GRADUATEUNDER /\bgraduate in under\b/i
479 describe GRADUATEUNDER graduate in under
480 score GRADUATEUNDER 3
483 header NOINVEST subject =~ /\b(?:no investment|high.paid)\b/i
484 describe NOINVEST no investment
488 header INTEXP subject =~ /\b[I|]nternet Exp[l|]orer\b/i
489 describe INTEXP |nternet Exp|orer
493 header WORKATHOME subject =~ /work\Wat\Whome/i
494 describe WORKATHOME Work at home
498 body PHONENUMBER /\b1[\-\.\s]?8[07]+[\-\.\s]?\d+/
499 describe PHONENUMBER Toll free phone number
500 score PHONENUMBER 1.5
503 body GERMANSPAM /Zerix Intern/i
504 describe GERMANSPAM Um... no clue what that is.
507 body URBANNEWS /UrbaNNews\.ro/
508 describe URBANNEWS URBANNEWS Newsletter