arXiv:2609.05165cs.CRSep 2026

Manuscript Offprint

arXiv:2609.05165

Conformal Prediction for Offensive Security

Giovanni Cherubin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Giovanni Cherubin

Microsoft, Cambridge, UK gcherubin@microsoft.com

Abstract. Despite its introduction more than a quarter century ago, Conformal Prediction (CP) has seen surprisingly few applications to the cyber security world thus far. In particular, we observe that, while CP has been employed as a defensive measure in many recent works, its use for carrying out attacks (i.e., for offensive security) is hard to trace in the literature. We explore this gap, by presenting initial findings in two key areas of offensive security: Privacy-Preserving Machine Learning, and network traffic analysis.

Keywords: Conformal Prediction · Cyber Security · Privacy-preserving Machine Learning · Traffic analysis · Side Channels

To Alex: PhD supervisor, mentor, and friend, on the occasion of his 80th birthday, in recognition of his guiding influence and pioneering work in Machine Learning and Conformal Prediction.

1 Introduction

Cyber Security offers multiple and varied opportunities for problem solving and scientific discovery. Importantly, security has a direct impact on society; this can lead to success stories (e.g., it is nowadays possible for two people to communicate in full privacy over the Internet thanks to end-to-end encryption protocols [1]), as well as unsuccessful ones (e.g., the use of poor anonymization techniques can lead to user identification [40]). Differently from many fields in Computer Science, security deals with adversarial parties; this forces researchers to continuously look at the security of a system from two sides, the defender's and the attacker's, and it encourages a continuous improvement from both.

Offensive research, which aims to improve attacks against computer systems, is an essential part of cyber security. First, it helps grounding work on defenses,

G. Cherubin

because of an asymmetry between attacks and defenses: a defense needs to protect against most (or all) attacks in a threat scenario, whereas an attack just needs to bypass one defense to be considered successful. Secondly, offensive research informs the public and product vendors on what attack techniques can be used: it would be a fallacy to think that reducing research on attacks is a good way of preventing cyber crime.

Machine Learning (ML), and more recently Conformal Prediction (CP), have demonstrated a plethora of successful applications to defensive security; here, “defensive” refers to using ML or CP for attack prevention or detection. In particular, numerous defenses have been developed in recent years where CP is the main basis for protecting a system. They range from network intrusion [53,18,20], and malware [34] detection, to a large body of works evaluating CP’s ability to prevent ML evasion attacks (so-called “adversarial examples”) and poisoning attacks [25,39,28,36,38,6,14]; more recently, CP has also been investigated as a defense mechanism for privacy-preserving ML [3,4].

On offensive security, whilst traditional ML has seen a similarly successful adoption [9,33,41,29,35,12,47,46,27,11,49,30,15], CP has been largely unexploited; in fact, to the best of our knowledge, no attack to date employs CP in an offensive manner. This is made even more surprising by the fact that security researchers have historically been early adopters of new ML techniques for improving attacks; this was quite evident, for example, in the Website Fingerprinting community, which rapidly adopted increasingly advanced neural network techniques for improving their attacks [41,47,48].

We attribute the lack of CP applications to offensive security research to a simple fact: CP is not a plug&play alternative to traditional ML. Simply, and this is part of its beauty, conformal inference requires a different way of framing the problem. Far from being an obstacle, we argue that this switch of perspective opens up many new possibilities for offensive security research. In this work, we support this claim by introducing new CP-based attacks in two areas of cybersecurity. Along the way, we identify features that make these attacks particularly well suited for CP, such as the ability to generate arbitrarily large datasets and the value of producing prediction sets rather than point predictions. These aspects highlight how CP provides unique advantages over conventional ML approaches in offensive security settings.

References (53)