Posted By RichC on May 24, 2005
The information below is from Deb Shinder, MCSE, MVP (Security). She is a technology consultant that we have used to secure our servers and email. I found her information worthy of inclusion on my blog and hope it will help others.
Does spam threaten your networkâ€™s security?
Certainly if dozens of salespeople came to your door every day, strong-armed their way into your house or place of business (often using false names or fraudulent premises to talk you into letting them inside) and then deluged you with sales pitches or displayed offensive photos to you and your children, you would feel your security had been breached. Thatâ€™s exactly what spam does to your computer.
Every access point into your network presents a potential threat to the security of your systems. Spam is no exception. In an effort to â€œstand out from the crowd,â€ spammers often send their messages as HTML mail, which can carry embedded malicious code. Other spam messages include attachments that can contain macro viruses. Spam mail may point recipients to Web sites that contain scripts to collect information, or include links that purport to take you off the spammerâ€™s mailing list but in fact just verify that your e-mail address is a â€œliveâ€ or active one (and thus valuable for sale to other spammers). Spammers use â€œharvest attackâ€ techniques to collect addresses from corporate email directories. Some spammers spoof the addresses of legitimate companies, banks, etc. and attempting to gather credit card and other personal information. Even when spam consists of â€œonlyâ€ plain text messages advertising a product, the sheer volume can threaten the integrity of your network, causing an unintended denial of service.
Types of spam
We tend to think of spam as unwanted email, but itâ€™s more than that. Spammers also send unwanted messages of other types, including newsgroup posts, instant messages, Web board postings, and even exploitation of services such as Windows messenger to get their advertising or obnoxious messages through.
Spam can also be categorized in other ways:
Junk mail â€“ mass mailings from legitimate businesses that is unwanted. Non-commercial spam â€“ chain letters, urban legends, joke collections and other mass mailings of unsolicited messages without an apparent commercial motive. Porno spam â€“ mass mailings of â€œadultâ€ advertisements or pornographic pictures Spam scams â€“ mass mailings of fraudulent messages or those designed to con people out of personal information for the purpose of identity theft and other criminal acts Virus spam â€“ mass mailings that contain viruses, Trojans, malicious scripts, etc.
Last year, Spamcop (www.spamcop.net), which runs a service that allows you to report spammers, received over 183 million spam reports.
Anti-spam technologies: Which is the best?
â€œSpam whackersâ€ are some of the most popular software programs available, but not all are created equal. There are a number of different types of anti-spam technology, so it pays to examine your options before you invest, especially when considering a high dollar server-side solution.
Some spam control techniques include:
Key word filtering: this is a type of application layer filtering (ALF) that lets you block all messages containing particular keywords or phrases (text strings) that commonly appear in spam (for instance, â€œViagraâ€ or â€œhot sexy babesâ€). Address blocking: this is a filtering method that blocks mail from particular IP addresses, email addresses or domains of known spammers. Black listing: maintaining a list of known spammersâ€™ addresses that can be shared with others, so each user doesnâ€™t have to develop the list from scratch. White listing: filtering method that, instead of specifying which senders should be blocked, specifies which senders should be allowed. Heuristic filtering: rules-based filtering that uses pattern matching to identify spam. Bayesian filtering: â€œintelligentâ€ software that can analyze spam messages and recognize other messages as spam based on the â€œlearningâ€ experience. Challenge/Response filtering: replies to email from senders not on a â€œtrusted sendersâ€ list with a challenge, usually involving solving a task that is easy for humans but difficult for automated bots or scripts.
Note: Tasks that can be easily done by humans but not by computers are sometimes called â€œcaptchas.â€ An example is the display of a distorted bit of text, with the requirement that you type in the word that it spells. For more about challenge/response filtering and captchas, see this About email link.
No one method can ensure 100% effectiveness against spam. Spammers are constantly changing their addresses, updating their content and using â€œtricks of the tradeâ€ such as misspelling key words or using spaces or periods (e.g., â€œv.i.a.g.r.a.â€) to circumvent the filtering systems.
A particular problem with spam filtering software is the possibility of false positives â€“ messages that are identified as spam and intercepted, but which are actually legitimate (and sometimes important) email messages. The only thing worse than spam getting through to the userâ€™s inbox is for the user to miss a critical message because it was caught by the spam filters. Regardless of the methods used to identify spam, a good anti-spam program should include a white listing mechanism, by which users can specify that mail messages from certain addresses should be delivered regardless of what â€œspam triggersâ€ they trip.
Fighting spam effectively: a multi-layered approach
Because no single spam control program can do it all, the most effective way to filter spam is by setting up a â€œdefense in depthâ€ plan. An application layer filtering firewall can be configured to stop the most egregious spam at the network perimeter. Then a good filtering program on the server can catch most of the rest of the spam there, so that it never reaches the end-userâ€™s computer. Finally, the email clientâ€™s built in filters or a client-side add-on can redirect any remaining suspect email into a â€œjunk mailâ€ folder on the userâ€™s system.
Fighting spam at the firewall level
ALF enabled firewalls (such as Microsoftâ€™s ISA Server) can filter messages based on key words or character strings. At this level, you should be careful to only set filters for words or phrases that never will be expected to appear in legitimate email. IP addresses and domains can also be blocked at this level if they are known to belong to spammers.
The big advantage of doing some of the spam filtering at the firewall is that it takes some of the processing load off the mail server. Spam filtering is a processor intensive activity, so spreading that load increases performance of your mail servers and saves local network bandwidth.
Fighting spam at the server level
There are many applications designed to block spam at the server level. Some of these are installed on the email server itself and others are installed on a separate server. The latter requires a greater initial expenditure for hardware but relieves the processing load on the mail server so it can do its primary job more efficiently.
Server side tools are often fairly expensive, but have the advantage of blocking spam for large numbers of users in the organization. The more spam is blocked at the server level, the less time end-users will spend reading and deleting it, thus resulting in increased worker productivity. Server side spam blockers such as GFIâ€™s Mail Essentials are designed to work with specific mail server software, such as Exchange, and may also contain additional email enhancement features such as monitoring, reporting and mail archiving capabilities.
Exchange Server 2003 will be able to use Microsoftâ€™s Intelligent Message Filter add-on, based on their SmartScreen spam filtering technology. SmartScreen is the same technology used for Web-based Hotmail and MSN mail and is integrated into Office 2003â€™s version of Outlook. For more information about SmartScreen, see Microsoft.
Fighting spam at the client level
Most popular email clients include some form of spam filtering built in. For example, Outlook and Outlook Express both include junk email filtering, as do Eudora, Netscape Mail and most other commonly used clients.
Outlook 2003 has greatly improved its junk mail filtering, adding the ability to configure â€œsafe sendersâ€ and â€œsafe recipientsâ€ lists so you can whitelist individuals or mailing lists whose mail you want to get through even if it meets other spam criteria. It also lets you blacklist particular senders or domains using the â€œblocked sendersâ€ list.
Note: In Outlook 2003, if youâ€™re using an Exchange server account, youâ€™ll need to work in Cached Exchange mode before you can set up the junk mail filters.
Many third-party products are available for filtering email. These include POP3 filters, POP3 Proxy filters (that sit between the client and the POP3 mail server) and IMAP filters. There are programs that integrate with your email client and add rules to be used by its filtering mechanism. There are also Webmail spam filters for those who use Yahoo, MSN, AOL, Hotmail and similar services for their email.
Click the following link for a list of client-side spam filtering programs.
Spam is a big problem for everyone from the individual home Internet user to the multi-national corporation that depends on email communications to conduct business. Not only is it a nuisance, it can also present a security threat to your network. There are hundreds of products designed to combat spam, but the most effective anti-spam plan utilizes a multi-layered, â€œdefense in depthâ€ approach. This means intercepting spam at the network perimeter (firewall filtering), at the mail server, and on the client side. In this article, weâ€™ve provided an overview of how such a strategy can help you get a handle on the deluge of spam that threatens your network on a daily basis.