Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


October 25, 2004

Protect Exchange Distribution Lists from Spam

RSS
View this exclusive article with VIP access -- click here to join |
See More Security Articles Here | Reprints | Or sign up for our VIP Monthly Pass!

All the employees in one of my company's offices recently received a spam email message advertising a sex shop. My boss asked me to figure out how this message was sent to everyone in the office and to prevent delivery of similar messages in the future.

My company uses Exchange 2000 Server. We developed a hierarchical distribution list (DL) system, in which we group DL members by department or office. You can use one of two methods to send messages to a DL in Exchange 2000. One method is to select the name of the DL in the Outlook Address Book. Another method is to use a DL's SMTP address. Spammers can use only the second method; the header of the email message we received confirmed that the sender sent the message from the Internet to the SMTP address of the DL members. Therefore, we needed to prevent spammers from sending messages from the Internet to our DLs. However, employees needed to retain the ability to send email messages to the DLs inside the corporate network.

A DL must include an SMTP address. When you create a DL, the list automatically obtains an SMTP address that the recipient policy generates. Everyone can send messages to the DL by default. The administrator can give certain users permission to send messages to DLs and can deny other users permission to send messages to the lists.

When you use the Microsoft Management Console (MMC) Active Directory Users and Computers snap-in to open a DL, you can access the DL's Security tab. The Authenticated Users group has the Send to right for every DL. Internet spammers belong to the Anonymous group but not to the Authenticated Users group. Unfortunately, Exchange 2000's Authenticated Users group's Send to right doesn't work and you can't stop spammers from sending spam to DLs.

If you don't change your DL default message restrictions, any Internet user who knows one of your DL's SMTP addresses can send a message to the list. Several methods exist for preventing spammers from sending messages to DLs.

First, you can replace a DL's email addresses with nonexistent addresses (e.g., change distribution.list@flowers.com to distribution.list@flowers.dl). If an Internet user tries to send a message to the nonexistent address, the mail system will return a nondelivery report (NDR). But if a company employee selects the DL from Outlook's address book, the message will deliver.

The second solution is more complicated than the first but is also more effective. Most companies have a hierarchical list of DLs. In general, all employees belong to a common DL. You need to allow all other DLs to receive messages from the common list. You also need to allow the common DL to receive messages from itself to protect the list from spammers. For example, suppose that all your employees belong to the DL ALL_USERS, which you created to send companywide notifications. Sales managers belong to the DL SalesManagers, which has the SMTP address salesmanagers@flowers.com. Spammers can easily obtain the SMTP address salesmanagers@flowers.com and send spam to this address. You need to set the SalesManagers DL's message restrictions to accept messages only from the ALL_USERS group. If someone who doesn't belong to ALL_USERS tries to send a message to the SalesManagers group, Exchange 2000 will generate an NDR. The spam message's SMTP address will probably be a fake, in which case the NDR will go to your SMTP server's queue. If the NDR doesn't send within 2 days, Exchange 2000 will put the report in your Badmail folder. This solution has a notable disadvantage: Because SMTP doesn't support senders' authentication, a spammer could fake or use the SMTP address of a member of the ALL_USERS group. In this case, Exchange 2000 will accept and deliver the spam message to the SalesManagers group.

The third solution is the most complicated and expensive. You can migrate from your existing version of Exchange to Exchange Server 2003. Exchange 2003 has the feature Accept messages from authenticated users only, which lets you accept messages only from authenticated users in the domain. Internet users belong to the Anonymous group but not the Authenticated Users group and therefore can't send messages to DLs.

Finally, you can install third-party antispam software on your gateway computer and configure the software to reject Internet messages to DLs' SMTP addresses. This method's main disadvantage is cost. The solution requires additional hardware and software, as well as your time updating your record of DLs' SMTP addresses.

All four methods for protecting your Exchange 2000 DLs from spam have disadvantages. I've tested the first solution several times; although this method works, replacing a DL's SMTP address with a nonexistent SMTP address can interfere with Exchange services. The second solution isn't optimal because spammers can fake their SMTP address to send spam to a DL. The third and fourth solutions incur additional expenses.

What should you do if spammers know your DL's SMTP address? You can replace the SMTP address with a new address, or you can use one of the solutions I explained in this article. I used the second solution I described, and my company's DLs haven't been bothered by spam since.

Migrating to Exchange 2003 will solve the problem of spam messages sent to DLs. In the meantime, the solutions I discussed will give you some options for protecting your mail system from spam.

End of Article



Reader Comments

You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...

How can I stop and start services from the command line?

...


Security Whitepapers The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Protecting (You and) Your Data with Exchange Server 2007

Related Events How IE7 & The New Extended Validation SSL Certificates Impact Your Site

Top 10 Email Security Challenges and Solutions

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing