Over the last two decades, driven by the rapidly evolving threat landscape, Machine Learning has become a core component of modern Windows malware detection systems. However, we have witnessed a growing gap between industrial practice and academic research. Academic research has predominantly focused on evaluating isolated models along individual dimensions, providing limited insight into the multiple requirements and interactions that characterize real-world deployments. By contrast, industry has integrated Machine Learning models into commercial products, where they often operate as components of Compound AI Systems alongside traditional detection techniques. Yet, industrial secrecy keeps their system design choices largely undisclosed and hard to evaluate. Hence, we experience this gap at two incremental levels: (i) limited understanding of the trade-offs among the multiple characteristics of individual models, and (ii) limited understanding of the trade-offs that emerge when such models are integrated within complex Compound AI Systems. Thus, the contribution of this thesis is twofold. First, to overcome the incompleteness of AI models evaluation for malware detection, we propose EXE-Bench, a systematic framework for AI-based static detectors: we move beyond single-dimension assessment by defining four metrics that capture key requirements for real-world deployment and by evaluating them jointly within a unified methodology. We rank the main model families proposed as malware detectors in the literature across multiple evaluation dimensions, showing where each approach performs best. Our results show that classical ML models based on feature engineering still outperform other approaches across most dimensions, highlighting the continued importance of domain knowledge in this field. Our framework thus helps determine an AI model's trade-offs before deployment. As a second contribution, we shift from standalone model evaluation to advocate the Compound AI System paradigm, where AI models cooperate with classical methodologies within the same multi-layered system. Industry has largely adopted this paradigm, but we lack a methodology to evaluate its performance and the trade-offs that must be resolved under operational constraints. To address this gap, we progressively move from a Compound AI System composed of pre-trained components, to the training of a reduced subsystem, and ultimately to the training and evaluation of a full system. Building on the preliminary evaluations, we finally propose OBELISK, a Compound AI System that explicitly balances these trade-offs by acting at design (training) time and deployment (inference) time. We show that training time and inference latency can be reduced with only marginal losses in detection performance under appropriate configurations, while more aggressive filtering can substantially degrade both performance and robustness. We propose a novel system-level threat modeling that captures how attackers exploit increasing levels of knowledge to evade the entire Compound AI System. We show that increasingly knowledgeable attackers craft more effective adversarial examples, revealing the system's strengths and weaknesses, degrading its responsiveness, and exposing a direct trade-off between efficiency and robustness. Overall, this thesis advocates multidimensional evaluation of AI-based malware detectors, from individual models to Compound AI Systems, accounting for their trade-offs and real-world operational constraints.

Bridging the Gap Between Industry and Academia: Systematizing the Trade-offs of Windows Malware Detectors in Real-World Settings

PONTE, ANDREA
2026-12-15

Abstract

Over the last two decades, driven by the rapidly evolving threat landscape, Machine Learning has become a core component of modern Windows malware detection systems. However, we have witnessed a growing gap between industrial practice and academic research. Academic research has predominantly focused on evaluating isolated models along individual dimensions, providing limited insight into the multiple requirements and interactions that characterize real-world deployments. By contrast, industry has integrated Machine Learning models into commercial products, where they often operate as components of Compound AI Systems alongside traditional detection techniques. Yet, industrial secrecy keeps their system design choices largely undisclosed and hard to evaluate. Hence, we experience this gap at two incremental levels: (i) limited understanding of the trade-offs among the multiple characteristics of individual models, and (ii) limited understanding of the trade-offs that emerge when such models are integrated within complex Compound AI Systems. Thus, the contribution of this thesis is twofold. First, to overcome the incompleteness of AI models evaluation for malware detection, we propose EXE-Bench, a systematic framework for AI-based static detectors: we move beyond single-dimension assessment by defining four metrics that capture key requirements for real-world deployment and by evaluating them jointly within a unified methodology. We rank the main model families proposed as malware detectors in the literature across multiple evaluation dimensions, showing where each approach performs best. Our results show that classical ML models based on feature engineering still outperform other approaches across most dimensions, highlighting the continued importance of domain knowledge in this field. Our framework thus helps determine an AI model's trade-offs before deployment. As a second contribution, we shift from standalone model evaluation to advocate the Compound AI System paradigm, where AI models cooperate with classical methodologies within the same multi-layered system. Industry has largely adopted this paradigm, but we lack a methodology to evaluate its performance and the trade-offs that must be resolved under operational constraints. To address this gap, we progressively move from a Compound AI System composed of pre-trained components, to the training of a reduced subsystem, and ultimately to the training and evaluation of a full system. Building on the preliminary evaluations, we finally propose OBELISK, a Compound AI System that explicitly balances these trade-offs by acting at design (training) time and deployment (inference) time. We show that training time and inference latency can be reduced with only marginal losses in detection performance under appropriate configurations, while more aggressive filtering can substantially degrade both performance and robustness. We propose a novel system-level threat modeling that captures how attackers exploit increasing levels of knowledge to evade the entire Compound AI System. We show that increasingly knowledgeable attackers craft more effective adversarial examples, revealing the system's strengths and weaknesses, degrading its responsiveness, and exposing a direct trade-off between efficiency and robustness. Overall, this thesis advocates multidimensional evaluation of AI-based malware detectors, from individual models to Compound AI Systems, accounting for their trade-offs and real-world operational constraints.
15-dic-2026
malware detection; machine learning; adversarial machine learning
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11567/1327664
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact