Anti-Spam Rulesets: Business Server Essentials

Author: Jared Hall
Contact: jared [@] jaredsec.com
Applicability: Business E-Mail Systems
Effective Date: 2024 to Present

These Business Server Essentials anti-spam rulesets have been specifically 
designed with the Email System Administrator in mind. The rules are written
in SpamAssassin format.

The rules provide strong protection against Phishing, Fake Invoice, Fake
Admin, and Sextortion emails.

+	Take what you need. Leave the rest.
+	These files have no other dependencies. 
+	Rules have no external lookups to ensure privacy.

             

###############################################################################

1) CLOUDSPLOIT.cf 
   ==============
   
This file is the first one that should be added after an installation of 
SpamAssassin. These protect both Users and SysAdmins alike:

	+ Fake System Messages

	Detects Fake System Administration messages with Subject and Body 
	regexes. 

	+ Fake User Administration Messages

	These use Non-Relational Objects (NROs) for spam detection. Essentially,
	we look at URIs that should not appear with certain Body and Header
	content.

	+ Sextortion Messages

	These are multiple Relational Object rules that trigger on combinations
	of phrases and unicode/punycode words. 
	
	+ Other Sections include:
	
	  - MIME Header checks
	  - Bad Attachments
	  - Onmicrosoft/365 Hosts
	  - Firebase Hosts
	  - Bad Apples (hosts)
	  - Unusual HTML and Unicode sequences
	  - Piano Spam
	  - Bad Sending EMail Address


2) GONE_PHISHING.cf
   ================

"The Best Phishes Are Those That Don't Hit Your Mailbox"

This file mostly consists mostly of simple From Name and @Domain comparisons.
Some, like PayPal, are more complex than others. This provides an additional
level of security for users.

There are over 100 companies protected by these rules.


3) BAZA_CALL.cf
   ============
   
These rules target fake invoice scams and threats. These include popular
consumer subscription services, such as Geek Squad, McAfee, Norton, etc.

These are Preponderance Of Evidence (POE) rules requiring multiple hits on
various items like: 

	+ Subjects
	+ Body Phrases
	+ Product Names
	+ Form Fields
	+ Form Parameters
	+ Phone Number Values
	+ Phone Number Existence
	+ Calendar Headers
	+ From Names


4) NILS.cf
   =======
   
NILS = "Name, Image, Likeness Spam".  These rules pick up ground-level Social 
Information Diffusion campaigns and Trademark Infringment scams. Works well 
against these bogus campaigns:

	+ Omaha Steaks                  + AAA 
	+ Blue Cross and Blue Shield    + Costco
	+ Marriott                      + Lowes
	+ Kroger                        + Walmart
	+ Bass Pro                      + Federal Express
	+ Ace Hardware                  + Verizon
	+ CVS Pharmacy                  + Delta Airlines

Like BAZA_CALL, these are Preponderance Of Evidence (POE) rules. Each campaign
has their own unique regex targets.