
August 2003
A Bayesian spam filter may learn something by following a message's links. Richard Jowsey of death2spam reports success with this in borderline cases. That is a reason to examine the accuracy benefit against the cost of fetching adversarial material. It isn't yet a reason to turn the filter into a general-purpose crawler.
Why restrict retrieval to uncertain cases and avoid repeated visits? Because every additional request creates exposure while often adding little evidence.
The suggestion in Will Filters Kill Spam? that widespread retrieval could pound spammers' servers has an appealing symmetry. But a sender controls the URLs placed in a message. That means a purported counterattack can become traffic directed by the very adversary it aims to punish. The filter cannot establish that the owner of a linked server authorized the spam merely by observing the link.
A user-configurable "punish" mode, spidering every URL n times, would multiply this problem. The recipient is authorizing an open-ended response without knowing who will receive it or what the requests will do. Local annoyance at a message is poor authorization for imposing a distributed cost elsewhere. [1]
Email's passivity can be frustrating, but limiting what untrusted input triggers is also a useful property. A defense that requires no new protocol can still change the system's behavior radically. We should evaluate that behavior as carefully as a proposed protocol change rather than assume compatibility makes it harmless.
A rebound mechanism might raise a spammer's costs. It might also raise recipients' bandwidth costs, overload shared infrastructure, and burden sites mentioned without consent. A server grinding to a halt doesn't selectively exclude people who would have bought the spammer's product. Other customers may depend on the same host. If the filter's objective is accurate delivery and rejection, these external effects need justification beyond their satisfying appearance.
The filter learned that every message saying it wasn't spam was spam. This was its first experience of marketing. [the supporting paperwork]
A million emails producing a million requests creates an amplification opportunity, whoever receives the requests.
Restricting retrieval to suspected spam doesn't solve targeting. A legitimate bulk message can be misclassified, and a spammer can include a legitimate site's address deliberately. Free-mail footer links are an obvious example, but not the only one. The difference between a URL appearing in spam and a URL belonging to a responsible sender is fundamental. Increasing a classifier's confidence about the message doesn't automatically increase confidence about the ownership and intent of each destination.
Human-reviewed blacklists could reduce accidents, yet they add a second decision system with its own mistakes and update delays. Reviewers would need to distinguish compromised pages, shared services, redirects, and deliberate false association. Even a correctly identified destination can change after inspection. The time needed to verify a target competes directly with the proposed need to respond during a short-lived campaign. A list shouldn't convert uncertainty into permission to send unlimited traffic. [2]
Users on fast connections could generate enough requests to cause trouble. But that is also why individual controls are inadequate: many harmless-looking local choices can produce a damaging aggregate. Recipients shouldn't have to interfere with other people's access to a site to protect their own inboxes. A useful filter can reject a message locally, share carefully verified indicators, and improve its future decisions without making unrelated users collateral participants in a retaliation system.
Spammers could adapt by distinguishing retrieval traffic, changing destinations, or using infrastructure that makes indiscriminate fetching expensive for defenders. Working unsubscribe links would be welcome, but a recipient can't assume that visiting a purported unsubscribe URL is safe or effective. Automatic interaction can confirm activity or trigger an unwanted operation. The promise that attackers will choose the cheapest adaptation isn't enough when they can also exploit the defense itself.
Spam defense should reduce exposure to adversaries. A filter whose effectiveness depends on repeatedly interacting with their instructions reverses that priority. Keep retrieval narrowly justified, bounded, and isolated; keep punishment out of the classification decision.
Notes
[1] Redirects and deeper links increase the amount of adversarial behavior a fetcher follows. Instead of imitating a browser to evade detection, any retrieval component should use strict limits and isolation appropriate to its task. A page saying "click here" supplies no independent reason to proceed.
A timeout is not reliable proof of spam. Legitimate servers fail too; treat availability as uncertain evidence rather than an excuse to escalate a response.
Making n a function of message volume would let an attacker influence the size of the response. Bound resource use independently of that volume, and avoid repeated retrieval when one inspection provides the same classification evidence.
[2] The source essay initially called its lists whitelists, then changed the name to blacklists after readers found the terminology confusing. Changing a label doesn't change who is being authorized to impose costs or how a mistaken listing is corrected.
Multiple lists can improve resilience, but they can also disagree and spread errors. The important protections are review, correction, and limits on the consequences of a listing, rather than the mere number of lists.
Original acknowledgments: Brian Burton, Bill Yerazunis, Dan Giffin, Eric Raymond, and Richard Jowsey read drafts of the source essay, not this adaptation.
|