Luca Demetrio

University of Genoa
2 previous affiliations
42Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Luca Demetrio focuses on the adversarial robustness of machine learning models, with a particular emphasis on cybersecurity and malware detection. His research investigates how deep learning systems can be evaded by functionality-preserving perturbations in software binaries, exposing critical vulnerabilities in static and dynamic analysis tools. Recently, his work addresses certified robustness and the development of query-efficient black-box optimization techniques to systematically evaluate and secure threat detection pipelines.

Research Trajectory

Luca Demetrio’s research initially centered on exposing and understanding the vulnerabilities of static malware detectors to adversarial manipulation. In 2019, he investigated the widely studied MalConv architecture in Explaining Vulnerabilities of Deep Learning to Adversarial Malware Binaries. By applying explainability techniques like Integrated Gradients, he demonstrated that the model disproportionately relied on file headers rather than executable code, allowing attackers to evade detection by altering just a few bytes in the DOS header. This foundational work contributed to the area of Adversarial Robustness for Deep Learning Malware Detection.

To systematize the evaluation of these vulnerabilities, he developed tools and frameworks for the security community. He introduced secml-malware: A Python Library for Adversarial Robustness Evaluation of Windows Malware Classifiers, providing a standardized environment for testing Windows malware detectors against various attacks. This effort paralleled his contributions to the broader secml: Secure and explainable machine learning in Python library. He subsequently formalized the concept of "adversarial EXEmples"—malware samples perturbed to evade detection while retaining their malicious payload—in Adversarial EXEmples: A Survey and Experimental Evaluation of Practical Attacks on Machine Learning for Windows Malware Detection and discussed automated security evaluations in Practical Attacks on Machine Learning: A Case Study on Adversarial Windows Malware.

A significant technical hurdle in generating adversarial malware is ensuring that the modifications do not break the executable. Demetrio addressed the research direction of Functional Integrity in Adversarial Software Perturbations through the development of the GAMMA framework, detailed in Functionality-Preserving Black-Box Optimization of Adversarial Windows Malware. By injecting benign content and optimizing for both evasion and minimal payload size, GAMMA advanced the broader area of Query-Efficient Black-Box Attacks on Machine Learning Models. He further expanded on this with the RAMEn framework in Adversarial EXEmples: Functionality-preserving Optimization of Adversarial Windows Malware, which unified white-box and black-box optimization strategies, exploring work in Cross Model Adversarial Transferability and the area of Adversarial Perturbations via Iterative Gradient Optimization.

Beyond malware-specific applications, Demetrio has investigated the broader methodological pitfalls in evaluating adversarial robustness. He explored the research direction concerning The Challenge of Overestimated Adversarial Robustness in Indicators of Attack Failure: Debugging and Improving Optimization of Adversarial Examples, which categorized how gradient-based attacks fail and provided debugging strategies to prevent a false sense of security. He also analyzed how model architecture impacts vulnerability in Over-parameterization and Adversarial Robustness in Neural Networks: An Overview and Empirical Analysis, and participated in benchmarking vision models in ImageNet-Patch: A dataset for benchmarking machine learning robustness against adversarial patches.

In his most recent work, Demetrio has focused on bridging the gap between theoretical attacks and practical, robust defenses. He revisited the optimization of adversarial malware using gradient-free methods in A New Formulation for Zeroth-Order Optimization of Adversarial EXEmples in Malware Detection. To provide mathematical guarantees against such evasion techniques, he explored certified defenses in Certified Adversarial Robustness of Machine Learning-based Malware Detectors via (De)Randomized Smoothing. Simultaneously, he has expanded his focus to dynamic analysis, collaborating on a Transformer-based architecture to process heterogeneous runtime logs in Nebula: Self-Attention for Dynamic Malware Analysis, and evaluating comprehensive, multi-stage detection systems in SLIFER: Investigating performance and robustness of malware detection pipelines.

Current Directions

Recent work investigates the intersection of provable security and practical deployment in malware detection pipelines. This includes developing certified defenses for machine learning-based detectors using randomized smoothing techniques, ensuring models are mathematically guaranteed to resist certain classes of evasion attacks. Additionally, current research explores advanced architectural designs, such as self-attention mechanisms, to process heterogeneous dynamic analysis logs rather than relying solely on static binary features. There is also a continued focus on refining gradient-free, zeroth-order optimization methods to generate functionality-preserving adversarial examples, bridging the gap between theoretical vulnerability assessments and real-world software security requirements.

Profile updated

See something wrong? Report a mistake