]> source.dussan.org Git - rspamd.git/commitdiff
[Conf] Add composite for hacked wordpress phishing
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 9 Mar 2017 15:38:02 +0000 (15:38 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 9 Mar 2017 15:38:20 +0000 (15:38 +0000)
conf/composites.conf
conf/metrics.conf

index 288b08d5884df49afa1121286e2426a0ab1557e3..9565ae4894054848662b43dda23410b77983b1b0 100644 (file)
@@ -57,6 +57,10 @@ composites {
     MAIL_RU_MAILER_BASE64 {
         expression = "MAIL_RU_MAILER & (FROM_EXCESS_BASE64 | REPLYTO_EXCESS_BASE64 | SUBJ_EXCESS_BASE64 | TO_EXCESS_BASE64)";
     }
+    HACKED_WP_PHISHING {
+        expression = "HAS_X_POS & HAS_WP_URI & PHISHING";
+        policy = "leave";
+    }
 
     .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/composites.conf"
     .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf"
index a8eff289ceea2785c1b3714215647f69f2f71d78..bc39a7925a36d1df809c9f6e25df0d9b406d1c76 100644 (file)
@@ -424,6 +424,10 @@ metric {
             weight = 7.0;
             description = "Phished URL found in phishtank.com";
         }
+        symbol HACKED_WP_PHISHING {
+            weight = 4.5;
+            description = "Phishing message from hacked wordpress";
+        }
     }
 
     group "hfilter" {