Lorenzo Cavallaro

Antifork Research Inc. · University College London · BynarIO
10 previous affiliations
127Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Lorenzo Cavallaro focuses on the intersection of program analysis, machine learning, and systems security to develop learning-based methods that are robust against adversaries. His trajectory spans from early botnet analysis and Android malware reconstruction to establishing the science of trusted code reasoning. Currently, he investigates how to govern AI representations to ensure code analyses remain reliable in the face of software evolution and adversarial attacks.

Research Trajectory

The early phase of this research trajectory focused on empirical security analysis and malware behavior. This work included participating in a large-scale study of botnet operations in Your botnet is my botnet: analysis of a botnet takeover, which captured and analyzed extensive data from the Torpig botnet. The focus subsequently shifted to mobile security, specifically the dynamic and static analysis of Android applications. His lab developed CopperDroid: Automatic Reconstruction of Android Malware Behaviors to dynamically analyze malicious applications, and later directed the creation of DroidSieve: Fast and Accurate Classification of Obfuscated Android Malware, which utilized static analysis to counter obfuscation techniques efficiently.

These efforts in malware classification highlighted the necessity for robust machine learning evaluation in security contexts. Recognizing that malware evolves rapidly, he spearheaded research into the area of Chronological Evaluation to Prevent Temporal Data Leakage. This led to influential work on Transcend: Detecting Concept Drift in Malware Classification Models and TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Time. These papers formalized how experimental bias and temporal data leakage inflate performance metrics, establishing new standards for evaluating security classifiers over time.

By the early 2020s, the trajectory expanded deeply into adversarial machine learning, specifically advancing the research direction of Functional Integrity in Adversarial Software Perturbations. He introduced a novel formalization for generating evasive Android malware in Intriguing Properties of Adversarial ML Attacks in the Problem Space, demonstrating the feasibility of realistic problem-space attacks. Continuing the theme of methodological rigor, he collaborated on Dos and Don'ts of Machine Learning in Computer Security, which identified and analyzed common pitfalls in top-tier security research to promote more trustworthy machine learning applications.

Recent work has systematically investigated how to harden models against these adversarial attacks. He oversaw the evaluation of adversarial training in On the Effectiveness of Adversarial Training on Malware Classifiers, revealing the complex interplay of data richness and model architecture required for defense. To address the difficulty of mapping gradient-based perturbations back to functional programs, he proposed a reinforcement learning approach for constructing adversarial examples in How to Train your Antivirus: RL-based Hardening through the Problem-Space. Concurrently, he contributed to the broader area of Robustness of Code Models to Semantics-Preserving Transformations by exploring how mathematical rules governing code changes can be integrated into neural architectures in Exploiting Code Symmetries for Learning Program Semantics.

The most recent phase of his research integrates Large Language Models (LLMs) and continual learning to address evolving threats. He introduced frameworks to improve LLM-based vulnerability detection in Learning to Focus: Context Extraction for Efficient Code Vulnerability Detection with Language Models and led the design of an explainable Android malware detection system in LAMD: Context-driven Android Malware Detection and Classification with LLMs. He also investigated the research direction of Automating the Security Lifecycle with Large Language Models by evaluating the capacity of LLMs to act as security analysts in Beyond Classification: Evaluating LLMs for Fine-Grained Automatic Malware Behavior Auditing.

To combat the continuous evolution of malware, his recent work heavily emphasizes the research direction of Concept Drift Mitigation for Evolving Malware Detection. He developed a plug-in defense against problem-space attacks in Defending against Adversarial Malware Attacks on ML-based Android Malware Detection Systems and introduced a continual learning framework in Retrofit: Continual Learning with Bounded Forgetting for Security Applications, which allows models to adapt to new threats without storing historical data. Furthering the study of Temporal Data Partitioning for Realistic Machine Learning Evaluation, he designed a temporal invariant training framework in Learning Temporal Invariance in Android Malware Detectors and collaborated on reassessing spatio-temporal drift metrics in Breaking Out from the TESSERACT: Reassessing ML-based Malware Detection under Spatio-Temporal Drift.

Expanding LLM reasoning into broader code and threat analysis contexts, Cavallaro oversaw Antaeus: Hunting Repository-Level Logic Vulnerabilities via Context-Grounded LLM Reasoning to detect logic vulnerabilities across entire software repositories, as well as MEvince: Knowledge-Constrained LLM Reasoning for Technique Identification from Malware Reports, which maps behavioral intelligence in threat reports to ATT&CK techniques via structured behavioral primitives. In parallel, Cavallaro addressed additive evasion attacks against static detectors in More Is Never Less: Affordable Robustness to Additive Attacks via Monotone Multiple-Instance Learning, formulating detection as multiple-instance learning with a monotone head to prevent benign feature additions from diluting malicious evidence.

Current Directions

The most recent papers in the evidence address the intersection of Large Language Models and systems security, alongside continuous efforts to mitigate concept drift in malware detection. Recent work investigates how LLMs can be leveraged for repository-level vulnerability detection and report-level malware technique identification, while simultaneously designing monotone multiple-instance architectures and bounded-forgetting defenses to resist additive evasion attacks and spatio-temporal drift. Additionally, ongoing research focuses on developing temporal invariant training frameworks and continual learning architectures with bounded forgetting. These approaches aim to create malware detectors that can adapt to evolving adversarial threats and spatio-temporal drift without losing their ability to identify older malicious behaviors, ensuring long-term reliability in non-stationary environments.

Profile updated

See something wrong? Report a mistake