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
83 header REFWD subject =~ /\b(?:RE|FWD?|AW)(?:\[\d+\])?\:\s*$/i
84 describe REFWD re or fwd nothing
88 header ONEWORD subject =~ /^(?:Fw:|re:)?\s*\w+\s*$/i
89 describe ONEWORD one word subject
92 # robot101, 2003-09-22
93 header CROSSWALK X-UnityUser =~ /^Crosswalk.com, Inc/
94 describe CROSSWALK Crosswalk bible mailing list
97 header CROSSWALK_SPAM From =~ /Crosswalk/
98 describe CROSSWALK_SPAM Crosswalk Spam
99 score CROSSWALK_SPAM 1
102 header BOMDIA Subject =~ /Bom dia /
103 describe BOMDIA Bom dia, usually some Romanic language spam
106 header RCVD_FROM_UNCONF_HOST Received =~ /^from localhost.localdomain/
107 describe RCVD_FROM_UNCONF_HOST Mail comes from a host with unconfigured mailer daemon
108 score RCVD_FROM_UNCONF_HOST 2
111 body ECOSPAM /Corridas de Toros para los turistas Ingleses en Barcelona/
112 describe ECOSPAM Eco-spam all right
115 # cjwatson, 2003/02/24
116 body SPANISH_FORM_CGI /Este formulario fue enviado por/
117 describe SPANISH_FORM_CGI "Below is the result of your feedback form", eh?
118 score SPANISH_FORM_CGI 4.0
121 body TRAFFICMAGNET /Become a TrafficMagnet Reseller/
122 describe TRAFFICMAGNET SpamMagnet
123 score TRAFFICMAGNET 4
126 header BKR Subject =~ /^bkr/
127 describe BKR bkr spam
131 header RISEANDSHINE Subject =~ /^Rise and Shine in 15 minutes/
132 describe RISEANDSHINE Rise and Shine in 15 minutes spam
136 header UNIVDIP Subject =~ /U N I V E R S I T Y . D I P L O M A S/i
137 describe UNIVDIP university diplomas spam
141 header YOUTHERE Subject =~ /^(Re: )?You/i
142 describe YOUTHERE Who, me? Likely spam
145 # cjwatson, 2003-11-20
146 header HOUSECLEANING Subject =~ /^Affordable Housecleaning Service/
147 describe HOUSECLEANING let's clean out the spam instead
148 score HOUSECLEANING 3
150 # cjwatson, 2003-12-11
151 header OTC_FIRST Subject =~ /OTC FIRST ALERT/
152 describe OTC_FIRST OTC spam
156 body AVAILABLENOW /available now/i
157 describe AVAILABLENOW must be selling some shit
160 # cjwatson, 2004-01-16
161 body TEDIOUS_WITTER /If not i included it below so let me know if you like it/
162 describe TEDIOUS_WITTER annoying wittering spam, mypillsource.com I think
163 score TEDIOUS_WITTER 2
165 # cjwatson, 2004-03-12
167 header UNI_DIPLOMA Subject =~ /\b(university|college)\s+(diploma|cert|degree)/i
168 describe UNI_DIPLOMA Got one, thanks
172 body UNI2 /university\s+(diploma|cert|degree)/i
173 describe UNI2 Got one, thanks
176 # cjwatson, 2004-03-12
177 header JOB_CONFIRM Subject =~ /Job confirmation/
178 describe JOB_CONFIRM Got one of these too, thanks
182 header MESSAGESUB subject =~ /^\s*\(?message\s*(subject)?\)?$/i
183 describe MESSAGESUB really descriptive subject
187 header SENTMESSAGE subject =~ /(sent you a( personal|) message|would like to chat)/i
188 describe SENTMESSAGE Sent you a message (like duh?)
191 # blarson 2006-03-16 2007-09-18
192 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
193 describe DEARDIGIT Dear number
197 header SIZEMATTERS subject =~ /^S.ze matters$/i
198 describe SIZEMATTERS Size matters spammer
201 # cjwatson 2005-01-02
202 header RNDMX subject =~ /^<rndmx/
203 describe RNDMX weird empty spam
207 header VERIFYCAT subject =~ /verifycation mail/
208 describe VERIFYCAT verifycation spam
212 header D0WNLOAD subject =~ /\bd[o0]wn[l1][o0]ad.*(?:m[o0]v[i1]e|mp3|tune|music)/i
213 describe D0WNLOAD download spam
217 header REDUCESPAM subject =~ /Reduce Spam\b/i
218 describe REDUCESPAM reduce spam spam
222 body DIRT /\.(?:the|\d|)dirty?\d+\.info\//
223 describe DIRT dirty spammer
227 body RNDWORD /^RND_WORD\s*$/
228 describe RNDWORD RND_WORD
232 header D3GREE subject =~ /\bd(?:3gres?|esgre|eerge|eeerg|reege|egres)e?s?\b/i
233 describe D3GREE Want a used paper from someone who can't spell
237 body FINALNOTE /\bfinal\s+notif/i
238 describe FINALNOTE yet another final notification
242 header HIITS subject =~ /\bHi\! It\'s\b/i
243 describe HIITS hi its
247 header GOTONE subject =~ /\bgot one$/i
248 describe GOTONE got this spam already
252 body IMMEDIATEREV /^ATTENTION- For your immediate review:/
253 describe IMMEDIATEREV immediate discard
257 body CLIENTALERT /^(?:CLIENT ALERT|ATTENTION CLIENT)/i
258 describe CLIENTALERT client alert
261 # cjwatson 2005-10-20
262 header DEBIANTUX23 From =~ /DebianTux23|wieseltux23/i
263 describe DEBIANTUX23 Linux spammer, sigh
267 body SHITBRO /^\s*sh[i1]+t\s+bro/i
268 describe SHITBRO shitty spam
272 header POPPROG subject =~ /popular programs for everyday use/i
273 describe POPPROG unpopular spam
277 body GREET /^\%(?:GREET|EXIT)/
278 describe GREET broken spamware
282 header WROTE subject =~ /\bwrote\:\s*$/i
283 describe WROTE stock scam
286 body DEGREE_SPAM /earn.+degree.+transcripts/i
287 describe DEGREE_SPAM earn a degree with transcripts spam
288 score DEGREE_SPAM 2.5
291 body BLUEPILL /blue pill/i
292 describe BLUEPILL Blue pill spam
296 header PHOTOQUEST subject =~ /question about your photo/i
297 describe PHOTOQUEST questioning photo
301 body KBDP /Knowledge Based Degree Program/i
302 describe KBDP degree spam
306 body CRITERIAHAS /\bOur criteria has changed\b/i
307 describe CRITERIAHAS Diploma salesman with bad english
311 body TORA08 /\b\d{6} \d{7} \d{6} \d \d{7} \d{7}/
312 describe TORA08 TORA.08 spam
316 body SERIOUSBRO /^Seriously bro\b/i
317 describe SERIOUSBRO Seriously bro
321 body INSETET /\bwilson\@insitetcnologia\.com\.br\b/
322 describe INSETET please send spammer
326 body USUARIO /\bEl usuario destinatario no es un usuario valido/
327 describe USUARIO No such user -- sent in infinite loop
331 body NOMAILRECBI /no recibi tu mail/i
332 describe NOMAILRECBI No recbi of mail -- was closing way to many bugs
336 header URHELP subject =~ /\bi need ur help\b/
337 describe URHELP blank spam
341 header ACRO8PR0 subject =~ /\bAcr[0o]bat\s*[78]\s+(?:PR[0O]\b|\$?\d+\$?)/i
342 describe ACRO8PR0 sales spam
346 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|M\W?X\W?X\W?R|P\W?R\W?T\W?H|A\W?L\W?L\W?U|C\W?W\W?T\W?D|T\W?A\W?D\W?F|D\W?M\W?H\W?N|C\W?A\W?O\W?N|Cwtd|N\W?C\W?S\W?H|F\W?R\W?L\W?E|M\W?A\W?K\W?U)\b/
347 describe WBRS stock spam
350 body FOURLA /\b([A-Z]\s?){4}\b/
351 describe FOURLA Four letter acronym (stock spam?)
354 meta STOCKLIKE (FOURLA && (MONEY || SUBJMONEY))
355 describe STOCKLIKE Four letter acronyms with money; stock scam
359 header ACROBAT8 subject =~ /\badobe acr[o0]bat 8\b/i
360 describe ACROBAT8 more sales spam
364 header VLSTA subject =~ /VlSTA|0FFlCE|ACR0B8T/i
365 describe VLSTA misspelled microshit software
369 header ANGEKUEN subject =~ /\bTrauer angekuendigt\b/
370 describe ANGEKUEN german spam
374 body INTCAFE /\binternet caff?e\b/i
375 describe INTCAFE internet cafe spam
379 header VERIFIC subject =~ /Your email requires verification/
380 describe VERIFIC some people prefer you get their spam
384 header WHITELIST subject =~ /You have been added to .* whitelist/
385 describe WHITELIST whitelist spam
389 body CASNIO /^Please be advised that your casnio account is still inactive/
390 describe CASNIO casnio account
394 header AUTOREPLY subject =~ /\bauto(?:mated|matic|)[\s-]+re(?:spon[cs]e|ply)\b/i
395 describe AUTOREPLY Automatic reply
399 body CONFSERV /^Thanks for using our confidential service/
400 describe CONFSERV confidential service
404 body CONTENC /^Confirmation has been enclosed/
405 describe CONTENC more pdf spam
409 header PHONE subject =~ /\b(tele)?phone\b/i
410 describe PHONE phone spam
414 body ASPDF /^We send our messages as Portable Document Format/
415 describe ASPDF more pdf spam
419 body DELAFT /Please delete your private message after reading/
420 describe DELAFT more pdf spam
424 header OFF1CE subject =~ /\b[O0Q]f+[1i7l|]ce\s*\W?2[O0Qk]+7\b/i
425 describe OFF1CE off1ce spam
429 header SOFTSALE subject =~ /\bsoftware sales\b/i
430 describe SOFTSALE software spam
434 body SUPERMACHO /\bBe a supermacho/i
435 describe SUPERMACHO supermacho
439 body BIGINTER /\bBig international commercial organization\b/i
440 describe BIGINTER job spam
444 header HASSENT subject =~ /\b(?:sent you a (?:personal|confidential)?\s*(?:message|note)|would like to chat)\b/i
445 describe HASSENT sent a message
449 header ORDERNUM subject =~ /\b(?:Order|Recipet)\s*.?\d{3,}/i
450 describe ORDERNUM order number
454 header DICTIONARYSEQ subject =~ /\b(\w{3})\w*(?:\s+\1\w*){2}/i
455 describe DICTIONARYSEQ Ventricular Vents Venting Ventures
456 score DICTIONARYSEQ 3.5
459 header NOLET subject =~ /^\W{4,}$/
460 describe NOLET swearing subject
464 body SSIST /^ssistant Manager/
465 describe SSIST ssistant Manager
469 body GRADUATEUNDER /\bgraduate in under\b/i
470 describe GRADUATEUNDER graduate in under
471 score GRADUATEUNDER 3
474 header NOINVEST subject =~ /\b(?:no investment|high.paid)\b/i
475 describe NOINVEST no investment
479 header INTEXP subject =~ /\b[I|]nternet Exp[l|]orer\b/i
480 describe INTEXP |nternet Exp|orer
484 header WORKATHOME subject =~ /work\Wat\Whome/i
485 describe WORKATHOME Work at home
489 body PHONENUMBER /\b1[\-\.\s]?8[07]+[\-\.\s]?\d+/
490 describe PHONENUMBER Toll free phone number
491 score PHONENUMBER 1.5
494 body GERMANSPAM /Zerix Intern/i
495 describe GERMANSPAM Um... no clue what that is.
498 body URBANNEWS /UrbaNNews\.ro/
499 describe URBANNEWS URBANNEWS Newsletter
503 header JOBS subject =~ /\b(?:job|Employ(?:ers|ment|ee))s?\b/i
504 describe JOBS job spam
508 header FREEPASSWORD subject =~ /your\s*free\s*password/i
509 describe FREEPASSWORD We don't need free password
513 header AFRICABYBIKE subject =~ /africa\s*by\s*bike/i
514 describe AFRICABYBIKE We don't care about africa by bike or car or bus or train
518 header BRAKETDIGIT subject =~ /\[\d+\]\:\s*$/
519 describe BRAKETDIGIT braketed digit colon last in subject
523 full WHATISOEM /\bWhat\s*is\s*OEM\b/i
524 describe WHATISOEM What is OEM
528 body WORKEXP /\bwork\s+experience\s+degree\b/i
529 describe WORKEXP work experience degree
533 body NICEGIRL /\b(?:nice|young|lonley|unmarried)\s+(?:girl|woman|female)\b/i
534 describe NICEGIRL nice girl
538 header FEALCHAT subject =~ /\bFeel Like Chatting\b/i
539 describe FEALCHAT Feel Like Chatting
543 header DFF1CE subject =~ /UmU6INDSydfF1CE/i
544 describe DFF1CE korean spam
548 header FAILNOTE subject =~ /\bFailure notice\:/i
549 describe FAILNOTE bounced spam
553 full STILLSINGLE /\bstill\s+single\b/i
554 describe STILLSINGLE still single
558 header PERSONALCRED subject =~ /\bPersonal\s+Credit/i
559 describe PERSONALCRED Personal Credit
563 body XMASGIFT /\b(?:christ|x)mas gift\b/
564 describe XMASGIFT christmas gift
568 body RONPAUL /\bRon Paul\b/
569 describe RONPAUL Ron Paul
573 body YOURJOB /your Job Verification Number/
574 describe YOURJOB your Job Verification Number
578 body PASTERESUME /\bPASTE your resume\b/i
579 describe PASTERESUME PASTE your resume
582 body LETHIHELO /\{Let\:HI,Hi,Hello,hEllo,heLlo,helLo,hellO,HEllo\} how are you/
583 describe LETHIHELO Hello, how are you
587 body DIREKTOR /Direktor of Softline/i
588 describe DIREKTOR Direktor of Softline
592 body THEDEG /\bthe_degree\b/
593 describe THEDEG the_degree
597 body DYNMH /D Y N A M I C M EDIA HOLDIN/
598 describe DYNMH D Y N A M I C M EDIA HOLDIN
602 header LEGBUD subject =~ /\b(?:Legal|smoking) Bud/i
603 describe LEGBUD Legal Bud
607 full LEGBUD2 /\b(?:Legal|smoking) Bud/i
608 describe LEGBUD2 Legal Bud
612 body SMOKING /\b(?:beat|stop|quit|without)\s+(?:nicotine|smoking|cigarettes)\b/i
613 describe SMOKING stop smoking
617 header WORKHOME subject =~ /\bwork\b.*\bhome\b/i
618 describe WORKHOME work from home
622 header HOMEWORK subject =~ /\bhome\b.*\b(?:work|business|job|based)\b/i
623 describe HOMEWORK home business
627 header REPRESENT subject =~ /\bRepresent(?:ative)?\b.*\b(?:Country|needed)\b/i
628 describe REPRESENT represent your country
632 header NOFEE subject =~ /\bNo\s+fee\b/i
633 describe NOFEE No fee
637 body NEEDED /\b(?:manager|executive)\b.*\bneeded\b/i
638 describe NEEDED manager needed
642 body CRETPROF /\b(?:creative|perceptive)\b.*\bprofessionals?\b/i
643 describe CRETPROF creative and perceptive professionals