Introduction
Statistical machine learning has become a cornerstone of modern spam filtering. However, this reliance introduces a "poisoning" vulnerability. While traditional security research focuses on exploratory attacks—modifying spam to bypass a filter—this paper investigates causative attacks. In these scenarios, an adversary interferes with the training process itself to subvert the filter’s behavior. By controlling as little as 1% of the training data, an attacker can render a filter useless or selectively censor legitimate communications.
Methodology
The study targets SpamBayes, a popular Bayesian filter. SpamBayes assigns scores to tokens (words) and uses Fisher’s method to classify emails into three categories: ham (legitimate), spam, or unsure.
Datasets
The researchers utilized the TREC 2005 Spam Corpus, containing over 92,000 emails from the Enron archives. To simulate attacks, they used the GNU Aspell English Dictionary and a Usenet Corpus to generate poisoned messages that mimic natural language or common colloquialisms.
Attack Vectors
- Dictionary Attacks (Indiscriminate): The attacker sends spam containing a vast array of common words. When the filter trains on these as "spam," the spam-scores of common words increase, eventually causing legitimate "ham" to be misclassified.
- Focused Attacks (Targeted): If an attacker anticipates the content of a future legitimate email (e.g., a business bid), they inject spam containing those specific tokens to ensure the future message is blocked.
Key Results
Dictionary Attack Success
The most striking finding is the low barrier to entry for subversion. Controlling just 1% of the training data is sufficient to degrade performance significantly. Using a Usenet-based dictionary, an attacker can cause the filter to misclassify approximately 36% of legitimate ham as either spam or unsure.
Focused Attack Success
Focused attacks are highly efficient due to information asymmetry. With knowledge of just 30% of a target email's tokens, an attacker can successfully block that specific email 60% of the time. As the attacker's knowledge of the target tokens increases to 90%, the success rate climbs to nearly 90%.
Defenses and Limitations
The authors proposed two primary defenses:
- Reject On Negative Impact (RONI): This "leave-one-out" test measures how much a new message degrades classification accuracy on a validation set before it is accepted for training. While highly effective against broad dictionary attacks, it struggles against focused attacks because a single targeted email does not broadly degrade overall filter performance.
- Dynamic Thresholding: This approach adaptively sets classification boundaries. While it mitigates some attacks, it often increases the number of "unsure" classifications, creating a manual review burden for the user.
Conclusion
This research highlights that subversion is a fundamental threat to adaptive learning systems. Unlike evasion, subversion changes the rules of the game by teaching the filter that legitimate language is malicious. Future work must focus on computationally efficient defenses like RONI and methods to detect the surgical precision of focused attacks that currently evade broad statistical checks.
Summary updated