Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

Shutting Down the Highway to Internet Hell
Yahoo News / Ziff Davis: News ^ | 10 April 2005 | Larry Seltzer

Posted on 04/11/2005 10:12:57 AM PDT by ShadowAce

Do you run a mail server on your home Internet account? If you do, it's probably without your knowledge, such as in a mail worm or a zombie spambot. Few if any people running these programs intend to do so, and it's time for ISPs to close the door through which they operate.

I think there's a consensus developing among anti-spam researchers, many of them responsible for fighting spam on ISP networks, that unrestricted use of TCP port 25 must be shut down to the average Internet consumer. There are those who disagree, but their arguments sound obtuse and defeatist rather than actual justifications to not block port 25.

TCP Port 25 is one of the core interfaces of the Internet, through which Internet mail servers typically send mail to each other. It's normal for users to send data out port 25, but they do so to their own ISP's mail server, from which it is forwarded on to the appropriate location. This is the server identified as the outgoing mail server in the mail client configuration.

But if you are infected with a spam zombie—typically, a mail worm with a backdoor used by a spammer to cause your computer to send out massive amounts of spam—the mail does not go through your mail server. It probably goes directly to the server of the target domain for the spam message. The overwhelming majority of users have no need to do this and are perfectly well-served by sending all their mail through the ISP mail servers. It's also worth reiterating that the block need only be put on consumer client systems, not on higher-end services.

Of course there are users who do need access to the port, or who at least want to run their own mail server and don't intend to abuse the privilege. Or they have a need to use a different mail server than the ISPs, perhaps for reasons involving confidentiality. There are ways for ISPs to accommodate these users.

In fact, there's no reason an ISP can't make exceptions for users who want to use port 25 more openly, especially if they agree to rate limits and to configure it securely. The real problem that needs to be solved is the users who don't know they are running a mail server. Such users won't miss not being able to run one.

Alas, this level of customer service may be too much to expect from some ISPs. Hosting servers are also often far too lax in the management of mail on their networks.

Next page: ISPs Fighting Back

But some ISPs are putting their feet down, attempting to stop the abuse. At the forefront of this effort, defying all conventional wisdom, is AOL. In the 90s, an era of very different circumstances, AOL was the single largest source of spam on the Internet, and the ISP's reputation suffered terribly from it. Now not only AOL users have high-quality spam control, but AOL is perhaps the most active ISP in terms of policing the use and abuse of mail.

Consider the rules at AOL's "Technical Standards for E-mail Delivery." AOL makes extensive use of RBL services like MAPS so that they know to block spam from open relays, spambots, systems with unsecured form-mail scripts and other spam sources. They actually use the same services to block spam that comes directly from residential ISP clients that should not be sending mail directly; in other words, if you don't block port 25 yourself, they will do it for you.

The ISP goes further—much further. If the sending system does not have a PTR record (a reverse DNS), it is rejected. If a message contains a hex-encoded URL (like http://%73%70%61%6d/), it is rejected. If more than 10 percent of the sending system's messages to AOL bounce, AOL may reject mail from it in general. If a server rejects 10 percent or more of the bounce messages sent to it, AOL may reject further connections from the server. There are other, similar rules.

All of this is intended to use AOL's size and clout to make other e-mail administrators set up and administer their systems properly. In many cases, the reverse DNS requirement, for example, the administrator finds out that he or she doesn't have a reverse DNS because AOL blocks the mail, and the end result is an improvement for everyone. Mail servers should have a reverse DNS if they have nothing to hide.

Perhaps not everyone can do everything AOL does. It does, after all, have a proprietary internal mail system. But there's a lot we can learn from its example. Carl Hutzler, until recently in charge of AOL's anti-spam efforts (he has now moved on to a position in engineering and development of AOL's e-mail), has been evangelizing this ethic of responsibility by mail admins, especially at ISPs.

Hutzler warns of the lazy approach of relying on filters, as so many ISPs do. It's the easy way out. But anyone with a little experience knows that filters don't even come close to solving the problem, although they can be a useful part of the solution. I've seen messages with overtly pornographic subject lines and bodies make it through three different Bayesian filters. Spammers know how to play with the content of the message to trick filters.

Next page: Port 25, The Nuclear Option

But the technique that generates the most controversy is when an ISP blocks port 25, as SBC recently began to do.

As one prominent researcher put it, blocking port 25 begins the process of shifting the cost burden for spam from the end user to the ISP and others whose sloppiness in administration is responsible for the unchecked proliferation of spam, and these same people are in a position, through responsible system administration, to choke off most of the abuse. He also argued that the cost benefits of fixing their systems are enough incentive to do it.

 

Check out eWEEK.com's Security Center for the latest security news, reviews and analysis. And for insights on security coverage around the Web, take a look at eWEEK.com Security Center Editor Larry Seltzer's Weblog.

The depressing counterargument is that many of these systems have excess capacity enough to handle the abuse and that laziness is its own reward. When this is the case, there's no choice but for other ISPs to start blocking the offending ISP, as AOL has done many a time.

This is another point on which a consensus is emerging: that ISPs don't take action to stop spammers on their networks until there is a gun to their heads, generally in the sense that their customers are prevented from sending mail. This is where the major RBLs like Spamhaus and MAPS can play a big role. They have a bad reputation among some, and I've personally been among the collateral damage from an RBL block. But it was my hosting service's fault that my server got on the block because they didn't do anything about the spammer on the same address that I had. Enough of us called and screamed, and something was done about it.

Not every little domain has the clout to block a major ISP. The little guy ends up hurting and angering his customers, but the big ISP won't even notice. But when one major ISP, or a service like MAPS, blocks a major ISP, it gets their attention. The corollary to this is that when you block someone, you need to be responsive when they fix the problem.

The fact that ISPs have no reason to not let users opt out of the system is what cinches it for me. One researcher suggested to me that it was much easier for ISPs just to block a whole range of addresses than to have to put up a system for tracking who was to be blocked and who shouldn't, but this is basically just arguing laziness as an excuse. Besides, the SBC system supports letting users request an opt-out. Why can SBC do it and others can't?

The same researcher was concerned that the opt-out system would be taken over by spammers who would opt-out their zombie systems. But it's not hard to imagine well-designed authentication systems that mail back a message to the customer and require them to connect back.

And as for the added cost to the ISP for this, I'd suggest that they might just save a lot of money by eliminating spammers and mail worms from their networks, but even if you think this is a costly solution, let them charge for the opt-out. Doesn't bother me.

Next page: Port 25, The Counterarguments

Those who argue against ISPs blocking port 25 generally claim that the downsides are high and that spammers will a) evade the blocks and b) easily move to other techniques for sending spam. Joe St. Sauver has made a well-written case for this position. I admire some of his points, but I still disagree with him, and I think half his problem is that he can't see the point through all his defeatism. Namely, even if spammers were to move to other avenues, it's still worth closing port 25 to stop them from using it.

Getting right to what I feel is the main point, that port 25 blocks will be ineffective because spammers will move to other methods to spread spam, St Sauver brushes aside or ignores counterarguments. He cites recent stories that spammers are beginning to use the ISP mail server instead of sending out spam directly from the client system. There are two counterarguments.

Check out eWEEK.com's Messaging & Collaboration Center for more on IM and other collaboration technologies.

If the ISP requires SMTP AUTH (where you must provide a username and password for the outgoing SMTP mail server as well as the incoming POP3 server), then it will not be a simple matter for the worm to send mail. However, since there are programs available that can read the cached SMTP AUTH credentials from popular mail client programs (click here for one that's sold commercially),

it's not hard to see spam zombies doing the same in the future. They might also do it by monitoring port 25 usage to look for the authentication sequence.

In fact, my own ISP, Speakeasy.net, is very lenient about these things. Speakeasy does not require SMTP AUTH for connections made on their internal network (it does for roaming users), but it says that it monitors mail servers carefully and maintains a number of honeypots on active lookout for malware on its networks.

I spoke to Speakeasy founder and Chairman Michael Apgar, and he insists that a system exhibiting wormlike behavior will not live for long on Speakeasy's network. Within hours the user will be contacted, and if he or she doesn't fix the problem quickly, the plug will be pulled. But Speakeasy is not a conventional ISP; while it's happy to sell to anyone, it has a technically more capable audience who pay more for more open services.

Apgar is quick to agree that mainstream consumer ISPs should be locking down abusable services, and that port 25 is the biggest problem.

Next page: Force the Spammers Onto Official Servers

Even if the zombie successfully is able to send spam through the ISP mail server, we're still better off than before. The ISP can tell, just by looking at mail server logs, who is spamming from its network. ISPs have a cost interest in fixing the situation and arguably are more responsible for doing so since their own servers were involved. Put simply, forcing the spammer onto the ISP mail server facilitates the elimination of zombies. It also gives the ISP the opportunity to rate-limit mail in general, which will not likely affect regular users, but will seriously cut into spammers' ability to spread the message.

I have a similar reaction to St. Sauver's speculation that zombies, blocked in their ability to send spam, will instead be used for even worse things like denial-of-service attacks. This is not hard to imagine, but while much of the world puts up with systems sending spam, they would feel different about a DOS army. And I can't see that the market for DOS armies scales in the same way that the spam market does. It's just not as big a threat.

He also points out that spammers could still evade blocks on port 25 at the network periphery by spamming inside the network—e.g., to other customers of the same ISP on their subnet. Of course, they will only be able to do so if the recipient mail server is on the same subnet, and this is highly unlikely on a large consumer ISP network.

While most of his writing is laboriously pessimistic, St. Sauver does have interesting constructive criticism. He urges those who would fight spam to focus not on the spam leaving the network but on the traffic coming in to the spambot. He asserts (this is counter to my understanding) that spambots don't typically construct the e-mails they send out programmatically but pass on what they receive from the outside. Whether this is true or not is beside the valid point he makes that it should be possible to look for the command/control coming into the network from spammers. While these commands come in on nonstandard ports, they are known (they have to be, or spammers couldn't find them either).

Finally, for all their claims that easy alternatives exist to port 25, they haven't come up with any. The first port usually listed is TCP 587, but like many of the potential alternatives, it's an authenticated port, so it's not blindly open for spamming use.

In the end, the biggest factor in whether ISPs will play hardball with spammers is whether they want to have to go to the problem of taking out the garbage and keeping their place clean. Some ISPs have complained to me about others who don't seem to care if their networks are used to send out billions of spam messages and mail worms. They don't even look at their own log files!

But the day is coming when these ISPs won't be able to coast through their own laziness and sloppiness. The use of RBLs like MAPS and other blocks of known spammer systems is an increasingly important technique, and if worms really do move to using the ISP mail server, then ISPs who don't do anything about it will find themselves blocked completely by the clean ISPs that are sick and tired of taking abuse.

I don't expect everyone to clean up their act, but think we're moving to an era of unofficial quality standards, of black and white lists, where ISPs will "protect" their customers from the red-light districts of the Internet. It's not perfect, but it's better than what we've got now.

Security Center Editor Larry Seltzer has worked in and written about the computer industry since 1983.

Check out eWEEK.com's Security Center for the latest security news, reviews and analysis. And for insights on security coverage around the Web, take a look at eWEEK.com Security Center Editor Larry Seltzer's Weblog.


TOPICS: Technical
KEYWORDS: internet; spam
Navigation: use the links below to view more comments.
first previous 1-20 ... 41-6061-8081-100101-120 next last
To: dfrussell
The most you can do here is to use a broken system and insert additional, incorrect information before passing along

Which is what most spammers do, hence my statement Spam is almost never traceable, it usually comes from a bunk address Stands...

81 posted on 04/11/2005 12:57:07 PM PDT by N3WBI3
[ Post Reply | Private Reply | To 67 | View Replies]

To: Arthalion

Sounds like the way Microsoft does things. SP2 caused me a few headaches because the firewall was enabled by default and I only found out because I couldn't use Remote Desktop or install my VPN client. Ugh.


82 posted on 04/11/2005 12:59:00 PM PDT by Squawk 8888 (End dependence on foreign oil- put a Slowpoke in your basement)
[ Post Reply | Private Reply | To 75 | View Replies]

To: tacticalogic
Just getting everyone to implement SPF records, and then require a valid SPF resolution before accepting the mail would fix the spambots.

Possibly, but SPF isn't likely to become widespread because many people use a return address unrelated to a sending site and SPF would eliminate this ability.

This means that you wouldn't be able to use your business address from hotmail and vice versa.

83 posted on 04/11/2005 1:00:19 PM PDT by dfrussell
[ Post Reply | Private Reply | To 78 | View Replies]

To: N3WBI3

Actually it's pretty easy to trace, the problem is most users don't know where to look. The original IP is almost always in the header, so just run a WHOIS on it and forward to the owner of the address. That's how I shut down the guy who hacked Free Dominion and sent email threats to the membership.


84 posted on 04/11/2005 1:02:06 PM PDT by Squawk 8888 (End dependence on foreign oil- put a Slowpoke in your basement)
[ Post Reply | Private Reply | To 81 | View Replies]

To: N3WBI3
Which is what most spammers do, hence my statement Spam is almost never traceable, it usually comes from a bunk address Stands...

1. Most spammers don't bother because they're not in the US and could care less if the spambots they're using are blacklisted.

2. It's easy to check the mailing headers and verify the chains. If one of the hops is an open proxy, you know that anything prior to that is bogus, and there are a number of locations which will give you a free ID and a web interface which will automatically do this for you.

Believe what you like, but you're wrong.

85 posted on 04/11/2005 1:11:25 PM PDT by dfrussell
[ Post Reply | Private Reply | To 81 | View Replies]

To: dfrussell
This means that you wouldn't be able to use your business address from hotmail and vice versa.

I not really sure if I'd care about getting email from someone who runs their business email from a hotmail account, anyway.

86 posted on 04/11/2005 1:15:54 PM PDT by tacticalogic ("Oh, bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 83 | View Replies]

To: dfrussell
2. It's easy to check the mailing headers and verify the chains. If one of the hops is an open proxy, you know that anything prior to that is bogus, and there are a number of locations which will give you a free ID and a web interface which will automatically do this for you.

Open relays get blacklisted in short order. 99+% of the time, the ip address your mail server got it from is the source, and everything before that is a lie.

87 posted on 04/11/2005 1:21:21 PM PDT by tacticalogic ("Oh, bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 85 | View Replies]

To: tacticalogic
I not really sure if I'd care about getting email from someone who runs their business email from a hotmail account, anyway

Possibly I wasn't clear...

Lots of people with corporate IDs go home and work (lots of Type As out there) or have a blackberry and want to use their coroprate ID as a return address. This wouldn't be possible and IT mgmt isn't going to implement because corporate mgmt would complain :)

88 posted on 04/11/2005 1:23:27 PM PDT by dfrussell
[ Post Reply | Private Reply | To 86 | View Replies]

To: tacticalogic
Open relays get blacklisted in short order. 99+% of the time, the ip address your mail server got it from is the source, and everything before that is a lie.

You're confusing open relay and open proxy.

You can fake some of the header info with an open proxy, but you can't with an open relay.

Very little spam is sent through open proxies and those are also tracked in RBLS.

89 posted on 04/11/2005 1:27:04 PM PDT by dfrussell
[ Post Reply | Private Reply | To 87 | View Replies]

To: dfrussell
Lots of people with corporate IDs go home and work (lots of Type As out there) or have a blackberry and want to use their coroprate ID as a return address. This wouldn't be possible and IT mgmt isn't going to implement because corporate mgmt would complain :)

Corp email from home or a Blackberry is pretty standard stuff. Even a small business can set up an email server with a web front end.

90 posted on 04/11/2005 1:27:58 PM PDT by tacticalogic ("Oh, bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 88 | View Replies]

To: dfrussell

I'll still stand by my statement. A mailserver configured as an open relay will be found by the spammers and exploited, and will be blacklisted by all the major RBL's within 48 hours.


91 posted on 04/11/2005 1:31:06 PM PDT by tacticalogic ("Oh, bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 89 | View Replies]

To: tacticalogic
Corp email from home or a Blackberry is pretty standard stuff.

And they won't work if DNS/SPF listed the valid outbound IPs for a domain.

Even a small business can set up an email server with a web front end.

Yes, but many people in mgmt do not care to use them :)

92 posted on 04/11/2005 1:37:02 PM PDT by dfrussell
[ Post Reply | Private Reply | To 90 | View Replies]

To: tacticalogic
I'll still stand by my statement. A mailserver configured as an open relay will be found by the spammers and exploited, and will be blacklisted by all the major RBL's within 48 hours.

OK.... well if this is now your "statement", obviously your previous statement that the IPs can't be tracked is incorrect... which means you've just agreed with me because that is the one I said was incorrect :)

93 posted on 04/11/2005 1:43:50 PM PDT by dfrussell
[ Post Reply | Private Reply | To 91 | View Replies]

To: dfrussell

I didn't say it couldn't be tracked. Someone else, maybe?


94 posted on 04/11/2005 1:46:20 PM PDT by tacticalogic ("Oh, bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 93 | View Replies]

To: dfrussell
And they won't work if DNS/SPF listed the valid outbound IPs for a domain.

I meant from the corp's own mailserver.

Yes, but many people in mgmt do not care to use them :)

I find they warm up to the idea quite nicely when it's the only way their email is going to get delivered :).

95 posted on 04/11/2005 1:49:34 PM PDT by tacticalogic ("Oh, bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 92 | View Replies]

To: tacticalogic
I didn't say it couldn't be tracked. Someone else, maybe?

Could be... tough to keep track after awhile :)

48 hours in terms of spam is ancient history, and many locations will not even accept reports of spam > 48 hours.

I agree that most open relays are discovered, exploited and blacklisted easily within 48 hours.

96 posted on 04/11/2005 1:54:15 PM PDT by dfrussell
[ Post Reply | Private Reply | To 94 | View Replies]

To: dfrussell

So your saying that I can not forge a mail header to come from a false address if I ay... find an open relay?


97 posted on 04/11/2005 1:57:59 PM PDT by N3WBI3
[ Post Reply | Private Reply | To 85 | View Replies]

To: dfrussell
I agree that most open relays are discovered, exploited and blacklisted easily within 48 hours.

Agreed, I was just making allowances for the odd holiday weekend debut.

98 posted on 04/11/2005 1:58:07 PM PDT by tacticalogic ("Oh, bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 96 | View Replies]

To: N3WBI3
Sounds like allota work for a little gain. inorder for this to be measurabally useful SMTP will have to be trashed. It would be easier for IPS's to allow users to create white list via some kind of web interface, and for the ISP to force reverse lookup of incoming mail.

Some ISPs (ie. Earthlink) do something similar.

as for the 250 a month what about listserves?

The beauty of my scheme is that email senders would have to identify themselves, so listservs could probably get an exception (since they are opt-in/-out).

What you propose would work, but what you get out of it is no different than a person creating a deny *, and putting allowed addresses infront of it.

Not true. It would allow anyone to send anybody mail. But the difference is that it would prevent spammers from sending bulk-mailings.
99 posted on 04/11/2005 1:58:43 PM PDT by Bush2000
[ Post Reply | Private Reply | To 48 | View Replies]

To: tacticalogic
I meant from the corp's own mailserver.

OK... but my point was the exact opposite.

I find they warm up to the idea quite nicely when it's the only way their email is going to get delivered :).

The company owns the relays and irrespective of what the techs think, mgmt makes the decisions.

Without prior mgmt agreement, this is probably grounds for termination, and I'm rather fond of being paid :)

100 posted on 04/11/2005 1:59:07 PM PDT by dfrussell
[ Post Reply | Private Reply | To 95 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-20 ... 41-6061-8081-100101-120 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson