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
177 body UNI3 /(?:(?:masters|batchelor|m\s*b\s*a\s*|ph\.?\s*d)\s*[,.]?\s*){2,}/i
178 describe UNI3 multiple types of degrees
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|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/
352 describe WBRS stock spam
355 body FOURLA /\b([A-Z]\s?){4}\b/
356 describe FOURLA Four letter acronym (stock spam?)
359 meta STOCKLIKE (FOURLA && (MONEY || SUBJMONEY))
360 describe STOCKLIKE Four letter acronyms with money; stock scam
364 header ACROBAT8 subject =~ /\badobe acr[o0]bat 8\b/i
365 describe ACROBAT8 more sales spam
369 header VLSTA subject =~ /VlSTA|0FFlCE|ACR0B8T/i
370 describe VLSTA misspelled microshit software
374 header ANGEKUEN subject =~ /\bTrauer angekuendigt\b/
375 describe ANGEKUEN german spam
379 body INTCAFE /\binternet caff?e\b/i
380 describe INTCAFE internet cafe spam
384 header VERIFIC subject =~ /Your email requires verification/
385 describe VERIFIC some people prefer you get their spam
389 header WHITELIST subject =~ /You have been added to .* whitelist/
390 describe WHITELIST whitelist spam
394 body CASNIO /^Please be advised that your casnio account is still inactive/
395 describe CASNIO casnio account
399 header AUTOREPLY subject =~ /\bauto(?:mated|matic|)[\s-]+re(?:spon[cs]e|ply)\b/i
400 describe AUTOREPLY Automatic reply
404 body CONFSERV /^Thanks for using our confidential service/
405 describe CONFSERV confidential service
409 body CONTENC /^Confirmation has been enclosed/
410 describe CONTENC more pdf spam
414 header PHONE subject =~ /\b(tele)?phone\b/i
415 describe PHONE phone spam
419 body ASPDF /^We send our messages as Portable Document Format/
420 describe ASPDF more pdf spam
424 body DELAFT /Please delete your private message after reading/
425 describe DELAFT more pdf spam
429 header OFF1CE subject =~ /\b[O0Q]f+[1i7l|]ce\s*\W?2[O0Qk]+7\b/i
430 describe OFF1CE off1ce spam
434 header SOFTSALE subject =~ /\bsoftware sales\b/i
435 describe SOFTSALE software spam
439 body SUPERMACHO /\bBe a supermacho/i
440 describe SUPERMACHO supermacho
444 body BIGINTER /\bBig international commercial organization\b/i
445 describe BIGINTER job spam
449 header HASSENT subject =~ /\b(?:sent you a (?:personal|confidential)?\s*(?:message|note)|would like to chat)\b/i
450 describe HASSENT sent a message
454 header ORDERNUM subject =~ /\b(?:Order|Recipet)\s*.?\d{3,}/i
455 describe ORDERNUM order number
459 header DICTIONARYSEQ subject =~ /\b(\w{3})\w*(?:\s+\1\w*){2}/i
460 describe DICTIONARYSEQ Ventricular Vents Venting Ventures
461 score DICTIONARYSEQ 3.5
464 header NOLET subject =~ /^\W{4,}$/
465 describe NOLET swearing subject
469 body SSIST /^ssistant Manager/
470 describe SSIST ssistant Manager
474 body GRADUATEUNDER /\bgraduate in under\b/i
475 describe GRADUATEUNDER graduate in under
476 score GRADUATEUNDER 3
479 header NOINVEST subject =~ /\b(?:no investment|high.paid)\b/i
480 describe NOINVEST no investment
484 header INTEXP subject =~ /\b[I|]nternet Exp[l|]orer\b/i
485 describe INTEXP |nternet Exp|orer
489 header WORKATHOME subject =~ /work\Wat\Whome/i
490 describe WORKATHOME Work at home
494 body PHONENUMBER /\b1[\-\.\s]?8[07]+[\-\.\s]?\d+/
495 describe PHONENUMBER Toll free phone number
496 score PHONENUMBER 1.5
499 body GERMANSPAM /Zerix Intern/i
500 describe GERMANSPAM Um... no clue what that is.
503 body URBANNEWS /UrbaNNews\.ro/
504 describe URBANNEWS URBANNEWS Newsletter
508 header JOBS subject =~ /\b(?:job|Employ(?:ers|ment|ee))s?\b/i
509 describe JOBS job spam
513 header FREEPASSWORD subject =~ /your\s*free\s*password/i
514 describe FREEPASSWORD We don't need free password
518 header AFRICABYBIKE subject =~ /africa\s*by\s*bike/i
519 describe AFRICABYBIKE We don't care about africa by bike or car or bus or train
523 header BRAKETDIGIT subject =~ /\[\d+\]\:\s*$/
524 describe BRAKETDIGIT braketed digit colon last in subject
528 full WHATISOEM /\bWhat\s*is\s*OEM\b/i
529 describe WHATISOEM What is OEM
533 body WORKEXP /\bwork\s+experience\s+degree\b/i
534 describe WORKEXP work experience degree
538 body NICEGIRL /\b(?:nice|young|lonley|unmarried)\s+(?:girl|woman|female)\b/i
539 describe NICEGIRL nice girl
543 header FEALCHAT subject =~ /\bFeel Like Chatting\b/i
544 describe FEALCHAT Feel Like Chatting
548 header DFF1CE subject =~ /UmU6INDSydfF1CE/i
549 describe DFF1CE korean spam
553 header FAILNOTE subject =~ /\bFailure notice\:/i
554 describe FAILNOTE bounced spam
558 full STILLSINGLE /\bstill\s+single\b/i
559 describe STILLSINGLE still single
563 header PERSONALCRED subject =~ /\bPersonal\s+Credit/i
564 describe PERSONALCRED Personal Credit
568 body XMASGIFT /\b(?:christ|x)mas gift\b/
569 describe XMASGIFT christmas gift
573 body RONPAUL /\bRon Paul\b/
574 describe RONPAUL Ron Paul
578 body YOURJOB /your Job Verification Number/
579 describe YOURJOB your Job Verification Number
583 body PASTERESUME /\bPASTE your resume\b/i
584 describe PASTERESUME PASTE your resume
587 body LETHIHELO /\{Let\:HI,Hi,Hello,hEllo,heLlo,helLo,hellO,HEllo\} how are you/
588 describe LETHIHELO Hello, how are you
592 body DIREKTOR /Direktor of Softline/i
593 describe DIREKTOR Direktor of Softline
597 body THEDEG /\bthe_degree\b/
598 describe THEDEG the_degree
602 body DYNMH /D Y N A M I C M EDIA HOLDIN/
603 describe DYNMH D Y N A M I C M EDIA HOLDIN
607 header LEGBUD subject =~ /\b(?:Legal|smoking) Bud/i
608 describe LEGBUD Legal Bud
612 full LEGBUD2 /\b(?:Legal|smoking) Bud/i
613 describe LEGBUD2 Legal Bud
617 body SMOKING /\b(?:beat|stop|quit|without)\s+(?:nicotine|smoking|cigarettes)\b/i
618 describe SMOKING stop smoking
622 header WORKHOME subject =~ /\bwork\b.*\bhome\b/i
623 describe WORKHOME work from home
627 header HOMEWORK subject =~ /\bhome\b.*\b(?:work|business|job|based)\b/i
628 describe HOMEWORK home business
632 header REPRESENT subject =~ /\bRepresent(?:ative)?\b.*\b(?:Country|needed)\b/i
633 describe REPRESENT represent your country
637 header NOFEE subject =~ /\bNo\s+fee\b/i
638 describe NOFEE No fee
642 body NEEDED /\b(?:manager|executive)\b.*\bneeded\b/i
643 describe NEEDED manager needed
647 body CRETPROF /\b(?:creative|perceptive)\b.*\bprofessionals?\b/i
648 describe CRETPROF creative and perceptive professionals