~ubuntu-branches/ubuntu/precise/spamassassin/precise-updates

« back to all changes in this revision

Viewing changes to rules/20_advance_fee.cf

  • Committer: Bazaar Package Importer
  • Author(s): Noah Meyerhans
  • Date: 2010-01-26 22:53:12 UTC
  • mfrom: (1.1.13 upstream) (5.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100126225312-wkftb10idc1kz2aq
Tags: 3.3.0-1
* New upstream version.
* Switch to dpkg-source 3.0 (quilt) format

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# SpamAssassin rules file: advance fee fraud rules (Nigerian 419 scams)
2
 
#
3
 
# Please don't modify this file as your changes will be overwritten with
4
 
# the next update. Use @@LOCAL_RULES_DIR@@/local.cf instead.
5
 
# See 'perldoc Mail::SpamAssassin::Conf' for details.
6
 
#
7
 
# <@LICENSE>
8
 
# Licensed to the Apache Software Foundation (ASF) under one or more
9
 
# contributor license agreements.  See the NOTICE file distributed with
10
 
# this work for additional information regarding copyright ownership.
11
 
# The ASF licenses this file to you under the Apache License, Version 2.0
12
 
# (the "License"); you may not use this file except in compliance with
13
 
# the License.  You may obtain a copy of the License at:
14
 
15
 
#     http://www.apache.org/licenses/LICENSE-2.0
16
 
17
 
# Unless required by applicable law or agreed to in writing, software
18
 
# distributed under the License is distributed on an "AS IS" BASIS,
19
 
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
 
# See the License for the specific language governing permissions and
21
 
# limitations under the License.
22
 
# </@LICENSE>
23
 
#
24
 
###########################################################################
25
 
 
26
 
require_version @@VERSION@@
27
 
 
28
 
# predicate naming used to avoid renumbering
29
 
# 1. assign new rules a random unique three letter sequence
30
 
# 2. sort on rule definition, not rule name
31
 
 
32
 
header __FRAUD_VQE      Subject =~ /^(?:Re:|\[.{1,10}\])?\s*(?:very )?urgent\s+(?:(?:and|&)\s+)?(?:confidential|assistance|business|attention|reply|response|help)\b/i
33
 
 
34
 
body __FRAUD_DBI        /(?:\bdollars?\b|\busd(?:ollars)?(?:[0-9]|\b)|\bus\$|\$[0-9,.]{6,}|\$[0-9].{0,8}[mb]illion|\$[0-9.,]{2,10} ?m|\beuros?\b|u[.]?s[.]? [0-9.]+ m)/i
35
 
body __FRAUD_KJV        /(?:claim|concerning) (?:the|this) money/i
36
 
body __FRAUD_IRJ        /(?:finance|holding|securit(?:ies|y)) (?:company|firm|storage house)/i
37
 
body __FRAUD_NEB        /(?:government|bank) of nigeria/i
38
 
body __FRAUD_XJR        /(?:who was a|as a|an? honest|you being a|to any) foreigner/i
39
 
body __FRAUD_DPR        /\b(?:(?:respond|reply) (?:urgently|immediately)|(?:urgent|immediate|earliest) (?:reply|response))\b/i
40
 
body __FRAUD_PTS        /\b(?:ass?ass?inat(?:ed|ion)|murder(?:e?d)?|kill(?:ed|ing)\b[^.]{0,99}\b(?:war veterans|rebels?))\b/i
41
 
body __FRAUD_BEP        /\b(?:bank of nigeria|central bank of|trust bank|apex bank|amalgamated bank)\b/i
42
 
body __FRAUD_TDP        /\b(?:business partner(?:s|ship)?|silent partner(?:s|ship)?)\b/i
43
 
body __FRAUD_GAN        /\b(?:charles taylor|serena|abacha|gu[e��]i|sese[- ]?seko|kabila)\b/i
44
 
body __FRAUD_IRT        /\b(?:compliments? of the|dear friend|dear sir|yours faithfully|season'?s greetings)\b/i
45
 
body __FRAUD_AON        /\b(?:confidential|private|alternate|alternative) (?:(?:e-? *)?mail)\b/i
46
 
body __FRAUD_WNY        /\b(?:disburse?(?:ment)?|incurr?(?:ed)?|remunerr?at(?:ed?|ion)|remm?itt?(?:ed|ance|ing)?)\b/i
47
 
body __FRAUD_IPK        /\b(?:in|to|visit) your country\b/i
48
 
body __FRAUD_QXX        /\b(?:my name is|i am) (?:mrs?|engr|barrister|dr|prince(?:ss)?)[. ]/i
49
 
body __FRAUD_IOU        /\b(?:no risks?|risk-? *free|free of risks?|100% safe)\b/i
50
 
body __FRAUD_EZY        /\b(?:of|the) late president\b/i
51
 
body __FRAUD_MLY        /\b(?:reply|respond)\b[^.]{0,50}\b(?:to|through)\b[^.]{0,50}\@\b/i
52
 
body __FRAUD_ZFJ        /\b(?:wife|son|brother|daughter) of the late\b/i
53
 
body __FRAUD_KDT        /\bU\.?S\.?(?:D\.?)?\s*(?:\$\s*)?(?:\d+,\d+,\d+|\d+\.\d+\.\d+|\d+(?:\.\d+)?\s*milli?on)/i
54
 
body __FRAUD_ULK        /\baffidavits?\b/i
55
 
body __FRAUD_BGP        /\battached to ticket number\b/i
56
 
body __FRAUD_FBI        /\bdisburs/i
57
 
body __FRAUD_JBU        /\bforeign account\b/i
58
 
body __FRAUD_YWW        /\bfurnish you with\b/i
59
 
body __FRAUD_JYG        /\bgive\s+you .{0,15}(?:fund|money|total|sum|contact|percent)\b/i
60
 
body __FRAUD_XVW        /\bhonest cooperation\b/i
61
 
body __FRAUD_UUY        /\blegitimate business(?:es)?\b/i
62
 
body __FRAUD_SNT        /\blocate(?: .{1,20})? extended relative/i
63
 
body __FRAUD_LTX        /\bmilli?on (?:.{1,25} thousand\s*)?(?:(?:united states|u\.?s\.?) dollars|(?i:U\.?S\.?D?))\b/i
64
 
body __FRAUD_JNB        /\boperat(?:e|ing)\b[^.]{0,99}\b(?:for(?:ei|ie)gn|off-? ?shore|over-? ?seas?) (?:bank )?accounts?\b/i
65
 
body __FRAUD_QFY        /\bover-? *(?:invoiced?|cost(?:s|ing)?)\b/i
66
 
body __FRAUD_WDR        /\bprivate lawyer\b/i
67
 
body __FRAUD_WFC        /\bsecur(?:e|ing) (?:the )?(?:funds?|monies)\b/i
68
 
body __FRAUD_AUM        /\bthe desk of\b/i
69
 
body __FRAUD_MCQ        /\btransaction\b.{1,30}\b(?:magnitude|diplomatic|strict|absolute|secret|confiden(?:tial|ce)|guarantee)/i
70
 
body __FRAUD_ETX        /\byour\b[^.]{0,99}\b(?:contact (?:details|information)|private (?:e?[- ]?mail|telephone|tel|phone|fax))\b/i
71
 
body __FRAUD_PVN        /as the beneficiary/i
72
 
body __FRAUD_FVU        /award notification/i
73
 
body __FRAUD_CKF        /computer ballot system/i
74
 
body __FRAUD_FCW        /fiduciary agent/i
75
 
body __FRAUD_MQO        /foreign (?:business partner|customer)/i
76
 
body __FRAUD_TCC        /foreign (?:offshore )?(?:bank|account)/i
77
 
body __FRAUD_GBW        /god gives .{1,10}second chance/i
78
 
body __FRAUD_NRG        /i am contacting you/i
79
 
body __FRAUD_RLX        /lott(?:o|ery) (?:co,?ordinator|international)/i
80
 
body __FRAUD_AXF        /magnanimity/i
81
 
body __FRAUD_THJ        /modalit(?:y|ies)/i
82
 
body __FRAUD_YQV        /nigerian? (?:national|government)/i
83
 
body __FRAUD_YJA        /over-invoice/i
84
 
body __FRAUD_YPO        /the total sum/i
85
 
body __FRAUD_UOQ        /vital documents/i
86
 
 
87
 
meta ADVANCE_FEE_2 (__FRAUD_KJV + __FRAUD_IRJ + __FRAUD_NEB + __FRAUD_XJR + __FRAUD_EZY + __FRAUD_ZFJ + __FRAUD_KDT + __FRAUD_BGP + __FRAUD_FBI + __FRAUD_JBU + __FRAUD_JYG + __FRAUD_XVW + __FRAUD_SNT + __FRAUD_LTX + __FRAUD_MCQ + __FRAUD_PVN + __FRAUD_FVU + __FRAUD_CKF + __FRAUD_FCW + __FRAUD_MQO + __FRAUD_TCC + __FRAUD_GBW + __FRAUD_NRG + __FRAUD_RLX + __FRAUD_AXF + __FRAUD_THJ + __FRAUD_YQV + __FRAUD_YJA + __FRAUD_YPO + __FRAUD_UOQ + __FRAUD_DBI + __FRAUD_BEP + __FRAUD_DPR + __FRAUD_QXX + __FRAUD_QFY + __FRAUD_PTS + __FRAUD_TDP + __FRAUD_GAN + __FRAUD_IPK + __FRAUD_AON + __FRAUD_WNY + __FRAUD_AUM + __FRAUD_WFC + __FRAUD_YWW + __FRAUD_ULK + __FRAUD_IOU + __FRAUD_JNB + __FRAUD_IRT + __FRAUD_ETX + __FRAUD_WDR + __FRAUD_UUY + __FRAUD_MLY > 2)
88
 
meta ADVANCE_FEE_3 (__FRAUD_KJV + __FRAUD_IRJ + __FRAUD_NEB + __FRAUD_XJR + __FRAUD_EZY + __FRAUD_ZFJ + __FRAUD_KDT + __FRAUD_BGP + __FRAUD_FBI + __FRAUD_JBU + __FRAUD_JYG + __FRAUD_XVW + __FRAUD_SNT + __FRAUD_LTX + __FRAUD_MCQ + __FRAUD_PVN + __FRAUD_FVU + __FRAUD_CKF + __FRAUD_FCW + __FRAUD_MQO + __FRAUD_TCC + __FRAUD_GBW + __FRAUD_NRG + __FRAUD_RLX + __FRAUD_AXF + __FRAUD_THJ + __FRAUD_YQV + __FRAUD_YJA + __FRAUD_YPO + __FRAUD_UOQ + __FRAUD_DBI + __FRAUD_BEP + __FRAUD_DPR + __FRAUD_QXX + __FRAUD_QFY + __FRAUD_PTS + __FRAUD_TDP + __FRAUD_GAN + __FRAUD_IPK + __FRAUD_AON + __FRAUD_WNY + __FRAUD_AUM + __FRAUD_WFC + __FRAUD_YWW + __FRAUD_ULK + __FRAUD_IOU + __FRAUD_JNB + __FRAUD_IRT + __FRAUD_ETX + __FRAUD_WDR + __FRAUD_UUY + __FRAUD_MLY > 3)
89
 
meta ADVANCE_FEE_4 (__FRAUD_KJV + __FRAUD_IRJ + __FRAUD_NEB + __FRAUD_XJR + __FRAUD_EZY + __FRAUD_ZFJ + __FRAUD_KDT + __FRAUD_BGP + __FRAUD_FBI + __FRAUD_JBU + __FRAUD_JYG + __FRAUD_XVW + __FRAUD_SNT + __FRAUD_LTX + __FRAUD_MCQ + __FRAUD_PVN + __FRAUD_FVU + __FRAUD_CKF + __FRAUD_FCW + __FRAUD_MQO + __FRAUD_TCC + __FRAUD_GBW + __FRAUD_NRG + __FRAUD_RLX + __FRAUD_AXF + __FRAUD_THJ + __FRAUD_YQV + __FRAUD_YJA + __FRAUD_YPO + __FRAUD_UOQ + __FRAUD_DBI + __FRAUD_BEP + __FRAUD_DPR + __FRAUD_QXX + __FRAUD_QFY + __FRAUD_PTS + __FRAUD_TDP + __FRAUD_GAN + __FRAUD_IPK + __FRAUD_AON + __FRAUD_WNY + __FRAUD_AUM + __FRAUD_WFC + __FRAUD_YWW + __FRAUD_ULK + __FRAUD_IOU + __FRAUD_JNB + __FRAUD_IRT + __FRAUD_ETX + __FRAUD_WDR + __FRAUD_UUY + __FRAUD_MLY > 4)
90
 
 
91
 
describe ADVANCE_FEE_2  Appears to be advance fee fraud (Nigerian 419)
92
 
describe ADVANCE_FEE_3  Appears to be advance fee fraud (Nigerian 419)
93
 
describe ADVANCE_FEE_4  Appears to be advance fee fraud (Nigerian 419)