Experts clash over merits of anti-spam authentication

Daily Newsletters

Sign up to ZDNet UK's daily newsletter.

Topics

Anti-spam

NEWS

User authentication for email "may be worse than useless" at preventing the spread of spam, according to Nick Fitzgerald, security consultant at Computer Virus Consulting.

"As an anti-spam measure, SPF is broken before it's implemented, as it's not just breakable, it's trivial to break," Fitzgerald told an audience at the Virus Bulletin conference in Dublin on Friday.

"Knowing a message arrived SPF compliantly tells us nothing about the actual sender and the 'spaminess' of the message," Fitzgerald added, claiming that SPF has been "widely hyped" as solving the problem of user authentication.

Fitzgerald's views were challenged by other conference attendees, who insisted that SPF would play a valuable role in fighting unsolicited junk email.

Authentication schemes such as SPF allow the owner of a domain to use DNS records to say which machines within the domain can transmit email. Recipients that use SPF can treat as suspect any email that claims to come from a certain domain but which does not actually match its SPF record.

Supporters say SPF can clamp down on the practice of 'spoofing', where spammers alter the appearance of messages so that they no longer appear to come from the domain that sent them, but another entirely.

There are no reports of spammers breaching SPF, yet Fitzgerald said SPF would be "trivial to break with just a few lines of malicious code".

"Spammers can beat off SPF trivially — they already have large botnets [networks of compromised computers]. 80 percent of spam is from compromised computers running SMTP relays and/or dedicated spam-bots," Fitzgerald claimed.

To do this, a spammer could manipulate a compromised machine and read the settings of its email program, such as its ISP's mail server settings, and use them itself. This would mean that spam could be sent tagged with the ISP's own SPF settings, making it look legitimate.

"A spam-bot could easily pull popular MUA client settings for its own use, use process injection to usurp the installed MUA, use similar techniques to usurp the network stack, and protect itself with a rootkit," Fitzgerald said.

Such behaviour from spammers was widely reported earlier this year, when SpamHaus and MessageLabs both warned of an increasingly fast torrent of spam seemingly coming from ISP's own mailservers, due to infected machines on their networks changing their behaviour to get around spam filtering techniques.

But this trick only works for ISPs that do not filter their own outgoing email. And, as Vesselin Bontchev from antivirus company FRISK pointed out, those who received such spam would be in a better position to take action as the SPF record could act as a paper trail back to the culprit.

"A user could contact the ISP and alert them to the problem, so they can fix the server," Bontchev said.

Fitzgerald, though, disagreed, saying ISPs would not blacklist compromised machines, as that would not be financially viable.

"You get almost no response from ISPs because they can't afford to cut off their customers," Fitzgerald said.

Talkback

Hi

I manage the antispam ops at Outblaze, and we're a large ISP with over 40 million users.

We were probably the first large ISP to discard SPF after publishing conservative SPF records for over a year, in late february 2005.

Earthlink followed us in July, dropping their SPF record - and this was picked up by the press as well.

Beginning of a trend I guess... and Nick Fitzgerald is right. Just like a lot of the other people cited in the article are just plain wrong.

My rationale behind dropping spf is at http://www.circleid.com/article.php?id=1039_0_1_0_C/ - and was a reply to a previous ZDNET story by George Ou, which had similar ideas on how spf could stop the botnet problem

A further overview by ASRG chair John Levine on how and why SPF Is losing mindshare, which has a pointer to a MAAWG whitepaper on SPF (MAAWG being the Messaging Anti Abuse Working Group, an association of antispam teams from different ISPs around the world.. i'd call it the nanog of antispam, as it is focused on operational issues as opposed to vendor product pitches). - http://www.circleid.com/article/1157_0_1_0_C/
http://www.circleid.com/article/1178_0_1_0_C/

regards
--srs

via Facebook 10 October, 2005 16:22
Reply

SPF was merely intended as an anti-forgery solution, not a solution to phishing or spam. Every now and then we get an "expert" who pops up and tells us that it won't work as an anti-spam solution. Amazing!

SPF is just a single piece of the puzzle. The fact is that we, at some point, must agree on a way to authenticate email. If this means using SPF or Sender-ID or DKIM or some other solution - then we need to progress these technologies.

SMTP is broken from a security point of view - and it'll take some pain to fix it. SPF has flaws as well - but it got us thinking in the right direction.

via Facebook 10 October, 2005 17:27
Reply

SPF is designed to stop email forgery. It is not designed to tell you if any given email is spam or not. While a lot of spam uses forged email addresses, and thus SPF failures are often a good indicator of spam, forged email is often undesirable, even if it is not explictly spam.

Fitzgerald says that SPF is "breakable" by having bot nets no longer forge email addresses is kind of silly. The world would be a much better place if all spammers and phishers did exactly what Fitzgerald suggests. It would mean a large reduction in the amount of bounced spam going to the wrong person and having people blame you just because your email address was forged.

I am sad that both Outblaze and Earthlink have removed their support of SPF. On the other hand, other major ISPs such as Roadrunner, have added support for SPF during that same time period. While it would be nice if there was a steady increase in SPF support, I am not surprised that various organizations have been adding and deleting SPF records, as they have since the beginning.

SPF allows you to apply reputations to incoming email, so that known spamming domains can be blocked, and known good domains can be let through, even if the email uses a few spammy keywords. Many spammers are stupid and will publish SPF records even if it hurts them. Even more marketing departments think what they are doing isn't spamming, and so they publish SPF records too.

I've never figured out why folks like CiperTrust are so worried when lots of email that is spam shows up with valid SPF records. This, again, is a good thing. It lets us block them easier.

I don't believe any single system will stop spam. I think that DNSBLs, bayesian analysis, SPF, DKIM, DCC/Razor, detection of deceptive HTML, legal pursuit, ISPs kicking off spammers, etc. all can play an important part of reducing spam. Spam, like other forms of theft, will never go away, but to stop theft we don't *just* depend on the police. We also have locks on our doors, we have neighborhood watches, we keep doors well lit, etc.

via Facebook 10 October, 2005 17:37
Reply

I would be very happy to have viruses stop forging my email address. If SPF accomplishes that, then it has gone a long way toward fulfilling it's promise.

If viruses are forced to use the legitimate identies of their hijacked machines, that makes them very much easier to trace and do something about. Suddenly all those worthless messages from brain dead antivirus programs become meaningful and useful. If I only got a message from a virus scanner on a remote machine when it really had detected a virus laden message coming from my machine, that would be quite useful instead of the meaningless waste of bandwidth it is now.

via Facebook 11 October, 2005 00:58
Reply

Mail authentication is wishful thinking because its symptom fighting. So speaking of all the benefits achieved once mail authentication is achieved are simply bogus.

There are existing tools out there that could significantly cut into spam. Without overhauling currently established designs. Without opening up potentially new holes. Without putting additional requirements on currently installed software. So why not use that first before overhauling the lot? Or put in other words. Suppose mail authentication doesn't work out quite as expected. How easy would it be to rip it out again?

Why is it that when something doesn't work out as expected it first gets ignored for years. To then be followed by a cry for updates and upgrades? Why not first see if the objective can be reached with existing means?

via Facebook 12 October, 2005 01:33
Reply

Post your comment

In order to post a comment you need to be registered and logged in.

You can also log in with Facebook. Log in or create your ZDNet UK account below

  • Login

Will not be displayed with your comment

By signing up for this service, you indicate that you agree to our Terms and Conditions and have read and understood our Privacy Policy. Questions about membership? Find the answers in the Community FAQ

Get ZDNet UK's daily newsletter

Enter your email address to sign up

ZDNet UK Live

apexwm

Interesting article and definitely see your points on the products mentioned. One of the top products for our Help Desk (approximately 20% of all...

6 hours ago by apexwm on Ten flawed products that derail productivity
Paul Hutchinson

Absolutely - this should obviously not be handled my isp - but handled by their hosting operator. What's been suggested here is that my isp police...

6 hours ago by Paul Hutchinson via Facebook on MPs urge ISPs to take down terrorist material
Techs UK

Looks like a great phone. I don't notice any deficiencies in WP7. used IOS before, that's pretty good. I don't spend much time in Apps, all i need...

9 hours ago by Techs UK on Nokia pins US 're-entry' hopes on Lumia 900
Larry Bloggy

Now with the help of these apps you are always synced with MS outlook while on the move. Just download apps like xobni or outlookreflex and get...

10 hours ago by Larry Bloggy via Facebook on Outlook Social Connector beta 2 and the LinkedIn connector
mike40g123

Your details are wrong. The version currently being made is the one with 2 USB ports, 256MB RAM and a network port. This is the Model B. The...

11 hours ago by mike40g123 on Raspberry Pi boards set to go on sale
Moley

The thing that has been puzzling me for quite a while is how Anonymous can remain anonymous whilst not only being active on the Internet but also...

1 day ago by Moley on Anonymous activists release PCAnywhere source code
Don Dilly

If what Semantec is saying is rue, that is even worse and shows a complete disregard for thier users. If what Anonymous claims is true and the...

1 day ago by Don Dilly via Facebook on Anonymous activists release PCAnywhere source code
MattChurchy

Didn't seem particularly biased to me either. Oh though you might have mentioned some other competitors with free search and email services...

1 day ago by MattChurchy on Time for an evil umpire: Google, Microsoft & privacy
Simon Bisson and Mary Branscombe

James - exactly as much as anyone paid you for your comment; I don't feel that I need to say that I'm independant and unbiased, but just for you...

1 day ago by Simon Bisson and Mary Branscombe on Time for an evil umpire: Google, Microsoft & privacy
Carl White

Once they realise symantec are willing to pay real money, they will simply keep extorting, unless of course symantec/authorities can use the...

2 days ago by Carl White via Facebook on Symantec offered hackers $50k in source code sting
Jonathan Hassell

You can find more information on BS 8878 by Jonathan Hassell its lead-author at http://www.hassellinclusion.com/bs8878/ The page includes a...

2 days ago by Jonathan Hassell on BSI publishes first British web accessibility standard
servermanagement

Thanks for this list. Now I know, what to include on my system to make it more functional.

2 days ago by servermanagement on Ten flawed products that derail productivity
1000092626

What if it's a 4 car household? The point is, more bandwidth = more things you can do simultaneously, like streaming HD video in one room of the...

2 days ago by 1000092626 on Virgin Media beats 100Mbps schedule, hikes prices
Gary Burton

No point whatsoever increasing broadband download speed. unless ever server on the net has access to massively up rated throughput. The worlds...

2 days ago by Gary Burton via Facebook on Virgin Media beats 100Mbps schedule, hikes prices
Random_Error

They're also increasing their TV package prices, whether to help fund this or not.

2 days ago by Random_Error on Virgin Media beats 100Mbps schedule, hikes prices
Techs UK

How can you set it up wrong to intermittently connect? Should I be asking for more pay? Outlook/Exchange is a breeze.

2 days ago by Techs UK on Ten flawed products that derail productivity
JamesCheese

And how much did Microsoft pay you for that article?

2 days ago by JamesCheese on Time for an evil umpire: Google, Microsoft & privacy
JamesCheese

"But how many times have you seen someone make a video call from a tablet?" I do myself a lot. "How often have you seen someone hook up a tablet...

2 days ago by JamesCheese on Apple and Amazon's tablet rivals don't get it
k0tcs3

I have to disagree with this article. Maybe there is a cultural difference between the US and UK, or maybe your network of friends is less...

2 days ago by k0tcs3 on Apple and Amazon's tablet rivals don't get it
filthylooker

My thoughts are that there's some space for change in the business world for tablets as destop replacements. I'd contend that the tablet has a...

2 days ago by filthylooker on Apple and Amazon's tablet rivals don't get it