Home > Security Channel Tips > Information Security Threats > Detect and filter spam: Three complementary antispam techniques
Security Channel Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

INFORMATION SECURITY THREATS

Detect and filter spam: Three complementary antispam techniques


Al Berg
11.03.2006
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


By following the "cocktail" approach discussed in this tip, reposted courtesy of SearchSecurity.com, value-added resellers (VARs) and security consultants can efficiently reduce spam on their customers' networks.

Email Security Project Guide
Find more tips and strategies for securing your customer's email systems in our Email Security Project Guide, designed specifically for channel professionals. 

While admins have a variety of weapons at their disposal in the fight against spam, no single weapon is capable of providing the ultimate death blow, killing all spam in its tracks. Fighting the daily torrent of spam, which (depending on who you ask) makes up 33-80% of all email, requires the use of a "cocktail" approach, mixing multiple detection and filtering techniques.

An antispam strategy -- whether that strategy is you or a vendor product -- should incorporate three techniques, which complement each other to provide antispam defense where others fall short. Let's take a look at these three vital "ingredients" that should be part of any antispam cocktail.

  1. Block mail from known sources of spam using lists of "bad" IP addresses compiled by companies or independent antispam crusaders. These lists are made up of addresses of systems and networks known to belong to spammers, so-called open relays and open proxies, which are poorly secured servers exploited by spammers and Web sites that host spammers or spammer support services. Two of the better known lists are SORBS – Spam and Open Relay Blocking System (http://www.us.sorbs.net/) and SpamHaus (http://www.spamhaus.org/).

    Spam blocking lists are easy to use. Most modern email servers can be configured to perform lookups on these lists via DNS queries with just a few lines of code in the configuration file. However, when you buy into a particular list, you trust the judgment of the list maintainers to determine who should be marked as a spammer.

  2. Block mail based on content. Unless you are in the pharmacy business (or certain other businesses that I'll leave to your imagination), your company probably doesn't receive many legitimate emails containing the word "Viagra." Phrases such as "make money fast," "discount dvds" and "hot stocks" may also serve as a red flag for spam. By filtering mail containing these words, you can reduce the amount of clutter in your users' inboxes. Content filtering can also look for tell tale HTML that indicates the message is either spam or malicious content.

    There are two caveats here: First, the possibility of false positives, causing legitimate email to be marked as spam. Second, the continuing ingenuity of spammers, who have taken to creative spelling techniques ("V1aGrA" or "V!agra"), use of html and graphics, as well as variations in spacing and punctuation to confuse and bypass such filters. This means that you'll need to keep adjusting your filters to deal with new types of spam as well as the spammers' new tricks to hide the true nature of their messages. If you are using a commercial anti spam product based on content filters, make sure that the vendor provides frequent filter updates.

  3. Scientific content blocking. Bayesian filters use science, in the form of statistics, to identify spam. A Bayesian filter builds two tables -- one for all the words that appear in legitimate emails and the other for words that appear in spam -- and gives each word a score. At most companies, a word like "Viagra" is given a score that indicates that it is more likely to occur in a spam message than a word like "meeting." By looking at a message's overall "spamminess" score, the Bayesian filter can make a relatively accurate guess as to whether it is legitimate. The nice thing about these filters is that they can learn from email over time. The more emails the filter scores, the better its scoring becomes.

    Spammers have not stood still in the face of the Bayesian filters. You may have noticed strange blocks of text in some of the spam you receive. Spammers have taken to including passages of random, unusual or legitimate sounding text at the end of their emails in an effort to confuse Bayesian filters. The theory here is that by adding many words found in legitimate email, the "spamminess" score of the message overall may be lowered.

    The learning ability of the Bayesian filter is also a double-edged sword. In order to make the best use of this technology, your users need to teach the system about spam messages that slip through the filter. While this is usually a simple point-and-click process, some users may be annoyed by this task or ignore it, thereby reducing the efficiency of the system.

As you can see, each of the ingredients in this antispam cocktail adds its own "kick" to the recipe. By combining and tuning these techniques, the savvy sys admin can reduce the level of spam on their network to a trickle instead of a torrent.

About the author
Al Berg, CISSP, CISM is the Director of Information Security for Liquidnet (www.liquidnet.com). Liquidnet is the leading electronic venue for institutional block equities trading. According to INC. magazine in 2004, Liquidnet was the fastest growing privately held financial services company in the US and the 4th fastest growing privately held company in the US across all industries.

This tip originally appeared on SearchSecurity.com.


Rate this Tip
To rate tips, you must be a member of SearchSecurityChannel.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Spam and Antispam
What is the future of antivirus or antimalware software?
Open source spam management for Outlook: SpamBayes
Email security appliances that fight phishers and spambots
Instant threat from instant messaging, and what some companies are doing about it
Spam growth fuels continued market for email security services
Spam botnets get smarter, target victims using personal data revealed on social networking sites
A review of Proofpoint's Messaging Security Gateway
Understanding the difference between phishing and pharming
Email threats: Educating your SMB customers
DNS blacklisting dangers demystified

Spam
Finding new ways to fight spam
Email security options for SMBs
Spam growth fuels continued market for email security services
Email threats: Educating your SMB customers
DNS blacklisting dangers demystified

Information Security Threats
Full disk encryption: A hot opportunity for VARs
Top security tips for solutions providers
Common injection attacks
Checklist: Five steps to assessing a customer's antivirus protection
Polymorphic malware attacks and in-line scanning
Use hosted email filtering for virus protection
Re-route virus traffic to the bit bucket
Five steps to cleaning a virus-infected Exchange server
Filter URLs to reduce information security threats
Malware incident-response team creation strategies for the channel

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogsEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2006 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts