Towards Systematic Evaluation of the Evadability of Bot/Botnet Detection Methods

Elizabeth Stinson, John C. MitchellWOOT 2008

TL;DR

This paper introduces a systematic framework for evaluating the "evadability" of automated botnet detection methods. By analyzing the tradeoff between an evasion tactic's implementation complexity and its impact on a botnet's real-world utility, the authors reveal that many leading detection systems can be bypassed with minimal cost to the attacker. This highlights a critical need to design defenses around fundamental botnet behaviors rather than incidental network artifacts.

The Challenge of Adaptive Adversaries

While new botnet detection methods are typically evaluated on standard metrics like false positive/negative rates and performance overhead, they rarely undergo systematic evaluation against an adaptive adversary. Botmasters actively modify their malware to bypass defenses. To truly understand a detection method's robustness, we must measure its evadability—specifically, how much effort it takes an attacker to bypass the system and whether doing so degrades the botnet's ability to generate revenue (its "utility").

A Framework for Measuring Evadability

The authors propose a two-dimensional cost framework for evaluating evasion tactics:

  1. Implementation Complexity: Ranked from Low (simple configuration changes) to Very High (extensive source code rewrites, changing C&C protocols, or building custom covert channels).
  2. Botnet Utility: How the evasion affects the botnet's market value, measured by attack diversity, lead time required to launch an attack, botnet size, attack rate, and synchronization level.

Evaluating Leading Detection Systems

The framework was applied to six prominent botnet detection methods: Strayer, Rishi, Karasaridis, BotSwat, BotHunter, and BotMiner. Each method relies on different underlying characteristics, such as flow characteristics, timing, or specific protocol syntax.

Comparison of detection methods based on the characteristics they rely on for identification.

Key Insights and Ideas

  • The "Tight-Control Myth": Many network-based detection systems assume bots must be tightly synchronized via their Command & Control (C&C) network to launch effective attacks. The authors point out that of 11 common botnet attacks, only a few (like DDoS) actually require strict, second-level synchronization.
  • Evasion is often "Free" for Attackers: For most of the surveyed detection methods, the optimal evasion tactic has zero negative impact on the botnet's utility. The attacker only pays the upfront coding cost.
  • Incidental vs. Fundamental Traits: The most easily evaded detection methods rely on incidental traits (like specific IRC nicknames or unencrypted flow sizes). Superior detection methods force the bot writer to choose between getting caught and severely crippling their botnet's utility.
  • Shared Vulnerabilities: Many leading detection methods can be evaded using the exact same tactic (e.g., flow perturbation). This means attackers can amortize their evasion development effort across multiple defenses, bypassing several systems with a single update.

Results: The Cost of Evasion

The authors successfully identified viable evasion tactics for all six surveyed detection methods, summarizing the "optimal" evasion path for each.

Summary of optimal evasion tactics, their implementation complexity, and their impact on botnet utility.

As shown in the table above, the results reveal a concerning trend:

  • Strayer, Karasaridis, and BotMiner: Can be evaded by injecting packet- or flow-level noise to disrupt flow characteristics. (Implementation complexity: High; Effect on utility: None).
  • Rishi: Can be evaded by encrypting C&C traffic to hide syntax. (Implementation complexity: Medium; Effect on utility: None).
  • BotSwat: Can be evaded by laundering tainted data to break explicit information flow tracking. (Implementation complexity: High; Effect on utility: None).
  • BotHunter: Can be evaded by altering attack time thresholds to space out malicious events. (Implementation complexity: High; Effect on utility: Reduces attack rate). Note: This was the only surveyed method where evasion actively harmed the botnet's utility.

Limitations and Future Work

The authors acknowledge a few limitations in their framework. First, it currently ignores the "reconnaissance effort" required for an attacker to figure out a detection algorithm's specific tuned parameters. Second, the estimation of implementation complexity is somewhat subjective. Finally, the paper only considers first-order (direct) effects on botnet utility.

For future work, the authors suggest further research into quantifying reconnaissance efforts, improving the precision of complexity estimates, and better understanding the real-world market economics of botnets to accurately weight the components of an evasion tactic's true cost.

Summary updated

BibTeX
@inproceedings{stinson2008towards,
  author = {Elizabeth Stinson and John C. Mitchell},
  title = {{Towards Systematic Evaluation of the Evadability of Bot/Botnet Detection Methods}},
  booktitle = {WOOT},
  year = {2008},
  url = {https://openreview.net/forum?id=n20oCf0GrF},
}
Figure