From 54eaf4fe87478320705ac57d8a8e1343b14eadda Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 5 Nov 2016 16:58:45 -0700 Subject: [PATCH] add rules for trailing ID in spam --- common/virus_spam | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/common/virus_spam b/common/virus_spam index 151b21d..3654cb1 100644 --- a/common/virus_spam +++ b/common/virus_spam @@ -95,10 +95,15 @@ describe XEROX Scanner malware score XEROX 4 # don 2016-11-04 -header FEDEXPACKAGE subject=~/FedEx International|unable to deliver.*(item|parcel)/i +header FEDEXPACKAGE subject=~/FedEx International|(unable to deliver|problem with).*(item|parcel)|shipment delivery problem|delivery notification/i describe FEDEXPACKAGE Fedex Package Virus spam score FEDEXPACKAGE 4 -meta FEDEX_ZIP FEDEXPACKAGE && ZIPCOMPRESSED +#don 2016-11-04 +header SHIPPING_ID subject =~ /(ID:?|ID|\#)\s*\d{8,}\s*$/ +describe SHIPPING_ID Contains a long ID number at the end +score SHIPPING_ID 3 + +meta FEDEX_ZIP (FEDEXPACKAGE || SHIPPING_ID ) && ZIPCOMPRESSED describe FEDEX_ZIP Fedex package with zip file score FEDEX_ZIP 3 -- 2.39.2