Home > Security Security Schools > Messaging Security School > Spam 2.0: New threats and new strategies > Preventing spam bots from hijacking an enterprise network
Security Schools: Messaging Security School:
EMAIL THIS
 START   EMAIL   SPAM 2.0   MOBILE DEVICES   SECURE IM   MALICIOUS CODE   EXCHANGE   
Spam 2.0: New threats and new strategies

<< PREVIOUS | NEXT >>: Podcast: Countdown --Top 5 technologies to help...
 TIPS & NEWSLETTERS TOPICS 

NETWORK SECURITY TACTICS

Preventing spam bots from hijacking an enterprise network


Michael Cobb
11.27.2007
Rating: -3.62- (out of 5)


Network Security Tactics
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


SearchSecurity.com Security School
This tip is part of SearchSecurity.com's Messaging Security School lesson, Spam 2.0: New threats and new strategies. Visit the Spam 2.0: New threats and new strategies lesson page for related materials, or visit the Security School Course Catalog for more learning content.

Despite Bill Gates' assertion in 2004 that the problem of spam would be solved by now, it's still with us. In fact, it's on the increase. According to recent figures from Symantec, 61% of emails are spam, and almost 90% of emails emanating from some countries are spam.

This deluge of unwanted and often malicious email can cost businesses dearly. Not only does spam negatively affect employee productivity, but it also consumes bandwidth and other network resources. Backup times and storage requirements can also increase considerably, but it gets worse. If an organization's network is hijacked by spammers, it can lead to a loss of reputation and even Internet connectivity.

A big problem for spammers is that if they send large amounts of spam from a single computer, the unusual volume of mail will be detected by the ISP, which will takes steps to block the IP of the computer they're using. Therefore spammers have turned to using botnets. Botnets have become one of the main vehicles used by spammers to send spam. Keeping your network clear of botnets is critical not just for your own security, but for the security of others as well. Let's examine how network administrators can prevent their networks from being hijacked to relay spam to the rest of the Internet.

A botnet is a collection of computers, also known as zombies or robots, that can all be controlled remotely by one person. This control is achieved by installing malicious software on a PC via illicit means, such as a virus or email attachment. Bots are generally versatile and can have the ability to log keystrokes, capture and analyze data packets, launch denial-of-service attacks and relay spam. A spammer who has command and control over a botnet can send messages from thousands of computers. This makes their activity hard to detect, since each zombie sends just a few messages at a time.

For more information:
In this SearchSecurity.com Q&A, Ed Skoudis examines whether or not peer-to-peer (P2P) botnets can be detected.

In this tip, contributor Scott Sidel discusses how the open source tool SpamAssassin can eliminate the threat of spam email attacks.

Learn how antispam filters can help to solve the image spam problem.
The key to preventing spammers from using the computers on a network is to prevent them from infecting and press-ganging users' PCs into their botnets. It goes without saying that servers and client machines should be hardened and patches should be kept up-to-date. Unpatched or noncompliant computers put every network user at risk. Antivirus software should be installed on gateways and desktop computers.

Because users can introduce vulnerabilities into a network, it's important to educate them about how to protect their systems from malware, highlighting the importance of their role in the security of the network. This should be backed up by a "closed by default, open by exception" methodology, whereby users can install only the programs required to do their jobs.

Portable devices like USB keys can also introduce malicious programs, so these too need to be strictly controlled. A secure network must also include computers used by remote users. Network access control (NAC) technology should be used to ensure that only machines that comply with corporate security policies can access the network.

Even with these preventative measures in place, administrators must review logs from firewalls, intrusion detection systems, DNS servers and proxy servers. Signs of abnormal behavior can be a sign of an infection. Bots can choose any port that they want to communicate over, so look for outbound SMTP connection attempts or abnormal traffic loads on non-standard ports. Administrators should introduce strict inbound and outbound filters. Restricting outbound connections will prevent any bots from "phoning home". That way even if a bot finds its way in, it is relatively harmless if it can't communicate with its controller.

Unfortunately bots are not the only method spammers use to distribute spam. Email injection attacks often go unnoticed until antispam filters blacklist a server's IP address. If a company has an email form on its Web site, such as a feedback or contact forum, it basically acts like an SMTP proxy. Spammers try to hijack it by manipulating the mail headers, turning it into a spam relay. This attack can potentially work on any email script that fails to validate the user data it receives.

To ensure your email forms are not open to abuse, your script should:

  • Assume all data is from an untrusted source;
  • Validate all input for type, length, format and range;
  • Accept only data that is deemed valid and reject everything else;
  • Remove any line feeds or carriage returns;
  • Validate using a trusted server or application.

The war against spam, phishing scams and other email-related security issues is nowhere near over, but you can play your part in the battle. The US-CERT contends that the likelihood of becoming compromised by a bot or email injection attack is not a question of if, but when. It's critical to stay abreast of the latest research and advice on bots and have an incident response policy prepared to minimize the damage of a bot invasion.

About the author:
Michael Cobb, CISSP-ISSAP is the founder and managing director of Cobweb Applications Ltd., a consultancy that offers IT training and support in data security and analysis. He co-authored the book IIS Security and has written numerous technical articles for leading IT publications. Mike is the guest instructor for several SearchSecurity.com Security Schools and, as a SearchSecurity.com site expert, answers user questions on application security and platform security.

Rate this Tip
To rate tips, you must be a member of SearchSecurity.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    Add to Google


<< PREVIOUS | NEXT >>: Podcast: Countdown --Top 5 technologies to help...
VIEW ALL IN THIS CATEGORY

RELATED CONTENT
Network Security Tactics
Screencast: How to use Wikto for Web server assessment
Microsoft Baseline Security Analyzer: Do updates offer improved Windows security?
How to patch Kaminsky's DNS vulnerability
Directory services and beyond: The future of LDAP
Screencast: Catching network traffic with Wireshark
Enterprise role management: Trends and best practices
Using Nessus Attack Scripting Language (NASL) to find application vulnerabilities
Screencast: Recovering lost data with WinHex
How to build security into a virtualized server environment
How to install and configure Nessus

Spam and Antispam
Apple iPhone mail, Safari prone to spoofing
Why is backscatter spam so difficult to block?
Spam Blockers Losing Ground on Sophisticated Attackers
Companies still monitoring email manually, survey finds
Google Docs used in latest spam run
New phishing, Zeus Trojan technique spreads crimeware
Kraken botnet balloons to dangerous levels
New Storm attack exploits April Fool's Day
Gmail CAPTCHA cracking leads to spam surge
Clinton, Obama campaigns used in spam blasts
Spam and Antispam Research

Spam 2.0: New threats and new strategies
Quiz: Spam 2.0 -- New threats and new strategies
Podcast: Countdown --Top 5 technologies to help battle the new spam threat

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
CAPTCHA  (SearchSecurity.com)
challenge-response system  (SearchSecurity.com)
content filtering  (SearchSecurity.com)
DomainKeys  (SearchSecurity.com)
Joe job  (SearchSecurity.com)
munging  (SearchSecurity.com)
Register of Known Spam Operations  (SearchSecurity.com)
Sender Policy Framework  (SearchSecurity.com)
spam cocktail  (SearchSecurity.com)
spam filter  (SearchSecurity.com)

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.



Research Solutions for Network Security, Access Control and Security Threats
More Security Resources for Resellers, VARs and OEMs
TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
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 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts