Introduction
Organizations face a persistent challenge in malware detection: the tradeoff between comprehensive coverage and operational efficiency. Deploying dozens of antivirus scanners simultaneously is prohibitively expensive in terms of licensing, compute resources, and the human cost of triaging false positives. However, relying on a static, deterministic subset of "best" tools creates predictable blind spots that strategic attackers can easily exploit. This paper addresses this dilemma by modeling malware detection as a Stackelberg security game, seeking the mathematically optimal randomized schedule of detection tools to maximize security within a fixed budget.
Methodology: The Stackelberg Security Game
The interaction between a security system (Defender) and a strategic hacker (Attacker) is modeled as a sequential game. The Defender acts as the leader, committing to a randomized strategy—a probability distribution over different tool combinations constrained by a budget $b$. The Attacker, acting as the follower, observes this distribution and chooses a specific vulnerability to exploit that maximizes their own utility.
To solve for the Strong Stackelberg Equilibrium (SSE), the authors formulate the game as a Mixed Integer Linear Program (MILP). The utility model incorporates:
- Attacker Utility: Reward based on exploit impact minus the cost/difficulty of the exploit.
- Defender Utility: Penalty based on the impact of undetected attacks and the operational costs associated with false positives generated by the selected tools.
Data-Driven Parameterization
The model is grounded in real-world data to ensure practical relevance:
- Detection Probabilities: Estimated using the VirusTotal (VT) dataset, covering 86 tools across 30,000+ malware samples.
- Impact and Exploitability: Derived from the National Vulnerability Database (NVD) by mapping VT samples to specific CVEs.
- False Positive Rates: Estimated using the Zhu et al. (2020) dataset to account for the costs of over-sensitive tools.
Results: The Power of Optimal Randomization
The proposed randomized best response strategy (r_br) consistently outperforms deterministic and naive randomization baselines. As shown in the performance analysis, randomization forces the attacker to guess, effectively lowering their expected utility and protecting the defender's assets more robustly than any fixed configuration.
Key findings include:
- Superiority of
r_br: At a budget of $b=2$, the optimal randomized strategy achieved an expected utility of -2.270, significantly better than the deterministic best response (-2.601) and vastly superior to uniform randomization strategies. - Diminishing Returns: Increasing the budget beyond two tools provided marginal gains, suggesting that smart randomization allows for high security with a minimal resource footprint.
- Computational Efficiency: While solving the MILP is NP-hard, the optimal distribution can be computed offline. Sampling from this distribution at runtime takes constant $O(1)$ time.
Strategic Sensitivity and False Positives
A critical insight of the study is the role of false positives. When the cost of false positives ($\gamma_d$) is high, the optimal strategy shifts away from highly sensitive but "trigger-happy" tools. Sensitivity analysis demonstrates that the defender's utility is robust across various attacker cost ($\gamma_a$) and defender penalty parameters, though the specific composition of the tool suite changes to balance detection against noise.
Conclusion
This research demonstrates that game-theoretic randomization is a powerful tool for malware defense. By moving away from predictable, deterministic tool selection, organizations can significantly increase the cost for attackers while maintaining manageable operational budgets. Future work may explore more granular dynamic costs, such as real-time CPU and RAM usage, to further refine the utility model.
Summary updated