Stopping Spam Before the Gateway: Honeypots

Like pesky flies, spammers just can't resist the allure of honey. Discover some sweet tricks for luring spammers into your honey-laced traps.

By  Steven J. Vaughan-Nichols | Nov 19, 2003
Page 1 of 2
Print ArticleEmail Article
  • Share on Facebook
  • Share on Twitter
  • Share on LinkedIn

Do you want to be aggressive – very aggressive – in stopping spam on your network? Then what you might want to do is to set up a fake open proxy or e-mail relay as a honeypot.

Honeypots are an ancient but eternally effective security tool. A honeypot in the network sense of the term is a server that looks like it has very attractive files as well as a nice little security hole in it. The idea is that crackers will be drawn to the honeypot in search of pirated copies of games, trade secrets, or such.

In reality, there's nothing of any real value stored in the honeypot. Rather, the value lies in watching who breaks into the honeypot — you can audit would-be attackers as they hunt for the goodies until you know exactly who they are and you can put the cuffs on them.

Some black-list administrators, notably Ron Guilmette, have taken the basic idea of a honeypot and turned it into an anti-spam approach. It works in exactly the same way as other network honepots. Since a spammer doesn't know what proxies or relays are open to abuse by spammers, they are constantly testing sites for new and vulnerable relays. In fact, a spammer probably has no idea what sites he is using to spread spam. Most simply rely on automatic scripts to find new sites as old open relays are either fixed or knocked off the net by being added to a blacklist.

If you're not sure yourself about whether your mail servers are open, you should get a copy of Mail Relay Tester, or run the Abuse.net mail relay test, and test out your own system.

If you're well past the point of needing such tools, you may be ready to try to nail spammers with a honeypot. The most basic way to do it is to simply set up an insecure mail server, aka relay, and wait for the spammers to come to you.

Then, one simply reads your incoming log for a visitor's IP address, looks up what ISP owns that IP address, and reports to the ISP that they have a spammer at x.x.x.x IP addresses as a member. Or, as Brad Spencer, a retired systems manager for the University of Wisconsin and honeypot advocate, puts it, "Boom! There went the much-exaggerated 'anonymity' of the spammers."

If you don't want to build your own open relay honeypot, you can simply download a complete package like Jackpot, which is a ready-to-run Simple Mail Transport Protocol (SMTP) relay honeypot called Bubblegum Proxypot. Bubblegum is written in Perl and runs on Linux, but its developer believes that it should run on most Perl-friendly systems.

Page 2: With Rewards Come Risks

Comment and Contribute
(Maximum characters: 1200). You have
characters left.
Get the Latest Scoop with Enterprise Networking Planet Newsletter
Helpful Links
  • Yankee Group Mobile WAN Optimization Report

    Mobile work continues to evolve. Your organization must keep up with the demands of its mobile workforce. This report introduces the concept of mobile WAN optimization and provides three case studies including RCM, PRTM and Einstein that highlight how this emerging technology can help IT departments achieve what previously appeared to be conflicting goals. Read >

  • Network Security Resources

    More threats than ever before pose a danger to today's enterprise network. Get the latest tips and intel on the newest risks in our guide to network security resources. Read >

  • Extreme Savings: Cutting Costs with WAN Optimization

    Did you know it's possible to cut IT costs without impacting day-to-day IT operations? In fact, when you download this whitepaper from Riverbed on cost-savings through WAN optimization, you'll discover how businesses of all different sizes have realized a return on investment in just a few months through significant hard cost savings in areas such as bandwidth reduction and IT consolidation. It's called Extreme Savings and its only from Riverbed. Read >