Extreme Exploits. Advanced Defenses Against Hardcore Hacks
Authors: Oppleman V. Friedrichs O. Watson B.
Published year: 2005
Pages: 62-63/120
Buy this book on amazon.com >>

Public Notifications and Role Accounts

At this point, you believe you have created a highly scalable, highly resilient public e-mail infrastructure with several built-in security features. While that may be the case, there is always a chance for misconfiguration, a missed vulnerability patch, a previously unknown zero-day virus that infects before a virus definition can be released to protect against it, and many more potential threats to even the most resilient public e-mail infrastructure. What should administrators do to be good stewards of the Internet? Per RFC 2142, Mailbox Names for Common Services, Roles and Functions, proper mailboxes should be configured within an organization's e-mail system to accept e-mail for various roles. The RFC includes mailbox names for the following areas:

  • Business Related

  • Network Operations

  • Support for Specific Internet Services

  • Various Services (such as e-mailing Lists, DNS Administration, Autonomous System, etc.)

The areas important to an organization's technology infrastructure include Network Operations and Support for Specific Internet Services. These areas include the following mailboxes/role accounts that should be configured (if the service is available from the organization). These mailboxes/role accounts should map to an organization's domain(s). For example, the Vostrom organization would map the ABUSE mailbox to "abuse@vostrom.com" and make this e-mail address available publicly . This would be completed for each service below in use by an organization.

Service

Description

ABUSE

Used in Customer Relations to report inappropriate public behavior

NOC

Used in Network Operations to report issues or problems with an organization's network infrastructure

SECURITY

Used in Network Security to communicate security bulletins or queries

POSTMASTER

Used to communicate regarding the Simple e-mail Transfer Protocol service

HOSTMASTER

Used to communicate regarding the Domain Name System service

USENET

Used to communicate regarding the Network News Transfer Protocol service

NEWS

Used as a synonym for USENET

WEBMASTER

Used to communicate regarding the HTTP or web service

WWW

Used as a synonym for WEBMASTER

UUCP

Used to communicate regarding the Unix-to-Unix Copy Protocol service

FTP

Used to communicate regarding the File Transfer Protocol service

Not all mailboxes/accounts listed above must be implemented; however, according to RFCs 2142 and 822, some of these suggested names must be available (ABUSE in RFC 2142 and POSTMASTER in RFC 822), be character case-independent, and valid for the top-level domain only (however, valid e-mail addresses at subdomain levels are recommended). If an organization does not use a specific service, there is no need for a public e-mailbox/account. The purpose is to provide a uniform name for every organization, reducing the need to research contact information in the event an organization must be contacted regarding one or more of its services.

A Checklist for Developing Defenses

Step

Description

Use a stand-alone MTA.

An organization should use a stand-alone MTA to act as its public e-mail infrastructure. This should be separated from the internal mail store containing users' mailboxes. A viable alternative is to use an MTA or relay service provided by a third party (provided acceptable anti-virus and spam filters are used by the third party).

Separate MTA and internal mail store.

If economically feasible , an organization should use disparate software packages for its MTA and internal mail store. Both the operating system e-mail packages and the anti-virus program, if possible, should be different to increase attack complexity.

Enable relay security and blocking lists.

MTA relay security should be implemented to avoid being added to blocking lists such as RBLs, DNSBLs, and URI BLs.

Enforce SMTP authentication and filtering.

Only allow outgoing e-mail to leave your organization from your outgoing MTA. Filter all other SMTP traffic within your organization (be sure to account for internal mail stores). Authenticate to your outgoing MTA to legitimize users/ clients .

Enable virus filtering and anti-virus tactics.

Use MTA features to assist in filtering viruses at the MTA (such as subject line blocking and attachment stripping). Use anti-virus options such as heuristics, notifications, and so on to further limit viruses at the MTA. If possible, use disparate anti-virus at the MTA and internal mail store.

Turn off Non-Delivery Notices (NDNs) from your anti-virus software.

NDNs can cause inadvertent spam because of spoofed "From" addresses. With many of today's viruses, these spoofed addresses cause innocent users to contend with NDNs from e-mail they did not generate. Additionally, NDNs should never include the full text (or attachments) from the original message. This is a good way to cause unnecessary e-mail traffic ( especially with attachments) but also is a great tool for attackers to use to gather information about your organization and its e-mail infrastructure.

Use spam filtering tactics.

Implement solutions to filter spam such as:

  • DNSBLs/RBLs, the CBL, and other blocking list technologies

  • Collaborative spam identification systems (DCC, Razor, etc.)

  • Challenge Response (CRAM). Use with extreme caution due to the increase in resources required, including sender time needed to validate

  • Whitelists/ blacklists /greylists

  • Micropayment and stamp technologies such as Hashcash, which "cost" a sender in some form to send e-mail to recipients

  • MTA throttling to reduce the amount of spam that can be sent to your MTA

  • Authenticated Sender Protocols such as Sender Policy Framework (SPF). Again, use with caution as this and other technologies may cause functionality concerns.

Use opportunistic TLS.

Configure MTAs to use TLS when possible (opportunistically), whether connecting clients, interoffice MTAs, or outside organizations supporting TLS as well.

Provide for MTA redundancy.

MTAs should be made redundant through the following suggestions:

  • Multiple MX records in use

  • No internal mail store MX advertisements

  • Different subnets and network infrastructure used for multiple MTAs

  • Geographic dispersion

  • Secondary or backup MX service used (if single MTA is implemented)

  • Outsourcing of MTA service to third party, being aware of third-party policies regarding security and spam filtering

  • System redundancy

Enable remote client security.

Clients connecting to e-mail message store infrastructure should use encrypted protocols. Also, alternate port client connections for sending e-mail (such as the submission protocol port 587) should be considered .

Enable public role accounts.

Per RFCs 822 and 2142, role accounts should be publicly available for each organization/domain.

Recommended Reading

  • RFCs 821, 822, 974, 1035, 2142, 2476, 2505, 2821, and 3207

  • http://www.techzoom.net/paper-mailbomb-3.asp

  • http://www. dnsbl . info /dnsbllist.asp

  • http://www.sdsc.edu/~jeff/spam/cbc.html

  • http://cbl.abuseat.org

  • http://www.mail-abuse.com/

  • http://www.rhyolite.com/anti-spam/dcc/

  • http://spamassassin.apache.org

  • http://nilesh.org/weblog/2004/12/defeating-captchas

  • http://www.hashcash.org/faq/

  • http://www.omniti.com/solutions/ecelerity.php

  • http://spf.pobox.com

  • http://www.captcha.net

  • http://www.postfix.org

  • http://sendmail.com

  • http://www.microsoft.com/exchange/techinfo/security/EdgeServices.asp

  • Specific vendor- related URLs for MTAs used within your organization

  • Slamming Spam: A Guide for System Administrators by Robert Haskins and Dale Nielson (Addison-Wesley, 2004)

Extreme Exploits. Advanced Defenses Against Hardcore Hacks
Authors: Oppleman V. Friedrichs O. Watson B.
Published year: 2005
Pages: 62-63/120
Buy this book on amazon.com >>

Similar books on Amazon